#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
#[inline]
pub unsafe fn ClfsAddLogContainer(plfolog: *const super::super::Foundation::FILE_OBJECT, pcbcontainer: *const u64, puszcontainerpath: *const super::super::super::Win32::Foundation::UNICODE_STRING) -> ::windows_core::Result<()> {
::windows_targets::link!("clfs.sys" "system" fn ClfsAddLogContainer(plfolog : *const super::super::Foundation:: FILE_OBJECT, pcbcontainer : *const u64, puszcontainerpath : *const super::super::super::Win32::Foundation:: UNICODE_STRING) -> super::super::super::Win32::Foundation:: NTSTATUS);
ClfsAddLogContainer(plfolog, pcbcontainer, puszcontainerpath).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
#[inline]
pub unsafe fn ClfsAddLogContainerSet(plfolog: *const super::super::Foundation::FILE_OBJECT, pcbcontainer: ::core::option::Option<*const u64>, rguszcontainerpath: &[super::super::super::Win32::Foundation::UNICODE_STRING]) -> ::windows_core::Result<()> {
::windows_targets::link!("clfs.sys" "system" fn ClfsAddLogContainerSet(plfolog : *const super::super::Foundation:: FILE_OBJECT, ccontainers : u16, pcbcontainer : *const u64, rguszcontainerpath : *const super::super::super::Win32::Foundation:: UNICODE_STRING) -> super::super::super::Win32::Foundation:: NTSTATUS);
ClfsAddLogContainerSet(plfolog, rguszcontainerpath.len() as _, ::core::mem::transmute(pcbcontainer.unwrap_or(::std::ptr::null())), ::core::mem::transmute(rguszcontainerpath.as_ptr())).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Storage_FileSystem\"`*"]
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_FileSystem"))]
#[inline]
pub unsafe fn ClfsAdvanceLogBase(pvmarshalcontext: *mut ::core::ffi::c_void, plsnbase: *const super::super::super::Win32::Storage::FileSystem::CLS_LSN, fflags: u32) -> ::windows_core::Result<()> {
::windows_targets::link!("clfs.sys" "system" fn ClfsAdvanceLogBase(pvmarshalcontext : *mut ::core::ffi::c_void, plsnbase : *const super::super::super::Win32::Storage::FileSystem:: CLS_LSN, fflags : u32) -> super::super::super::Win32::Foundation:: NTSTATUS);
ClfsAdvanceLogBase(pvmarshalcontext, plsnbase, fflags).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn ClfsAlignReservedLog(pvmarshalcontext: *const ::core::ffi::c_void, rgcbreservation: &[i64], pcbalignreservation: *mut i64) -> ::windows_core::Result<()> {
::windows_targets::link!("clfs.sys" "system" fn ClfsAlignReservedLog(pvmarshalcontext : *const ::core::ffi::c_void, crecords : u32, rgcbreservation : *const i64, pcbalignreservation : *mut i64) -> super::super::super::Win32::Foundation:: NTSTATUS);
ClfsAlignReservedLog(pvmarshalcontext, rgcbreservation.len() as _, ::core::mem::transmute(rgcbreservation.as_ptr()), pcbalignreservation).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn ClfsAllocReservedLog(pvmarshalcontext: *const ::core::ffi::c_void, pcbadjustment: &[i64]) -> ::windows_core::Result<()> {
::windows_targets::link!("clfs.sys" "system" fn ClfsAllocReservedLog(pvmarshalcontext : *const ::core::ffi::c_void, crecords : u32, pcbadjustment : *const i64) -> super::super::super::Win32::Foundation:: NTSTATUS);
ClfsAllocReservedLog(pvmarshalcontext, pcbadjustment.len() as _, ::core::mem::transmute(pcbadjustment.as_ptr())).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
#[inline]
pub unsafe fn ClfsCloseAndResetLogFile(plfolog: *const super::super::Foundation::FILE_OBJECT) -> ::windows_core::Result<()> {
::windows_targets::link!("clfs.sys" "system" fn ClfsCloseAndResetLogFile(plfolog : *const super::super::Foundation:: FILE_OBJECT) -> super::super::super::Win32::Foundation:: NTSTATUS);
ClfsCloseAndResetLogFile(plfolog).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
#[inline]
pub unsafe fn ClfsCloseLogFileObject(plfolog: *const super::super::Foundation::FILE_OBJECT) -> ::windows_core::Result<()> {
::windows_targets::link!("clfs.sys" "system" fn ClfsCloseLogFileObject(plfolog : *const super::super::Foundation:: FILE_OBJECT) -> super::super::super::Win32::Foundation:: NTSTATUS);
ClfsCloseLogFileObject(plfolog).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
#[inline]
pub unsafe fn ClfsCreateLogFile<P0>(pplfolog: *mut *mut super::super::Foundation::FILE_OBJECT, puszlogfilename: *const super::super::super::Win32::Foundation::UNICODE_STRING, fdesiredaccess: u32, dwsharemode: u32, psdlogfile: P0, fcreatedisposition: u32, fcreateoptions: u32, fflagsandattributes: u32, flogoptionflag: u32, pvcontext: ::core::option::Option<*const ::core::ffi::c_void>, cbcontext: u32) -> ::windows_core::Result<()>
where
P0: ::windows_core::IntoParam<super::super::super::Win32::Security::PSECURITY_DESCRIPTOR>,
{
::windows_targets::link!("clfs.sys" "system" fn ClfsCreateLogFile(pplfolog : *mut *mut super::super::Foundation:: FILE_OBJECT, puszlogfilename : *const super::super::super::Win32::Foundation:: UNICODE_STRING, fdesiredaccess : u32, dwsharemode : u32, psdlogfile : super::super::super::Win32::Security:: PSECURITY_DESCRIPTOR, fcreatedisposition : u32, fcreateoptions : u32, fflagsandattributes : u32, flogoptionflag : u32, pvcontext : *const ::core::ffi::c_void, cbcontext : u32) -> super::super::super::Win32::Foundation:: NTSTATUS);
ClfsCreateLogFile(pplfolog, puszlogfilename, fdesiredaccess, dwsharemode, psdlogfile.into_param().abi(), fcreatedisposition, fcreateoptions, fflagsandattributes, flogoptionflag, ::core::mem::transmute(pvcontext.unwrap_or(::std::ptr::null())), cbcontext).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
#[inline]
pub unsafe fn ClfsCreateMarshallingArea(plfolog: *const super::super::Foundation::FILE_OBJECT, epooltype: super::super::Foundation::POOL_TYPE, pfnallocbuffer: PALLOCATE_FUNCTION, pfnfreebuffer: super::super::Foundation::PFREE_FUNCTION, cbmarshallingbuffer: u32, cmaxwritebuffers: u32, cmaxreadbuffers: u32, ppvmarshalcontext: *mut *mut ::core::ffi::c_void) -> ::windows_core::Result<()> {
::windows_targets::link!("clfs.sys" "system" fn ClfsCreateMarshallingArea(plfolog : *const super::super::Foundation:: FILE_OBJECT, epooltype : super::super::Foundation:: POOL_TYPE, pfnallocbuffer : PALLOCATE_FUNCTION, pfnfreebuffer : super::super::Foundation:: PFREE_FUNCTION, cbmarshallingbuffer : u32, cmaxwritebuffers : u32, cmaxreadbuffers : u32, ppvmarshalcontext : *mut *mut ::core::ffi::c_void) -> super::super::super::Win32::Foundation:: NTSTATUS);
ClfsCreateMarshallingArea(plfolog, epooltype, pfnallocbuffer, pfnfreebuffer, cbmarshallingbuffer, cmaxwritebuffers, cmaxreadbuffers, ppvmarshalcontext).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
#[inline]
pub unsafe fn ClfsCreateMarshallingAreaEx(plfolog: *const super::super::Foundation::FILE_OBJECT, epooltype: super::super::Foundation::POOL_TYPE, pfnallocbuffer: PALLOCATE_FUNCTION, pfnfreebuffer: super::super::Foundation::PFREE_FUNCTION, cbmarshallingbuffer: u32, cmaxwritebuffers: u32, cmaxreadbuffers: u32, calignmentsize: u32, fflags: u64, ppvmarshalcontext: *mut *mut ::core::ffi::c_void) -> ::windows_core::Result<()> {
::windows_targets::link!("clfs.sys" "system" fn ClfsCreateMarshallingAreaEx(plfolog : *const super::super::Foundation:: FILE_OBJECT, epooltype : super::super::Foundation:: POOL_TYPE, pfnallocbuffer : PALLOCATE_FUNCTION, pfnfreebuffer : super::super::Foundation:: PFREE_FUNCTION, cbmarshallingbuffer : u32, cmaxwritebuffers : u32, cmaxreadbuffers : u32, calignmentsize : u32, fflags : u64, ppvmarshalcontext : *mut *mut ::core::ffi::c_void) -> super::super::super::Win32::Foundation:: NTSTATUS);
ClfsCreateMarshallingAreaEx(plfolog, epooltype, pfnallocbuffer, pfnfreebuffer, cbmarshallingbuffer, cmaxwritebuffers, cmaxreadbuffers, calignmentsize, fflags, ppvmarshalcontext).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_Storage_FileSystem\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_Storage_FileSystem", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
#[inline]
pub unsafe fn ClfsCreateScanContext(plfolog: *const super::super::Foundation::FILE_OBJECT, cfromcontainer: u32, ccontainers: u32, escanmode: u8, pcxscan: *mut super::super::super::Win32::Storage::FileSystem::CLS_SCAN_CONTEXT) -> ::windows_core::Result<()> {
::windows_targets::link!("clfs.sys" "system" fn ClfsCreateScanContext(plfolog : *const super::super::Foundation:: FILE_OBJECT, cfromcontainer : u32, ccontainers : u32, escanmode : u8, pcxscan : *mut super::super::super::Win32::Storage::FileSystem:: CLS_SCAN_CONTEXT) -> super::super::super::Win32::Foundation:: NTSTATUS);
ClfsCreateScanContext(plfolog, cfromcontainer, ccontainers, escanmode, pcxscan).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
#[inline]
pub unsafe fn ClfsDeleteLogByPointer(plfolog: *const super::super::Foundation::FILE_OBJECT) -> ::windows_core::Result<()> {
::windows_targets::link!("clfs.sys" "system" fn ClfsDeleteLogByPointer(plfolog : *const super::super::Foundation:: FILE_OBJECT) -> super::super::super::Win32::Foundation:: NTSTATUS);
ClfsDeleteLogByPointer(plfolog).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn ClfsDeleteLogFile(puszlogfilename: *const super::super::super::Win32::Foundation::UNICODE_STRING, pvreserved: ::core::option::Option<*const ::core::ffi::c_void>, flogoptionflag: u32, pvcontext: ::core::option::Option<*const ::core::ffi::c_void>, cbcontext: u32) -> ::windows_core::Result<()> {
::windows_targets::link!("clfs.sys" "system" fn ClfsDeleteLogFile(puszlogfilename : *const super::super::super::Win32::Foundation:: UNICODE_STRING, pvreserved : *const ::core::ffi::c_void, flogoptionflag : u32, pvcontext : *const ::core::ffi::c_void, cbcontext : u32) -> super::super::super::Win32::Foundation:: NTSTATUS);
ClfsDeleteLogFile(puszlogfilename, ::core::mem::transmute(pvreserved.unwrap_or(::std::ptr::null())), flogoptionflag, ::core::mem::transmute(pvcontext.unwrap_or(::std::ptr::null())), cbcontext).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn ClfsDeleteMarshallingArea(pvmarshalcontext: *const ::core::ffi::c_void) -> ::windows_core::Result<()> {
::windows_targets::link!("clfs.sys" "system" fn ClfsDeleteMarshallingArea(pvmarshalcontext : *const ::core::ffi::c_void) -> super::super::super::Win32::Foundation:: NTSTATUS);
ClfsDeleteMarshallingArea(pvmarshalcontext).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Storage_FileSystem\"`*"]
#[cfg(feature = "Win32_Storage_FileSystem")]
#[inline]
pub unsafe fn ClfsEarlierLsn(plsn: *const super::super::super::Win32::Storage::FileSystem::CLS_LSN) -> super::super::super::Win32::Storage::FileSystem::CLS_LSN {
::windows_targets::link!("clfs.sys" "system" fn ClfsEarlierLsn(plsn : *const super::super::super::Win32::Storage::FileSystem:: CLS_LSN) -> super::super::super::Win32::Storage::FileSystem:: CLS_LSN);
ClfsEarlierLsn(plsn)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[inline]
pub unsafe fn ClfsFinalize() {
::windows_targets::link!("clfs.sys" "system" fn ClfsFinalize() -> ());
ClfsFinalize()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn ClfsFlushBuffers(pvmarshalcontext: *const ::core::ffi::c_void) -> ::windows_core::Result<()> {
::windows_targets::link!("clfs.sys" "system" fn ClfsFlushBuffers(pvmarshalcontext : *const ::core::ffi::c_void) -> super::super::super::Win32::Foundation:: NTSTATUS);
ClfsFlushBuffers(pvmarshalcontext).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Storage_FileSystem\"`*"]
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_FileSystem"))]
#[inline]
pub unsafe fn ClfsFlushToLsn(pvmarshalcontext: *const ::core::ffi::c_void, plsnflush: *const super::super::super::Win32::Storage::FileSystem::CLS_LSN, plsnlastflushed: ::core::option::Option<*mut super::super::super::Win32::Storage::FileSystem::CLS_LSN>) -> ::windows_core::Result<()> {
::windows_targets::link!("clfs.sys" "system" fn ClfsFlushToLsn(pvmarshalcontext : *const ::core::ffi::c_void, plsnflush : *const super::super::super::Win32::Storage::FileSystem:: CLS_LSN, plsnlastflushed : *mut super::super::super::Win32::Storage::FileSystem:: CLS_LSN) -> super::super::super::Win32::Foundation:: NTSTATUS);
ClfsFlushToLsn(pvmarshalcontext, plsnflush, ::core::mem::transmute(plsnlastflushed.unwrap_or(::std::ptr::null_mut()))).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn ClfsFreeReservedLog(pvmarshalcontext: *const ::core::ffi::c_void, pcbadjustment: &[i64]) -> ::windows_core::Result<()> {
::windows_targets::link!("clfs.sys" "system" fn ClfsFreeReservedLog(pvmarshalcontext : *const ::core::ffi::c_void, crecords : u32, pcbadjustment : *const i64) -> super::super::super::Win32::Foundation:: NTSTATUS);
ClfsFreeReservedLog(pvmarshalcontext, pcbadjustment.len() as _, ::core::mem::transmute(pcbadjustment.as_ptr())).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
#[inline]
pub unsafe fn ClfsGetContainerName(plfolog: *const super::super::Foundation::FILE_OBJECT, cidlogicalcontainer: u32, puszcontainername: *mut super::super::super::Win32::Foundation::UNICODE_STRING, pcactuallencontainername: ::core::option::Option<*mut u32>) -> ::windows_core::Result<()> {
::windows_targets::link!("clfs.sys" "system" fn ClfsGetContainerName(plfolog : *const super::super::Foundation:: FILE_OBJECT, cidlogicalcontainer : u32, puszcontainername : *mut super::super::super::Win32::Foundation:: UNICODE_STRING, pcactuallencontainername : *mut u32) -> super::super::super::Win32::Foundation:: NTSTATUS);
ClfsGetContainerName(plfolog, cidlogicalcontainer, puszcontainername, ::core::mem::transmute(pcactuallencontainername.unwrap_or(::std::ptr::null_mut()))).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_Storage_FileSystem\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_Storage_FileSystem", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
#[inline]
pub unsafe fn ClfsGetIoStatistics(plfolog: *const super::super::Foundation::FILE_OBJECT, pvstatsbuffer: *mut ::core::ffi::c_void, cbstatsbuffer: u32, estatsclass: super::super::super::Win32::Storage::FileSystem::CLFS_IOSTATS_CLASS, pcbstatswritten: ::core::option::Option<*mut u32>) -> ::windows_core::Result<()> {
::windows_targets::link!("clfs.sys" "system" fn ClfsGetIoStatistics(plfolog : *const super::super::Foundation:: FILE_OBJECT, pvstatsbuffer : *mut ::core::ffi::c_void, cbstatsbuffer : u32, estatsclass : super::super::super::Win32::Storage::FileSystem:: CLFS_IOSTATS_CLASS, pcbstatswritten : *mut u32) -> super::super::super::Win32::Foundation:: NTSTATUS);
ClfsGetIoStatistics(plfolog, pvstatsbuffer, cbstatsbuffer, estatsclass, ::core::mem::transmute(pcbstatswritten.unwrap_or(::std::ptr::null_mut()))).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_Storage_FileSystem\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_Storage_FileSystem", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
#[inline]
pub unsafe fn ClfsGetLogFileInformation(plfolog: *const super::super::Foundation::FILE_OBJECT, pinfobuffer: *mut super::super::super::Win32::Storage::FileSystem::CLS_INFORMATION, pcbinfobuffer: *mut u32) -> ::windows_core::Result<()> {
::windows_targets::link!("clfs.sys" "system" fn ClfsGetLogFileInformation(plfolog : *const super::super::Foundation:: FILE_OBJECT, pinfobuffer : *mut super::super::super::Win32::Storage::FileSystem:: CLS_INFORMATION, pcbinfobuffer : *mut u32) -> super::super::super::Win32::Foundation:: NTSTATUS);
ClfsGetLogFileInformation(plfolog, pinfobuffer, pcbinfobuffer).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn ClfsInitialize() -> ::windows_core::Result<()> {
::windows_targets::link!("clfs.sys" "system" fn ClfsInitialize() -> super::super::super::Win32::Foundation:: NTSTATUS);
ClfsInitialize().ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Storage_FileSystem\"`*"]
#[cfg(feature = "Win32_Storage_FileSystem")]
#[inline]
pub unsafe fn ClfsLaterLsn(plsn: *const super::super::super::Win32::Storage::FileSystem::CLS_LSN) -> super::super::super::Win32::Storage::FileSystem::CLS_LSN {
::windows_targets::link!("clfs.sys" "system" fn ClfsLaterLsn(plsn : *const super::super::super::Win32::Storage::FileSystem:: CLS_LSN) -> super::super::super::Win32::Storage::FileSystem:: CLS_LSN);
ClfsLaterLsn(plsn)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Storage_FileSystem\"`*"]
#[cfg(feature = "Win32_Storage_FileSystem")]
#[inline]
pub unsafe fn ClfsLsnBlockOffset(plsn: *const super::super::super::Win32::Storage::FileSystem::CLS_LSN) -> u32 {
::windows_targets::link!("clfs.sys" "system" fn ClfsLsnBlockOffset(plsn : *const super::super::super::Win32::Storage::FileSystem:: CLS_LSN) -> u32);
ClfsLsnBlockOffset(plsn)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Storage_FileSystem\"`*"]
#[cfg(feature = "Win32_Storage_FileSystem")]
#[inline]
pub unsafe fn ClfsLsnContainer(plsn: *const super::super::super::Win32::Storage::FileSystem::CLS_LSN) -> u32 {
::windows_targets::link!("clfs.sys" "system" fn ClfsLsnContainer(plsn : *const super::super::super::Win32::Storage::FileSystem:: CLS_LSN) -> u32);
ClfsLsnContainer(plsn)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Storage_FileSystem\"`*"]
#[cfg(feature = "Win32_Storage_FileSystem")]
#[inline]
pub unsafe fn ClfsLsnCreate(cidcontainer: u32, offblock: u32, crecord: u32) -> super::super::super::Win32::Storage::FileSystem::CLS_LSN {
::windows_targets::link!("clfs.sys" "system" fn ClfsLsnCreate(cidcontainer : u32, offblock : u32, crecord : u32) -> super::super::super::Win32::Storage::FileSystem:: CLS_LSN);
ClfsLsnCreate(cidcontainer, offblock, crecord)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Storage_FileSystem\"`*"]
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_FileSystem"))]
#[inline]
pub unsafe fn ClfsLsnDifference(plsnstart: *const super::super::super::Win32::Storage::FileSystem::CLS_LSN, plsnfinish: *const super::super::super::Win32::Storage::FileSystem::CLS_LSN, cbcontainer: u32, cbmaxblock: u32, pcbdifference: *mut i64) -> ::windows_core::Result<()> {
::windows_targets::link!("clfs.sys" "system" fn ClfsLsnDifference(plsnstart : *const super::super::super::Win32::Storage::FileSystem:: CLS_LSN, plsnfinish : *const super::super::super::Win32::Storage::FileSystem:: CLS_LSN, cbcontainer : u32, cbmaxblock : u32, pcbdifference : *mut i64) -> super::super::super::Win32::Foundation:: NTSTATUS);
ClfsLsnDifference(plsnstart, plsnfinish, cbcontainer, cbmaxblock, pcbdifference).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Storage_FileSystem\"`*"]
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_FileSystem"))]
#[inline]
pub unsafe fn ClfsLsnEqual(plsn1: *const super::super::super::Win32::Storage::FileSystem::CLS_LSN, plsn2: *const super::super::super::Win32::Storage::FileSystem::CLS_LSN) -> super::super::super::Win32::Foundation::BOOLEAN {
::windows_targets::link!("clfs.sys" "system" fn ClfsLsnEqual(plsn1 : *const super::super::super::Win32::Storage::FileSystem:: CLS_LSN, plsn2 : *const super::super::super::Win32::Storage::FileSystem:: CLS_LSN) -> super::super::super::Win32::Foundation:: BOOLEAN);
ClfsLsnEqual(plsn1, plsn2)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Storage_FileSystem\"`*"]
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_FileSystem"))]
#[inline]
pub unsafe fn ClfsLsnGreater(plsn1: *const super::super::super::Win32::Storage::FileSystem::CLS_LSN, plsn2: *const super::super::super::Win32::Storage::FileSystem::CLS_LSN) -> super::super::super::Win32::Foundation::BOOLEAN {
::windows_targets::link!("clfs.sys" "system" fn ClfsLsnGreater(plsn1 : *const super::super::super::Win32::Storage::FileSystem:: CLS_LSN, plsn2 : *const super::super::super::Win32::Storage::FileSystem:: CLS_LSN) -> super::super::super::Win32::Foundation:: BOOLEAN);
ClfsLsnGreater(plsn1, plsn2)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Storage_FileSystem\"`*"]
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_FileSystem"))]
#[inline]
pub unsafe fn ClfsLsnInvalid(plsn: *const super::super::super::Win32::Storage::FileSystem::CLS_LSN) -> super::super::super::Win32::Foundation::BOOLEAN {
::windows_targets::link!("clfs.sys" "system" fn ClfsLsnInvalid(plsn : *const super::super::super::Win32::Storage::FileSystem:: CLS_LSN) -> super::super::super::Win32::Foundation:: BOOLEAN);
ClfsLsnInvalid(plsn)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Storage_FileSystem\"`*"]
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_FileSystem"))]
#[inline]
pub unsafe fn ClfsLsnLess(plsn1: *const super::super::super::Win32::Storage::FileSystem::CLS_LSN, plsn2: *const super::super::super::Win32::Storage::FileSystem::CLS_LSN) -> super::super::super::Win32::Foundation::BOOLEAN {
::windows_targets::link!("clfs.sys" "system" fn ClfsLsnLess(plsn1 : *const super::super::super::Win32::Storage::FileSystem:: CLS_LSN, plsn2 : *const super::super::super::Win32::Storage::FileSystem:: CLS_LSN) -> super::super::super::Win32::Foundation:: BOOLEAN);
ClfsLsnLess(plsn1, plsn2)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Storage_FileSystem\"`*"]
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_FileSystem"))]
#[inline]
pub unsafe fn ClfsLsnNull(plsn: *const super::super::super::Win32::Storage::FileSystem::CLS_LSN) -> super::super::super::Win32::Foundation::BOOLEAN {
::windows_targets::link!("clfs.sys" "system" fn ClfsLsnNull(plsn : *const super::super::super::Win32::Storage::FileSystem:: CLS_LSN) -> super::super::super::Win32::Foundation:: BOOLEAN);
ClfsLsnNull(plsn)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Storage_FileSystem\"`*"]
#[cfg(feature = "Win32_Storage_FileSystem")]
#[inline]
pub unsafe fn ClfsLsnRecordSequence(plsn: *const super::super::super::Win32::Storage::FileSystem::CLS_LSN) -> u32 {
::windows_targets::link!("clfs.sys" "system" fn ClfsLsnRecordSequence(plsn : *const super::super::super::Win32::Storage::FileSystem:: CLS_LSN) -> u32);
ClfsLsnRecordSequence(plsn)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn ClfsMgmtDeregisterManagedClient(clientcookie: *const ::core::ffi::c_void) -> ::windows_core::Result<()> {
::windows_targets::link!("clfs.sys" "system" fn ClfsMgmtDeregisterManagedClient(clientcookie : *const ::core::ffi::c_void) -> super::super::super::Win32::Foundation:: NTSTATUS);
ClfsMgmtDeregisterManagedClient(clientcookie).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn ClfsMgmtHandleLogFileFull(client: *const ::core::ffi::c_void) -> ::windows_core::Result<()> {
::windows_targets::link!("clfs.sys" "system" fn ClfsMgmtHandleLogFileFull(client : *const ::core::ffi::c_void) -> super::super::super::Win32::Foundation:: NTSTATUS);
ClfsMgmtHandleLogFileFull(client).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_Storage_FileSystem\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_Storage_FileSystem", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
#[inline]
pub unsafe fn ClfsMgmtInstallPolicy(logfile: *const super::super::Foundation::FILE_OBJECT, policy: *const super::super::super::Win32::Storage::FileSystem::CLFS_MGMT_POLICY, policylength: u32) -> ::windows_core::Result<()> {
::windows_targets::link!("clfs.sys" "system" fn ClfsMgmtInstallPolicy(logfile : *const super::super::Foundation:: FILE_OBJECT, policy : *const super::super::super::Win32::Storage::FileSystem:: CLFS_MGMT_POLICY, policylength : u32) -> super::super::super::Win32::Foundation:: NTSTATUS);
ClfsMgmtInstallPolicy(logfile, policy, policylength).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_Storage_FileSystem\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_Storage_FileSystem", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
#[inline]
pub unsafe fn ClfsMgmtQueryPolicy(logfile: *const super::super::Foundation::FILE_OBJECT, policytype: super::super::super::Win32::Storage::FileSystem::CLFS_MGMT_POLICY_TYPE, policy: *mut super::super::super::Win32::Storage::FileSystem::CLFS_MGMT_POLICY, policylength: *mut u32) -> ::windows_core::Result<()> {
::windows_targets::link!("clfs.sys" "system" fn ClfsMgmtQueryPolicy(logfile : *const super::super::Foundation:: FILE_OBJECT, policytype : super::super::super::Win32::Storage::FileSystem:: CLFS_MGMT_POLICY_TYPE, policy : *mut super::super::super::Win32::Storage::FileSystem:: CLFS_MGMT_POLICY, policylength : *mut u32) -> super::super::super::Win32::Foundation:: NTSTATUS);
ClfsMgmtQueryPolicy(logfile, policytype, policy, policylength).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_Storage_FileSystem\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_Storage_FileSystem", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
#[inline]
pub unsafe fn ClfsMgmtRegisterManagedClient(logfile: *const super::super::Foundation::FILE_OBJECT, registrationdata: *const CLFS_MGMT_CLIENT_REGISTRATION, clientcookie: *mut *mut ::core::ffi::c_void) -> ::windows_core::Result<()> {
::windows_targets::link!("clfs.sys" "system" fn ClfsMgmtRegisterManagedClient(logfile : *const super::super::Foundation:: FILE_OBJECT, registrationdata : *const CLFS_MGMT_CLIENT_REGISTRATION, clientcookie : *mut *mut ::core::ffi::c_void) -> super::super::super::Win32::Foundation:: NTSTATUS);
ClfsMgmtRegisterManagedClient(logfile, registrationdata, clientcookie).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_Storage_FileSystem\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_Storage_FileSystem", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
#[inline]
pub unsafe fn ClfsMgmtRemovePolicy(logfile: *const super::super::Foundation::FILE_OBJECT, policytype: super::super::super::Win32::Storage::FileSystem::CLFS_MGMT_POLICY_TYPE) -> ::windows_core::Result<()> {
::windows_targets::link!("clfs.sys" "system" fn ClfsMgmtRemovePolicy(logfile : *const super::super::Foundation:: FILE_OBJECT, policytype : super::super::super::Win32::Storage::FileSystem:: CLFS_MGMT_POLICY_TYPE) -> super::super::super::Win32::Foundation:: NTSTATUS);
ClfsMgmtRemovePolicy(logfile, policytype).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
#[inline]
pub unsafe fn ClfsMgmtSetLogFileSize(logfile: *const super::super::Foundation::FILE_OBJECT, newsizeincontainers: *const u64, resultingsizeincontainers: ::core::option::Option<*mut u64>, completionroutine: PCLFS_SET_LOG_SIZE_COMPLETE_CALLBACK, completionroutinedata: ::core::option::Option<*const ::core::ffi::c_void>) -> ::windows_core::Result<()> {
::windows_targets::link!("clfs.sys" "system" fn ClfsMgmtSetLogFileSize(logfile : *const super::super::Foundation:: FILE_OBJECT, newsizeincontainers : *const u64, resultingsizeincontainers : *mut u64, completionroutine : PCLFS_SET_LOG_SIZE_COMPLETE_CALLBACK, completionroutinedata : *const ::core::ffi::c_void) -> super::super::super::Win32::Foundation:: NTSTATUS);
ClfsMgmtSetLogFileSize(logfile, newsizeincontainers, ::core::mem::transmute(resultingsizeincontainers.unwrap_or(::std::ptr::null_mut())), completionroutine, ::core::mem::transmute(completionroutinedata.unwrap_or(::std::ptr::null()))).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
#[inline]
pub unsafe fn ClfsMgmtSetLogFileSizeAsClient(logfile: *const super::super::Foundation::FILE_OBJECT, clientcookie: ::core::option::Option<*const *const ::core::ffi::c_void>, newsizeincontainers: *const u64, resultingsizeincontainers: ::core::option::Option<*mut u64>, completionroutine: PCLFS_SET_LOG_SIZE_COMPLETE_CALLBACK, completionroutinedata: ::core::option::Option<*const ::core::ffi::c_void>) -> ::windows_core::Result<()> {
::windows_targets::link!("clfs.sys" "system" fn ClfsMgmtSetLogFileSizeAsClient(logfile : *const super::super::Foundation:: FILE_OBJECT, clientcookie : *const *const ::core::ffi::c_void, newsizeincontainers : *const u64, resultingsizeincontainers : *mut u64, completionroutine : PCLFS_SET_LOG_SIZE_COMPLETE_CALLBACK, completionroutinedata : *const ::core::ffi::c_void) -> super::super::super::Win32::Foundation:: NTSTATUS);
ClfsMgmtSetLogFileSizeAsClient(logfile, ::core::mem::transmute(clientcookie.unwrap_or(::std::ptr::null())), newsizeincontainers, ::core::mem::transmute(resultingsizeincontainers.unwrap_or(::std::ptr::null_mut())), completionroutine, ::core::mem::transmute(completionroutinedata.unwrap_or(::std::ptr::null()))).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn ClfsMgmtTailAdvanceFailure<P0>(client: *const ::core::ffi::c_void, reason: P0) -> ::windows_core::Result<()>
where
P0: ::windows_core::IntoParam<super::super::super::Win32::Foundation::NTSTATUS>,
{
::windows_targets::link!("clfs.sys" "system" fn ClfsMgmtTailAdvanceFailure(client : *const ::core::ffi::c_void, reason : super::super::super::Win32::Foundation:: NTSTATUS) -> super::super::super::Win32::Foundation:: NTSTATUS);
ClfsMgmtTailAdvanceFailure(client, reason.into_param().abi()).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_Storage_FileSystem\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_Storage_FileSystem", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
#[inline]
pub unsafe fn ClfsQueryLogFileInformation(plfolog: *const super::super::Foundation::FILE_OBJECT, einformationclass: super::super::super::Win32::Storage::FileSystem::CLS_LOG_INFORMATION_CLASS, pinfoinputbuffer: ::core::option::Option<*const ::core::ffi::c_void>, cbinfoinputbuffer: u32, pinfobuffer: *mut ::core::ffi::c_void, pcbinfobuffer: *mut u32) -> ::windows_core::Result<()> {
::windows_targets::link!("clfs.sys" "system" fn ClfsQueryLogFileInformation(plfolog : *const super::super::Foundation:: FILE_OBJECT, einformationclass : super::super::super::Win32::Storage::FileSystem:: CLS_LOG_INFORMATION_CLASS, pinfoinputbuffer : *const ::core::ffi::c_void, cbinfoinputbuffer : u32, pinfobuffer : *mut ::core::ffi::c_void, pcbinfobuffer : *mut u32) -> super::super::super::Win32::Foundation:: NTSTATUS);
ClfsQueryLogFileInformation(plfolog, einformationclass, ::core::mem::transmute(pinfoinputbuffer.unwrap_or(::std::ptr::null())), cbinfoinputbuffer, pinfobuffer, pcbinfobuffer).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Storage_FileSystem\"`*"]
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_FileSystem"))]
#[inline]
pub unsafe fn ClfsReadLogRecord(pvmarshalcontext: *const ::core::ffi::c_void, plsnfirst: *mut super::super::super::Win32::Storage::FileSystem::CLS_LSN, pecontextmode: super::super::super::Win32::Storage::FileSystem::CLFS_CONTEXT_MODE, ppvreadbuffer: *mut *mut ::core::ffi::c_void, pcbreadbuffer: *mut u32, perecordtype: *mut u8, plsnundonext: *mut super::super::super::Win32::Storage::FileSystem::CLS_LSN, plsnprevious: *mut super::super::super::Win32::Storage::FileSystem::CLS_LSN, ppvreadcontext: *mut *mut ::core::ffi::c_void) -> ::windows_core::Result<()> {
::windows_targets::link!("clfs.sys" "system" fn ClfsReadLogRecord(pvmarshalcontext : *const ::core::ffi::c_void, plsnfirst : *mut super::super::super::Win32::Storage::FileSystem:: CLS_LSN, pecontextmode : super::super::super::Win32::Storage::FileSystem:: CLFS_CONTEXT_MODE, ppvreadbuffer : *mut *mut ::core::ffi::c_void, pcbreadbuffer : *mut u32, perecordtype : *mut u8, plsnundonext : *mut super::super::super::Win32::Storage::FileSystem:: CLS_LSN, plsnprevious : *mut super::super::super::Win32::Storage::FileSystem:: CLS_LSN, ppvreadcontext : *mut *mut ::core::ffi::c_void) -> super::super::super::Win32::Foundation:: NTSTATUS);
ClfsReadLogRecord(pvmarshalcontext, plsnfirst, pecontextmode, ppvreadbuffer, pcbreadbuffer, perecordtype, plsnundonext, plsnprevious, ppvreadcontext).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Storage_FileSystem\"`*"]
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_FileSystem"))]
#[inline]
pub unsafe fn ClfsReadNextLogRecord(pvreadcontext: *mut ::core::ffi::c_void, ppvbuffer: *mut *mut ::core::ffi::c_void, pcbbuffer: *mut u32, perecordtype: *mut u8, plsnuser: ::core::option::Option<*const super::super::super::Win32::Storage::FileSystem::CLS_LSN>, plsnundonext: *mut super::super::super::Win32::Storage::FileSystem::CLS_LSN, plsnprevious: *mut super::super::super::Win32::Storage::FileSystem::CLS_LSN, plsnrecord: *mut super::super::super::Win32::Storage::FileSystem::CLS_LSN) -> ::windows_core::Result<()> {
::windows_targets::link!("clfs.sys" "system" fn ClfsReadNextLogRecord(pvreadcontext : *mut ::core::ffi::c_void, ppvbuffer : *mut *mut ::core::ffi::c_void, pcbbuffer : *mut u32, perecordtype : *mut u8, plsnuser : *const super::super::super::Win32::Storage::FileSystem:: CLS_LSN, plsnundonext : *mut super::super::super::Win32::Storage::FileSystem:: CLS_LSN, plsnprevious : *mut super::super::super::Win32::Storage::FileSystem:: CLS_LSN, plsnrecord : *mut super::super::super::Win32::Storage::FileSystem:: CLS_LSN) -> super::super::super::Win32::Foundation:: NTSTATUS);
ClfsReadNextLogRecord(pvreadcontext, ppvbuffer, pcbbuffer, perecordtype, ::core::mem::transmute(plsnuser.unwrap_or(::std::ptr::null())), plsnundonext, plsnprevious, plsnrecord).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Storage_FileSystem\"`*"]
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_FileSystem"))]
#[inline]
pub unsafe fn ClfsReadPreviousRestartArea(pvreadcontext: *const ::core::ffi::c_void, ppvrestartbuffer: *mut *mut ::core::ffi::c_void, pcbrestartbuffer: *mut u32, plsnrestart: *mut super::super::super::Win32::Storage::FileSystem::CLS_LSN) -> ::windows_core::Result<()> {
::windows_targets::link!("clfs.sys" "system" fn ClfsReadPreviousRestartArea(pvreadcontext : *const ::core::ffi::c_void, ppvrestartbuffer : *mut *mut ::core::ffi::c_void, pcbrestartbuffer : *mut u32, plsnrestart : *mut super::super::super::Win32::Storage::FileSystem:: CLS_LSN) -> super::super::super::Win32::Foundation:: NTSTATUS);
ClfsReadPreviousRestartArea(pvreadcontext, ppvrestartbuffer, pcbrestartbuffer, plsnrestart).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Storage_FileSystem\"`*"]
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_FileSystem"))]
#[inline]
pub unsafe fn ClfsReadRestartArea(pvmarshalcontext: *mut ::core::ffi::c_void, ppvrestartbuffer: *mut *mut ::core::ffi::c_void, pcbrestartbuffer: *mut u32, plsn: *mut super::super::super::Win32::Storage::FileSystem::CLS_LSN, ppvreadcontext: *mut *mut ::core::ffi::c_void) -> ::windows_core::Result<()> {
::windows_targets::link!("clfs.sys" "system" fn ClfsReadRestartArea(pvmarshalcontext : *mut ::core::ffi::c_void, ppvrestartbuffer : *mut *mut ::core::ffi::c_void, pcbrestartbuffer : *mut u32, plsn : *mut super::super::super::Win32::Storage::FileSystem:: CLS_LSN, ppvreadcontext : *mut *mut ::core::ffi::c_void) -> super::super::super::Win32::Foundation:: NTSTATUS);
ClfsReadRestartArea(pvmarshalcontext, ppvrestartbuffer, pcbrestartbuffer, plsn, ppvreadcontext).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
#[inline]
pub unsafe fn ClfsRemoveLogContainer<P0>(plfolog: *const super::super::Foundation::FILE_OBJECT, puszcontainerpath: *const super::super::super::Win32::Foundation::UNICODE_STRING, fforce: P0) -> ::windows_core::Result<()>
where
P0: ::windows_core::IntoParam<super::super::super::Win32::Foundation::BOOLEAN>,
{
::windows_targets::link!("clfs.sys" "system" fn ClfsRemoveLogContainer(plfolog : *const super::super::Foundation:: FILE_OBJECT, puszcontainerpath : *const super::super::super::Win32::Foundation:: UNICODE_STRING, fforce : super::super::super::Win32::Foundation:: BOOLEAN) -> super::super::super::Win32::Foundation:: NTSTATUS);
ClfsRemoveLogContainer(plfolog, puszcontainerpath, fforce.into_param().abi()).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
#[inline]
pub unsafe fn ClfsRemoveLogContainerSet<P0>(plfolog: *const super::super::Foundation::FILE_OBJECT, rgwszcontainerpath: &[super::super::super::Win32::Foundation::UNICODE_STRING], fforce: P0) -> ::windows_core::Result<()>
where
P0: ::windows_core::IntoParam<super::super::super::Win32::Foundation::BOOLEAN>,
{
::windows_targets::link!("clfs.sys" "system" fn ClfsRemoveLogContainerSet(plfolog : *const super::super::Foundation:: FILE_OBJECT, ccontainers : u16, rgwszcontainerpath : *const super::super::super::Win32::Foundation:: UNICODE_STRING, fforce : super::super::super::Win32::Foundation:: BOOLEAN) -> super::super::super::Win32::Foundation:: NTSTATUS);
ClfsRemoveLogContainerSet(plfolog, rgwszcontainerpath.len() as _, ::core::mem::transmute(rgwszcontainerpath.as_ptr()), fforce.into_param().abi()).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Storage_FileSystem\"`*"]
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_FileSystem"))]
#[inline]
pub unsafe fn ClfsReserveAndAppendLog(pvmarshalcontext: *const ::core::ffi::c_void, rgwriteentries: ::core::option::Option<&[super::super::super::Win32::Storage::FileSystem::CLS_WRITE_ENTRY]>, plsnundonext: ::core::option::Option<*const super::super::super::Win32::Storage::FileSystem::CLS_LSN>, plsnprevious: ::core::option::Option<*const super::super::super::Win32::Storage::FileSystem::CLS_LSN>, rgcbreservation: ::core::option::Option<&mut [i64]>, fflags: u32, plsn: ::core::option::Option<*mut super::super::super::Win32::Storage::FileSystem::CLS_LSN>) -> ::windows_core::Result<()> {
::windows_targets::link!("clfs.sys" "system" fn ClfsReserveAndAppendLog(pvmarshalcontext : *const ::core::ffi::c_void, rgwriteentries : *const super::super::super::Win32::Storage::FileSystem:: CLS_WRITE_ENTRY, cwriteentries : u32, plsnundonext : *const super::super::super::Win32::Storage::FileSystem:: CLS_LSN, plsnprevious : *const super::super::super::Win32::Storage::FileSystem:: CLS_LSN, creserverecords : u32, rgcbreservation : *mut i64, fflags : u32, plsn : *mut super::super::super::Win32::Storage::FileSystem:: CLS_LSN) -> super::super::super::Win32::Foundation:: NTSTATUS);
ClfsReserveAndAppendLog(
pvmarshalcontext,
::core::mem::transmute(rgwriteentries.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())),
rgwriteentries.as_deref().map_or(0, |slice| slice.len() as _),
::core::mem::transmute(plsnundonext.unwrap_or(::std::ptr::null())),
::core::mem::transmute(plsnprevious.unwrap_or(::std::ptr::null())),
rgcbreservation.as_deref().map_or(0, |slice| slice.len() as _),
::core::mem::transmute(rgcbreservation.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())),
fflags,
::core::mem::transmute(plsn.unwrap_or(::std::ptr::null_mut())),
)
.ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Storage_FileSystem\"`*"]
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_FileSystem"))]
#[inline]
pub unsafe fn ClfsReserveAndAppendLogAligned(pvmarshalcontext: *const ::core::ffi::c_void, rgwriteentries: ::core::option::Option<&[super::super::super::Win32::Storage::FileSystem::CLS_WRITE_ENTRY]>, cbentryalignment: u32, plsnundonext: ::core::option::Option<*const super::super::super::Win32::Storage::FileSystem::CLS_LSN>, plsnprevious: ::core::option::Option<*const super::super::super::Win32::Storage::FileSystem::CLS_LSN>, rgcbreservation: ::core::option::Option<&mut [i64]>, fflags: u32, plsn: ::core::option::Option<*mut super::super::super::Win32::Storage::FileSystem::CLS_LSN>) -> ::windows_core::Result<()> {
::windows_targets::link!("clfs.sys" "system" fn ClfsReserveAndAppendLogAligned(pvmarshalcontext : *const ::core::ffi::c_void, rgwriteentries : *const super::super::super::Win32::Storage::FileSystem:: CLS_WRITE_ENTRY, cwriteentries : u32, cbentryalignment : u32, plsnundonext : *const super::super::super::Win32::Storage::FileSystem:: CLS_LSN, plsnprevious : *const super::super::super::Win32::Storage::FileSystem:: CLS_LSN, creserverecords : u32, rgcbreservation : *mut i64, fflags : u32, plsn : *mut super::super::super::Win32::Storage::FileSystem:: CLS_LSN) -> super::super::super::Win32::Foundation:: NTSTATUS);
ClfsReserveAndAppendLogAligned(
pvmarshalcontext,
::core::mem::transmute(rgwriteentries.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())),
rgwriteentries.as_deref().map_or(0, |slice| slice.len() as _),
cbentryalignment,
::core::mem::transmute(plsnundonext.unwrap_or(::std::ptr::null())),
::core::mem::transmute(plsnprevious.unwrap_or(::std::ptr::null())),
rgcbreservation.as_deref().map_or(0, |slice| slice.len() as _),
::core::mem::transmute(rgcbreservation.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())),
fflags,
::core::mem::transmute(plsn.unwrap_or(::std::ptr::null_mut())),
)
.ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Storage_FileSystem\"`*"]
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_FileSystem"))]
#[inline]
pub unsafe fn ClfsScanLogContainers(pcxscan: *mut super::super::super::Win32::Storage::FileSystem::CLS_SCAN_CONTEXT, escanmode: u8) -> ::windows_core::Result<()> {
::windows_targets::link!("clfs.sys" "system" fn ClfsScanLogContainers(pcxscan : *mut super::super::super::Win32::Storage::FileSystem:: CLS_SCAN_CONTEXT, escanmode : u8) -> super::super::super::Win32::Foundation:: NTSTATUS);
ClfsScanLogContainers(pcxscan, escanmode).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_Storage_FileSystem\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_Storage_FileSystem", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
#[inline]
pub unsafe fn ClfsSetArchiveTail(plfolog: *const super::super::Foundation::FILE_OBJECT, plsnarchivetail: *const super::super::super::Win32::Storage::FileSystem::CLS_LSN) -> ::windows_core::Result<()> {
::windows_targets::link!("clfs.sys" "system" fn ClfsSetArchiveTail(plfolog : *const super::super::Foundation:: FILE_OBJECT, plsnarchivetail : *const super::super::super::Win32::Storage::FileSystem:: CLS_LSN) -> super::super::super::Win32::Foundation:: NTSTATUS);
ClfsSetArchiveTail(plfolog, plsnarchivetail).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_Storage_FileSystem\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_Storage_FileSystem", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
#[inline]
pub unsafe fn ClfsSetEndOfLog(plfolog: *const super::super::Foundation::FILE_OBJECT, plsnend: *const super::super::super::Win32::Storage::FileSystem::CLS_LSN) -> ::windows_core::Result<()> {
::windows_targets::link!("clfs.sys" "system" fn ClfsSetEndOfLog(plfolog : *const super::super::Foundation:: FILE_OBJECT, plsnend : *const super::super::super::Win32::Storage::FileSystem:: CLS_LSN) -> super::super::super::Win32::Foundation:: NTSTATUS);
ClfsSetEndOfLog(plfolog, plsnend).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_Storage_FileSystem\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_Storage_FileSystem", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
#[inline]
pub unsafe fn ClfsSetLogFileInformation(plfolog: *const super::super::Foundation::FILE_OBJECT, einformationclass: super::super::super::Win32::Storage::FileSystem::CLS_LOG_INFORMATION_CLASS, pinfobuffer: *const ::core::ffi::c_void, cbbuffer: u32) -> ::windows_core::Result<()> {
::windows_targets::link!("clfs.sys" "system" fn ClfsSetLogFileInformation(plfolog : *const super::super::Foundation:: FILE_OBJECT, einformationclass : super::super::super::Win32::Storage::FileSystem:: CLS_LOG_INFORMATION_CLASS, pinfobuffer : *const ::core::ffi::c_void, cbbuffer : u32) -> super::super::super::Win32::Foundation:: NTSTATUS);
ClfsSetLogFileInformation(plfolog, einformationclass, pinfobuffer, cbbuffer).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn ClfsTerminateReadLog(pvcursorcontext: *const ::core::ffi::c_void) -> ::windows_core::Result<()> {
::windows_targets::link!("clfs.sys" "system" fn ClfsTerminateReadLog(pvcursorcontext : *const ::core::ffi::c_void) -> super::super::super::Win32::Foundation:: NTSTATUS);
ClfsTerminateReadLog(pvcursorcontext).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Storage_FileSystem\"`*"]
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_FileSystem"))]
#[inline]
pub unsafe fn ClfsWriteRestartArea(pvmarshalcontext: *mut ::core::ffi::c_void, pvrestartbuffer: *const ::core::ffi::c_void, cbrestartbuffer: u32, plsnbase: ::core::option::Option<*const super::super::super::Win32::Storage::FileSystem::CLS_LSN>, fflags: u32, pcbwritten: ::core::option::Option<*mut u32>, plsnnext: ::core::option::Option<*mut super::super::super::Win32::Storage::FileSystem::CLS_LSN>) -> ::windows_core::Result<()> {
::windows_targets::link!("clfs.sys" "system" fn ClfsWriteRestartArea(pvmarshalcontext : *mut ::core::ffi::c_void, pvrestartbuffer : *const ::core::ffi::c_void, cbrestartbuffer : u32, plsnbase : *const super::super::super::Win32::Storage::FileSystem:: CLS_LSN, fflags : u32, pcbwritten : *mut u32, plsnnext : *mut super::super::super::Win32::Storage::FileSystem:: CLS_LSN) -> super::super::super::Win32::Foundation:: NTSTATUS);
ClfsWriteRestartArea(pvmarshalcontext, pvrestartbuffer, cbrestartbuffer, ::core::mem::transmute(plsnbase.unwrap_or(::std::ptr::null())), fflags, ::core::mem::transmute(pcbwritten.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(plsnnext.unwrap_or(::std::ptr::null_mut()))).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn CmCallbackGetKeyObjectID(cookie: *const i64, object: *const ::core::ffi::c_void, objectid: ::core::option::Option<*mut usize>, objectname: ::core::option::Option<*mut *mut super::super::super::Win32::Foundation::UNICODE_STRING>) -> ::windows_core::Result<()> {
::windows_targets::link!("ntoskrnl.exe" "system" fn CmCallbackGetKeyObjectID(cookie : *const i64, object : *const ::core::ffi::c_void, objectid : *mut usize, objectname : *mut *mut super::super::super::Win32::Foundation:: UNICODE_STRING) -> super::super::super::Win32::Foundation:: NTSTATUS);
CmCallbackGetKeyObjectID(cookie, object, ::core::mem::transmute(objectid.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(objectname.unwrap_or(::std::ptr::null_mut()))).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn CmCallbackGetKeyObjectIDEx(cookie: *const i64, object: *const ::core::ffi::c_void, objectid: ::core::option::Option<*mut usize>, objectname: ::core::option::Option<*mut *mut super::super::super::Win32::Foundation::UNICODE_STRING>, flags: u32) -> ::windows_core::Result<()> {
::windows_targets::link!("ntoskrnl.exe" "system" fn CmCallbackGetKeyObjectIDEx(cookie : *const i64, object : *const ::core::ffi::c_void, objectid : *mut usize, objectname : *mut *mut super::super::super::Win32::Foundation:: UNICODE_STRING, flags : u32) -> super::super::super::Win32::Foundation:: NTSTATUS);
CmCallbackGetKeyObjectIDEx(cookie, object, ::core::mem::transmute(objectid.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(objectname.unwrap_or(::std::ptr::null_mut())), flags).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn CmCallbackReleaseKeyObjectIDEx(objectname: *const super::super::super::Win32::Foundation::UNICODE_STRING) {
::windows_targets::link!("ntoskrnl.exe" "system" fn CmCallbackReleaseKeyObjectIDEx(objectname : *const super::super::super::Win32::Foundation:: UNICODE_STRING) -> ());
CmCallbackReleaseKeyObjectIDEx(objectname)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[inline]
pub unsafe fn CmGetBoundTransaction(cookie: *const i64, object: *const ::core::ffi::c_void) -> *mut ::core::ffi::c_void {
::windows_targets::link!("ntoskrnl.exe" "system" fn CmGetBoundTransaction(cookie : *const i64, object : *const ::core::ffi::c_void) -> *mut ::core::ffi::c_void);
CmGetBoundTransaction(cookie, object)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[inline]
pub unsafe fn CmGetCallbackVersion(major: ::core::option::Option<*mut u32>, minor: ::core::option::Option<*mut u32>) {
::windows_targets::link!("ntoskrnl.exe" "system" fn CmGetCallbackVersion(major : *mut u32, minor : *mut u32) -> ());
CmGetCallbackVersion(::core::mem::transmute(major.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(minor.unwrap_or(::std::ptr::null_mut())))
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn CmRegisterCallback(function: PEX_CALLBACK_FUNCTION, context: ::core::option::Option<*const ::core::ffi::c_void>, cookie: *mut i64) -> ::windows_core::Result<()> {
::windows_targets::link!("ntoskrnl.exe" "system" fn CmRegisterCallback(function : PEX_CALLBACK_FUNCTION, context : *const ::core::ffi::c_void, cookie : *mut i64) -> super::super::super::Win32::Foundation:: NTSTATUS);
CmRegisterCallback(function, ::core::mem::transmute(context.unwrap_or(::std::ptr::null())), cookie).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn CmRegisterCallbackEx(function: PEX_CALLBACK_FUNCTION, altitude: *const super::super::super::Win32::Foundation::UNICODE_STRING, driver: *const ::core::ffi::c_void, context: ::core::option::Option<*const ::core::ffi::c_void>, cookie: *mut i64, reserved: ::core::option::Option<*const ::core::ffi::c_void>) -> ::windows_core::Result<()> {
::windows_targets::link!("ntoskrnl.exe" "system" fn CmRegisterCallbackEx(function : PEX_CALLBACK_FUNCTION, altitude : *const super::super::super::Win32::Foundation:: UNICODE_STRING, driver : *const ::core::ffi::c_void, context : *const ::core::ffi::c_void, cookie : *mut i64, reserved : *const ::core::ffi::c_void) -> super::super::super::Win32::Foundation:: NTSTATUS);
CmRegisterCallbackEx(function, altitude, driver, ::core::mem::transmute(context.unwrap_or(::std::ptr::null())), cookie, ::core::mem::transmute(reserved.unwrap_or(::std::ptr::null()))).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn CmSetCallbackObjectContext(object: *mut ::core::ffi::c_void, cookie: *const i64, newcontext: *const ::core::ffi::c_void, oldcontext: ::core::option::Option<*mut *mut ::core::ffi::c_void>) -> ::windows_core::Result<()> {
::windows_targets::link!("ntoskrnl.exe" "system" fn CmSetCallbackObjectContext(object : *mut ::core::ffi::c_void, cookie : *const i64, newcontext : *const ::core::ffi::c_void, oldcontext : *mut *mut ::core::ffi::c_void) -> super::super::super::Win32::Foundation:: NTSTATUS);
CmSetCallbackObjectContext(object, cookie, newcontext, ::core::mem::transmute(oldcontext.unwrap_or(::std::ptr::null_mut()))).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn CmUnRegisterCallback(cookie: i64) -> ::windows_core::Result<()> {
::windows_targets::link!("ntoskrnl.exe" "system" fn CmUnRegisterCallback(cookie : i64) -> super::super::super::Win32::Foundation:: NTSTATUS);
CmUnRegisterCallback(cookie).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[inline]
pub unsafe fn DbgBreakPointWithStatus(status: u32) {
::windows_targets::link!("ntoskrnl.exe" "system" fn DbgBreakPointWithStatus(status : u32) -> ());
DbgBreakPointWithStatus(status)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[inline]
pub unsafe fn DbgPrint<P0>(format: P0) -> u32
where
P0: ::windows_core::IntoParam<::windows_core::PCSTR>,
{
::windows_targets::link!("ntdll.dll" "cdecl" fn DbgPrint(format : ::windows_core::PCSTR) -> u32);
DbgPrint(format.into_param().abi())
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[inline]
pub unsafe fn DbgPrintEx<P0>(componentid: u32, level: u32, format: P0) -> u32
where
P0: ::windows_core::IntoParam<::windows_core::PCSTR>,
{
::windows_targets::link!("ntdll.dll" "cdecl" fn DbgPrintEx(componentid : u32, level : u32, format : ::windows_core::PCSTR) -> u32);
DbgPrintEx(componentid, level, format.into_param().abi())
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[inline]
pub unsafe fn DbgPrintReturnControlC<P0>(format: P0) -> u32
where
P0: ::windows_core::IntoParam<::windows_core::PCSTR>,
{
::windows_targets::link!("ntdll.dll" "cdecl" fn DbgPrintReturnControlC(format : ::windows_core::PCSTR) -> u32);
DbgPrintReturnControlC(format.into_param().abi())
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[inline]
pub unsafe fn DbgPrompt<P0>(prompt: P0, response: &mut [u8]) -> u32
where
P0: ::windows_core::IntoParam<::windows_core::PCSTR>,
{
::windows_targets::link!("ntdll.dll" "system" fn DbgPrompt(prompt : ::windows_core::PCSTR, response : ::windows_core::PSTR, length : u32) -> u32);
DbgPrompt(prompt.into_param().abi(), ::core::mem::transmute(response.as_ptr()), response.len() as _)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn DbgQueryDebugFilterState(componentid: u32, level: u32) -> ::windows_core::Result<()> {
::windows_targets::link!("ntdll.dll" "system" fn DbgQueryDebugFilterState(componentid : u32, level : u32) -> super::super::super::Win32::Foundation:: NTSTATUS);
DbgQueryDebugFilterState(componentid, level).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn DbgSetDebugFilterState<P0>(componentid: u32, level: u32, state: P0) -> ::windows_core::Result<()>
where
P0: ::windows_core::IntoParam<super::super::super::Win32::Foundation::BOOLEAN>,
{
::windows_targets::link!("ntdll.dll" "system" fn DbgSetDebugFilterState(componentid : u32, level : u32, state : super::super::super::Win32::Foundation:: BOOLEAN) -> super::super::super::Win32::Foundation:: NTSTATUS);
DbgSetDebugFilterState(componentid, level, state.into_param().abi()).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"]
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
#[inline]
pub unsafe fn DbgSetDebugPrintCallback<P0>(debugprintcallback: PDEBUG_PRINT_CALLBACK, enable: P0) -> ::windows_core::Result<()>
where
P0: ::windows_core::IntoParam<super::super::super::Win32::Foundation::BOOLEAN>,
{
::windows_targets::link!("ntoskrnl.exe" "system" fn DbgSetDebugPrintCallback(debugprintcallback : PDEBUG_PRINT_CALLBACK, enable : super::super::super::Win32::Foundation:: BOOLEAN) -> super::super::super::Win32::Foundation:: NTSTATUS);
DbgSetDebugPrintCallback(debugprintcallback, enable.into_param().abi()).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn EtwActivityIdControl(controlcode: u32, activityid: *mut ::windows_core::GUID) -> ::windows_core::Result<()> {
::windows_targets::link!("ntoskrnl.exe" "system" fn EtwActivityIdControl(controlcode : u32, activityid : *mut ::windows_core::GUID) -> super::super::super::Win32::Foundation:: NTSTATUS);
EtwActivityIdControl(controlcode, activityid).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Diagnostics_Etw\"`*"]
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Diagnostics_Etw"))]
#[inline]
pub unsafe fn EtwEventEnabled(reghandle: u64, eventdescriptor: *const super::super::super::Win32::System::Diagnostics::Etw::EVENT_DESCRIPTOR) -> super::super::super::Win32::Foundation::BOOLEAN {
::windows_targets::link!("ntdll.dll" "system" fn EtwEventEnabled(reghandle : u64, eventdescriptor : *const super::super::super::Win32::System::Diagnostics::Etw:: EVENT_DESCRIPTOR) -> super::super::super::Win32::Foundation:: BOOLEAN);
EtwEventEnabled(reghandle, eventdescriptor)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn EtwProviderEnabled(reghandle: u64, level: u8, keyword: u64) -> super::super::super::Win32::Foundation::BOOLEAN {
::windows_targets::link!("ntoskrnl.exe" "system" fn EtwProviderEnabled(reghandle : u64, level : u8, keyword : u64) -> super::super::super::Win32::Foundation:: BOOLEAN);
EtwProviderEnabled(reghandle, level, keyword)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn EtwRegister(providerid: *const ::windows_core::GUID, enablecallback: PETWENABLECALLBACK, callbackcontext: ::core::option::Option<*const ::core::ffi::c_void>, reghandle: *mut u64) -> ::windows_core::Result<()> {
::windows_targets::link!("ntoskrnl.exe" "system" fn EtwRegister(providerid : *const ::windows_core::GUID, enablecallback : PETWENABLECALLBACK, callbackcontext : *const ::core::ffi::c_void, reghandle : *mut u64) -> super::super::super::Win32::Foundation:: NTSTATUS);
EtwRegister(providerid, enablecallback, ::core::mem::transmute(callbackcontext.unwrap_or(::std::ptr::null())), reghandle).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Diagnostics_Etw\"`*"]
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Diagnostics_Etw"))]
#[inline]
pub unsafe fn EtwSetInformation(reghandle: u64, informationclass: super::super::super::Win32::System::Diagnostics::Etw::EVENT_INFO_CLASS, eventinformation: ::core::option::Option<*const ::core::ffi::c_void>, informationlength: u32) -> ::windows_core::Result<()> {
::windows_targets::link!("ntoskrnl.exe" "system" fn EtwSetInformation(reghandle : u64, informationclass : super::super::super::Win32::System::Diagnostics::Etw:: EVENT_INFO_CLASS, eventinformation : *const ::core::ffi::c_void, informationlength : u32) -> super::super::super::Win32::Foundation:: NTSTATUS);
EtwSetInformation(reghandle, informationclass, ::core::mem::transmute(eventinformation.unwrap_or(::std::ptr::null())), informationlength).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn EtwUnregister(reghandle: u64) -> ::windows_core::Result<()> {
::windows_targets::link!("ntoskrnl.exe" "system" fn EtwUnregister(reghandle : u64) -> super::super::super::Win32::Foundation:: NTSTATUS);
EtwUnregister(reghandle).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Diagnostics_Etw\"`*"]
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Diagnostics_Etw"))]
#[inline]
pub unsafe fn EtwWrite(reghandle: u64, eventdescriptor: *const super::super::super::Win32::System::Diagnostics::Etw::EVENT_DESCRIPTOR, activityid: ::core::option::Option<*const ::windows_core::GUID>, userdata: ::core::option::Option<&[super::super::super::Win32::System::Diagnostics::Etw::EVENT_DATA_DESCRIPTOR]>) -> ::windows_core::Result<()> {
::windows_targets::link!("ntoskrnl.exe" "system" fn EtwWrite(reghandle : u64, eventdescriptor : *const super::super::super::Win32::System::Diagnostics::Etw:: EVENT_DESCRIPTOR, activityid : *const ::windows_core::GUID, userdatacount : u32, userdata : *const super::super::super::Win32::System::Diagnostics::Etw:: EVENT_DATA_DESCRIPTOR) -> super::super::super::Win32::Foundation:: NTSTATUS);
EtwWrite(reghandle, eventdescriptor, ::core::mem::transmute(activityid.unwrap_or(::std::ptr::null())), userdata.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(userdata.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Diagnostics_Etw\"`*"]
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Diagnostics_Etw"))]
#[inline]
pub unsafe fn EtwWriteEx(reghandle: u64, eventdescriptor: *const super::super::super::Win32::System::Diagnostics::Etw::EVENT_DESCRIPTOR, filter: u64, flags: u32, activityid: ::core::option::Option<*const ::windows_core::GUID>, relatedactivityid: ::core::option::Option<*const ::windows_core::GUID>, userdata: ::core::option::Option<&[super::super::super::Win32::System::Diagnostics::Etw::EVENT_DATA_DESCRIPTOR]>) -> ::windows_core::Result<()> {
::windows_targets::link!("ntoskrnl.exe" "system" fn EtwWriteEx(reghandle : u64, eventdescriptor : *const super::super::super::Win32::System::Diagnostics::Etw:: EVENT_DESCRIPTOR, filter : u64, flags : u32, activityid : *const ::windows_core::GUID, relatedactivityid : *const ::windows_core::GUID, userdatacount : u32, userdata : *const super::super::super::Win32::System::Diagnostics::Etw:: EVENT_DATA_DESCRIPTOR) -> super::super::super::Win32::Foundation:: NTSTATUS);
EtwWriteEx(reghandle, eventdescriptor, filter, flags, ::core::mem::transmute(activityid.unwrap_or(::std::ptr::null())), ::core::mem::transmute(relatedactivityid.unwrap_or(::std::ptr::null())), userdata.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(userdata.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn EtwWriteString<P0>(reghandle: u64, level: u8, keyword: u64, activityid: ::core::option::Option<*const ::windows_core::GUID>, string: P0) -> ::windows_core::Result<()>
where
P0: ::windows_core::IntoParam<::windows_core::PCWSTR>,
{
::windows_targets::link!("ntoskrnl.exe" "system" fn EtwWriteString(reghandle : u64, level : u8, keyword : u64, activityid : *const ::windows_core::GUID, string : ::windows_core::PCWSTR) -> super::super::super::Win32::Foundation:: NTSTATUS);
EtwWriteString(reghandle, level, keyword, ::core::mem::transmute(activityid.unwrap_or(::std::ptr::null())), string.into_param().abi()).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Diagnostics_Etw\"`*"]
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Diagnostics_Etw"))]
#[inline]
pub unsafe fn EtwWriteTransfer(reghandle: u64, eventdescriptor: *const super::super::super::Win32::System::Diagnostics::Etw::EVENT_DESCRIPTOR, activityid: ::core::option::Option<*const ::windows_core::GUID>, relatedactivityid: ::core::option::Option<*const ::windows_core::GUID>, userdata: ::core::option::Option<&[super::super::super::Win32::System::Diagnostics::Etw::EVENT_DATA_DESCRIPTOR]>) -> ::windows_core::Result<()> {
::windows_targets::link!("ntoskrnl.exe" "system" fn EtwWriteTransfer(reghandle : u64, eventdescriptor : *const super::super::super::Win32::System::Diagnostics::Etw:: EVENT_DESCRIPTOR, activityid : *const ::windows_core::GUID, relatedactivityid : *const ::windows_core::GUID, userdatacount : u32, userdata : *const super::super::super::Win32::System::Diagnostics::Etw:: EVENT_DATA_DESCRIPTOR) -> super::super::super::Win32::Foundation:: NTSTATUS);
EtwWriteTransfer(reghandle, eventdescriptor, ::core::mem::transmute(activityid.unwrap_or(::std::ptr::null())), ::core::mem::transmute(relatedactivityid.unwrap_or(::std::ptr::null())), userdata.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(userdata.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr()))).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
#[inline]
pub unsafe fn ExAcquireFastMutex(fastmutex: *mut super::super::Foundation::FAST_MUTEX) {
::windows_targets::link!("ntoskrnl.exe" "system" fn ExAcquireFastMutex(fastmutex : *mut super::super::Foundation:: FAST_MUTEX) -> ());
ExAcquireFastMutex(fastmutex)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
#[inline]
pub unsafe fn ExAcquireFastMutexUnsafe(fastmutex: *mut super::super::Foundation::FAST_MUTEX) {
::windows_targets::link!("ntoskrnl.exe" "system" fn ExAcquireFastMutexUnsafe(fastmutex : *mut super::super::Foundation:: FAST_MUTEX) -> ());
ExAcquireFastMutexUnsafe(fastmutex)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[inline]
pub unsafe fn ExAcquirePushLockExclusiveEx(pushlock: *mut usize, flags: u32) {
::windows_targets::link!("ntoskrnl.exe" "system" fn ExAcquirePushLockExclusiveEx(pushlock : *mut usize, flags : u32) -> ());
ExAcquirePushLockExclusiveEx(pushlock, flags)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[inline]
pub unsafe fn ExAcquirePushLockSharedEx(pushlock: *mut usize, flags: u32) {
::windows_targets::link!("ntoskrnl.exe" "system" fn ExAcquirePushLockSharedEx(pushlock : *mut usize, flags : u32) -> ());
ExAcquirePushLockSharedEx(pushlock, flags)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
#[inline]
pub unsafe fn ExAcquireResourceExclusiveLite<P0>(resource: *mut super::super::Foundation::ERESOURCE, wait: P0) -> super::super::super::Win32::Foundation::BOOLEAN
where
P0: ::windows_core::IntoParam<super::super::super::Win32::Foundation::BOOLEAN>,
{
::windows_targets::link!("ntoskrnl.exe" "system" fn ExAcquireResourceExclusiveLite(resource : *mut super::super::Foundation:: ERESOURCE, wait : super::super::super::Win32::Foundation:: BOOLEAN) -> super::super::super::Win32::Foundation:: BOOLEAN);
ExAcquireResourceExclusiveLite(resource, wait.into_param().abi())
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
#[inline]
pub unsafe fn ExAcquireResourceSharedLite<P0>(resource: *mut super::super::Foundation::ERESOURCE, wait: P0) -> super::super::super::Win32::Foundation::BOOLEAN
where
P0: ::windows_core::IntoParam<super::super::super::Win32::Foundation::BOOLEAN>,
{
::windows_targets::link!("ntoskrnl.exe" "system" fn ExAcquireResourceSharedLite(resource : *mut super::super::Foundation:: ERESOURCE, wait : super::super::super::Win32::Foundation:: BOOLEAN) -> super::super::super::Win32::Foundation:: BOOLEAN);
ExAcquireResourceSharedLite(resource, wait.into_param().abi())
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn ExAcquireRundownProtection(runref: *mut EX_RUNDOWN_REF) -> super::super::super::Win32::Foundation::BOOLEAN {
::windows_targets::link!("ntoskrnl.exe" "system" fn ExAcquireRundownProtection(runref : *mut EX_RUNDOWN_REF) -> super::super::super::Win32::Foundation:: BOOLEAN);
ExAcquireRundownProtection(runref)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))]
#[inline]
pub unsafe fn ExAcquireRundownProtectionCacheAware<P0>(runrefcacheaware: P0) -> super::super::super::Win32::Foundation::BOOLEAN
where
P0: ::windows_core::IntoParam<super::super::Foundation::PEX_RUNDOWN_REF_CACHE_AWARE>,
{
::windows_targets::link!("ntoskrnl.exe" "system" fn ExAcquireRundownProtectionCacheAware(runrefcacheaware : super::super::Foundation:: PEX_RUNDOWN_REF_CACHE_AWARE) -> super::super::super::Win32::Foundation:: BOOLEAN);
ExAcquireRundownProtectionCacheAware(runrefcacheaware.into_param().abi())
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))]
#[inline]
pub unsafe fn ExAcquireRundownProtectionCacheAwareEx<P0>(runrefcacheaware: P0, count: u32) -> super::super::super::Win32::Foundation::BOOLEAN
where
P0: ::windows_core::IntoParam<super::super::Foundation::PEX_RUNDOWN_REF_CACHE_AWARE>,
{
::windows_targets::link!("ntoskrnl.exe" "system" fn ExAcquireRundownProtectionCacheAwareEx(runrefcacheaware : super::super::Foundation:: PEX_RUNDOWN_REF_CACHE_AWARE, count : u32) -> super::super::super::Win32::Foundation:: BOOLEAN);
ExAcquireRundownProtectionCacheAwareEx(runrefcacheaware.into_param().abi(), count)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn ExAcquireRundownProtectionEx(runref: *mut EX_RUNDOWN_REF, count: u32) -> super::super::super::Win32::Foundation::BOOLEAN {
::windows_targets::link!("ntoskrnl.exe" "system" fn ExAcquireRundownProtectionEx(runref : *mut EX_RUNDOWN_REF, count : u32) -> super::super::super::Win32::Foundation:: BOOLEAN);
ExAcquireRundownProtectionEx(runref, count)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
#[inline]
pub unsafe fn ExAcquireSharedStarveExclusive<P0>(resource: *mut super::super::Foundation::ERESOURCE, wait: P0) -> super::super::super::Win32::Foundation::BOOLEAN
where
P0: ::windows_core::IntoParam<super::super::super::Win32::Foundation::BOOLEAN>,
{
::windows_targets::link!("ntoskrnl.exe" "system" fn ExAcquireSharedStarveExclusive(resource : *mut super::super::Foundation:: ERESOURCE, wait : super::super::super::Win32::Foundation:: BOOLEAN) -> super::super::super::Win32::Foundation:: BOOLEAN);
ExAcquireSharedStarveExclusive(resource, wait.into_param().abi())
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
#[inline]
pub unsafe fn ExAcquireSharedWaitForExclusive<P0>(resource: *mut super::super::Foundation::ERESOURCE, wait: P0) -> super::super::super::Win32::Foundation::BOOLEAN
where
P0: ::windows_core::IntoParam<super::super::super::Win32::Foundation::BOOLEAN>,
{
::windows_targets::link!("ntoskrnl.exe" "system" fn ExAcquireSharedWaitForExclusive(resource : *mut super::super::Foundation:: ERESOURCE, wait : super::super::super::Win32::Foundation:: BOOLEAN) -> super::super::super::Win32::Foundation:: BOOLEAN);
ExAcquireSharedWaitForExclusive(resource, wait.into_param().abi())
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[inline]
pub unsafe fn ExAcquireSpinLockExclusive(spinlock: *mut i32) -> u8 {
::windows_targets::link!("ntoskrnl.exe" "system" fn ExAcquireSpinLockExclusive(spinlock : *mut i32) -> u8);
ExAcquireSpinLockExclusive(spinlock)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[inline]
pub unsafe fn ExAcquireSpinLockExclusiveAtDpcLevel(spinlock: *mut i32) {
::windows_targets::link!("ntoskrnl.exe" "system" fn ExAcquireSpinLockExclusiveAtDpcLevel(spinlock : *mut i32) -> ());
ExAcquireSpinLockExclusiveAtDpcLevel(spinlock)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[inline]
pub unsafe fn ExAcquireSpinLockShared(spinlock: *mut i32) -> u8 {
::windows_targets::link!("ntoskrnl.exe" "system" fn ExAcquireSpinLockShared(spinlock : *mut i32) -> u8);
ExAcquireSpinLockShared(spinlock)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[inline]
pub unsafe fn ExAcquireSpinLockSharedAtDpcLevel(spinlock: *mut i32) {
::windows_targets::link!("ntoskrnl.exe" "system" fn ExAcquireSpinLockSharedAtDpcLevel(spinlock : *mut i32) -> ());
ExAcquireSpinLockSharedAtDpcLevel(spinlock)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`*"]
#[cfg(feature = "Wdk_Foundation")]
#[inline]
pub unsafe fn ExAllocateCacheAwareRundownProtection(pooltype: super::super::Foundation::POOL_TYPE, pooltag: u32) -> super::super::Foundation::PEX_RUNDOWN_REF_CACHE_AWARE {
::windows_targets::link!("ntoskrnl.exe" "system" fn ExAllocateCacheAwareRundownProtection(pooltype : super::super::Foundation:: POOL_TYPE, pooltag : u32) -> super::super::Foundation:: PEX_RUNDOWN_REF_CACHE_AWARE);
ExAllocateCacheAwareRundownProtection(pooltype, pooltag)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`*"]
#[cfg(feature = "Wdk_Foundation")]
#[inline]
pub unsafe fn ExAllocatePool(pooltype: super::super::Foundation::POOL_TYPE, numberofbytes: usize) -> *mut ::core::ffi::c_void {
::windows_targets::link!("ntoskrnl.exe" "system" fn ExAllocatePool(pooltype : super::super::Foundation:: POOL_TYPE, numberofbytes : usize) -> *mut ::core::ffi::c_void);
ExAllocatePool(pooltype, numberofbytes)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[inline]
pub unsafe fn ExAllocatePool2(flags: u64, numberofbytes: usize, tag: u32) -> *mut ::core::ffi::c_void {
::windows_targets::link!("ntoskrnl.exe" "system" fn ExAllocatePool2(flags : u64, numberofbytes : usize, tag : u32) -> *mut ::core::ffi::c_void);
ExAllocatePool2(flags, numberofbytes, tag)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn ExAllocatePool3(flags: u64, numberofbytes: usize, tag: u32, extendedparameters: ::core::option::Option<&[POOL_EXTENDED_PARAMETER]>) -> *mut ::core::ffi::c_void {
::windows_targets::link!("ntoskrnl.exe" "system" fn ExAllocatePool3(flags : u64, numberofbytes : usize, tag : u32, extendedparameters : *const POOL_EXTENDED_PARAMETER, extendedparameterscount : u32) -> *mut ::core::ffi::c_void);
ExAllocatePool3(flags, numberofbytes, tag, ::core::mem::transmute(extendedparameters.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), extendedparameters.as_deref().map_or(0, |slice| slice.len() as _))
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`*"]
#[cfg(feature = "Wdk_Foundation")]
#[inline]
pub unsafe fn ExAllocatePoolWithQuota(pooltype: super::super::Foundation::POOL_TYPE, numberofbytes: usize) -> *mut ::core::ffi::c_void {
::windows_targets::link!("ntoskrnl.exe" "system" fn ExAllocatePoolWithQuota(pooltype : super::super::Foundation:: POOL_TYPE, numberofbytes : usize) -> *mut ::core::ffi::c_void);
ExAllocatePoolWithQuota(pooltype, numberofbytes)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`*"]
#[cfg(feature = "Wdk_Foundation")]
#[inline]
pub unsafe fn ExAllocatePoolWithQuotaTag(pooltype: super::super::Foundation::POOL_TYPE, numberofbytes: usize, tag: u32) -> *mut ::core::ffi::c_void {
::windows_targets::link!("ntoskrnl.exe" "system" fn ExAllocatePoolWithQuotaTag(pooltype : super::super::Foundation:: POOL_TYPE, numberofbytes : usize, tag : u32) -> *mut ::core::ffi::c_void);
ExAllocatePoolWithQuotaTag(pooltype, numberofbytes, tag)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`*"]
#[cfg(feature = "Wdk_Foundation")]
#[inline]
pub unsafe fn ExAllocatePoolWithTag(pooltype: super::super::Foundation::POOL_TYPE, numberofbytes: usize, tag: u32) -> *mut ::core::ffi::c_void {
::windows_targets::link!("ntoskrnl.exe" "system" fn ExAllocatePoolWithTag(pooltype : super::super::Foundation:: POOL_TYPE, numberofbytes : usize, tag : u32) -> *mut ::core::ffi::c_void);
ExAllocatePoolWithTag(pooltype, numberofbytes, tag)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`*"]
#[cfg(feature = "Wdk_Foundation")]
#[inline]
pub unsafe fn ExAllocatePoolWithTagPriority(pooltype: super::super::Foundation::POOL_TYPE, numberofbytes: usize, tag: u32, priority: EX_POOL_PRIORITY) -> *mut ::core::ffi::c_void {
::windows_targets::link!("ntoskrnl.exe" "system" fn ExAllocatePoolWithTagPriority(pooltype : super::super::Foundation:: POOL_TYPE, numberofbytes : usize, tag : u32, priority : EX_POOL_PRIORITY) -> *mut ::core::ffi::c_void);
ExAllocatePoolWithTagPriority(pooltype, numberofbytes, tag, priority)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`*"]
#[cfg(feature = "Wdk_Foundation")]
#[inline]
pub unsafe fn ExAllocateTimer(callback: PEXT_CALLBACK, callbackcontext: ::core::option::Option<*const ::core::ffi::c_void>, attributes: u32) -> super::super::Foundation::PEX_TIMER {
::windows_targets::link!("ntoskrnl.exe" "system" fn ExAllocateTimer(callback : PEXT_CALLBACK, callbackcontext : *const ::core::ffi::c_void, attributes : u32) -> super::super::Foundation:: PEX_TIMER);
ExAllocateTimer(callback, ::core::mem::transmute(callbackcontext.unwrap_or(::std::ptr::null())), attributes)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))]
#[inline]
pub unsafe fn ExCancelTimer<P0>(timer: P0, parameters: ::core::option::Option<*const ::core::ffi::c_void>) -> super::super::super::Win32::Foundation::BOOLEAN
where
P0: ::windows_core::IntoParam<super::super::Foundation::PEX_TIMER>,
{
::windows_targets::link!("ntoskrnl.exe" "system" fn ExCancelTimer(timer : super::super::Foundation:: PEX_TIMER, parameters : *const ::core::ffi::c_void) -> super::super::super::Win32::Foundation:: BOOLEAN);
ExCancelTimer(timer.into_param().abi(), ::core::mem::transmute(parameters.unwrap_or(::std::ptr::null())))
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`*"]
#[cfg(feature = "Wdk_Foundation")]
#[inline]
pub unsafe fn ExCleanupRundownProtectionCacheAware<P0>(runrefcacheaware: P0)
where
P0: ::windows_core::IntoParam<super::super::Foundation::PEX_RUNDOWN_REF_CACHE_AWARE>,
{
::windows_targets::link!("ntoskrnl.exe" "system" fn ExCleanupRundownProtectionCacheAware(runrefcacheaware : super::super::Foundation:: PEX_RUNDOWN_REF_CACHE_AWARE) -> ());
ExCleanupRundownProtectionCacheAware(runrefcacheaware.into_param().abi())
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_System_Kernel\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_System_Kernel"))]
#[inline]
pub unsafe fn ExConvertExclusiveToSharedLite(resource: *mut super::super::Foundation::ERESOURCE) {
::windows_targets::link!("ntoskrnl.exe" "system" fn ExConvertExclusiveToSharedLite(resource : *mut super::super::Foundation:: ERESOURCE) -> ());
ExConvertExclusiveToSharedLite(resource)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))]
#[inline]
pub unsafe fn ExCreateCallback<P0, P1>(callbackobject: *mut super::super::Foundation::PCALLBACK_OBJECT, objectattributes: *const super::super::Foundation::OBJECT_ATTRIBUTES, create: P0, allowmultiplecallbacks: P1) -> ::windows_core::Result<()>
where
P0: ::windows_core::IntoParam<super::super::super::Win32::Foundation::BOOLEAN>,
P1: ::windows_core::IntoParam<super::super::super::Win32::Foundation::BOOLEAN>,
{
::windows_targets::link!("ntoskrnl.exe" "system" fn ExCreateCallback(callbackobject : *mut super::super::Foundation:: PCALLBACK_OBJECT, objectattributes : *const super::super::Foundation:: OBJECT_ATTRIBUTES, create : super::super::super::Win32::Foundation:: BOOLEAN, allowmultiplecallbacks : super::super::super::Win32::Foundation:: BOOLEAN) -> super::super::super::Win32::Foundation:: NTSTATUS);
ExCreateCallback(callbackobject, objectattributes, create.into_param().abi(), allowmultiplecallbacks.into_param().abi()).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn ExCreatePool(flags: u32, tag: usize, params: ::core::option::Option<*const POOL_CREATE_EXTENDED_PARAMS>, poolhandle: *mut super::super::super::Win32::Foundation::HANDLE) -> ::windows_core::Result<()> {
::windows_targets::link!("ntoskrnl.exe" "system" fn ExCreatePool(flags : u32, tag : usize, params : *const POOL_CREATE_EXTENDED_PARAMS, poolhandle : *mut super::super::super::Win32::Foundation:: HANDLE) -> super::super::super::Win32::Foundation:: NTSTATUS);
ExCreatePool(flags, tag, ::core::mem::transmute(params.unwrap_or(::std::ptr::null())), poolhandle).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
#[inline]
pub unsafe fn ExDeleteResourceLite(resource: *mut super::super::Foundation::ERESOURCE) -> ::windows_core::Result<()> {
::windows_targets::link!("ntoskrnl.exe" "system" fn ExDeleteResourceLite(resource : *mut super::super::Foundation:: ERESOURCE) -> super::super::super::Win32::Foundation:: NTSTATUS);
ExDeleteResourceLite(resource).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))]
#[inline]
pub unsafe fn ExDeleteTimer<P0, P1, P2>(timer: P0, cancel: P1, wait: P2, parameters: ::core::option::Option<*const EXT_DELETE_PARAMETERS>) -> super::super::super::Win32::Foundation::BOOLEAN
where
P0: ::windows_core::IntoParam<super::super::Foundation::PEX_TIMER>,
P1: ::windows_core::IntoParam<super::super::super::Win32::Foundation::BOOLEAN>,
P2: ::windows_core::IntoParam<super::super::super::Win32::Foundation::BOOLEAN>,
{
::windows_targets::link!("ntoskrnl.exe" "system" fn ExDeleteTimer(timer : super::super::Foundation:: PEX_TIMER, cancel : super::super::super::Win32::Foundation:: BOOLEAN, wait : super::super::super::Win32::Foundation:: BOOLEAN, parameters : *const EXT_DELETE_PARAMETERS) -> super::super::super::Win32::Foundation:: BOOLEAN);
ExDeleteTimer(timer.into_param().abi(), cancel.into_param().abi(), wait.into_param().abi(), ::core::mem::transmute(parameters.unwrap_or(::std::ptr::null())))
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn ExDestroyPool<P0>(poolhandle: P0)
where
P0: ::windows_core::IntoParam<super::super::super::Win32::Foundation::HANDLE>,
{
::windows_targets::link!("ntoskrnl.exe" "system" fn ExDestroyPool(poolhandle : super::super::super::Win32::Foundation:: HANDLE) -> ());
ExDestroyPool(poolhandle.into_param().abi())
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_System_Kernel\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_System_Kernel"))]
#[inline]
pub unsafe fn ExEnterCriticalRegionAndAcquireResourceExclusive(resource: *mut super::super::Foundation::ERESOURCE) -> *mut ::core::ffi::c_void {
::windows_targets::link!("ntoskrnl.exe" "system" fn ExEnterCriticalRegionAndAcquireResourceExclusive(resource : *mut super::super::Foundation:: ERESOURCE) -> *mut ::core::ffi::c_void);
ExEnterCriticalRegionAndAcquireResourceExclusive(resource)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_System_Kernel\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_System_Kernel"))]
#[inline]
pub unsafe fn ExEnterCriticalRegionAndAcquireResourceShared(resource: *mut super::super::Foundation::ERESOURCE) -> *mut ::core::ffi::c_void {
::windows_targets::link!("ntoskrnl.exe" "system" fn ExEnterCriticalRegionAndAcquireResourceShared(resource : *mut super::super::Foundation:: ERESOURCE) -> *mut ::core::ffi::c_void);
ExEnterCriticalRegionAndAcquireResourceShared(resource)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_System_Kernel\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_System_Kernel"))]
#[inline]
pub unsafe fn ExEnterCriticalRegionAndAcquireSharedWaitForExclusive(resource: *mut super::super::Foundation::ERESOURCE) -> *mut ::core::ffi::c_void {
::windows_targets::link!("ntoskrnl.exe" "system" fn ExEnterCriticalRegionAndAcquireSharedWaitForExclusive(resource : *mut super::super::Foundation:: ERESOURCE) -> *mut ::core::ffi::c_void);
ExEnterCriticalRegionAndAcquireSharedWaitForExclusive(resource)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn ExEnumerateSystemFirmwareTables(firmwaretableprovidersignature: u32, firmwaretablebuffer: ::core::option::Option<*mut ::core::ffi::c_void>, bufferlength: u32, returnlength: ::core::option::Option<*mut u32>) -> ::windows_core::Result<()> {
::windows_targets::link!("ntoskrnl.exe" "system" fn ExEnumerateSystemFirmwareTables(firmwaretableprovidersignature : u32, firmwaretablebuffer : *mut ::core::ffi::c_void, bufferlength : u32, returnlength : *mut u32) -> super::super::super::Win32::Foundation:: NTSTATUS);
ExEnumerateSystemFirmwareTables(firmwaretableprovidersignature, ::core::mem::transmute(firmwaretablebuffer.unwrap_or(::std::ptr::null_mut())), bufferlength, ::core::mem::transmute(returnlength.unwrap_or(::std::ptr::null_mut()))).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"]
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
#[inline]
pub unsafe fn ExExtendZone(zone: *mut ZONE_HEADER, segment: *mut ::core::ffi::c_void, segmentsize: u32) -> ::windows_core::Result<()> {
::windows_targets::link!("ntoskrnl.exe" "system" fn ExExtendZone(zone : *mut ZONE_HEADER, segment : *mut ::core::ffi::c_void, segmentsize : u32) -> super::super::super::Win32::Foundation:: NTSTATUS);
ExExtendZone(zone, segment, segmentsize).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`*"]
#[cfg(feature = "Wdk_Foundation")]
#[inline]
pub unsafe fn ExFreeCacheAwareRundownProtection<P0>(runrefcacheaware: P0)
where
P0: ::windows_core::IntoParam<super::super::Foundation::PEX_RUNDOWN_REF_CACHE_AWARE>,
{
::windows_targets::link!("ntoskrnl.exe" "system" fn ExFreeCacheAwareRundownProtection(runrefcacheaware : super::super::Foundation:: PEX_RUNDOWN_REF_CACHE_AWARE) -> ());
ExFreeCacheAwareRundownProtection(runrefcacheaware.into_param().abi())
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[inline]
pub unsafe fn ExFreePool(p: *mut ::core::ffi::c_void) {
::windows_targets::link!("ntoskrnl.exe" "system" fn ExFreePool(p : *mut ::core::ffi::c_void) -> ());
ExFreePool(p)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn ExFreePool2(p: *mut ::core::ffi::c_void, tag: u32, extendedparameters: ::core::option::Option<&[POOL_EXTENDED_PARAMETER]>) {
::windows_targets::link!("ntoskrnl.exe" "system" fn ExFreePool2(p : *mut ::core::ffi::c_void, tag : u32, extendedparameters : *const POOL_EXTENDED_PARAMETER, extendedparameterscount : u32) -> ());
ExFreePool2(p, tag, ::core::mem::transmute(extendedparameters.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), extendedparameters.as_deref().map_or(0, |slice| slice.len() as _))
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[inline]
pub unsafe fn ExFreePoolWithTag(p: *mut ::core::ffi::c_void, tag: u32) {
::windows_targets::link!("ntoskrnl.exe" "system" fn ExFreePoolWithTag(p : *mut ::core::ffi::c_void, tag : u32) -> ());
ExFreePoolWithTag(p, tag)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_System_Kernel\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_System_Kernel"))]
#[inline]
pub unsafe fn ExGetExclusiveWaiterCount(resource: *const super::super::Foundation::ERESOURCE) -> u32 {
::windows_targets::link!("ntoskrnl.exe" "system" fn ExGetExclusiveWaiterCount(resource : *const super::super::Foundation:: ERESOURCE) -> u32);
ExGetExclusiveWaiterCount(resource)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn ExGetFirmwareEnvironmentVariable(variablename: *const super::super::super::Win32::Foundation::UNICODE_STRING, vendorguid: *const ::windows_core::GUID, value: ::core::option::Option<*mut ::core::ffi::c_void>, valuelength: *mut u32, attributes: ::core::option::Option<*mut u32>) -> ::windows_core::Result<()> {
::windows_targets::link!("ntoskrnl.exe" "system" fn ExGetFirmwareEnvironmentVariable(variablename : *const super::super::super::Win32::Foundation:: UNICODE_STRING, vendorguid : *const ::windows_core::GUID, value : *mut ::core::ffi::c_void, valuelength : *mut u32, attributes : *mut u32) -> super::super::super::Win32::Foundation:: NTSTATUS);
ExGetFirmwareEnvironmentVariable(variablename, vendorguid, ::core::mem::transmute(value.unwrap_or(::std::ptr::null_mut())), valuelength, ::core::mem::transmute(attributes.unwrap_or(::std::ptr::null_mut()))).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_System_SystemInformation\"`*"]
#[cfg(feature = "Win32_System_SystemInformation")]
#[inline]
pub unsafe fn ExGetFirmwareType() -> super::super::super::Win32::System::SystemInformation::FIRMWARE_TYPE {
::windows_targets::link!("ntoskrnl.exe" "system" fn ExGetFirmwareType() -> super::super::super::Win32::System::SystemInformation:: FIRMWARE_TYPE);
ExGetFirmwareType()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[inline]
pub unsafe fn ExGetPreviousMode() -> i8 {
::windows_targets::link!("ntoskrnl.exe" "system" fn ExGetPreviousMode() -> i8);
ExGetPreviousMode()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_System_Kernel\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_System_Kernel"))]
#[inline]
pub unsafe fn ExGetSharedWaiterCount(resource: *const super::super::Foundation::ERESOURCE) -> u32 {
::windows_targets::link!("ntoskrnl.exe" "system" fn ExGetSharedWaiterCount(resource : *const super::super::Foundation:: ERESOURCE) -> u32);
ExGetSharedWaiterCount(resource)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn ExGetSystemFirmwareTable(firmwaretableprovidersignature: u32, firmwaretableid: u32, firmwaretablebuffer: ::core::option::Option<*mut ::core::ffi::c_void>, bufferlength: u32, returnlength: ::core::option::Option<*mut u32>) -> ::windows_core::Result<()> {
::windows_targets::link!("ntoskrnl.exe" "system" fn ExGetSystemFirmwareTable(firmwaretableprovidersignature : u32, firmwaretableid : u32, firmwaretablebuffer : *mut ::core::ffi::c_void, bufferlength : u32, returnlength : *mut u32) -> super::super::super::Win32::Foundation:: NTSTATUS);
ExGetSystemFirmwareTable(firmwaretableprovidersignature, firmwaretableid, ::core::mem::transmute(firmwaretablebuffer.unwrap_or(::std::ptr::null_mut())), bufferlength, ::core::mem::transmute(returnlength.unwrap_or(::std::ptr::null_mut()))).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[inline]
pub unsafe fn ExInitializePushLock() -> usize {
::windows_targets::link!("ntoskrnl.exe" "system" fn ExInitializePushLock(pushlock : *mut usize) -> ());
let mut result__ = ::std::mem::zeroed();
ExInitializePushLock(&mut result__);
::std::mem::transmute(result__)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
#[inline]
pub unsafe fn ExInitializeResourceLite(resource: *mut super::super::Foundation::ERESOURCE) -> ::windows_core::Result<()> {
::windows_targets::link!("ntoskrnl.exe" "system" fn ExInitializeResourceLite(resource : *mut super::super::Foundation:: ERESOURCE) -> super::super::super::Win32::Foundation:: NTSTATUS);
ExInitializeResourceLite(resource).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[inline]
pub unsafe fn ExInitializeRundownProtection() -> EX_RUNDOWN_REF {
::windows_targets::link!("ntoskrnl.exe" "system" fn ExInitializeRundownProtection(runref : *mut EX_RUNDOWN_REF) -> ());
let mut result__ = ::std::mem::zeroed();
ExInitializeRundownProtection(&mut result__);
::std::mem::transmute(result__)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`*"]
#[cfg(feature = "Wdk_Foundation")]
#[inline]
pub unsafe fn ExInitializeRundownProtectionCacheAware<P0>(runrefcacheaware: P0, runrefsize: usize)
where
P0: ::windows_core::IntoParam<super::super::Foundation::PEX_RUNDOWN_REF_CACHE_AWARE>,
{
::windows_targets::link!("ntoskrnl.exe" "system" fn ExInitializeRundownProtectionCacheAware(runrefcacheaware : super::super::Foundation:: PEX_RUNDOWN_REF_CACHE_AWARE, runrefsize : usize) -> ());
ExInitializeRundownProtectionCacheAware(runrefcacheaware.into_param().abi(), runrefsize)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`*"]
#[cfg(feature = "Wdk_Foundation")]
#[inline]
pub unsafe fn ExInitializeRundownProtectionCacheAwareEx<P0>(runrefcacheaware: P0, flags: u32)
where
P0: ::windows_core::IntoParam<super::super::Foundation::PEX_RUNDOWN_REF_CACHE_AWARE>,
{
::windows_targets::link!("ntoskrnl.exe" "system" fn ExInitializeRundownProtectionCacheAwareEx(runrefcacheaware : super::super::Foundation:: PEX_RUNDOWN_REF_CACHE_AWARE, flags : u32) -> ());
ExInitializeRundownProtectionCacheAwareEx(runrefcacheaware.into_param().abi(), flags)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"]
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
#[inline]
pub unsafe fn ExInitializeZone(zone: *mut ZONE_HEADER, blocksize: u32, initialsegment: *mut ::core::ffi::c_void, initialsegmentsize: u32) -> ::windows_core::Result<()> {
::windows_targets::link!("ntoskrnl.exe" "system" fn ExInitializeZone(zone : *mut ZONE_HEADER, blocksize : u32, initialsegment : *mut ::core::ffi::c_void, initialsegmentsize : u32) -> super::super::super::Win32::Foundation:: NTSTATUS);
ExInitializeZone(zone, blocksize, initialsegment, initialsegmentsize).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[inline]
pub unsafe fn ExInterlockedAddLargeInteger(addend: *mut i64, increment: i64, lock: *mut usize) -> i64 {
::windows_targets::link!("ntoskrnl.exe" "system" fn ExInterlockedAddLargeInteger(addend : *mut i64, increment : i64, lock : *mut usize) -> i64);
ExInterlockedAddLargeInteger(addend, increment, lock)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"]
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
#[inline]
pub unsafe fn ExInterlockedExtendZone(zone: *mut ZONE_HEADER, segment: *mut ::core::ffi::c_void, segmentsize: u32, lock: *mut usize) -> ::windows_core::Result<()> {
::windows_targets::link!("ntoskrnl.exe" "system" fn ExInterlockedExtendZone(zone : *mut ZONE_HEADER, segment : *mut ::core::ffi::c_void, segmentsize : u32, lock : *mut usize) -> super::super::super::Win32::Foundation:: NTSTATUS);
ExInterlockedExtendZone(zone, segment, segmentsize, lock).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn ExIsManufacturingModeEnabled() -> super::super::super::Win32::Foundation::BOOLEAN {
::windows_targets::link!("ntoskrnl.exe" "system" fn ExIsManufacturingModeEnabled() -> super::super::super::Win32::Foundation:: BOOLEAN);
ExIsManufacturingModeEnabled()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn ExIsProcessorFeaturePresent(processorfeature: u32) -> super::super::super::Win32::Foundation::BOOLEAN {
::windows_targets::link!("ntoskrnl.exe" "system" fn ExIsProcessorFeaturePresent(processorfeature : u32) -> super::super::super::Win32::Foundation:: BOOLEAN);
ExIsProcessorFeaturePresent(processorfeature)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
#[inline]
pub unsafe fn ExIsResourceAcquiredExclusiveLite(resource: *const super::super::Foundation::ERESOURCE) -> super::super::super::Win32::Foundation::BOOLEAN {
::windows_targets::link!("ntoskrnl.exe" "system" fn ExIsResourceAcquiredExclusiveLite(resource : *const super::super::Foundation:: ERESOURCE) -> super::super::super::Win32::Foundation:: BOOLEAN);
ExIsResourceAcquiredExclusiveLite(resource)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_System_Kernel\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_System_Kernel"))]
#[inline]
pub unsafe fn ExIsResourceAcquiredSharedLite(resource: *const super::super::Foundation::ERESOURCE) -> u32 {
::windows_targets::link!("ntoskrnl.exe" "system" fn ExIsResourceAcquiredSharedLite(resource : *const super::super::Foundation:: ERESOURCE) -> u32);
ExIsResourceAcquiredSharedLite(resource)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn ExIsSoftBoot() -> super::super::super::Win32::Foundation::BOOLEAN {
::windows_targets::link!("ntoskrnl.exe" "system" fn ExIsSoftBoot() -> super::super::super::Win32::Foundation:: BOOLEAN);
ExIsSoftBoot()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[inline]
pub unsafe fn ExLocalTimeToSystemTime(localtime: *const i64) -> i64 {
::windows_targets::link!("ntoskrnl.exe" "system" fn ExLocalTimeToSystemTime(localtime : *const i64, systemtime : *mut i64) -> ());
let mut result__ = ::std::mem::zeroed();
ExLocalTimeToSystemTime(localtime, &mut result__);
::std::mem::transmute(result__)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[inline]
pub unsafe fn ExNotifyCallback(callbackobject: *const ::core::ffi::c_void, argument1: ::core::option::Option<*const ::core::ffi::c_void>, argument2: ::core::option::Option<*const ::core::ffi::c_void>) {
::windows_targets::link!("ntoskrnl.exe" "system" fn ExNotifyCallback(callbackobject : *const ::core::ffi::c_void, argument1 : *const ::core::ffi::c_void, argument2 : *const ::core::ffi::c_void) -> ());
ExNotifyCallback(callbackobject, ::core::mem::transmute(argument1.unwrap_or(::std::ptr::null())), ::core::mem::transmute(argument2.unwrap_or(::std::ptr::null())))
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[inline]
pub unsafe fn ExQueryTimerResolution(maximumtime: *mut u32, minimumtime: *mut u32, currenttime: *mut u32) {
::windows_targets::link!("ntoskrnl.exe" "system" fn ExQueryTimerResolution(maximumtime : *mut u32, minimumtime : *mut u32, currenttime : *mut u32) -> ());
ExQueryTimerResolution(maximumtime, minimumtime, currenttime)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_System_Kernel\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_System_Kernel"))]
#[inline]
pub unsafe fn ExQueueWorkItem(workitem: *mut super::super::Foundation::WORK_QUEUE_ITEM, queuetype: WORK_QUEUE_TYPE) {
::windows_targets::link!("ntoskrnl.exe" "system" fn ExQueueWorkItem(workitem : *mut super::super::Foundation:: WORK_QUEUE_ITEM, queuetype : WORK_QUEUE_TYPE) -> ());
ExQueueWorkItem(workitem, queuetype)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[inline]
pub unsafe fn ExRaiseAccessViolation() {
::windows_targets::link!("ntoskrnl.exe" "system" fn ExRaiseAccessViolation() -> ());
ExRaiseAccessViolation()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[inline]
pub unsafe fn ExRaiseDatatypeMisalignment() {
::windows_targets::link!("ntoskrnl.exe" "system" fn ExRaiseDatatypeMisalignment() -> ());
ExRaiseDatatypeMisalignment()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn ExRaiseStatus<P0>(status: P0)
where
P0: ::windows_core::IntoParam<super::super::super::Win32::Foundation::NTSTATUS>,
{
::windows_targets::link!("ntoskrnl.exe" "system" fn ExRaiseStatus(status : super::super::super::Win32::Foundation:: NTSTATUS) -> ());
ExRaiseStatus(status.into_param().abi())
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[inline]
pub unsafe fn ExReInitializeRundownProtection(runref: *mut EX_RUNDOWN_REF) {
::windows_targets::link!("ntoskrnl.exe" "system" fn ExReInitializeRundownProtection(runref : *mut EX_RUNDOWN_REF) -> ());
ExReInitializeRundownProtection(runref)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`*"]
#[cfg(feature = "Wdk_Foundation")]
#[inline]
pub unsafe fn ExReInitializeRundownProtectionCacheAware<P0>(runrefcacheaware: P0)
where
P0: ::windows_core::IntoParam<super::super::Foundation::PEX_RUNDOWN_REF_CACHE_AWARE>,
{
::windows_targets::link!("ntoskrnl.exe" "system" fn ExReInitializeRundownProtectionCacheAware(runrefcacheaware : super::super::Foundation:: PEX_RUNDOWN_REF_CACHE_AWARE) -> ());
ExReInitializeRundownProtectionCacheAware(runrefcacheaware.into_param().abi())
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`*"]
#[cfg(feature = "Wdk_Foundation")]
#[inline]
pub unsafe fn ExRegisterCallback<P0>(callbackobject: P0, callbackfunction: PCALLBACK_FUNCTION, callbackcontext: ::core::option::Option<*const ::core::ffi::c_void>) -> *mut ::core::ffi::c_void
where
P0: ::windows_core::IntoParam<super::super::Foundation::PCALLBACK_OBJECT>,
{
::windows_targets::link!("ntoskrnl.exe" "system" fn ExRegisterCallback(callbackobject : super::super::Foundation:: PCALLBACK_OBJECT, callbackfunction : PCALLBACK_FUNCTION, callbackcontext : *const ::core::ffi::c_void) -> *mut ::core::ffi::c_void);
ExRegisterCallback(callbackobject.into_param().abi(), callbackfunction, ::core::mem::transmute(callbackcontext.unwrap_or(::std::ptr::null())))
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
#[inline]
pub unsafe fn ExReinitializeResourceLite(resource: *mut super::super::Foundation::ERESOURCE) -> ::windows_core::Result<()> {
::windows_targets::link!("ntoskrnl.exe" "system" fn ExReinitializeResourceLite(resource : *mut super::super::Foundation:: ERESOURCE) -> super::super::super::Win32::Foundation:: NTSTATUS);
ExReinitializeResourceLite(resource).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
#[inline]
pub unsafe fn ExReleaseFastMutex(fastmutex: *mut super::super::Foundation::FAST_MUTEX) {
::windows_targets::link!("ntoskrnl.exe" "system" fn ExReleaseFastMutex(fastmutex : *mut super::super::Foundation:: FAST_MUTEX) -> ());
ExReleaseFastMutex(fastmutex)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
#[inline]
pub unsafe fn ExReleaseFastMutexUnsafe(fastmutex: *mut super::super::Foundation::FAST_MUTEX) {
::windows_targets::link!("ntoskrnl.exe" "system" fn ExReleaseFastMutexUnsafe(fastmutex : *mut super::super::Foundation:: FAST_MUTEX) -> ());
ExReleaseFastMutexUnsafe(fastmutex)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[inline]
pub unsafe fn ExReleasePushLockExclusiveEx(pushlock: *mut usize, flags: u32) {
::windows_targets::link!("ntoskrnl.exe" "system" fn ExReleasePushLockExclusiveEx(pushlock : *mut usize, flags : u32) -> ());
ExReleasePushLockExclusiveEx(pushlock, flags)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[inline]
pub unsafe fn ExReleasePushLockSharedEx(pushlock: *mut usize, flags: u32) {
::windows_targets::link!("ntoskrnl.exe" "system" fn ExReleasePushLockSharedEx(pushlock : *mut usize, flags : u32) -> ());
ExReleasePushLockSharedEx(pushlock, flags)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_System_Kernel\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_System_Kernel"))]
#[inline]
pub unsafe fn ExReleaseResourceAndLeaveCriticalRegion(resource: *mut super::super::Foundation::ERESOURCE) {
::windows_targets::link!("ntoskrnl.exe" "system" fn ExReleaseResourceAndLeaveCriticalRegion(resource : *mut super::super::Foundation:: ERESOURCE) -> ());
ExReleaseResourceAndLeaveCriticalRegion(resource)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_System_Kernel\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_System_Kernel"))]
#[inline]
pub unsafe fn ExReleaseResourceForThreadLite(resource: *mut super::super::Foundation::ERESOURCE, resourcethreadid: usize) {
::windows_targets::link!("ntoskrnl.exe" "system" fn ExReleaseResourceForThreadLite(resource : *mut super::super::Foundation:: ERESOURCE, resourcethreadid : usize) -> ());
ExReleaseResourceForThreadLite(resource, resourcethreadid)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_System_Kernel\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_System_Kernel"))]
#[inline]
pub unsafe fn ExReleaseResourceLite(resource: *mut super::super::Foundation::ERESOURCE) {
::windows_targets::link!("ntoskrnl.exe" "system" fn ExReleaseResourceLite(resource : *mut super::super::Foundation:: ERESOURCE) -> ());
ExReleaseResourceLite(resource)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[inline]
pub unsafe fn ExReleaseRundownProtection(runref: *mut EX_RUNDOWN_REF) {
::windows_targets::link!("ntoskrnl.exe" "system" fn ExReleaseRundownProtection(runref : *mut EX_RUNDOWN_REF) -> ());
ExReleaseRundownProtection(runref)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`*"]
#[cfg(feature = "Wdk_Foundation")]
#[inline]
pub unsafe fn ExReleaseRundownProtectionCacheAware<P0>(runrefcacheaware: P0)
where
P0: ::windows_core::IntoParam<super::super::Foundation::PEX_RUNDOWN_REF_CACHE_AWARE>,
{
::windows_targets::link!("ntoskrnl.exe" "system" fn ExReleaseRundownProtectionCacheAware(runrefcacheaware : super::super::Foundation:: PEX_RUNDOWN_REF_CACHE_AWARE) -> ());
ExReleaseRundownProtectionCacheAware(runrefcacheaware.into_param().abi())
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`*"]
#[cfg(feature = "Wdk_Foundation")]
#[inline]
pub unsafe fn ExReleaseRundownProtectionCacheAwareEx<P0>(runref: P0, count: u32)
where
P0: ::windows_core::IntoParam<super::super::Foundation::PEX_RUNDOWN_REF_CACHE_AWARE>,
{
::windows_targets::link!("ntoskrnl.exe" "system" fn ExReleaseRundownProtectionCacheAwareEx(runref : super::super::Foundation:: PEX_RUNDOWN_REF_CACHE_AWARE, count : u32) -> ());
ExReleaseRundownProtectionCacheAwareEx(runref.into_param().abi(), count)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[inline]
pub unsafe fn ExReleaseRundownProtectionEx(runref: *mut EX_RUNDOWN_REF, count: u32) {
::windows_targets::link!("ntoskrnl.exe" "system" fn ExReleaseRundownProtectionEx(runref : *mut EX_RUNDOWN_REF, count : u32) -> ());
ExReleaseRundownProtectionEx(runref, count)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[inline]
pub unsafe fn ExReleaseSpinLockExclusive(spinlock: *mut i32, oldirql: u8) {
::windows_targets::link!("ntoskrnl.exe" "system" fn ExReleaseSpinLockExclusive(spinlock : *mut i32, oldirql : u8) -> ());
ExReleaseSpinLockExclusive(spinlock, oldirql)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[inline]
pub unsafe fn ExReleaseSpinLockExclusiveFromDpcLevel(spinlock: *mut i32) {
::windows_targets::link!("ntoskrnl.exe" "system" fn ExReleaseSpinLockExclusiveFromDpcLevel(spinlock : *mut i32) -> ());
ExReleaseSpinLockExclusiveFromDpcLevel(spinlock)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[inline]
pub unsafe fn ExReleaseSpinLockShared(spinlock: *mut i32, oldirql: u8) {
::windows_targets::link!("ntoskrnl.exe" "system" fn ExReleaseSpinLockShared(spinlock : *mut i32, oldirql : u8) -> ());
ExReleaseSpinLockShared(spinlock, oldirql)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[inline]
pub unsafe fn ExReleaseSpinLockSharedFromDpcLevel(spinlock: *mut i32) {
::windows_targets::link!("ntoskrnl.exe" "system" fn ExReleaseSpinLockSharedFromDpcLevel(spinlock : *mut i32) -> ());
ExReleaseSpinLockSharedFromDpcLevel(spinlock)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[inline]
pub unsafe fn ExRundownCompleted() -> EX_RUNDOWN_REF {
::windows_targets::link!("ntoskrnl.exe" "system" fn ExRundownCompleted(runref : *mut EX_RUNDOWN_REF) -> ());
let mut result__ = ::std::mem::zeroed();
ExRundownCompleted(&mut result__);
::std::mem::transmute(result__)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`*"]
#[cfg(feature = "Wdk_Foundation")]
#[inline]
pub unsafe fn ExRundownCompletedCacheAware<P0>(runrefcacheaware: P0)
where
P0: ::windows_core::IntoParam<super::super::Foundation::PEX_RUNDOWN_REF_CACHE_AWARE>,
{
::windows_targets::link!("ntoskrnl.exe" "system" fn ExRundownCompletedCacheAware(runrefcacheaware : super::super::Foundation:: PEX_RUNDOWN_REF_CACHE_AWARE) -> ());
ExRundownCompletedCacheAware(runrefcacheaware.into_param().abi())
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn ExSecurePoolUpdate<P0>(securepoolhandle: P0, tag: u32, allocation: *const ::core::ffi::c_void, cookie: usize, offset: usize, size: usize, buffer: *const ::core::ffi::c_void) -> ::windows_core::Result<()>
where
P0: ::windows_core::IntoParam<super::super::super::Win32::Foundation::HANDLE>,
{
::windows_targets::link!("ntoskrnl.exe" "system" fn ExSecurePoolUpdate(securepoolhandle : super::super::super::Win32::Foundation:: HANDLE, tag : u32, allocation : *const ::core::ffi::c_void, cookie : usize, offset : usize, size : usize, buffer : *const ::core::ffi::c_void) -> super::super::super::Win32::Foundation:: NTSTATUS);
ExSecurePoolUpdate(securepoolhandle.into_param().abi(), tag, allocation, cookie, offset, size, buffer).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn ExSecurePoolValidate<P0>(securepoolhandle: P0, tag: u32, allocation: *const ::core::ffi::c_void, cookie: usize) -> u32
where
P0: ::windows_core::IntoParam<super::super::super::Win32::Foundation::HANDLE>,
{
::windows_targets::link!("ntoskrnl.exe" "system" fn ExSecurePoolValidate(securepoolhandle : super::super::super::Win32::Foundation:: HANDLE, tag : u32, allocation : *const ::core::ffi::c_void, cookie : usize) -> u32);
ExSecurePoolValidate(securepoolhandle.into_param().abi(), tag, allocation, cookie)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn ExSetFirmwareEnvironmentVariable(variablename: *const super::super::super::Win32::Foundation::UNICODE_STRING, vendorguid: *const ::windows_core::GUID, value: ::core::option::Option<*const ::core::ffi::c_void>, valuelength: u32, attributes: u32) -> ::windows_core::Result<()> {
::windows_targets::link!("ntoskrnl.exe" "system" fn ExSetFirmwareEnvironmentVariable(variablename : *const super::super::super::Win32::Foundation:: UNICODE_STRING, vendorguid : *const ::windows_core::GUID, value : *const ::core::ffi::c_void, valuelength : u32, attributes : u32) -> super::super::super::Win32::Foundation:: NTSTATUS);
ExSetFirmwareEnvironmentVariable(variablename, vendorguid, ::core::mem::transmute(value.unwrap_or(::std::ptr::null())), valuelength, attributes).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_System_Kernel\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_System_Kernel"))]
#[inline]
pub unsafe fn ExSetResourceOwnerPointer(resource: *mut super::super::Foundation::ERESOURCE, ownerpointer: *const ::core::ffi::c_void) {
::windows_targets::link!("ntoskrnl.exe" "system" fn ExSetResourceOwnerPointer(resource : *mut super::super::Foundation:: ERESOURCE, ownerpointer : *const ::core::ffi::c_void) -> ());
ExSetResourceOwnerPointer(resource, ownerpointer)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_System_Kernel\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_System_Kernel"))]
#[inline]
pub unsafe fn ExSetResourceOwnerPointerEx(resource: *mut super::super::Foundation::ERESOURCE, ownerpointer: *const ::core::ffi::c_void, flags: u32) {
::windows_targets::link!("ntoskrnl.exe" "system" fn ExSetResourceOwnerPointerEx(resource : *mut super::super::Foundation:: ERESOURCE, ownerpointer : *const ::core::ffi::c_void, flags : u32) -> ());
ExSetResourceOwnerPointerEx(resource, ownerpointer, flags)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))]
#[inline]
pub unsafe fn ExSetTimer<P0>(timer: P0, duetime: i64, period: i64, parameters: ::core::option::Option<*const _EXT_SET_PARAMETERS_V0>) -> super::super::super::Win32::Foundation::BOOLEAN
where
P0: ::windows_core::IntoParam<super::super::Foundation::PEX_TIMER>,
{
::windows_targets::link!("ntoskrnl.exe" "system" fn ExSetTimer(timer : super::super::Foundation:: PEX_TIMER, duetime : i64, period : i64, parameters : *const _EXT_SET_PARAMETERS_V0) -> super::super::super::Win32::Foundation:: BOOLEAN);
ExSetTimer(timer.into_param().abi(), duetime, period, ::core::mem::transmute(parameters.unwrap_or(::std::ptr::null())))
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn ExSetTimerResolution<P0>(desiredtime: u32, setresolution: P0) -> u32
where
P0: ::windows_core::IntoParam<super::super::super::Win32::Foundation::BOOLEAN>,
{
::windows_targets::link!("ntoskrnl.exe" "system" fn ExSetTimerResolution(desiredtime : u32, setresolution : super::super::super::Win32::Foundation:: BOOLEAN) -> u32);
ExSetTimerResolution(desiredtime, setresolution.into_param().abi())
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[inline]
pub unsafe fn ExSizeOfRundownProtectionCacheAware() -> usize {
::windows_targets::link!("ntoskrnl.exe" "system" fn ExSizeOfRundownProtectionCacheAware() -> usize);
ExSizeOfRundownProtectionCacheAware()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[inline]
pub unsafe fn ExSystemTimeToLocalTime(systemtime: *const i64) -> i64 {
::windows_targets::link!("ntoskrnl.exe" "system" fn ExSystemTimeToLocalTime(systemtime : *const i64, localtime : *mut i64) -> ());
let mut result__ = ::std::mem::zeroed();
ExSystemTimeToLocalTime(systemtime, &mut result__);
::std::mem::transmute(result__)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[inline]
pub unsafe fn ExTryAcquireSpinLockExclusiveAtDpcLevel(spinlock: *mut i32) -> u32 {
::windows_targets::link!("ntoskrnl.exe" "system" fn ExTryAcquireSpinLockExclusiveAtDpcLevel(spinlock : *mut i32) -> u32);
ExTryAcquireSpinLockExclusiveAtDpcLevel(spinlock)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[inline]
pub unsafe fn ExTryAcquireSpinLockSharedAtDpcLevel(spinlock: *mut i32) -> u32 {
::windows_targets::link!("ntoskrnl.exe" "system" fn ExTryAcquireSpinLockSharedAtDpcLevel(spinlock : *mut i32) -> u32);
ExTryAcquireSpinLockSharedAtDpcLevel(spinlock)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[inline]
pub unsafe fn ExTryConvertSharedSpinLockExclusive(spinlock: *mut i32) -> u32 {
::windows_targets::link!("ntoskrnl.exe" "system" fn ExTryConvertSharedSpinLockExclusive(spinlock : *mut i32) -> u32);
ExTryConvertSharedSpinLockExclusive(spinlock)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
#[inline]
pub unsafe fn ExTryToAcquireFastMutex(fastmutex: *mut super::super::Foundation::FAST_MUTEX) -> super::super::super::Win32::Foundation::BOOLEAN {
::windows_targets::link!("ntoskrnl.exe" "system" fn ExTryToAcquireFastMutex(fastmutex : *mut super::super::Foundation:: FAST_MUTEX) -> super::super::super::Win32::Foundation:: BOOLEAN);
ExTryToAcquireFastMutex(fastmutex)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[inline]
pub unsafe fn ExUnregisterCallback(callbackregistration: *mut ::core::ffi::c_void) {
::windows_targets::link!("ntoskrnl.exe" "system" fn ExUnregisterCallback(callbackregistration : *mut ::core::ffi::c_void) -> ());
ExUnregisterCallback(callbackregistration)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn ExUuidCreate(uuid: *mut ::windows_core::GUID) -> ::windows_core::Result<()> {
::windows_targets::link!("ntoskrnl.exe" "system" fn ExUuidCreate(uuid : *mut ::windows_core::GUID) -> super::super::super::Win32::Foundation:: NTSTATUS);
ExUuidCreate(uuid).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"]
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
#[inline]
pub unsafe fn ExVerifySuite(suitetype: super::super::super::Win32::System::Kernel::SUITE_TYPE) -> super::super::super::Win32::Foundation::BOOLEAN {
::windows_targets::link!("ntoskrnl.exe" "system" fn ExVerifySuite(suitetype : super::super::super::Win32::System::Kernel:: SUITE_TYPE) -> super::super::super::Win32::Foundation:: BOOLEAN);
ExVerifySuite(suitetype)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[inline]
pub unsafe fn ExWaitForRundownProtectionRelease(runref: *mut EX_RUNDOWN_REF) {
::windows_targets::link!("ntoskrnl.exe" "system" fn ExWaitForRundownProtectionRelease(runref : *mut EX_RUNDOWN_REF) -> ());
ExWaitForRundownProtectionRelease(runref)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`*"]
#[cfg(feature = "Wdk_Foundation")]
#[inline]
pub unsafe fn ExWaitForRundownProtectionReleaseCacheAware<P0>(runref: P0)
where
P0: ::windows_core::IntoParam<super::super::Foundation::PEX_RUNDOWN_REF_CACHE_AWARE>,
{
::windows_targets::link!("ntoskrnl.exe" "system" fn ExWaitForRundownProtectionReleaseCacheAware(runref : super::super::Foundation:: PEX_RUNDOWN_REF_CACHE_AWARE) -> ());
ExWaitForRundownProtectionReleaseCacheAware(runref.into_param().abi())
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn FsRtlIsTotalDeviceFailure<P0>(status: P0) -> super::super::super::Win32::Foundation::BOOLEAN
where
P0: ::windows_core::IntoParam<super::super::super::Win32::Foundation::NTSTATUS>,
{
::windows_targets::link!("ntoskrnl.exe" "system" fn FsRtlIsTotalDeviceFailure(status : super::super::super::Win32::Foundation:: NTSTATUS) -> super::super::super::Win32::Foundation:: BOOLEAN);
FsRtlIsTotalDeviceFailure(status.into_param().abi())
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn HalAcquireDisplayOwnership(resetdisplayparameters: PHAL_RESET_DISPLAY_PARAMETERS) {
::windows_targets::link!("hal.dll" "system" fn HalAcquireDisplayOwnership(resetdisplayparameters : PHAL_RESET_DISPLAY_PARAMETERS) -> ());
HalAcquireDisplayOwnership(resetdisplayparameters)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`, `\"Win32_Storage_IscsiDisc\"`, `\"Win32_System_Kernel\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation", feature = "Win32_Storage_IscsiDisc", feature = "Win32_System_Kernel"))]
#[inline]
pub unsafe fn HalAllocateAdapterChannel(adapterobject: *const super::super::super::Win32::Storage::IscsiDisc::_ADAPTER_OBJECT, wcb: *const WAIT_CONTEXT_BLOCK, numberofmapregisters: u32, executionroutine: PDRIVER_CONTROL) -> ::windows_core::Result<()> {
::windows_targets::link!("hal.dll" "system" fn HalAllocateAdapterChannel(adapterobject : *const super::super::super::Win32::Storage::IscsiDisc:: _ADAPTER_OBJECT, wcb : *const WAIT_CONTEXT_BLOCK, numberofmapregisters : u32, executionroutine : PDRIVER_CONTROL) -> super::super::super::Win32::Foundation:: NTSTATUS);
HalAllocateAdapterChannel(adapterobject, wcb, numberofmapregisters, executionroutine).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Storage_IscsiDisc\"`*"]
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_IscsiDisc"))]
#[inline]
pub unsafe fn HalAllocateCommonBuffer<P0>(adapterobject: *const super::super::super::Win32::Storage::IscsiDisc::_ADAPTER_OBJECT, length: u32, logicaladdress: *mut i64, cacheenabled: P0) -> *mut ::core::ffi::c_void
where
P0: ::windows_core::IntoParam<super::super::super::Win32::Foundation::BOOLEAN>,
{
::windows_targets::link!("hal.dll" "system" fn HalAllocateCommonBuffer(adapterobject : *const super::super::super::Win32::Storage::IscsiDisc:: _ADAPTER_OBJECT, length : u32, logicaladdress : *mut i64, cacheenabled : super::super::super::Win32::Foundation:: BOOLEAN) -> *mut ::core::ffi::c_void);
HalAllocateCommonBuffer(adapterobject, length, logicaladdress, cacheenabled.into_param().abi())
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Storage_IscsiDisc\"`*"]
#[cfg(feature = "Win32_Storage_IscsiDisc")]
#[inline]
pub unsafe fn HalAllocateCrashDumpRegisters(adapterobject: *const super::super::super::Win32::Storage::IscsiDisc::_ADAPTER_OBJECT, numberofmapregisters: *mut u32) -> *mut ::core::ffi::c_void {
::windows_targets::link!("hal.dll" "system" fn HalAllocateCrashDumpRegisters(adapterobject : *const super::super::super::Win32::Storage::IscsiDisc:: _ADAPTER_OBJECT, numberofmapregisters : *mut u32) -> *mut ::core::ffi::c_void);
HalAllocateCrashDumpRegisters(adapterobject, numberofmapregisters)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_SystemInformation\"`*"]
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_SystemInformation"))]
#[inline]
pub unsafe fn HalAllocateHardwareCounters(groupaffinty: ::core::option::Option<&[super::super::super::Win32::System::SystemInformation::GROUP_AFFINITY]>, resourcelist: ::core::option::Option<*const PHYSICAL_COUNTER_RESOURCE_LIST>, countersethandle: *mut super::super::super::Win32::Foundation::HANDLE) -> ::windows_core::Result<()> {
::windows_targets::link!("hal.dll" "system" fn HalAllocateHardwareCounters(groupaffinty : *const super::super::super::Win32::System::SystemInformation:: GROUP_AFFINITY, groupcount : u32, resourcelist : *const PHYSICAL_COUNTER_RESOURCE_LIST, countersethandle : *mut super::super::super::Win32::Foundation:: HANDLE) -> super::super::super::Win32::Foundation:: NTSTATUS);
HalAllocateHardwareCounters(::core::mem::transmute(groupaffinty.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), groupaffinty.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(resourcelist.unwrap_or(::std::ptr::null())), countersethandle).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
#[inline]
pub unsafe fn HalAssignSlotResources(registrypath: *const super::super::super::Win32::Foundation::UNICODE_STRING, driverclassname: *const super::super::super::Win32::Foundation::UNICODE_STRING, driverobject: *const super::super::Foundation::DRIVER_OBJECT, deviceobject: *const super::super::Foundation::DEVICE_OBJECT, bustype: INTERFACE_TYPE, busnumber: u32, slotnumber: u32, allocatedresources: *mut *mut CM_RESOURCE_LIST) -> ::windows_core::Result<()> {
::windows_targets::link!("hal.dll" "system" fn HalAssignSlotResources(registrypath : *const super::super::super::Win32::Foundation:: UNICODE_STRING, driverclassname : *const super::super::super::Win32::Foundation:: UNICODE_STRING, driverobject : *const super::super::Foundation:: DRIVER_OBJECT, deviceobject : *const super::super::Foundation:: DEVICE_OBJECT, bustype : INTERFACE_TYPE, busnumber : u32, slotnumber : u32, allocatedresources : *mut *mut CM_RESOURCE_LIST) -> super::super::super::Win32::Foundation:: NTSTATUS);
HalAssignSlotResources(registrypath, driverclassname, driverobject, deviceobject, bustype, busnumber, slotnumber, allocatedresources).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Diagnostics_Debug\"`*"]
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Diagnostics_Debug"))]
#[inline]
pub unsafe fn HalBugCheckSystem(errorsource: *const super::super::super::Win32::System::Diagnostics::Debug::WHEA_ERROR_SOURCE_DESCRIPTOR, errorrecord: *const WHEA_ERROR_RECORD) {
::windows_targets::link!("hal.dll" "system" fn HalBugCheckSystem(errorsource : *const super::super::super::Win32::System::Diagnostics::Debug:: WHEA_ERROR_SOURCE_DESCRIPTOR, errorrecord : *const WHEA_ERROR_RECORD) -> ());
HalBugCheckSystem(errorsource, errorrecord)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Storage_IscsiDisc\"`*"]
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_IscsiDisc"))]
#[inline]
pub unsafe fn HalDmaAllocateCrashDumpRegistersEx(adapter: *const super::super::super::Win32::Storage::IscsiDisc::_ADAPTER_OBJECT, numberofmapregisters: u32, r#type: HAL_DMA_CRASH_DUMP_REGISTER_TYPE, mapregisterbase: *mut *mut ::core::ffi::c_void, mapregistersavailable: *mut u32) -> ::windows_core::Result<()> {
::windows_targets::link!("hal.dll" "system" fn HalDmaAllocateCrashDumpRegistersEx(adapter : *const super::super::super::Win32::Storage::IscsiDisc:: _ADAPTER_OBJECT, numberofmapregisters : u32, r#type : HAL_DMA_CRASH_DUMP_REGISTER_TYPE, mapregisterbase : *mut *mut ::core::ffi::c_void, mapregistersavailable : *mut u32) -> super::super::super::Win32::Foundation:: NTSTATUS);
HalDmaAllocateCrashDumpRegistersEx(adapter, numberofmapregisters, r#type, mapregisterbase, mapregistersavailable).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Storage_IscsiDisc\"`*"]
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_IscsiDisc"))]
#[inline]
pub unsafe fn HalDmaFreeCrashDumpRegistersEx(adapter: *const super::super::super::Win32::Storage::IscsiDisc::_ADAPTER_OBJECT, r#type: HAL_DMA_CRASH_DUMP_REGISTER_TYPE) -> ::windows_core::Result<()> {
::windows_targets::link!("hal.dll" "system" fn HalDmaFreeCrashDumpRegistersEx(adapter : *const super::super::super::Win32::Storage::IscsiDisc:: _ADAPTER_OBJECT, r#type : HAL_DMA_CRASH_DUMP_REGISTER_TYPE) -> super::super::super::Win32::Foundation:: NTSTATUS);
HalDmaFreeCrashDumpRegistersEx(adapter, r#type).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
#[inline]
pub unsafe fn HalExamineMBR(deviceobject: *const super::super::Foundation::DEVICE_OBJECT, sectorsize: u32, mbrtypeidentifier: u32, buffer: *mut *mut ::core::ffi::c_void) {
::windows_targets::link!("ntoskrnl.exe" "system" fn HalExamineMBR(deviceobject : *const super::super::Foundation:: DEVICE_OBJECT, sectorsize : u32, mbrtypeidentifier : u32, buffer : *mut *mut ::core::ffi::c_void) -> ());
HalExamineMBR(deviceobject, sectorsize, mbrtypeidentifier, buffer)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Storage_IscsiDisc\"`*"]
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_IscsiDisc"))]
#[inline]
pub unsafe fn HalFreeCommonBuffer<P0>(adapterobject: *const super::super::super::Win32::Storage::IscsiDisc::_ADAPTER_OBJECT, length: u32, logicaladdress: i64, virtualaddress: *const ::core::ffi::c_void, cacheenabled: P0)
where
P0: ::windows_core::IntoParam<super::super::super::Win32::Foundation::BOOLEAN>,
{
::windows_targets::link!("hal.dll" "system" fn HalFreeCommonBuffer(adapterobject : *const super::super::super::Win32::Storage::IscsiDisc:: _ADAPTER_OBJECT, length : u32, logicaladdress : i64, virtualaddress : *const ::core::ffi::c_void, cacheenabled : super::super::super::Win32::Foundation:: BOOLEAN) -> ());
HalFreeCommonBuffer(adapterobject, length, logicaladdress, virtualaddress, cacheenabled.into_param().abi())
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn HalFreeHardwareCounters<P0>(countersethandle: P0) -> ::windows_core::Result<()>
where
P0: ::windows_core::IntoParam<super::super::super::Win32::Foundation::HANDLE>,
{
::windows_targets::link!("hal.dll" "system" fn HalFreeHardwareCounters(countersethandle : super::super::super::Win32::Foundation:: HANDLE) -> super::super::super::Win32::Foundation:: NTSTATUS);
HalFreeHardwareCounters(countersethandle.into_param().abi()).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Storage_IscsiDisc\"`*"]
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_IscsiDisc"))]
#[inline]
pub unsafe fn HalGetAdapter(devicedescription: *const DEVICE_DESCRIPTION, numberofmapregisters: *mut u32) -> *mut super::super::super::Win32::Storage::IscsiDisc::_ADAPTER_OBJECT {
::windows_targets::link!("hal.dll" "system" fn HalGetAdapter(devicedescription : *const DEVICE_DESCRIPTION, numberofmapregisters : *mut u32) -> *mut super::super::super::Win32::Storage::IscsiDisc:: _ADAPTER_OBJECT);
HalGetAdapter(devicedescription, numberofmapregisters)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[inline]
pub unsafe fn HalGetBusData(busdatatype: BUS_DATA_TYPE, busnumber: u32, slotnumber: u32, buffer: *mut ::core::ffi::c_void, length: u32) -> u32 {
::windows_targets::link!("hal.dll" "system" fn HalGetBusData(busdatatype : BUS_DATA_TYPE, busnumber : u32, slotnumber : u32, buffer : *mut ::core::ffi::c_void, length : u32) -> u32);
HalGetBusData(busdatatype, busnumber, slotnumber, buffer, length)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[inline]
pub unsafe fn HalGetBusDataByOffset(busdatatype: BUS_DATA_TYPE, busnumber: u32, slotnumber: u32, buffer: *mut ::core::ffi::c_void, offset: u32, length: u32) -> u32 {
::windows_targets::link!("hal.dll" "system" fn HalGetBusDataByOffset(busdatatype : BUS_DATA_TYPE, busnumber : u32, slotnumber : u32, buffer : *mut ::core::ffi::c_void, offset : u32, length : u32) -> u32);
HalGetBusDataByOffset(busdatatype, busnumber, slotnumber, buffer, offset, length)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[inline]
pub unsafe fn HalGetInterruptVector(interfacetype: INTERFACE_TYPE, busnumber: u32, businterruptlevel: u32, businterruptvector: u32, irql: *mut u8, affinity: *mut usize) -> u32 {
::windows_targets::link!("hal.dll" "system" fn HalGetInterruptVector(interfacetype : INTERFACE_TYPE, busnumber : u32, businterruptlevel : u32, businterruptvector : u32, irql : *mut u8, affinity : *mut usize) -> u32);
HalGetInterruptVector(interfacetype, busnumber, businterruptlevel, businterruptvector, irql, affinity)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn HalMakeBeep(frequency: u32) -> super::super::super::Win32::Foundation::BOOLEAN {
::windows_targets::link!("hal.dll" "system" fn HalMakeBeep(frequency : u32) -> super::super::super::Win32::Foundation:: BOOLEAN);
HalMakeBeep(frequency)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Storage_IscsiDisc\"`*"]
#[cfg(feature = "Win32_Storage_IscsiDisc")]
#[inline]
pub unsafe fn HalReadDmaCounter(adapterobject: *const super::super::super::Win32::Storage::IscsiDisc::_ADAPTER_OBJECT) -> u32 {
::windows_targets::link!("hal.dll" "system" fn HalReadDmaCounter(adapterobject : *const super::super::super::Win32::Storage::IscsiDisc:: _ADAPTER_OBJECT) -> u32);
HalReadDmaCounter(adapterobject)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[inline]
pub unsafe fn HalSetBusData(busdatatype: BUS_DATA_TYPE, busnumber: u32, slotnumber: u32, buffer: *const ::core::ffi::c_void, length: u32) -> u32 {
::windows_targets::link!("hal.dll" "system" fn HalSetBusData(busdatatype : BUS_DATA_TYPE, busnumber : u32, slotnumber : u32, buffer : *const ::core::ffi::c_void, length : u32) -> u32);
HalSetBusData(busdatatype, busnumber, slotnumber, buffer, length)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[inline]
pub unsafe fn HalSetBusDataByOffset(busdatatype: BUS_DATA_TYPE, busnumber: u32, slotnumber: u32, buffer: *const ::core::ffi::c_void, offset: u32, length: u32) -> u32 {
::windows_targets::link!("hal.dll" "system" fn HalSetBusDataByOffset(busdatatype : BUS_DATA_TYPE, busnumber : u32, slotnumber : u32, buffer : *const ::core::ffi::c_void, offset : u32, length : u32) -> u32);
HalSetBusDataByOffset(busdatatype, busnumber, slotnumber, buffer, offset, length)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn HalTranslateBusAddress(interfacetype: INTERFACE_TYPE, busnumber: u32, busaddress: i64, addressspace: *mut u32, translatedaddress: *mut i64) -> super::super::super::Win32::Foundation::BOOLEAN {
::windows_targets::link!("hal.dll" "system" fn HalTranslateBusAddress(interfacetype : INTERFACE_TYPE, busnumber : u32, busaddress : i64, addressspace : *mut u32, translatedaddress : *mut i64) -> super::super::super::Win32::Foundation:: BOOLEAN);
HalTranslateBusAddress(interfacetype, busnumber, busaddress, addressspace, translatedaddress)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn HvlRegisterWheaErrorNotification(callback: PHVL_WHEA_ERROR_NOTIFICATION) -> ::windows_core::Result<()> {
::windows_targets::link!("ntoskrnl.exe" "system" fn HvlRegisterWheaErrorNotification(callback : PHVL_WHEA_ERROR_NOTIFICATION) -> super::super::super::Win32::Foundation:: NTSTATUS);
HvlRegisterWheaErrorNotification(callback).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn HvlUnregisterWheaErrorNotification(callback: PHVL_WHEA_ERROR_NOTIFICATION) -> ::windows_core::Result<()> {
::windows_targets::link!("ntoskrnl.exe" "system" fn HvlUnregisterWheaErrorNotification(callback : PHVL_WHEA_ERROR_NOTIFICATION) -> super::super::super::Win32::Foundation:: NTSTATUS);
HvlUnregisterWheaErrorNotification(callback).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[inline]
pub unsafe fn IoAcquireCancelSpinLock() -> u8 {
::windows_targets::link!("ntoskrnl.exe" "system" fn IoAcquireCancelSpinLock(irql : *mut u8) -> ());
let mut result__ = ::std::mem::zeroed();
IoAcquireCancelSpinLock(&mut result__);
::std::mem::transmute(result__)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
#[inline]
pub unsafe fn IoAcquireKsrPersistentMemory(driverobject: *const super::super::Foundation::DRIVER_OBJECT, physicaldeviceobject: ::core::option::Option<*const super::super::Foundation::DEVICE_OBJECT>, buffer: *mut ::core::ffi::c_void, size: *mut usize) -> ::windows_core::Result<()> {
::windows_targets::link!("ntoskrnl.exe" "system" fn IoAcquireKsrPersistentMemory(driverobject : *const super::super::Foundation:: DRIVER_OBJECT, physicaldeviceobject : *const super::super::Foundation:: DEVICE_OBJECT, buffer : *mut ::core::ffi::c_void, size : *mut usize) -> super::super::super::Win32::Foundation:: NTSTATUS);
IoAcquireKsrPersistentMemory(driverobject, ::core::mem::transmute(physicaldeviceobject.unwrap_or(::std::ptr::null())), buffer, size).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
#[inline]
pub unsafe fn IoAcquireKsrPersistentMemoryEx(driverobject: *const super::super::Foundation::DRIVER_OBJECT, physicaldeviceobject: ::core::option::Option<*const super::super::Foundation::DEVICE_OBJECT>, physicaldeviceid: ::core::option::Option<*const super::super::super::Win32::Foundation::UNICODE_STRING>, datatag: ::core::option::Option<*const u16>, dataversion: ::core::option::Option<*mut u32>, buffer: *mut ::core::ffi::c_void, size: *mut usize) -> ::windows_core::Result<()> {
::windows_targets::link!("ntoskrnl.exe" "system" fn IoAcquireKsrPersistentMemoryEx(driverobject : *const super::super::Foundation:: DRIVER_OBJECT, physicaldeviceobject : *const super::super::Foundation:: DEVICE_OBJECT, physicaldeviceid : *const super::super::super::Win32::Foundation:: UNICODE_STRING, datatag : *const u16, dataversion : *mut u32, buffer : *mut ::core::ffi::c_void, size : *mut usize) -> super::super::super::Win32::Foundation:: NTSTATUS);
IoAcquireKsrPersistentMemoryEx(driverobject, ::core::mem::transmute(physicaldeviceobject.unwrap_or(::std::ptr::null())), ::core::mem::transmute(physicaldeviceid.unwrap_or(::std::ptr::null())), ::core::mem::transmute(datatag.unwrap_or(::std::ptr::null())), ::core::mem::transmute(dataversion.unwrap_or(::std::ptr::null_mut())), buffer, size).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
#[inline]
pub unsafe fn IoAcquireRemoveLockEx<P0>(removelock: *mut IO_REMOVE_LOCK, tag: ::core::option::Option<*const ::core::ffi::c_void>, file: P0, line: u32, remlocksize: u32) -> ::windows_core::Result<()>
where
P0: ::windows_core::IntoParam<::windows_core::PCSTR>,
{
::windows_targets::link!("ntoskrnl.exe" "system" fn IoAcquireRemoveLockEx(removelock : *mut IO_REMOVE_LOCK, tag : *const ::core::ffi::c_void, file : ::windows_core::PCSTR, line : u32, remlocksize : u32) -> super::super::super::Win32::Foundation:: NTSTATUS);
IoAcquireRemoveLockEx(removelock, ::core::mem::transmute(tag.unwrap_or(::std::ptr::null())), file.into_param().abi(), line, remlocksize).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_Storage_IscsiDisc\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_Storage_IscsiDisc", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
#[inline]
pub unsafe fn IoAllocateAdapterChannel(adapterobject: *const super::super::super::Win32::Storage::IscsiDisc::_ADAPTER_OBJECT, deviceobject: *const super::super::Foundation::DEVICE_OBJECT, numberofmapregisters: u32, executionroutine: PDRIVER_CONTROL, context: *const ::core::ffi::c_void) -> ::windows_core::Result<()> {
::windows_targets::link!("ntoskrnl.exe" "system" fn IoAllocateAdapterChannel(adapterobject : *const super::super::super::Win32::Storage::IscsiDisc:: _ADAPTER_OBJECT, deviceobject : *const super::super::Foundation:: DEVICE_OBJECT, numberofmapregisters : u32, executionroutine : PDRIVER_CONTROL, context : *const ::core::ffi::c_void) -> super::super::super::Win32::Foundation:: NTSTATUS);
IoAllocateAdapterChannel(adapterobject, deviceobject, numberofmapregisters, executionroutine, context).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
#[inline]
pub unsafe fn IoAllocateController(controllerobject: *const CONTROLLER_OBJECT, deviceobject: *const super::super::Foundation::DEVICE_OBJECT, executionroutine: PDRIVER_CONTROL, context: ::core::option::Option<*const ::core::ffi::c_void>) {
::windows_targets::link!("ntoskrnl.exe" "system" fn IoAllocateController(controllerobject : *const CONTROLLER_OBJECT, deviceobject : *const super::super::Foundation:: DEVICE_OBJECT, executionroutine : PDRIVER_CONTROL, context : *const ::core::ffi::c_void) -> ());
IoAllocateController(controllerobject, deviceobject, executionroutine, ::core::mem::transmute(context.unwrap_or(::std::ptr::null())))
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
#[inline]
pub unsafe fn IoAllocateDriverObjectExtension(driverobject: *const super::super::Foundation::DRIVER_OBJECT, clientidentificationaddress: *const ::core::ffi::c_void, driverobjectextensionsize: u32, driverobjectextension: *mut *mut ::core::ffi::c_void) -> ::windows_core::Result<()> {
::windows_targets::link!("ntoskrnl.exe" "system" fn IoAllocateDriverObjectExtension(driverobject : *const super::super::Foundation:: DRIVER_OBJECT, clientidentificationaddress : *const ::core::ffi::c_void, driverobjectextensionsize : u32, driverobjectextension : *mut *mut ::core::ffi::c_void) -> super::super::super::Win32::Foundation:: NTSTATUS);
IoAllocateDriverObjectExtension(driverobject, clientidentificationaddress, driverobjectextensionsize, driverobjectextension).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[inline]
pub unsafe fn IoAllocateErrorLogEntry(ioobject: *const ::core::ffi::c_void, entrysize: u8) -> *mut ::core::ffi::c_void {
::windows_targets::link!("ntoskrnl.exe" "system" fn IoAllocateErrorLogEntry(ioobject : *const ::core::ffi::c_void, entrysize : u8) -> *mut ::core::ffi::c_void);
IoAllocateErrorLogEntry(ioobject, entrysize)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
#[inline]
pub unsafe fn IoAllocateIrp<P0>(stacksize: i8, chargequota: P0) -> *mut super::super::Foundation::IRP
where
P0: ::windows_core::IntoParam<super::super::super::Win32::Foundation::BOOLEAN>,
{
::windows_targets::link!("ntoskrnl.exe" "system" fn IoAllocateIrp(stacksize : i8, chargequota : super::super::super::Win32::Foundation:: BOOLEAN) -> *mut super::super::Foundation:: IRP);
IoAllocateIrp(stacksize, chargequota.into_param().abi())
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
#[inline]
pub unsafe fn IoAllocateIrpEx<P0>(deviceobject: *const super::super::Foundation::DEVICE_OBJECT, stacksize: i8, chargequota: P0) -> *mut super::super::Foundation::IRP
where
P0: ::windows_core::IntoParam<super::super::super::Win32::Foundation::BOOLEAN>,
{
::windows_targets::link!("ntoskrnl.exe" "system" fn IoAllocateIrpEx(deviceobject : *const super::super::Foundation:: DEVICE_OBJECT, stacksize : i8, chargequota : super::super::super::Win32::Foundation:: BOOLEAN) -> *mut super::super::Foundation:: IRP);
IoAllocateIrpEx(deviceobject, stacksize, chargequota.into_param().abi())
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
#[inline]
pub unsafe fn IoAllocateMdl<P0, P1>(virtualaddress: ::core::option::Option<*const ::core::ffi::c_void>, length: u32, secondarybuffer: P0, chargequota: P1, irp: ::core::option::Option<*mut super::super::Foundation::IRP>) -> *mut super::super::Foundation::MDL
where
P0: ::windows_core::IntoParam<super::super::super::Win32::Foundation::BOOLEAN>,
P1: ::windows_core::IntoParam<super::super::super::Win32::Foundation::BOOLEAN>,
{
::windows_targets::link!("ntoskrnl.exe" "system" fn IoAllocateMdl(virtualaddress : *const ::core::ffi::c_void, length : u32, secondarybuffer : super::super::super::Win32::Foundation:: BOOLEAN, chargequota : super::super::super::Win32::Foundation:: BOOLEAN, irp : *mut super::super::Foundation:: IRP) -> *mut super::super::Foundation:: MDL);
IoAllocateMdl(::core::mem::transmute(virtualaddress.unwrap_or(::std::ptr::null())), length, secondarybuffer.into_param().abi(), chargequota.into_param().abi(), ::core::mem::transmute(irp.unwrap_or(::std::ptr::null_mut())))
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
#[inline]
pub unsafe fn IoAllocateSfioStreamIdentifier(fileobject: *const super::super::Foundation::FILE_OBJECT, length: u32, signature: *const ::core::ffi::c_void, streamidentifier: *mut *mut ::core::ffi::c_void) -> ::windows_core::Result<()> {
::windows_targets::link!("ntoskrnl.exe" "system" fn IoAllocateSfioStreamIdentifier(fileobject : *const super::super::Foundation:: FILE_OBJECT, length : u32, signature : *const ::core::ffi::c_void, streamidentifier : *mut *mut ::core::ffi::c_void) -> super::super::super::Win32::Foundation:: NTSTATUS);
IoAllocateSfioStreamIdentifier(fileobject, length, signature, streamidentifier).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
#[inline]
pub unsafe fn IoAllocateWorkItem(deviceobject: *const super::super::Foundation::DEVICE_OBJECT) -> super::super::Foundation::PIO_WORKITEM {
::windows_targets::link!("ntoskrnl.exe" "system" fn IoAllocateWorkItem(deviceobject : *const super::super::Foundation:: DEVICE_OBJECT) -> super::super::Foundation:: PIO_WORKITEM);
IoAllocateWorkItem(deviceobject)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
#[inline]
pub unsafe fn IoAssignResources(registrypath: *const super::super::super::Win32::Foundation::UNICODE_STRING, driverclassname: ::core::option::Option<*const super::super::super::Win32::Foundation::UNICODE_STRING>, driverobject: *const super::super::Foundation::DRIVER_OBJECT, deviceobject: ::core::option::Option<*const super::super::Foundation::DEVICE_OBJECT>, requestedresources: ::core::option::Option<*const IO_RESOURCE_REQUIREMENTS_LIST>, allocatedresources: *mut *mut CM_RESOURCE_LIST) -> ::windows_core::Result<()> {
::windows_targets::link!("ntoskrnl.exe" "system" fn IoAssignResources(registrypath : *const super::super::super::Win32::Foundation:: UNICODE_STRING, driverclassname : *const super::super::super::Win32::Foundation:: UNICODE_STRING, driverobject : *const super::super::Foundation:: DRIVER_OBJECT, deviceobject : *const super::super::Foundation:: DEVICE_OBJECT, requestedresources : *const IO_RESOURCE_REQUIREMENTS_LIST, allocatedresources : *mut *mut CM_RESOURCE_LIST) -> super::super::super::Win32::Foundation:: NTSTATUS);
IoAssignResources(registrypath, ::core::mem::transmute(driverclassname.unwrap_or(::std::ptr::null())), driverobject, ::core::mem::transmute(deviceobject.unwrap_or(::std::ptr::null())), ::core::mem::transmute(requestedresources.unwrap_or(::std::ptr::null())), allocatedresources).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
#[inline]
pub unsafe fn IoAttachDevice(sourcedevice: *const super::super::Foundation::DEVICE_OBJECT, targetdevice: *const super::super::super::Win32::Foundation::UNICODE_STRING, attacheddevice: *mut *mut super::super::Foundation::DEVICE_OBJECT) -> ::windows_core::Result<()> {
::windows_targets::link!("ntoskrnl.exe" "system" fn IoAttachDevice(sourcedevice : *const super::super::Foundation:: DEVICE_OBJECT, targetdevice : *const super::super::super::Win32::Foundation:: UNICODE_STRING, attacheddevice : *mut *mut super::super::Foundation:: DEVICE_OBJECT) -> super::super::super::Win32::Foundation:: NTSTATUS);
IoAttachDevice(sourcedevice, targetdevice, attacheddevice).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
#[inline]
pub unsafe fn IoAttachDeviceByPointer(sourcedevice: *const super::super::Foundation::DEVICE_OBJECT, targetdevice: *const super::super::Foundation::DEVICE_OBJECT) -> ::windows_core::Result<()> {
::windows_targets::link!("ntoskrnl.exe" "system" fn IoAttachDeviceByPointer(sourcedevice : *const super::super::Foundation:: DEVICE_OBJECT, targetdevice : *const super::super::Foundation:: DEVICE_OBJECT) -> super::super::super::Win32::Foundation:: NTSTATUS);
IoAttachDeviceByPointer(sourcedevice, targetdevice).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
#[inline]
pub unsafe fn IoAttachDeviceToDeviceStack(sourcedevice: *const super::super::Foundation::DEVICE_OBJECT, targetdevice: *const super::super::Foundation::DEVICE_OBJECT) -> *mut super::super::Foundation::DEVICE_OBJECT {
::windows_targets::link!("ntoskrnl.exe" "system" fn IoAttachDeviceToDeviceStack(sourcedevice : *const super::super::Foundation:: DEVICE_OBJECT, targetdevice : *const super::super::Foundation:: DEVICE_OBJECT) -> *mut super::super::Foundation:: DEVICE_OBJECT);
IoAttachDeviceToDeviceStack(sourcedevice, targetdevice)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
#[inline]
pub unsafe fn IoAttachDeviceToDeviceStackSafe(sourcedevice: *const super::super::Foundation::DEVICE_OBJECT, targetdevice: *const super::super::Foundation::DEVICE_OBJECT, attachedtodeviceobject: *mut *mut super::super::Foundation::DEVICE_OBJECT) -> ::windows_core::Result<()> {
::windows_targets::link!("ntoskrnl.exe" "system" fn IoAttachDeviceToDeviceStackSafe(sourcedevice : *const super::super::Foundation:: DEVICE_OBJECT, targetdevice : *const super::super::Foundation:: DEVICE_OBJECT, attachedtodeviceobject : *mut *mut super::super::Foundation:: DEVICE_OBJECT) -> super::super::super::Win32::Foundation:: NTSTATUS);
IoAttachDeviceToDeviceStackSafe(sourcedevice, targetdevice, attachedtodeviceobject).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
#[inline]
pub unsafe fn IoBuildAsynchronousFsdRequest(majorfunction: u32, deviceobject: *const super::super::Foundation::DEVICE_OBJECT, buffer: ::core::option::Option<*mut ::core::ffi::c_void>, length: u32, startingoffset: ::core::option::Option<*const i64>, iostatusblock: ::core::option::Option<*const super::super::super::Win32::System::IO::IO_STATUS_BLOCK>) -> *mut super::super::Foundation::IRP {
::windows_targets::link!("ntoskrnl.exe" "system" fn IoBuildAsynchronousFsdRequest(majorfunction : u32, deviceobject : *const super::super::Foundation:: DEVICE_OBJECT, buffer : *mut ::core::ffi::c_void, length : u32, startingoffset : *const i64, iostatusblock : *const super::super::super::Win32::System::IO:: IO_STATUS_BLOCK) -> *mut super::super::Foundation:: IRP);
IoBuildAsynchronousFsdRequest(majorfunction, deviceobject, ::core::mem::transmute(buffer.unwrap_or(::std::ptr::null_mut())), length, ::core::mem::transmute(startingoffset.unwrap_or(::std::ptr::null())), ::core::mem::transmute(iostatusblock.unwrap_or(::std::ptr::null())))
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
#[inline]
pub unsafe fn IoBuildDeviceIoControlRequest<P0>(iocontrolcode: u32, deviceobject: *const super::super::Foundation::DEVICE_OBJECT, inputbuffer: ::core::option::Option<*const ::core::ffi::c_void>, inputbufferlength: u32, outputbuffer: ::core::option::Option<*mut ::core::ffi::c_void>, outputbufferlength: u32, internaldeviceiocontrol: P0, event: ::core::option::Option<*const super::super::Foundation::KEVENT>, iostatusblock: *mut super::super::super::Win32::System::IO::IO_STATUS_BLOCK) -> *mut super::super::Foundation::IRP
where
P0: ::windows_core::IntoParam<super::super::super::Win32::Foundation::BOOLEAN>,
{
::windows_targets::link!("ntoskrnl.exe" "system" fn IoBuildDeviceIoControlRequest(iocontrolcode : u32, deviceobject : *const super::super::Foundation:: DEVICE_OBJECT, inputbuffer : *const ::core::ffi::c_void, inputbufferlength : u32, outputbuffer : *mut ::core::ffi::c_void, outputbufferlength : u32, internaldeviceiocontrol : super::super::super::Win32::Foundation:: BOOLEAN, event : *const super::super::Foundation:: KEVENT, iostatusblock : *mut super::super::super::Win32::System::IO:: IO_STATUS_BLOCK) -> *mut super::super::Foundation:: IRP);
IoBuildDeviceIoControlRequest(iocontrolcode, deviceobject, ::core::mem::transmute(inputbuffer.unwrap_or(::std::ptr::null())), inputbufferlength, ::core::mem::transmute(outputbuffer.unwrap_or(::std::ptr::null_mut())), outputbufferlength, internaldeviceiocontrol.into_param().abi(), ::core::mem::transmute(event.unwrap_or(::std::ptr::null())), iostatusblock)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`*"]
#[cfg(feature = "Wdk_Foundation")]
#[inline]
pub unsafe fn IoBuildPartialMdl(sourcemdl: *const super::super::Foundation::MDL, targetmdl: *mut super::super::Foundation::MDL, virtualaddress: *mut ::core::ffi::c_void, length: u32) {
::windows_targets::link!("ntoskrnl.exe" "system" fn IoBuildPartialMdl(sourcemdl : *const super::super::Foundation:: MDL, targetmdl : *mut super::super::Foundation:: MDL, virtualaddress : *mut ::core::ffi::c_void, length : u32) -> ());
IoBuildPartialMdl(sourcemdl, targetmdl, virtualaddress, length)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
#[inline]
pub unsafe fn IoBuildSynchronousFsdRequest(majorfunction: u32, deviceobject: *const super::super::Foundation::DEVICE_OBJECT, buffer: *mut ::core::ffi::c_void, length: u32, startingoffset: ::core::option::Option<*const i64>, event: *const super::super::Foundation::KEVENT, iostatusblock: *mut super::super::super::Win32::System::IO::IO_STATUS_BLOCK) -> *mut super::super::Foundation::IRP {
::windows_targets::link!("ntoskrnl.exe" "system" fn IoBuildSynchronousFsdRequest(majorfunction : u32, deviceobject : *const super::super::Foundation:: DEVICE_OBJECT, buffer : *mut ::core::ffi::c_void, length : u32, startingoffset : *const i64, event : *const super::super::Foundation:: KEVENT, iostatusblock : *mut super::super::super::Win32::System::IO:: IO_STATUS_BLOCK) -> *mut super::super::Foundation:: IRP);
IoBuildSynchronousFsdRequest(majorfunction, deviceobject, buffer, length, ::core::mem::transmute(startingoffset.unwrap_or(::std::ptr::null())), event, iostatusblock)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
#[inline]
pub unsafe fn IoCancelFileOpen(deviceobject: *const super::super::Foundation::DEVICE_OBJECT, fileobject: *const super::super::Foundation::FILE_OBJECT) {
::windows_targets::link!("ntoskrnl.exe" "system" fn IoCancelFileOpen(deviceobject : *const super::super::Foundation:: DEVICE_OBJECT, fileobject : *const super::super::Foundation:: FILE_OBJECT) -> ());
IoCancelFileOpen(deviceobject, fileobject)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
#[inline]
pub unsafe fn IoCancelIrp(irp: *const super::super::Foundation::IRP) -> super::super::super::Win32::Foundation::BOOLEAN {
::windows_targets::link!("ntoskrnl.exe" "system" fn IoCancelIrp(irp : *const super::super::Foundation:: IRP) -> super::super::super::Win32::Foundation:: BOOLEAN);
IoCancelIrp(irp)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
#[inline]
pub unsafe fn IoCheckLinkShareAccess(desiredaccess: u32, desiredshareaccess: u32, fileobject: ::core::option::Option<*mut super::super::Foundation::FILE_OBJECT>, shareaccess: ::core::option::Option<*mut SHARE_ACCESS>, linkshareaccess: ::core::option::Option<*mut LINK_SHARE_ACCESS>, ioshareaccessflags: u32) -> ::windows_core::Result<()> {
::windows_targets::link!("ntoskrnl.exe" "system" fn IoCheckLinkShareAccess(desiredaccess : u32, desiredshareaccess : u32, fileobject : *mut super::super::Foundation:: FILE_OBJECT, shareaccess : *mut SHARE_ACCESS, linkshareaccess : *mut LINK_SHARE_ACCESS, ioshareaccessflags : u32) -> super::super::super::Win32::Foundation:: NTSTATUS);
IoCheckLinkShareAccess(desiredaccess, desiredshareaccess, ::core::mem::transmute(fileobject.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(shareaccess.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(linkshareaccess.unwrap_or(::std::ptr::null_mut())), ioshareaccessflags).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
#[inline]
pub unsafe fn IoCheckShareAccess<P0>(desiredaccess: u32, desiredshareaccess: u32, fileobject: *mut super::super::Foundation::FILE_OBJECT, shareaccess: *mut SHARE_ACCESS, update: P0) -> ::windows_core::Result<()>
where
P0: ::windows_core::IntoParam<super::super::super::Win32::Foundation::BOOLEAN>,
{
::windows_targets::link!("ntoskrnl.exe" "system" fn IoCheckShareAccess(desiredaccess : u32, desiredshareaccess : u32, fileobject : *mut super::super::Foundation:: FILE_OBJECT, shareaccess : *mut SHARE_ACCESS, update : super::super::super::Win32::Foundation:: BOOLEAN) -> super::super::super::Win32::Foundation:: NTSTATUS);
IoCheckShareAccess(desiredaccess, desiredshareaccess, fileobject, shareaccess, update.into_param().abi()).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
#[inline]
pub unsafe fn IoCheckShareAccessEx<P0>(desiredaccess: u32, desiredshareaccess: u32, fileobject: *mut super::super::Foundation::FILE_OBJECT, shareaccess: *mut SHARE_ACCESS, update: P0, writepermission: ::core::option::Option<*const super::super::super::Win32::Foundation::BOOLEAN>) -> ::windows_core::Result<()>
where
P0: ::windows_core::IntoParam<super::super::super::Win32::Foundation::BOOLEAN>,
{
::windows_targets::link!("ntoskrnl.exe" "system" fn IoCheckShareAccessEx(desiredaccess : u32, desiredshareaccess : u32, fileobject : *mut super::super::Foundation:: FILE_OBJECT, shareaccess : *mut SHARE_ACCESS, update : super::super::super::Win32::Foundation:: BOOLEAN, writepermission : *const super::super::super::Win32::Foundation:: BOOLEAN) -> super::super::super::Win32::Foundation:: NTSTATUS);
IoCheckShareAccessEx(desiredaccess, desiredshareaccess, fileobject, shareaccess, update.into_param().abi(), ::core::mem::transmute(writepermission.unwrap_or(::std::ptr::null()))).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
#[inline]
pub unsafe fn IoCleanupIrp(irp: *mut super::super::Foundation::IRP) {
::windows_targets::link!("ntoskrnl.exe" "system" fn IoCleanupIrp(irp : *mut super::super::Foundation:: IRP) -> ());
IoCleanupIrp(irp)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[inline]
pub unsafe fn IoClearActivityIdThread(originalid: *const ::windows_core::GUID) {
::windows_targets::link!("ntoskrnl.exe" "system" fn IoClearActivityIdThread(originalid : *const ::windows_core::GUID) -> ());
IoClearActivityIdThread(originalid)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
#[inline]
pub unsafe fn IoClearIrpExtraCreateParameter(irp: *mut super::super::Foundation::IRP) {
::windows_targets::link!("ntoskrnl.exe" "system" fn IoClearIrpExtraCreateParameter(irp : *mut super::super::Foundation:: IRP) -> ());
IoClearIrpExtraCreateParameter(irp)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))]
#[inline]
pub unsafe fn IoConnectInterrupt<P0, P1>(interruptobject: *mut super::super::Foundation::PKINTERRUPT, serviceroutine: PKSERVICE_ROUTINE, servicecontext: ::core::option::Option<*const ::core::ffi::c_void>, spinlock: ::core::option::Option<*const usize>, vector: u32, irql: u8, synchronizeirql: u8, interruptmode: KINTERRUPT_MODE, sharevector: P0, processorenablemask: usize, floatingsave: P1) -> ::windows_core::Result<()>
where
P0: ::windows_core::IntoParam<super::super::super::Win32::Foundation::BOOLEAN>,
P1: ::windows_core::IntoParam<super::super::super::Win32::Foundation::BOOLEAN>,
{
::windows_targets::link!("ntoskrnl.exe" "system" fn IoConnectInterrupt(interruptobject : *mut super::super::Foundation:: PKINTERRUPT, serviceroutine : PKSERVICE_ROUTINE, servicecontext : *const ::core::ffi::c_void, spinlock : *const usize, vector : u32, irql : u8, synchronizeirql : u8, interruptmode : KINTERRUPT_MODE, sharevector : super::super::super::Win32::Foundation:: BOOLEAN, processorenablemask : usize, floatingsave : super::super::super::Win32::Foundation:: BOOLEAN) -> super::super::super::Win32::Foundation:: NTSTATUS);
IoConnectInterrupt(interruptobject, serviceroutine, ::core::mem::transmute(servicecontext.unwrap_or(::std::ptr::null())), ::core::mem::transmute(spinlock.unwrap_or(::std::ptr::null())), vector, irql, synchronizeirql, interruptmode, sharevector.into_param().abi(), processorenablemask, floatingsave.into_param().abi()).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
#[inline]
pub unsafe fn IoConnectInterruptEx(parameters: *mut IO_CONNECT_INTERRUPT_PARAMETERS) -> ::windows_core::Result<()> {
::windows_targets::link!("ntoskrnl.exe" "system" fn IoConnectInterruptEx(parameters : *mut IO_CONNECT_INTERRUPT_PARAMETERS) -> super::super::super::Win32::Foundation:: NTSTATUS);
IoConnectInterruptEx(parameters).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
#[inline]
pub unsafe fn IoCreateController(size: u32) -> *mut CONTROLLER_OBJECT {
::windows_targets::link!("ntoskrnl.exe" "system" fn IoCreateController(size : u32) -> *mut CONTROLLER_OBJECT);
IoCreateController(size)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
#[inline]
pub unsafe fn IoCreateDevice<P0>(driverobject: *const super::super::Foundation::DRIVER_OBJECT, deviceextensionsize: u32, devicename: ::core::option::Option<*const super::super::super::Win32::Foundation::UNICODE_STRING>, devicetype: u32, devicecharacteristics: u32, exclusive: P0, deviceobject: *mut *mut super::super::Foundation::DEVICE_OBJECT) -> ::windows_core::Result<()>
where
P0: ::windows_core::IntoParam<super::super::super::Win32::Foundation::BOOLEAN>,
{
::windows_targets::link!("ntoskrnl.exe" "system" fn IoCreateDevice(driverobject : *const super::super::Foundation:: DRIVER_OBJECT, deviceextensionsize : u32, devicename : *const super::super::super::Win32::Foundation:: UNICODE_STRING, devicetype : u32, devicecharacteristics : u32, exclusive : super::super::super::Win32::Foundation:: BOOLEAN, deviceobject : *mut *mut super::super::Foundation:: DEVICE_OBJECT) -> super::super::super::Win32::Foundation:: NTSTATUS);
IoCreateDevice(driverobject, deviceextensionsize, ::core::mem::transmute(devicename.unwrap_or(::std::ptr::null())), devicetype, devicecharacteristics, exclusive.into_param().abi(), deviceobject).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Ioctl\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Ioctl", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
#[inline]
pub unsafe fn IoCreateDisk(deviceobject: *const super::super::Foundation::DEVICE_OBJECT, disk: ::core::option::Option<*const super::super::super::Win32::System::Ioctl::CREATE_DISK>) -> ::windows_core::Result<()> {
::windows_targets::link!("ntoskrnl.exe" "system" fn IoCreateDisk(deviceobject : *const super::super::Foundation:: DEVICE_OBJECT, disk : *const super::super::super::Win32::System::Ioctl:: CREATE_DISK) -> super::super::super::Win32::Foundation:: NTSTATUS);
IoCreateDisk(deviceobject, ::core::mem::transmute(disk.unwrap_or(::std::ptr::null()))).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation", feature = "Win32_System_IO"))]
#[inline]
pub unsafe fn IoCreateFile(filehandle: *mut super::super::super::Win32::Foundation::HANDLE, desiredaccess: u32, objectattributes: *const super::super::Foundation::OBJECT_ATTRIBUTES, iostatusblock: *mut super::super::super::Win32::System::IO::IO_STATUS_BLOCK, allocationsize: ::core::option::Option<*const i64>, fileattributes: u32, shareaccess: u32, disposition: u32, createoptions: u32, eabuffer: ::core::option::Option<*const ::core::ffi::c_void>, ealength: u32, createfiletype: CREATE_FILE_TYPE, internalparameters: ::core::option::Option<*const ::core::ffi::c_void>, options: u32) -> ::windows_core::Result<()> {
::windows_targets::link!("ntoskrnl.exe" "system" fn IoCreateFile(filehandle : *mut super::super::super::Win32::Foundation:: HANDLE, desiredaccess : u32, objectattributes : *const super::super::Foundation:: OBJECT_ATTRIBUTES, iostatusblock : *mut super::super::super::Win32::System::IO:: IO_STATUS_BLOCK, allocationsize : *const i64, fileattributes : u32, shareaccess : u32, disposition : u32, createoptions : u32, eabuffer : *const ::core::ffi::c_void, ealength : u32, createfiletype : CREATE_FILE_TYPE, internalparameters : *const ::core::ffi::c_void, options : u32) -> super::super::super::Win32::Foundation:: NTSTATUS);
IoCreateFile(filehandle, desiredaccess, objectattributes, iostatusblock, ::core::mem::transmute(allocationsize.unwrap_or(::std::ptr::null())), fileattributes, shareaccess, disposition, createoptions, ::core::mem::transmute(eabuffer.unwrap_or(::std::ptr::null())), ealength, createfiletype, ::core::mem::transmute(internalparameters.unwrap_or(::std::ptr::null())), options).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation", feature = "Win32_System_IO"))]
#[inline]
pub unsafe fn IoCreateFileEx(filehandle: *mut super::super::super::Win32::Foundation::HANDLE, desiredaccess: u32, objectattributes: *const super::super::Foundation::OBJECT_ATTRIBUTES, iostatusblock: *mut super::super::super::Win32::System::IO::IO_STATUS_BLOCK, allocationsize: ::core::option::Option<*const i64>, fileattributes: u32, shareaccess: u32, disposition: u32, createoptions: u32, eabuffer: ::core::option::Option<*const ::core::ffi::c_void>, ealength: u32, createfiletype: CREATE_FILE_TYPE, internalparameters: ::core::option::Option<*const ::core::ffi::c_void>, options: u32, drivercontext: ::core::option::Option<*const IO_DRIVER_CREATE_CONTEXT>) -> ::windows_core::Result<()> {
::windows_targets::link!("ntoskrnl.exe" "system" fn IoCreateFileEx(filehandle : *mut super::super::super::Win32::Foundation:: HANDLE, desiredaccess : u32, objectattributes : *const super::super::Foundation:: OBJECT_ATTRIBUTES, iostatusblock : *mut super::super::super::Win32::System::IO:: IO_STATUS_BLOCK, allocationsize : *const i64, fileattributes : u32, shareaccess : u32, disposition : u32, createoptions : u32, eabuffer : *const ::core::ffi::c_void, ealength : u32, createfiletype : CREATE_FILE_TYPE, internalparameters : *const ::core::ffi::c_void, options : u32, drivercontext : *const IO_DRIVER_CREATE_CONTEXT) -> super::super::super::Win32::Foundation:: NTSTATUS);
IoCreateFileEx(filehandle, desiredaccess, objectattributes, iostatusblock, ::core::mem::transmute(allocationsize.unwrap_or(::std::ptr::null())), fileattributes, shareaccess, disposition, createoptions, ::core::mem::transmute(eabuffer.unwrap_or(::std::ptr::null())), ealength, createfiletype, ::core::mem::transmute(internalparameters.unwrap_or(::std::ptr::null())), options, ::core::mem::transmute(drivercontext.unwrap_or(::std::ptr::null()))).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation", feature = "Win32_System_IO"))]
#[inline]
pub unsafe fn IoCreateFileSpecifyDeviceObjectHint(filehandle: *mut super::super::super::Win32::Foundation::HANDLE, desiredaccess: u32, objectattributes: *const super::super::Foundation::OBJECT_ATTRIBUTES, iostatusblock: *mut super::super::super::Win32::System::IO::IO_STATUS_BLOCK, allocationsize: ::core::option::Option<*const i64>, fileattributes: u32, shareaccess: u32, disposition: u32, createoptions: u32, eabuffer: ::core::option::Option<*const ::core::ffi::c_void>, ealength: u32, createfiletype: CREATE_FILE_TYPE, internalparameters: ::core::option::Option<*const ::core::ffi::c_void>, options: u32, deviceobject: ::core::option::Option<*const ::core::ffi::c_void>) -> ::windows_core::Result<()> {
::windows_targets::link!("ntoskrnl.exe" "system" fn IoCreateFileSpecifyDeviceObjectHint(filehandle : *mut super::super::super::Win32::Foundation:: HANDLE, desiredaccess : u32, objectattributes : *const super::super::Foundation:: OBJECT_ATTRIBUTES, iostatusblock : *mut super::super::super::Win32::System::IO:: IO_STATUS_BLOCK, allocationsize : *const i64, fileattributes : u32, shareaccess : u32, disposition : u32, createoptions : u32, eabuffer : *const ::core::ffi::c_void, ealength : u32, createfiletype : CREATE_FILE_TYPE, internalparameters : *const ::core::ffi::c_void, options : u32, deviceobject : *const ::core::ffi::c_void) -> super::super::super::Win32::Foundation:: NTSTATUS);
IoCreateFileSpecifyDeviceObjectHint(filehandle, desiredaccess, objectattributes, iostatusblock, ::core::mem::transmute(allocationsize.unwrap_or(::std::ptr::null())), fileattributes, shareaccess, disposition, createoptions, ::core::mem::transmute(eabuffer.unwrap_or(::std::ptr::null())), ealength, createfiletype, ::core::mem::transmute(internalparameters.unwrap_or(::std::ptr::null())), options, ::core::mem::transmute(deviceobject.unwrap_or(::std::ptr::null()))).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
#[inline]
pub unsafe fn IoCreateNotificationEvent(eventname: *const super::super::super::Win32::Foundation::UNICODE_STRING, eventhandle: *mut super::super::super::Win32::Foundation::HANDLE) -> *mut super::super::Foundation::KEVENT {
::windows_targets::link!("ntoskrnl.exe" "system" fn IoCreateNotificationEvent(eventname : *const super::super::super::Win32::Foundation:: UNICODE_STRING, eventhandle : *mut super::super::super::Win32::Foundation:: HANDLE) -> *mut super::super::Foundation:: KEVENT);
IoCreateNotificationEvent(eventname, eventhandle)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn IoCreateSymbolicLink(symboliclinkname: *const super::super::super::Win32::Foundation::UNICODE_STRING, devicename: *const super::super::super::Win32::Foundation::UNICODE_STRING) -> ::windows_core::Result<()> {
::windows_targets::link!("ntoskrnl.exe" "system" fn IoCreateSymbolicLink(symboliclinkname : *const super::super::super::Win32::Foundation:: UNICODE_STRING, devicename : *const super::super::super::Win32::Foundation:: UNICODE_STRING) -> super::super::super::Win32::Foundation:: NTSTATUS);
IoCreateSymbolicLink(symboliclinkname, devicename).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
#[inline]
pub unsafe fn IoCreateSynchronizationEvent(eventname: *const super::super::super::Win32::Foundation::UNICODE_STRING, eventhandle: *mut super::super::super::Win32::Foundation::HANDLE) -> *mut super::super::Foundation::KEVENT {
::windows_targets::link!("ntoskrnl.exe" "system" fn IoCreateSynchronizationEvent(eventname : *const super::super::super::Win32::Foundation:: UNICODE_STRING, eventhandle : *mut super::super::super::Win32::Foundation:: HANDLE) -> *mut super::super::Foundation:: KEVENT);
IoCreateSynchronizationEvent(eventname, eventhandle)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation", feature = "Win32_System_WindowsProgramming"))]
#[inline]
pub unsafe fn IoCreateSystemThread<P0>(ioobject: *mut ::core::ffi::c_void, threadhandle: *mut super::super::super::Win32::Foundation::HANDLE, desiredaccess: u32, objectattributes: ::core::option::Option<*const super::super::Foundation::OBJECT_ATTRIBUTES>, processhandle: P0, clientid: ::core::option::Option<*mut super::super::super::Win32::System::WindowsProgramming::CLIENT_ID>, startroutine: PKSTART_ROUTINE, startcontext: ::core::option::Option<*const ::core::ffi::c_void>) -> ::windows_core::Result<()>
where
P0: ::windows_core::IntoParam<super::super::super::Win32::Foundation::HANDLE>,
{
::windows_targets::link!("ntoskrnl.exe" "system" fn IoCreateSystemThread(ioobject : *mut ::core::ffi::c_void, threadhandle : *mut super::super::super::Win32::Foundation:: HANDLE, desiredaccess : u32, objectattributes : *const super::super::Foundation:: OBJECT_ATTRIBUTES, processhandle : super::super::super::Win32::Foundation:: HANDLE, clientid : *mut super::super::super::Win32::System::WindowsProgramming:: CLIENT_ID, startroutine : PKSTART_ROUTINE, startcontext : *const ::core::ffi::c_void) -> super::super::super::Win32::Foundation:: NTSTATUS);
IoCreateSystemThread(ioobject, threadhandle, desiredaccess, ::core::mem::transmute(objectattributes.unwrap_or(::std::ptr::null())), processhandle.into_param().abi(), ::core::mem::transmute(clientid.unwrap_or(::std::ptr::null_mut())), startroutine, ::core::mem::transmute(startcontext.unwrap_or(::std::ptr::null()))).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn IoCreateUnprotectedSymbolicLink(symboliclinkname: *const super::super::super::Win32::Foundation::UNICODE_STRING, devicename: *const super::super::super::Win32::Foundation::UNICODE_STRING) -> ::windows_core::Result<()> {
::windows_targets::link!("ntoskrnl.exe" "system" fn IoCreateUnprotectedSymbolicLink(symboliclinkname : *const super::super::super::Win32::Foundation:: UNICODE_STRING, devicename : *const super::super::super::Win32::Foundation:: UNICODE_STRING) -> super::super::super::Win32::Foundation:: NTSTATUS);
IoCreateUnprotectedSymbolicLink(symboliclinkname, devicename).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
#[inline]
pub unsafe fn IoCsqInitialize(csq: *mut IO_CSQ, csqinsertirp: PIO_CSQ_INSERT_IRP, csqremoveirp: PIO_CSQ_REMOVE_IRP, csqpeeknextirp: PIO_CSQ_PEEK_NEXT_IRP, csqacquirelock: PIO_CSQ_ACQUIRE_LOCK, csqreleaselock: PIO_CSQ_RELEASE_LOCK, csqcompletecanceledirp: PIO_CSQ_COMPLETE_CANCELED_IRP) -> ::windows_core::Result<()> {
::windows_targets::link!("ntoskrnl.exe" "system" fn IoCsqInitialize(csq : *mut IO_CSQ, csqinsertirp : PIO_CSQ_INSERT_IRP, csqremoveirp : PIO_CSQ_REMOVE_IRP, csqpeeknextirp : PIO_CSQ_PEEK_NEXT_IRP, csqacquirelock : PIO_CSQ_ACQUIRE_LOCK, csqreleaselock : PIO_CSQ_RELEASE_LOCK, csqcompletecanceledirp : PIO_CSQ_COMPLETE_CANCELED_IRP) -> super::super::super::Win32::Foundation:: NTSTATUS);
IoCsqInitialize(csq, csqinsertirp, csqremoveirp, csqpeeknextirp, csqacquirelock, csqreleaselock, csqcompletecanceledirp).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
#[inline]
pub unsafe fn IoCsqInitializeEx(csq: *mut IO_CSQ, csqinsertirp: PIO_CSQ_INSERT_IRP_EX, csqremoveirp: PIO_CSQ_REMOVE_IRP, csqpeeknextirp: PIO_CSQ_PEEK_NEXT_IRP, csqacquirelock: PIO_CSQ_ACQUIRE_LOCK, csqreleaselock: PIO_CSQ_RELEASE_LOCK, csqcompletecanceledirp: PIO_CSQ_COMPLETE_CANCELED_IRP) -> ::windows_core::Result<()> {
::windows_targets::link!("ntoskrnl.exe" "system" fn IoCsqInitializeEx(csq : *mut IO_CSQ, csqinsertirp : PIO_CSQ_INSERT_IRP_EX, csqremoveirp : PIO_CSQ_REMOVE_IRP, csqpeeknextirp : PIO_CSQ_PEEK_NEXT_IRP, csqacquirelock : PIO_CSQ_ACQUIRE_LOCK, csqreleaselock : PIO_CSQ_RELEASE_LOCK, csqcompletecanceledirp : PIO_CSQ_COMPLETE_CANCELED_IRP) -> super::super::super::Win32::Foundation:: NTSTATUS);
IoCsqInitializeEx(csq, csqinsertirp, csqremoveirp, csqpeeknextirp, csqacquirelock, csqreleaselock, csqcompletecanceledirp).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
#[inline]
pub unsafe fn IoCsqInsertIrp(csq: *mut IO_CSQ, irp: *mut super::super::Foundation::IRP, context: ::core::option::Option<*mut IO_CSQ_IRP_CONTEXT>) {
::windows_targets::link!("ntoskrnl.exe" "system" fn IoCsqInsertIrp(csq : *mut IO_CSQ, irp : *mut super::super::Foundation:: IRP, context : *mut IO_CSQ_IRP_CONTEXT) -> ());
IoCsqInsertIrp(csq, irp, ::core::mem::transmute(context.unwrap_or(::std::ptr::null_mut())))
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
#[inline]
pub unsafe fn IoCsqInsertIrpEx(csq: *mut IO_CSQ, irp: *mut super::super::Foundation::IRP, context: ::core::option::Option<*mut IO_CSQ_IRP_CONTEXT>, insertcontext: ::core::option::Option<*const ::core::ffi::c_void>) -> ::windows_core::Result<()> {
::windows_targets::link!("ntoskrnl.exe" "system" fn IoCsqInsertIrpEx(csq : *mut IO_CSQ, irp : *mut super::super::Foundation:: IRP, context : *mut IO_CSQ_IRP_CONTEXT, insertcontext : *const ::core::ffi::c_void) -> super::super::super::Win32::Foundation:: NTSTATUS);
IoCsqInsertIrpEx(csq, irp, ::core::mem::transmute(context.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(insertcontext.unwrap_or(::std::ptr::null()))).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
#[inline]
pub unsafe fn IoCsqRemoveIrp(csq: *mut IO_CSQ, context: *mut IO_CSQ_IRP_CONTEXT) -> *mut super::super::Foundation::IRP {
::windows_targets::link!("ntoskrnl.exe" "system" fn IoCsqRemoveIrp(csq : *mut IO_CSQ, context : *mut IO_CSQ_IRP_CONTEXT) -> *mut super::super::Foundation:: IRP);
IoCsqRemoveIrp(csq, context)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
#[inline]
pub unsafe fn IoCsqRemoveNextIrp(csq: *mut IO_CSQ, peekcontext: ::core::option::Option<*const ::core::ffi::c_void>) -> *mut super::super::Foundation::IRP {
::windows_targets::link!("ntoskrnl.exe" "system" fn IoCsqRemoveNextIrp(csq : *mut IO_CSQ, peekcontext : *const ::core::ffi::c_void) -> *mut super::super::Foundation:: IRP);
IoCsqRemoveNextIrp(csq, ::core::mem::transmute(peekcontext.unwrap_or(::std::ptr::null())))
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
#[inline]
pub unsafe fn IoDecrementKeepAliveCount<P0>(fileobject: *mut super::super::Foundation::FILE_OBJECT, process: P0) -> ::windows_core::Result<()>
where
P0: ::windows_core::IntoParam<super::super::Foundation::PEPROCESS>,
{
::windows_targets::link!("ntoskrnl.exe" "system" fn IoDecrementKeepAliveCount(fileobject : *mut super::super::Foundation:: FILE_OBJECT, process : super::super::Foundation:: PEPROCESS) -> super::super::super::Win32::Foundation:: NTSTATUS);
IoDecrementKeepAliveCount(fileobject, process.into_param().abi()).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
#[inline]
pub unsafe fn IoDeleteController(controllerobject: *const CONTROLLER_OBJECT) {
::windows_targets::link!("ntoskrnl.exe" "system" fn IoDeleteController(controllerobject : *const CONTROLLER_OBJECT) -> ());
IoDeleteController(controllerobject)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
#[inline]
pub unsafe fn IoDeleteDevice(deviceobject: *const super::super::Foundation::DEVICE_OBJECT) {
::windows_targets::link!("ntoskrnl.exe" "system" fn IoDeleteDevice(deviceobject : *const super::super::Foundation:: DEVICE_OBJECT) -> ());
IoDeleteDevice(deviceobject)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn IoDeleteSymbolicLink(symboliclinkname: *const super::super::super::Win32::Foundation::UNICODE_STRING) -> ::windows_core::Result<()> {
::windows_targets::link!("ntoskrnl.exe" "system" fn IoDeleteSymbolicLink(symboliclinkname : *const super::super::super::Win32::Foundation:: UNICODE_STRING) -> super::super::super::Win32::Foundation:: NTSTATUS);
IoDeleteSymbolicLink(symboliclinkname).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
#[inline]
pub unsafe fn IoDetachDevice(targetdevice: *mut super::super::Foundation::DEVICE_OBJECT) {
::windows_targets::link!("ntoskrnl.exe" "system" fn IoDetachDevice(targetdevice : *mut super::super::Foundation:: DEVICE_OBJECT) -> ());
IoDetachDevice(targetdevice)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`*"]
#[cfg(feature = "Wdk_Foundation")]
#[inline]
pub unsafe fn IoDisconnectInterrupt<P0>(interruptobject: P0)
where
P0: ::windows_core::IntoParam<super::super::Foundation::PKINTERRUPT>,
{
::windows_targets::link!("ntoskrnl.exe" "system" fn IoDisconnectInterrupt(interruptobject : super::super::Foundation:: PKINTERRUPT) -> ());
IoDisconnectInterrupt(interruptobject.into_param().abi())
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`*"]
#[cfg(feature = "Wdk_Foundation")]
#[inline]
pub unsafe fn IoDisconnectInterruptEx(parameters: *const IO_DISCONNECT_INTERRUPT_PARAMETERS) {
::windows_targets::link!("ntoskrnl.exe" "system" fn IoDisconnectInterruptEx(parameters : *const IO_DISCONNECT_INTERRUPT_PARAMETERS) -> ());
IoDisconnectInterruptEx(parameters)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
#[inline]
pub unsafe fn IoEnumerateKsrPersistentMemoryEx(driverobject: *const super::super::Foundation::DRIVER_OBJECT, physicaldeviceobject: ::core::option::Option<*const super::super::Foundation::DEVICE_OBJECT>, physicaldeviceid: ::core::option::Option<*const super::super::super::Win32::Foundation::UNICODE_STRING>, callback: PIO_PERSISTED_MEMORY_ENUMERATION_CALLBACK, callbackcontext: *const ::core::ffi::c_void) -> ::windows_core::Result<()> {
::windows_targets::link!("ntoskrnl.exe" "system" fn IoEnumerateKsrPersistentMemoryEx(driverobject : *const super::super::Foundation:: DRIVER_OBJECT, physicaldeviceobject : *const super::super::Foundation:: DEVICE_OBJECT, physicaldeviceid : *const super::super::super::Win32::Foundation:: UNICODE_STRING, callback : PIO_PERSISTED_MEMORY_ENUMERATION_CALLBACK, callbackcontext : *const ::core::ffi::c_void) -> super::super::super::Win32::Foundation:: NTSTATUS);
IoEnumerateKsrPersistentMemoryEx(driverobject, ::core::mem::transmute(physicaldeviceobject.unwrap_or(::std::ptr::null())), ::core::mem::transmute(physicaldeviceid.unwrap_or(::std::ptr::null())), callback, callbackcontext).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`, `\"Win32_Storage_IscsiDisc\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation", feature = "Win32_Storage_IscsiDisc"))]
#[inline]
pub unsafe fn IoFlushAdapterBuffers<P0>(adapterobject: *const super::super::super::Win32::Storage::IscsiDisc::_ADAPTER_OBJECT, mdl: *const super::super::Foundation::MDL, mapregisterbase: *const ::core::ffi::c_void, currentva: *const ::core::ffi::c_void, length: u32, writetodevice: P0) -> super::super::super::Win32::Foundation::BOOLEAN
where
P0: ::windows_core::IntoParam<super::super::super::Win32::Foundation::BOOLEAN>,
{
::windows_targets::link!("hal.dll" "system" fn IoFlushAdapterBuffers(adapterobject : *const super::super::super::Win32::Storage::IscsiDisc:: _ADAPTER_OBJECT, mdl : *const super::super::Foundation:: MDL, mapregisterbase : *const ::core::ffi::c_void, currentva : *const ::core::ffi::c_void, length : u32, writetodevice : super::super::super::Win32::Foundation:: BOOLEAN) -> super::super::super::Win32::Foundation:: BOOLEAN);
IoFlushAdapterBuffers(adapterobject, mdl, mapregisterbase, currentva, length, writetodevice.into_param().abi())
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
#[inline]
pub unsafe fn IoForwardIrpSynchronously(deviceobject: *const super::super::Foundation::DEVICE_OBJECT, irp: *const super::super::Foundation::IRP) -> super::super::super::Win32::Foundation::BOOLEAN {
::windows_targets::link!("ntoskrnl.exe" "system" fn IoForwardIrpSynchronously(deviceobject : *const super::super::Foundation:: DEVICE_OBJECT, irp : *const super::super::Foundation:: IRP) -> super::super::super::Win32::Foundation:: BOOLEAN);
IoForwardIrpSynchronously(deviceobject, irp)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Storage_IscsiDisc\"`*"]
#[cfg(feature = "Win32_Storage_IscsiDisc")]
#[inline]
pub unsafe fn IoFreeAdapterChannel(adapterobject: *const super::super::super::Win32::Storage::IscsiDisc::_ADAPTER_OBJECT) {
::windows_targets::link!("hal.dll" "system" fn IoFreeAdapterChannel(adapterobject : *const super::super::super::Win32::Storage::IscsiDisc:: _ADAPTER_OBJECT) -> ());
IoFreeAdapterChannel(adapterobject)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
#[inline]
pub unsafe fn IoFreeController(controllerobject: *const CONTROLLER_OBJECT) {
::windows_targets::link!("ntoskrnl.exe" "system" fn IoFreeController(controllerobject : *const CONTROLLER_OBJECT) -> ());
IoFreeController(controllerobject)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[inline]
pub unsafe fn IoFreeErrorLogEntry(elentry: *const ::core::ffi::c_void) {
::windows_targets::link!("ntoskrnl.exe" "system" fn IoFreeErrorLogEntry(elentry : *const ::core::ffi::c_void) -> ());
IoFreeErrorLogEntry(elentry)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
#[inline]
pub unsafe fn IoFreeIrp(irp: *const super::super::Foundation::IRP) {
::windows_targets::link!("ntoskrnl.exe" "system" fn IoFreeIrp(irp : *const super::super::Foundation:: IRP) -> ());
IoFreeIrp(irp)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn IoFreeKsrPersistentMemory(datahandle: *const ::core::ffi::c_void) -> ::windows_core::Result<()> {
::windows_targets::link!("ntoskrnl.exe" "system" fn IoFreeKsrPersistentMemory(datahandle : *const ::core::ffi::c_void) -> super::super::super::Win32::Foundation:: NTSTATUS);
IoFreeKsrPersistentMemory(datahandle).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Storage_IscsiDisc\"`*"]
#[cfg(feature = "Win32_Storage_IscsiDisc")]
#[inline]
pub unsafe fn IoFreeMapRegisters(adapterobject: *const super::super::super::Win32::Storage::IscsiDisc::_ADAPTER_OBJECT, mapregisterbase: *const ::core::ffi::c_void, numberofmapregisters: u32) {
::windows_targets::link!("hal.dll" "system" fn IoFreeMapRegisters(adapterobject : *const super::super::super::Win32::Storage::IscsiDisc:: _ADAPTER_OBJECT, mapregisterbase : *const ::core::ffi::c_void, numberofmapregisters : u32) -> ());
IoFreeMapRegisters(adapterobject, mapregisterbase, numberofmapregisters)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`*"]
#[cfg(feature = "Wdk_Foundation")]
#[inline]
pub unsafe fn IoFreeMdl(mdl: *mut super::super::Foundation::MDL) {
::windows_targets::link!("ntoskrnl.exe" "system" fn IoFreeMdl(mdl : *mut super::super::Foundation:: MDL) -> ());
IoFreeMdl(mdl)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
#[inline]
pub unsafe fn IoFreeSfioStreamIdentifier(fileobject: *const super::super::Foundation::FILE_OBJECT, signature: *const ::core::ffi::c_void) -> ::windows_core::Result<()> {
::windows_targets::link!("ntoskrnl.exe" "system" fn IoFreeSfioStreamIdentifier(fileobject : *const super::super::Foundation:: FILE_OBJECT, signature : *const ::core::ffi::c_void) -> super::super::super::Win32::Foundation:: NTSTATUS);
IoFreeSfioStreamIdentifier(fileobject, signature).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`*"]
#[cfg(feature = "Wdk_Foundation")]
#[inline]
pub unsafe fn IoFreeWorkItem<P0>(ioworkitem: P0)
where
P0: ::windows_core::IntoParam<super::super::Foundation::PIO_WORKITEM>,
{
::windows_targets::link!("ntoskrnl.exe" "system" fn IoFreeWorkItem(ioworkitem : super::super::Foundation:: PIO_WORKITEM) -> ());
IoFreeWorkItem(ioworkitem.into_param().abi())
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
#[inline]
pub unsafe fn IoGetActivityIdIrp(irp: *const super::super::Foundation::IRP, guid: *mut ::windows_core::GUID) -> ::windows_core::Result<()> {
::windows_targets::link!("ntoskrnl.exe" "system" fn IoGetActivityIdIrp(irp : *const super::super::Foundation:: IRP, guid : *mut ::windows_core::GUID) -> super::super::super::Win32::Foundation:: NTSTATUS);
IoGetActivityIdIrp(irp, guid).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[inline]
pub unsafe fn IoGetActivityIdThread() -> *mut ::windows_core::GUID {
::windows_targets::link!("ntoskrnl.exe" "system" fn IoGetActivityIdThread() -> *mut ::windows_core::GUID);
IoGetActivityIdThread()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`, `\"Win32_System_SystemInformation\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation", feature = "Win32_System_SystemInformation"))]
#[inline]
pub unsafe fn IoGetAffinityInterrupt<P0>(interruptobject: P0, groupaffinity: *mut super::super::super::Win32::System::SystemInformation::GROUP_AFFINITY) -> ::windows_core::Result<()>
where
P0: ::windows_core::IntoParam<super::super::Foundation::PKINTERRUPT>,
{
::windows_targets::link!("ntoskrnl.exe" "system" fn IoGetAffinityInterrupt(interruptobject : super::super::Foundation:: PKINTERRUPT, groupaffinity : *mut super::super::super::Win32::System::SystemInformation:: GROUP_AFFINITY) -> super::super::super::Win32::Foundation:: NTSTATUS);
IoGetAffinityInterrupt(interruptobject.into_param().abi(), groupaffinity).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
#[inline]
pub unsafe fn IoGetAttachedDeviceReference(deviceobject: *const super::super::Foundation::DEVICE_OBJECT) -> *mut super::super::Foundation::DEVICE_OBJECT {
::windows_targets::link!("ntoskrnl.exe" "system" fn IoGetAttachedDeviceReference(deviceobject : *const super::super::Foundation:: DEVICE_OBJECT) -> *mut super::super::Foundation:: DEVICE_OBJECT);
IoGetAttachedDeviceReference(deviceobject)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn IoGetBootDiskInformation(bootdiskinformation: *mut BOOTDISK_INFORMATION, size: u32) -> ::windows_core::Result<()> {
::windows_targets::link!("ntoskrnl.exe" "system" fn IoGetBootDiskInformation(bootdiskinformation : *mut BOOTDISK_INFORMATION, size : u32) -> super::super::super::Win32::Foundation:: NTSTATUS);
IoGetBootDiskInformation(bootdiskinformation, size).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn IoGetBootDiskInformationLite(bootdiskinformation: *mut *mut BOOTDISK_INFORMATION_LITE) -> ::windows_core::Result<()> {
::windows_targets::link!("ntoskrnl.exe" "system" fn IoGetBootDiskInformationLite(bootdiskinformation : *mut *mut BOOTDISK_INFORMATION_LITE) -> super::super::super::Win32::Foundation:: NTSTATUS);
IoGetBootDiskInformationLite(bootdiskinformation).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn IoGetConfigurationInformation() -> *mut CONFIGURATION_INFORMATION {
::windows_targets::link!("ntoskrnl.exe" "system" fn IoGetConfigurationInformation() -> *mut CONFIGURATION_INFORMATION);
IoGetConfigurationInformation()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn IoGetContainerInformation(informationclass: IO_CONTAINER_INFORMATION_CLASS, containerobject: ::core::option::Option<*const ::core::ffi::c_void>, buffer: ::core::option::Option<*mut ::core::ffi::c_void>, bufferlength: u32) -> ::windows_core::Result<()> {
::windows_targets::link!("ntoskrnl.exe" "system" fn IoGetContainerInformation(informationclass : IO_CONTAINER_INFORMATION_CLASS, containerobject : *const ::core::ffi::c_void, buffer : *mut ::core::ffi::c_void, bufferlength : u32) -> super::super::super::Win32::Foundation:: NTSTATUS);
IoGetContainerInformation(informationclass, ::core::mem::transmute(containerobject.unwrap_or(::std::ptr::null())), ::core::mem::transmute(buffer.unwrap_or(::std::ptr::null_mut())), bufferlength).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`*"]
#[cfg(feature = "Wdk_Foundation")]
#[inline]
pub unsafe fn IoGetCurrentProcess() -> super::super::Foundation::PEPROCESS {
::windows_targets::link!("ntoskrnl.exe" "system" fn IoGetCurrentProcess() -> super::super::Foundation:: PEPROCESS);
IoGetCurrentProcess()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
#[inline]
pub unsafe fn IoGetDeviceDirectory(physicaldeviceobject: *const super::super::Foundation::DEVICE_OBJECT, directorytype: DEVICE_DIRECTORY_TYPE, flags: u32, reserved: *const ::core::ffi::c_void, devicedirectoryhandle: *mut super::super::super::Win32::Foundation::HANDLE) -> ::windows_core::Result<()> {
::windows_targets::link!("ntoskrnl.exe" "system" fn IoGetDeviceDirectory(physicaldeviceobject : *const super::super::Foundation:: DEVICE_OBJECT, directorytype : DEVICE_DIRECTORY_TYPE, flags : u32, reserved : *const ::core::ffi::c_void, devicedirectoryhandle : *mut super::super::super::Win32::Foundation:: HANDLE) -> super::super::super::Win32::Foundation:: NTSTATUS);
IoGetDeviceDirectory(physicaldeviceobject, directorytype, flags, reserved, devicedirectoryhandle).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn IoGetDeviceInterfaceAlias(symboliclinkname: *const super::super::super::Win32::Foundation::UNICODE_STRING, aliasinterfaceclassguid: *const ::windows_core::GUID, aliassymboliclinkname: *mut super::super::super::Win32::Foundation::UNICODE_STRING) -> ::windows_core::Result<()> {
::windows_targets::link!("ntoskrnl.exe" "system" fn IoGetDeviceInterfaceAlias(symboliclinkname : *const super::super::super::Win32::Foundation:: UNICODE_STRING, aliasinterfaceclassguid : *const ::windows_core::GUID, aliassymboliclinkname : *mut super::super::super::Win32::Foundation:: UNICODE_STRING) -> super::super::super::Win32::Foundation:: NTSTATUS);
IoGetDeviceInterfaceAlias(symboliclinkname, aliasinterfaceclassguid, aliassymboliclinkname).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Devices_Properties\"`, `\"Win32_Foundation\"`*"]
#[cfg(all(feature = "Win32_Devices_Properties", feature = "Win32_Foundation"))]
#[inline]
pub unsafe fn IoGetDeviceInterfacePropertyData(symboliclinkname: *const super::super::super::Win32::Foundation::UNICODE_STRING, propertykey: *const super::super::super::Win32::Devices::Properties::DEVPROPKEY, lcid: u32, flags: u32, size: u32, data: *mut ::core::ffi::c_void, requiredsize: *mut u32, r#type: *mut super::super::super::Win32::Devices::Properties::DEVPROPTYPE) -> ::windows_core::Result<()> {
::windows_targets::link!("ntoskrnl.exe" "system" fn IoGetDeviceInterfacePropertyData(symboliclinkname : *const super::super::super::Win32::Foundation:: UNICODE_STRING, propertykey : *const super::super::super::Win32::Devices::Properties:: DEVPROPKEY, lcid : u32, flags : u32, size : u32, data : *mut ::core::ffi::c_void, requiredsize : *mut u32, r#type : *mut super::super::super::Win32::Devices::Properties:: DEVPROPTYPE) -> super::super::super::Win32::Foundation:: NTSTATUS);
IoGetDeviceInterfacePropertyData(symboliclinkname, propertykey, lcid, flags, size, data, requiredsize, r#type).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
#[inline]
pub unsafe fn IoGetDeviceInterfaces(interfaceclassguid: *const ::windows_core::GUID, physicaldeviceobject: ::core::option::Option<*const super::super::Foundation::DEVICE_OBJECT>, flags: u32, symboliclinklist: *mut ::windows_core::PWSTR) -> ::windows_core::Result<()> {
::windows_targets::link!("ntoskrnl.exe" "system" fn IoGetDeviceInterfaces(interfaceclassguid : *const ::windows_core::GUID, physicaldeviceobject : *const super::super::Foundation:: DEVICE_OBJECT, flags : u32, symboliclinklist : *mut ::windows_core::PWSTR) -> super::super::super::Win32::Foundation:: NTSTATUS);
IoGetDeviceInterfaces(interfaceclassguid, ::core::mem::transmute(physicaldeviceobject.unwrap_or(::std::ptr::null())), flags, symboliclinklist).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
#[inline]
pub unsafe fn IoGetDeviceNumaNode(pdo: *const super::super::Foundation::DEVICE_OBJECT, nodenumber: *mut u16) -> ::windows_core::Result<()> {
::windows_targets::link!("ntoskrnl.exe" "system" fn IoGetDeviceNumaNode(pdo : *const super::super::Foundation:: DEVICE_OBJECT, nodenumber : *mut u16) -> super::super::super::Win32::Foundation:: NTSTATUS);
IoGetDeviceNumaNode(pdo, nodenumber).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
#[inline]
pub unsafe fn IoGetDeviceObjectPointer(objectname: *const super::super::super::Win32::Foundation::UNICODE_STRING, desiredaccess: u32, fileobject: *mut *mut super::super::Foundation::FILE_OBJECT, deviceobject: *mut *mut super::super::Foundation::DEVICE_OBJECT) -> ::windows_core::Result<()> {
::windows_targets::link!("ntoskrnl.exe" "system" fn IoGetDeviceObjectPointer(objectname : *const super::super::super::Win32::Foundation:: UNICODE_STRING, desiredaccess : u32, fileobject : *mut *mut super::super::Foundation:: FILE_OBJECT, deviceobject : *mut *mut super::super::Foundation:: DEVICE_OBJECT) -> super::super::super::Win32::Foundation:: NTSTATUS);
IoGetDeviceObjectPointer(objectname, desiredaccess, fileobject, deviceobject).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
#[inline]
pub unsafe fn IoGetDeviceProperty(deviceobject: *const super::super::Foundation::DEVICE_OBJECT, deviceproperty: DEVICE_REGISTRY_PROPERTY, bufferlength: u32, propertybuffer: ::core::option::Option<*mut ::core::ffi::c_void>, resultlength: *mut u32) -> ::windows_core::Result<()> {
::windows_targets::link!("ntoskrnl.exe" "system" fn IoGetDeviceProperty(deviceobject : *const super::super::Foundation:: DEVICE_OBJECT, deviceproperty : DEVICE_REGISTRY_PROPERTY, bufferlength : u32, propertybuffer : *mut ::core::ffi::c_void, resultlength : *mut u32) -> super::super::super::Win32::Foundation:: NTSTATUS);
IoGetDeviceProperty(deviceobject, deviceproperty, bufferlength, ::core::mem::transmute(propertybuffer.unwrap_or(::std::ptr::null_mut())), resultlength).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Devices_Properties\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Devices_Properties", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
#[inline]
pub unsafe fn IoGetDevicePropertyData(pdo: *const super::super::Foundation::DEVICE_OBJECT, propertykey: *const super::super::super::Win32::Devices::Properties::DEVPROPKEY, lcid: u32, flags: u32, size: u32, data: *mut ::core::ffi::c_void, requiredsize: *mut u32, r#type: *mut super::super::super::Win32::Devices::Properties::DEVPROPTYPE) -> ::windows_core::Result<()> {
::windows_targets::link!("ntoskrnl.exe" "system" fn IoGetDevicePropertyData(pdo : *const super::super::Foundation:: DEVICE_OBJECT, propertykey : *const super::super::super::Win32::Devices::Properties:: DEVPROPKEY, lcid : u32, flags : u32, size : u32, data : *mut ::core::ffi::c_void, requiredsize : *mut u32, r#type : *mut super::super::super::Win32::Devices::Properties:: DEVPROPTYPE) -> super::super::super::Win32::Foundation:: NTSTATUS);
IoGetDevicePropertyData(pdo, propertykey, lcid, flags, size, data, requiredsize, r#type).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
#[inline]
pub unsafe fn IoGetDmaAdapter(physicaldeviceobject: ::core::option::Option<*const super::super::Foundation::DEVICE_OBJECT>, devicedescription: *const DEVICE_DESCRIPTION, numberofmapregisters: *mut u32) -> *mut DMA_ADAPTER {
::windows_targets::link!("ntoskrnl.exe" "system" fn IoGetDmaAdapter(physicaldeviceobject : *const super::super::Foundation:: DEVICE_OBJECT, devicedescription : *const DEVICE_DESCRIPTION, numberofmapregisters : *mut u32) -> *mut DMA_ADAPTER);
IoGetDmaAdapter(::core::mem::transmute(physicaldeviceobject.unwrap_or(::std::ptr::null())), devicedescription, numberofmapregisters)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
#[inline]
pub unsafe fn IoGetDriverDirectory(driverobject: *const super::super::Foundation::DRIVER_OBJECT, directorytype: DRIVER_DIRECTORY_TYPE, flags: u32, driverdirectoryhandle: *mut super::super::super::Win32::Foundation::HANDLE) -> ::windows_core::Result<()> {
::windows_targets::link!("ntoskrnl.exe" "system" fn IoGetDriverDirectory(driverobject : *const super::super::Foundation:: DRIVER_OBJECT, directorytype : DRIVER_DIRECTORY_TYPE, flags : u32, driverdirectoryhandle : *mut super::super::super::Win32::Foundation:: HANDLE) -> super::super::super::Win32::Foundation:: NTSTATUS);
IoGetDriverDirectory(driverobject, directorytype, flags, driverdirectoryhandle).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
#[inline]
pub unsafe fn IoGetDriverObjectExtension(driverobject: *const super::super::Foundation::DRIVER_OBJECT, clientidentificationaddress: *const ::core::ffi::c_void) -> *mut ::core::ffi::c_void {
::windows_targets::link!("ntoskrnl.exe" "system" fn IoGetDriverObjectExtension(driverobject : *const super::super::Foundation:: DRIVER_OBJECT, clientidentificationaddress : *const ::core::ffi::c_void) -> *mut ::core::ffi::c_void);
IoGetDriverObjectExtension(driverobject, clientidentificationaddress)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Security\"`*"]
#[cfg(feature = "Win32_Security")]
#[inline]
pub unsafe fn IoGetFileObjectGenericMapping() -> *mut super::super::super::Win32::Security::GENERIC_MAPPING {
::windows_targets::link!("ntoskrnl.exe" "system" fn IoGetFileObjectGenericMapping() -> *mut super::super::super::Win32::Security:: GENERIC_MAPPING);
IoGetFileObjectGenericMapping()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
#[inline]
pub unsafe fn IoGetFsZeroingOffset(irp: *const super::super::Foundation::IRP, zeroingoffset: *mut u32) -> ::windows_core::Result<()> {
::windows_targets::link!("ntoskrnl.exe" "system" fn IoGetFsZeroingOffset(irp : *const super::super::Foundation:: IRP, zeroingoffset : *mut u32) -> super::super::super::Win32::Foundation:: NTSTATUS);
IoGetFsZeroingOffset(irp, zeroingoffset).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[inline]
pub unsafe fn IoGetInitialStack() -> *mut ::core::ffi::c_void {
::windows_targets::link!("ntoskrnl.exe" "system" fn IoGetInitialStack() -> *mut ::core::ffi::c_void);
IoGetInitialStack()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
#[inline]
pub unsafe fn IoGetInitiatorProcess(fileobject: *const super::super::Foundation::FILE_OBJECT) -> super::super::Foundation::PEPROCESS {
::windows_targets::link!("ntoskrnl.exe" "system" fn IoGetInitiatorProcess(fileobject : *const super::super::Foundation:: FILE_OBJECT) -> super::super::Foundation:: PEPROCESS);
IoGetInitiatorProcess(fileobject)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
#[inline]
pub unsafe fn IoGetIoAttributionHandle(irp: *const super::super::Foundation::IRP, ioattributionhandle: *mut *mut ::core::ffi::c_void) -> ::windows_core::Result<()> {
::windows_targets::link!("ntoskrnl.exe" "system" fn IoGetIoAttributionHandle(irp : *const super::super::Foundation:: IRP, ioattributionhandle : *mut *mut ::core::ffi::c_void) -> super::super::super::Win32::Foundation:: NTSTATUS);
IoGetIoAttributionHandle(irp, ioattributionhandle).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
#[inline]
pub unsafe fn IoGetIoPriorityHint(irp: *const super::super::Foundation::IRP) -> super::super::Foundation::IO_PRIORITY_HINT {
::windows_targets::link!("ntoskrnl.exe" "system" fn IoGetIoPriorityHint(irp : *const super::super::Foundation:: IRP) -> super::super::Foundation:: IO_PRIORITY_HINT);
IoGetIoPriorityHint(irp)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn IoGetIommuInterface(version: u32, interfaceout: *mut DMA_IOMMU_INTERFACE) -> ::windows_core::Result<()> {
::windows_targets::link!("ntoskrnl.exe" "system" fn IoGetIommuInterface(version : u32, interfaceout : *mut DMA_IOMMU_INTERFACE) -> super::super::super::Win32::Foundation:: NTSTATUS);
IoGetIommuInterface(version, interfaceout).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn IoGetIommuInterfaceEx(version: u32, flags: u64, interfaceout: *mut DMA_IOMMU_INTERFACE_EX) -> ::windows_core::Result<()> {
::windows_targets::link!("ntoskrnl.exe" "system" fn IoGetIommuInterfaceEx(version : u32, flags : u64, interfaceout : *mut DMA_IOMMU_INTERFACE_EX) -> super::super::super::Win32::Foundation:: NTSTATUS);
IoGetIommuInterfaceEx(version, flags, interfaceout).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
#[inline]
pub unsafe fn IoGetIrpExtraCreateParameter(irp: *const super::super::Foundation::IRP, extracreateparameter: *mut *mut isize) -> ::windows_core::Result<()> {
::windows_targets::link!("ntoskrnl.exe" "system" fn IoGetIrpExtraCreateParameter(irp : *const super::super::Foundation:: IRP, extracreateparameter : *mut *mut isize) -> super::super::super::Win32::Foundation:: NTSTATUS);
IoGetIrpExtraCreateParameter(irp, extracreateparameter).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
#[inline]
pub unsafe fn IoGetPagingIoPriority(irp: *const super::super::Foundation::IRP) -> IO_PAGING_PRIORITY {
::windows_targets::link!("ntoskrnl.exe" "system" fn IoGetPagingIoPriority(irp : *const super::super::Foundation:: IRP) -> IO_PAGING_PRIORITY);
IoGetPagingIoPriority(irp)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
#[inline]
pub unsafe fn IoGetRelatedDeviceObject(fileobject: *const super::super::Foundation::FILE_OBJECT) -> *mut super::super::Foundation::DEVICE_OBJECT {
::windows_targets::link!("ntoskrnl.exe" "system" fn IoGetRelatedDeviceObject(fileobject : *const super::super::Foundation:: FILE_OBJECT) -> *mut super::super::Foundation:: DEVICE_OBJECT);
IoGetRelatedDeviceObject(fileobject)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
#[inline]
pub unsafe fn IoGetSfioStreamIdentifier(fileobject: *const super::super::Foundation::FILE_OBJECT, signature: *const ::core::ffi::c_void) -> *mut ::core::ffi::c_void {
::windows_targets::link!("ntoskrnl.exe" "system" fn IoGetSfioStreamIdentifier(fileobject : *const super::super::Foundation:: FILE_OBJECT, signature : *const ::core::ffi::c_void) -> *mut ::core::ffi::c_void);
IoGetSfioStreamIdentifier(fileobject, signature)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
#[inline]
pub unsafe fn IoGetSilo(fileobject: *const super::super::Foundation::FILE_OBJECT) -> super::super::Foundation::PESILO {
::windows_targets::link!("ntoskrnl.exe" "system" fn IoGetSilo(fileobject : *const super::super::Foundation:: FILE_OBJECT) -> super::super::Foundation:: PESILO);
IoGetSilo(fileobject)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
#[inline]
pub unsafe fn IoGetSiloParameters(fileobject: *const super::super::Foundation::FILE_OBJECT) -> *mut IO_FOEXT_SILO_PARAMETERS {
::windows_targets::link!("ntoskrnl.exe" "system" fn IoGetSiloParameters(fileobject : *const super::super::Foundation:: FILE_OBJECT) -> *mut IO_FOEXT_SILO_PARAMETERS);
IoGetSiloParameters(fileobject)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[inline]
pub unsafe fn IoGetStackLimits(lowlimit: *mut usize, highlimit: *mut usize) {
::windows_targets::link!("ntoskrnl.exe" "system" fn IoGetStackLimits(lowlimit : *mut usize, highlimit : *mut usize) -> ());
IoGetStackLimits(lowlimit, highlimit)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
#[inline]
pub unsafe fn IoGetTopLevelIrp() -> *mut super::super::Foundation::IRP {
::windows_targets::link!("ntoskrnl.exe" "system" fn IoGetTopLevelIrp() -> *mut super::super::Foundation:: IRP);
IoGetTopLevelIrp()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
#[inline]
pub unsafe fn IoGetTransactionParameterBlock(fileobject: *const super::super::Foundation::FILE_OBJECT) -> *mut TXN_PARAMETER_BLOCK {
::windows_targets::link!("ntoskrnl.exe" "system" fn IoGetTransactionParameterBlock(fileobject : *const super::super::Foundation:: FILE_OBJECT) -> *mut TXN_PARAMETER_BLOCK);
IoGetTransactionParameterBlock(fileobject)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
#[inline]
pub unsafe fn IoIncrementKeepAliveCount<P0>(fileobject: *mut super::super::Foundation::FILE_OBJECT, process: P0) -> ::windows_core::Result<()>
where
P0: ::windows_core::IntoParam<super::super::Foundation::PEPROCESS>,
{
::windows_targets::link!("ntoskrnl.exe" "system" fn IoIncrementKeepAliveCount(fileobject : *mut super::super::Foundation:: FILE_OBJECT, process : super::super::Foundation:: PEPROCESS) -> super::super::super::Win32::Foundation:: NTSTATUS);
IoIncrementKeepAliveCount(fileobject, process.into_param().abi()).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
#[inline]
pub unsafe fn IoInitializeIrp(irp: *mut super::super::Foundation::IRP, packetsize: u16, stacksize: i8) {
::windows_targets::link!("ntoskrnl.exe" "system" fn IoInitializeIrp(irp : *mut super::super::Foundation:: IRP, packetsize : u16, stacksize : i8) -> ());
IoInitializeIrp(irp, packetsize, stacksize)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
#[inline]
pub unsafe fn IoInitializeIrpEx(irp: *mut super::super::Foundation::IRP, deviceobject: ::core::option::Option<*const super::super::Foundation::DEVICE_OBJECT>, packetsize: u16, stacksize: i8) {
::windows_targets::link!("ntoskrnl.exe" "system" fn IoInitializeIrpEx(irp : *mut super::super::Foundation:: IRP, deviceobject : *const super::super::Foundation:: DEVICE_OBJECT, packetsize : u16, stacksize : i8) -> ());
IoInitializeIrpEx(irp, ::core::mem::transmute(deviceobject.unwrap_or(::std::ptr::null())), packetsize, stacksize)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
#[inline]
pub unsafe fn IoInitializeRemoveLockEx(lock: *mut IO_REMOVE_LOCK, allocatetag: u32, maxlockedminutes: u32, highwatermark: u32, remlocksize: u32) {
::windows_targets::link!("ntoskrnl.exe" "system" fn IoInitializeRemoveLockEx(lock : *mut IO_REMOVE_LOCK, allocatetag : u32, maxlockedminutes : u32, highwatermark : u32, remlocksize : u32) -> ());
IoInitializeRemoveLockEx(lock, allocatetag, maxlockedminutes, highwatermark, remlocksize)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
#[inline]
pub unsafe fn IoInitializeTimer(deviceobject: *const super::super::Foundation::DEVICE_OBJECT, timerroutine: PIO_TIMER_ROUTINE, context: ::core::option::Option<*const ::core::ffi::c_void>) -> ::windows_core::Result<()> {
::windows_targets::link!("ntoskrnl.exe" "system" fn IoInitializeTimer(deviceobject : *const super::super::Foundation:: DEVICE_OBJECT, timerroutine : PIO_TIMER_ROUTINE, context : *const ::core::ffi::c_void) -> super::super::super::Win32::Foundation:: NTSTATUS);
IoInitializeTimer(deviceobject, timerroutine, ::core::mem::transmute(context.unwrap_or(::std::ptr::null()))).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`*"]
#[cfg(feature = "Wdk_Foundation")]
#[inline]
pub unsafe fn IoInitializeWorkItem<P0>(ioobject: *const ::core::ffi::c_void, ioworkitem: P0)
where
P0: ::windows_core::IntoParam<super::super::Foundation::PIO_WORKITEM>,
{
::windows_targets::link!("ntoskrnl.exe" "system" fn IoInitializeWorkItem(ioobject : *const ::core::ffi::c_void, ioworkitem : super::super::Foundation:: PIO_WORKITEM) -> ());
IoInitializeWorkItem(ioobject, ioworkitem.into_param().abi())
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
#[inline]
pub unsafe fn IoInvalidateDeviceRelations(deviceobject: *const super::super::Foundation::DEVICE_OBJECT, r#type: DEVICE_RELATION_TYPE) {
::windows_targets::link!("ntoskrnl.exe" "system" fn IoInvalidateDeviceRelations(deviceobject : *const super::super::Foundation:: DEVICE_OBJECT, r#type : DEVICE_RELATION_TYPE) -> ());
IoInvalidateDeviceRelations(deviceobject, r#type)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
#[inline]
pub unsafe fn IoInvalidateDeviceState(physicaldeviceobject: *const super::super::Foundation::DEVICE_OBJECT) {
::windows_targets::link!("ntoskrnl.exe" "system" fn IoInvalidateDeviceState(physicaldeviceobject : *const super::super::Foundation:: DEVICE_OBJECT) -> ());
IoInvalidateDeviceState(physicaldeviceobject)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
#[inline]
pub unsafe fn IoIs32bitProcess(irp: ::core::option::Option<*const super::super::Foundation::IRP>) -> super::super::super::Win32::Foundation::BOOLEAN {
::windows_targets::link!("ntoskrnl.exe" "system" fn IoIs32bitProcess(irp : *const super::super::Foundation:: IRP) -> super::super::super::Win32::Foundation:: BOOLEAN);
IoIs32bitProcess(::core::mem::transmute(irp.unwrap_or(::std::ptr::null())))
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
#[inline]
pub unsafe fn IoIsFileObjectIgnoringSharing(fileobject: *const super::super::Foundation::FILE_OBJECT) -> super::super::super::Win32::Foundation::BOOLEAN {
::windows_targets::link!("ntoskrnl.exe" "system" fn IoIsFileObjectIgnoringSharing(fileobject : *const super::super::Foundation:: FILE_OBJECT) -> super::super::super::Win32::Foundation:: BOOLEAN);
IoIsFileObjectIgnoringSharing(fileobject)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
#[inline]
pub unsafe fn IoIsFileOriginRemote(fileobject: *const super::super::Foundation::FILE_OBJECT) -> super::super::super::Win32::Foundation::BOOLEAN {
::windows_targets::link!("ntoskrnl.exe" "system" fn IoIsFileOriginRemote(fileobject : *const super::super::Foundation:: FILE_OBJECT) -> super::super::super::Win32::Foundation:: BOOLEAN);
IoIsFileOriginRemote(fileobject)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
#[inline]
pub unsafe fn IoIsInitiator32bitProcess(irp: *const super::super::Foundation::IRP) -> super::super::super::Win32::Foundation::BOOLEAN {
::windows_targets::link!("ntoskrnl.exe" "system" fn IoIsInitiator32bitProcess(irp : *const super::super::Foundation:: IRP) -> super::super::super::Win32::Foundation:: BOOLEAN);
IoIsInitiator32bitProcess(irp)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn IoIsValidIrpStatus<P0>(status: P0) -> u32
where
P0: ::windows_core::IntoParam<super::super::super::Win32::Foundation::NTSTATUS>,
{
::windows_targets::link!("ntoskrnl.exe" "system" fn IoIsValidIrpStatus(status : super::super::super::Win32::Foundation:: NTSTATUS) -> u32);
IoIsValidIrpStatus(status.into_param().abi())
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn IoIsWdmVersionAvailable(majorversion: u8, minorversion: u8) -> super::super::super::Win32::Foundation::BOOLEAN {
::windows_targets::link!("ntoskrnl.exe" "system" fn IoIsWdmVersionAvailable(majorversion : u8, minorversion : u8) -> super::super::super::Win32::Foundation:: BOOLEAN);
IoIsWdmVersionAvailable(majorversion, minorversion)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
#[inline]
pub unsafe fn IoMakeAssociatedIrp(irp: *const super::super::Foundation::IRP, stacksize: i8) -> *mut super::super::Foundation::IRP {
::windows_targets::link!("ntoskrnl.exe" "system" fn IoMakeAssociatedIrp(irp : *const super::super::Foundation:: IRP, stacksize : i8) -> *mut super::super::Foundation:: IRP);
IoMakeAssociatedIrp(irp, stacksize)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
#[inline]
pub unsafe fn IoMakeAssociatedIrpEx(irp: *const super::super::Foundation::IRP, deviceobject: *const super::super::Foundation::DEVICE_OBJECT, stacksize: i8) -> *mut super::super::Foundation::IRP {
::windows_targets::link!("ntoskrnl.exe" "system" fn IoMakeAssociatedIrpEx(irp : *const super::super::Foundation:: IRP, deviceobject : *const super::super::Foundation:: DEVICE_OBJECT, stacksize : i8) -> *mut super::super::Foundation:: IRP);
IoMakeAssociatedIrpEx(irp, deviceobject, stacksize)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`, `\"Win32_Storage_IscsiDisc\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation", feature = "Win32_Storage_IscsiDisc"))]
#[inline]
pub unsafe fn IoMapTransfer<P0>(adapterobject: *const super::super::super::Win32::Storage::IscsiDisc::_ADAPTER_OBJECT, mdl: *const super::super::Foundation::MDL, mapregisterbase: *const ::core::ffi::c_void, currentva: *const ::core::ffi::c_void, length: *mut u32, writetodevice: P0) -> i64
where
P0: ::windows_core::IntoParam<super::super::super::Win32::Foundation::BOOLEAN>,
{
::windows_targets::link!("hal.dll" "system" fn IoMapTransfer(adapterobject : *const super::super::super::Win32::Storage::IscsiDisc:: _ADAPTER_OBJECT, mdl : *const super::super::Foundation:: MDL, mapregisterbase : *const ::core::ffi::c_void, currentva : *const ::core::ffi::c_void, length : *mut u32, writetodevice : super::super::super::Win32::Foundation:: BOOLEAN) -> i64);
IoMapTransfer(adapterobject, mdl, mapregisterbase, currentva, length, writetodevice.into_param().abi())
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn IoOpenDeviceInterfaceRegistryKey(symboliclinkname: *const super::super::super::Win32::Foundation::UNICODE_STRING, desiredaccess: u32, deviceinterfaceregkey: *mut super::super::super::Win32::Foundation::HANDLE) -> ::windows_core::Result<()> {
::windows_targets::link!("ntoskrnl.exe" "system" fn IoOpenDeviceInterfaceRegistryKey(symboliclinkname : *const super::super::super::Win32::Foundation:: UNICODE_STRING, desiredaccess : u32, deviceinterfaceregkey : *mut super::super::super::Win32::Foundation:: HANDLE) -> super::super::super::Win32::Foundation:: NTSTATUS);
IoOpenDeviceInterfaceRegistryKey(symboliclinkname, desiredaccess, deviceinterfaceregkey).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
#[inline]
pub unsafe fn IoOpenDeviceRegistryKey(deviceobject: *const super::super::Foundation::DEVICE_OBJECT, devinstkeytype: u32, desiredaccess: u32, deviceregkey: *mut super::super::super::Win32::Foundation::HANDLE) -> ::windows_core::Result<()> {
::windows_targets::link!("ntoskrnl.exe" "system" fn IoOpenDeviceRegistryKey(deviceobject : *const super::super::Foundation:: DEVICE_OBJECT, devinstkeytype : u32, desiredaccess : u32, deviceregkey : *mut super::super::super::Win32::Foundation:: HANDLE) -> super::super::super::Win32::Foundation:: NTSTATUS);
IoOpenDeviceRegistryKey(deviceobject, devinstkeytype, desiredaccess, deviceregkey).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
#[inline]
pub unsafe fn IoOpenDriverRegistryKey(driverobject: *const super::super::Foundation::DRIVER_OBJECT, regkeytype: DRIVER_REGKEY_TYPE, desiredaccess: u32, flags: u32, driverregkey: *mut super::super::super::Win32::Foundation::HANDLE) -> ::windows_core::Result<()> {
::windows_targets::link!("ntoskrnl.exe" "system" fn IoOpenDriverRegistryKey(driverobject : *const super::super::Foundation:: DRIVER_OBJECT, regkeytype : DRIVER_REGKEY_TYPE, desiredaccess : u32, flags : u32, driverregkey : *mut super::super::super::Win32::Foundation:: HANDLE) -> super::super::super::Win32::Foundation:: NTSTATUS);
IoOpenDriverRegistryKey(driverobject, regkeytype, desiredaccess, flags, driverregkey).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
#[inline]
pub unsafe fn IoPropagateActivityIdToThread(irp: *const super::super::Foundation::IRP, propagatedid: *mut ::windows_core::GUID, originalid: *mut *mut ::windows_core::GUID) -> ::windows_core::Result<()> {
::windows_targets::link!("ntoskrnl.exe" "system" fn IoPropagateActivityIdToThread(irp : *const super::super::Foundation:: IRP, propagatedid : *mut ::windows_core::GUID, originalid : *mut *mut ::windows_core::GUID) -> super::super::super::Win32::Foundation:: NTSTATUS);
IoPropagateActivityIdToThread(irp, propagatedid, originalid).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn IoQueryDeviceDescription(bustype: ::core::option::Option<*const INTERFACE_TYPE>, busnumber: ::core::option::Option<*const u32>, controllertype: ::core::option::Option<*const CONFIGURATION_TYPE>, controllernumber: ::core::option::Option<*const u32>, peripheraltype: ::core::option::Option<*const CONFIGURATION_TYPE>, peripheralnumber: ::core::option::Option<*const u32>, calloutroutine: PIO_QUERY_DEVICE_ROUTINE, context: ::core::option::Option<*mut ::core::ffi::c_void>) -> ::windows_core::Result<()> {
::windows_targets::link!("ntoskrnl.exe" "system" fn IoQueryDeviceDescription(bustype : *const INTERFACE_TYPE, busnumber : *const u32, controllertype : *const CONFIGURATION_TYPE, controllernumber : *const u32, peripheraltype : *const CONFIGURATION_TYPE, peripheralnumber : *const u32, calloutroutine : PIO_QUERY_DEVICE_ROUTINE, context : *mut ::core::ffi::c_void) -> super::super::super::Win32::Foundation:: NTSTATUS);
IoQueryDeviceDescription(
::core::mem::transmute(bustype.unwrap_or(::std::ptr::null())),
::core::mem::transmute(busnumber.unwrap_or(::std::ptr::null())),
::core::mem::transmute(controllertype.unwrap_or(::std::ptr::null())),
::core::mem::transmute(controllernumber.unwrap_or(::std::ptr::null())),
::core::mem::transmute(peripheraltype.unwrap_or(::std::ptr::null())),
::core::mem::transmute(peripheralnumber.unwrap_or(::std::ptr::null())),
calloutroutine,
::core::mem::transmute(context.unwrap_or(::std::ptr::null_mut())),
)
.ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
#[inline]
pub unsafe fn IoQueryFullDriverPath(driverobject: *const super::super::Foundation::DRIVER_OBJECT, fullpath: *mut super::super::super::Win32::Foundation::UNICODE_STRING) -> ::windows_core::Result<()> {
::windows_targets::link!("ntoskrnl.exe" "system" fn IoQueryFullDriverPath(driverobject : *const super::super::Foundation:: DRIVER_OBJECT, fullpath : *mut super::super::super::Win32::Foundation:: UNICODE_STRING) -> super::super::super::Win32::Foundation:: NTSTATUS);
IoQueryFullDriverPath(driverobject, fullpath).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation", feature = "Win32_System_IO", feature = "Win32_System_WindowsProgramming"))]
#[inline]
pub unsafe fn IoQueryInformationByName(objectattributes: *const super::super::Foundation::OBJECT_ATTRIBUTES, iostatusblock: *mut super::super::super::Win32::System::IO::IO_STATUS_BLOCK, fileinformation: *mut ::core::ffi::c_void, length: u32, fileinformationclass: super::super::super::Win32::System::WindowsProgramming::FILE_INFORMATION_CLASS, options: u32, drivercontext: ::core::option::Option<*const IO_DRIVER_CREATE_CONTEXT>) -> ::windows_core::Result<()> {
::windows_targets::link!("ntoskrnl.exe" "system" fn IoQueryInformationByName(objectattributes : *const super::super::Foundation:: OBJECT_ATTRIBUTES, iostatusblock : *mut super::super::super::Win32::System::IO:: IO_STATUS_BLOCK, fileinformation : *mut ::core::ffi::c_void, length : u32, fileinformationclass : super::super::super::Win32::System::WindowsProgramming:: FILE_INFORMATION_CLASS, options : u32, drivercontext : *const IO_DRIVER_CREATE_CONTEXT) -> super::super::super::Win32::Foundation:: NTSTATUS);
IoQueryInformationByName(objectattributes, iostatusblock, fileinformation, length, fileinformationclass, options, ::core::mem::transmute(drivercontext.unwrap_or(::std::ptr::null()))).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
#[inline]
pub unsafe fn IoQueryKsrPersistentMemorySize(driverobject: *const super::super::Foundation::DRIVER_OBJECT, physicaldeviceobject: ::core::option::Option<*const super::super::Foundation::DEVICE_OBJECT>, buffersize: *mut usize) -> ::windows_core::Result<()> {
::windows_targets::link!("ntoskrnl.exe" "system" fn IoQueryKsrPersistentMemorySize(driverobject : *const super::super::Foundation:: DRIVER_OBJECT, physicaldeviceobject : *const super::super::Foundation:: DEVICE_OBJECT, buffersize : *mut usize) -> super::super::super::Win32::Foundation:: NTSTATUS);
IoQueryKsrPersistentMemorySize(driverobject, ::core::mem::transmute(physicaldeviceobject.unwrap_or(::std::ptr::null())), buffersize).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
#[inline]
pub unsafe fn IoQueryKsrPersistentMemorySizeEx(driverobject: *const super::super::Foundation::DRIVER_OBJECT, physicaldeviceobject: ::core::option::Option<*const super::super::Foundation::DEVICE_OBJECT>, physicaldeviceid: ::core::option::Option<*const super::super::super::Win32::Foundation::UNICODE_STRING>, datatag: ::core::option::Option<*const u16>, dataversion: ::core::option::Option<*mut u32>, buffersize: *mut usize) -> ::windows_core::Result<()> {
::windows_targets::link!("ntoskrnl.exe" "system" fn IoQueryKsrPersistentMemorySizeEx(driverobject : *const super::super::Foundation:: DRIVER_OBJECT, physicaldeviceobject : *const super::super::Foundation:: DEVICE_OBJECT, physicaldeviceid : *const super::super::super::Win32::Foundation:: UNICODE_STRING, datatag : *const u16, dataversion : *mut u32, buffersize : *mut usize) -> super::super::super::Win32::Foundation:: NTSTATUS);
IoQueryKsrPersistentMemorySizeEx(driverobject, ::core::mem::transmute(physicaldeviceobject.unwrap_or(::std::ptr::null())), ::core::mem::transmute(physicaldeviceid.unwrap_or(::std::ptr::null())), ::core::mem::transmute(datatag.unwrap_or(::std::ptr::null())), ::core::mem::transmute(dataversion.unwrap_or(::std::ptr::null_mut())), buffersize).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`*"]
#[cfg(feature = "Wdk_Foundation")]
#[inline]
pub unsafe fn IoQueueWorkItem<P0>(ioworkitem: P0, workerroutine: PIO_WORKITEM_ROUTINE, queuetype: WORK_QUEUE_TYPE, context: ::core::option::Option<*const ::core::ffi::c_void>)
where
P0: ::windows_core::IntoParam<super::super::Foundation::PIO_WORKITEM>,
{
::windows_targets::link!("ntoskrnl.exe" "system" fn IoQueueWorkItem(ioworkitem : super::super::Foundation:: PIO_WORKITEM, workerroutine : PIO_WORKITEM_ROUTINE, queuetype : WORK_QUEUE_TYPE, context : *const ::core::ffi::c_void) -> ());
IoQueueWorkItem(ioworkitem.into_param().abi(), workerroutine, queuetype, ::core::mem::transmute(context.unwrap_or(::std::ptr::null())))
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`*"]
#[cfg(feature = "Wdk_Foundation")]
#[inline]
pub unsafe fn IoQueueWorkItemEx<P0>(ioworkitem: P0, workerroutine: PIO_WORKITEM_ROUTINE_EX, queuetype: WORK_QUEUE_TYPE, context: ::core::option::Option<*const ::core::ffi::c_void>)
where
P0: ::windows_core::IntoParam<super::super::Foundation::PIO_WORKITEM>,
{
::windows_targets::link!("ntoskrnl.exe" "system" fn IoQueueWorkItemEx(ioworkitem : super::super::Foundation:: PIO_WORKITEM, workerroutine : PIO_WORKITEM_ROUTINE_EX, queuetype : WORK_QUEUE_TYPE, context : *const ::core::ffi::c_void) -> ());
IoQueueWorkItemEx(ioworkitem.into_param().abi(), workerroutine, queuetype, ::core::mem::transmute(context.unwrap_or(::std::ptr::null())))
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
#[inline]
pub unsafe fn IoRaiseHardError(irp: *const super::super::Foundation::IRP, vpb: ::core::option::Option<*const super::super::Foundation::VPB>, realdeviceobject: *const super::super::Foundation::DEVICE_OBJECT) {
::windows_targets::link!("ntoskrnl.exe" "system" fn IoRaiseHardError(irp : *const super::super::Foundation:: IRP, vpb : *const super::super::Foundation:: VPB, realdeviceobject : *const super::super::Foundation:: DEVICE_OBJECT) -> ());
IoRaiseHardError(irp, ::core::mem::transmute(vpb.unwrap_or(::std::ptr::null())), realdeviceobject)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))]
#[inline]
pub unsafe fn IoRaiseInformationalHardError<P0, P1>(errorstatus: P0, string: ::core::option::Option<*const super::super::super::Win32::Foundation::UNICODE_STRING>, thread: P1) -> super::super::super::Win32::Foundation::BOOLEAN
where
P0: ::windows_core::IntoParam<super::super::super::Win32::Foundation::NTSTATUS>,
P1: ::windows_core::IntoParam<super::super::Foundation::PKTHREAD>,
{
::windows_targets::link!("ntoskrnl.exe" "system" fn IoRaiseInformationalHardError(errorstatus : super::super::super::Win32::Foundation:: NTSTATUS, string : *const super::super::super::Win32::Foundation:: UNICODE_STRING, thread : super::super::Foundation:: PKTHREAD) -> super::super::super::Win32::Foundation:: BOOLEAN);
IoRaiseInformationalHardError(errorstatus.into_param().abi(), ::core::mem::transmute(string.unwrap_or(::std::ptr::null())), thread.into_param().abi())
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
#[inline]
pub unsafe fn IoReadDiskSignature(deviceobject: *const super::super::Foundation::DEVICE_OBJECT, bytespersector: u32, signature: *mut DISK_SIGNATURE) -> ::windows_core::Result<()> {
::windows_targets::link!("ntoskrnl.exe" "system" fn IoReadDiskSignature(deviceobject : *const super::super::Foundation:: DEVICE_OBJECT, bytespersector : u32, signature : *mut DISK_SIGNATURE) -> super::super::super::Win32::Foundation:: NTSTATUS);
IoReadDiskSignature(deviceobject, bytespersector, signature).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Ioctl\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Ioctl", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
#[inline]
pub unsafe fn IoReadPartitionTable<P0>(deviceobject: *const super::super::Foundation::DEVICE_OBJECT, sectorsize: u32, returnrecognizedpartitions: P0, partitionbuffer: *mut *mut super::super::super::Win32::System::Ioctl::DRIVE_LAYOUT_INFORMATION) -> ::windows_core::Result<()>
where
P0: ::windows_core::IntoParam<super::super::super::Win32::Foundation::BOOLEAN>,
{
::windows_targets::link!("ntoskrnl.exe" "system" fn IoReadPartitionTable(deviceobject : *const super::super::Foundation:: DEVICE_OBJECT, sectorsize : u32, returnrecognizedpartitions : super::super::super::Win32::Foundation:: BOOLEAN, partitionbuffer : *mut *mut super::super::super::Win32::System::Ioctl:: DRIVE_LAYOUT_INFORMATION) -> super::super::super::Win32::Foundation:: NTSTATUS);
IoReadPartitionTable(deviceobject, sectorsize, returnrecognizedpartitions.into_param().abi(), partitionbuffer).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Ioctl\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Ioctl", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
#[inline]
pub unsafe fn IoReadPartitionTableEx(deviceobject: *const super::super::Foundation::DEVICE_OBJECT, drivelayout: *mut *mut super::super::super::Win32::System::Ioctl::DRIVE_LAYOUT_INFORMATION_EX) -> ::windows_core::Result<()> {
::windows_targets::link!("ntoskrnl.exe" "system" fn IoReadPartitionTableEx(deviceobject : *const super::super::Foundation:: DEVICE_OBJECT, drivelayout : *mut *mut super::super::super::Win32::System::Ioctl:: DRIVE_LAYOUT_INFORMATION_EX) -> super::super::super::Win32::Foundation:: NTSTATUS);
IoReadPartitionTableEx(deviceobject, drivelayout).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn IoRecordIoAttribution(opaquehandle: *mut ::core::ffi::c_void, attributioninformation: *const IO_ATTRIBUTION_INFORMATION) -> ::windows_core::Result<()> {
::windows_targets::link!("ntoskrnl.exe" "system" fn IoRecordIoAttribution(opaquehandle : *mut ::core::ffi::c_void, attributioninformation : *const IO_ATTRIBUTION_INFORMATION) -> super::super::super::Win32::Foundation:: NTSTATUS);
IoRecordIoAttribution(opaquehandle, attributioninformation).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[inline]
pub unsafe fn IoRegisterBootDriverCallback(callbackfunction: PBOOT_DRIVER_CALLBACK_FUNCTION, callbackcontext: ::core::option::Option<*const ::core::ffi::c_void>) -> *mut ::core::ffi::c_void {
::windows_targets::link!("ntoskrnl.exe" "system" fn IoRegisterBootDriverCallback(callbackfunction : PBOOT_DRIVER_CALLBACK_FUNCTION, callbackcontext : *const ::core::ffi::c_void) -> *mut ::core::ffi::c_void);
IoRegisterBootDriverCallback(callbackfunction, ::core::mem::transmute(callbackcontext.unwrap_or(::std::ptr::null())))
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
#[inline]
pub unsafe fn IoRegisterBootDriverReinitialization(driverobject: *const super::super::Foundation::DRIVER_OBJECT, driverreinitializationroutine: PDRIVER_REINITIALIZE, context: ::core::option::Option<*const ::core::ffi::c_void>) {
::windows_targets::link!("ntoskrnl.exe" "system" fn IoRegisterBootDriverReinitialization(driverobject : *const super::super::Foundation:: DRIVER_OBJECT, driverreinitializationroutine : PDRIVER_REINITIALIZE, context : *const ::core::ffi::c_void) -> ());
IoRegisterBootDriverReinitialization(driverobject, driverreinitializationroutine, ::core::mem::transmute(context.unwrap_or(::std::ptr::null())))
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn IoRegisterContainerNotification(notificationclass: IO_CONTAINER_NOTIFICATION_CLASS, callbackfunction: PIO_CONTAINER_NOTIFICATION_FUNCTION, notificationinformation: ::core::option::Option<*const ::core::ffi::c_void>, notificationinformationlength: u32, callbackregistration: *mut ::core::ffi::c_void) -> ::windows_core::Result<()> {
::windows_targets::link!("ntoskrnl.exe" "system" fn IoRegisterContainerNotification(notificationclass : IO_CONTAINER_NOTIFICATION_CLASS, callbackfunction : PIO_CONTAINER_NOTIFICATION_FUNCTION, notificationinformation : *const ::core::ffi::c_void, notificationinformationlength : u32, callbackregistration : *mut ::core::ffi::c_void) -> super::super::super::Win32::Foundation:: NTSTATUS);
IoRegisterContainerNotification(notificationclass, callbackfunction, ::core::mem::transmute(notificationinformation.unwrap_or(::std::ptr::null())), notificationinformationlength, callbackregistration).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
#[inline]
pub unsafe fn IoRegisterDeviceInterface(physicaldeviceobject: *const super::super::Foundation::DEVICE_OBJECT, interfaceclassguid: *const ::windows_core::GUID, referencestring: ::core::option::Option<*const super::super::super::Win32::Foundation::UNICODE_STRING>, symboliclinkname: *mut super::super::super::Win32::Foundation::UNICODE_STRING) -> ::windows_core::Result<()> {
::windows_targets::link!("ntoskrnl.exe" "system" fn IoRegisterDeviceInterface(physicaldeviceobject : *const super::super::Foundation:: DEVICE_OBJECT, interfaceclassguid : *const ::windows_core::GUID, referencestring : *const super::super::super::Win32::Foundation:: UNICODE_STRING, symboliclinkname : *mut super::super::super::Win32::Foundation:: UNICODE_STRING) -> super::super::super::Win32::Foundation:: NTSTATUS);
IoRegisterDeviceInterface(physicaldeviceobject, interfaceclassguid, ::core::mem::transmute(referencestring.unwrap_or(::std::ptr::null())), symboliclinkname).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
#[inline]
pub unsafe fn IoRegisterDriverReinitialization(driverobject: *const super::super::Foundation::DRIVER_OBJECT, driverreinitializationroutine: PDRIVER_REINITIALIZE, context: ::core::option::Option<*const ::core::ffi::c_void>) {
::windows_targets::link!("ntoskrnl.exe" "system" fn IoRegisterDriverReinitialization(driverobject : *const super::super::Foundation:: DRIVER_OBJECT, driverreinitializationroutine : PDRIVER_REINITIALIZE, context : *const ::core::ffi::c_void) -> ());
IoRegisterDriverReinitialization(driverobject, driverreinitializationroutine, ::core::mem::transmute(context.unwrap_or(::std::ptr::null())))
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
#[inline]
pub unsafe fn IoRegisterLastChanceShutdownNotification(deviceobject: *const super::super::Foundation::DEVICE_OBJECT) -> ::windows_core::Result<()> {
::windows_targets::link!("ntoskrnl.exe" "system" fn IoRegisterLastChanceShutdownNotification(deviceobject : *const super::super::Foundation:: DEVICE_OBJECT) -> super::super::super::Win32::Foundation:: NTSTATUS);
IoRegisterLastChanceShutdownNotification(deviceobject).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
#[inline]
pub unsafe fn IoRegisterPlugPlayNotification(eventcategory: IO_NOTIFICATION_EVENT_CATEGORY, eventcategoryflags: u32, eventcategorydata: ::core::option::Option<*const ::core::ffi::c_void>, driverobject: *const super::super::Foundation::DRIVER_OBJECT, callbackroutine: PDRIVER_NOTIFICATION_CALLBACK_ROUTINE, context: ::core::option::Option<*mut ::core::ffi::c_void>, notificationentry: *mut *mut ::core::ffi::c_void) -> ::windows_core::Result<()> {
::windows_targets::link!("ntoskrnl.exe" "system" fn IoRegisterPlugPlayNotification(eventcategory : IO_NOTIFICATION_EVENT_CATEGORY, eventcategoryflags : u32, eventcategorydata : *const ::core::ffi::c_void, driverobject : *const super::super::Foundation:: DRIVER_OBJECT, callbackroutine : PDRIVER_NOTIFICATION_CALLBACK_ROUTINE, context : *mut ::core::ffi::c_void, notificationentry : *mut *mut ::core::ffi::c_void) -> super::super::super::Win32::Foundation:: NTSTATUS);
IoRegisterPlugPlayNotification(eventcategory, eventcategoryflags, ::core::mem::transmute(eventcategorydata.unwrap_or(::std::ptr::null())), driverobject, callbackroutine, ::core::mem::transmute(context.unwrap_or(::std::ptr::null_mut())), notificationentry).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
#[inline]
pub unsafe fn IoRegisterShutdownNotification(deviceobject: *const super::super::Foundation::DEVICE_OBJECT) -> ::windows_core::Result<()> {
::windows_targets::link!("ntoskrnl.exe" "system" fn IoRegisterShutdownNotification(deviceobject : *const super::super::Foundation:: DEVICE_OBJECT) -> super::super::super::Win32::Foundation:: NTSTATUS);
IoRegisterShutdownNotification(deviceobject).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[inline]
pub unsafe fn IoReleaseCancelSpinLock(irql: u8) {
::windows_targets::link!("ntoskrnl.exe" "system" fn IoReleaseCancelSpinLock(irql : u8) -> ());
IoReleaseCancelSpinLock(irql)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
#[inline]
pub unsafe fn IoReleaseRemoveLockAndWaitEx(removelock: *mut IO_REMOVE_LOCK, tag: ::core::option::Option<*const ::core::ffi::c_void>, remlocksize: u32) {
::windows_targets::link!("ntoskrnl.exe" "system" fn IoReleaseRemoveLockAndWaitEx(removelock : *mut IO_REMOVE_LOCK, tag : *const ::core::ffi::c_void, remlocksize : u32) -> ());
IoReleaseRemoveLockAndWaitEx(removelock, ::core::mem::transmute(tag.unwrap_or(::std::ptr::null())), remlocksize)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
#[inline]
pub unsafe fn IoReleaseRemoveLockEx(removelock: *mut IO_REMOVE_LOCK, tag: ::core::option::Option<*const ::core::ffi::c_void>, remlocksize: u32) {
::windows_targets::link!("ntoskrnl.exe" "system" fn IoReleaseRemoveLockEx(removelock : *mut IO_REMOVE_LOCK, tag : *const ::core::ffi::c_void, remlocksize : u32) -> ());
IoReleaseRemoveLockEx(removelock, ::core::mem::transmute(tag.unwrap_or(::std::ptr::null())), remlocksize)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
#[inline]
pub unsafe fn IoRemoveLinkShareAccess(fileobject: *const super::super::Foundation::FILE_OBJECT, shareaccess: *mut SHARE_ACCESS, linkshareaccess: ::core::option::Option<*mut LINK_SHARE_ACCESS>) {
::windows_targets::link!("ntoskrnl.exe" "system" fn IoRemoveLinkShareAccess(fileobject : *const super::super::Foundation:: FILE_OBJECT, shareaccess : *mut SHARE_ACCESS, linkshareaccess : *mut LINK_SHARE_ACCESS) -> ());
IoRemoveLinkShareAccess(fileobject, shareaccess, ::core::mem::transmute(linkshareaccess.unwrap_or(::std::ptr::null_mut())))
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
#[inline]
pub unsafe fn IoRemoveLinkShareAccessEx(fileobject: *const super::super::Foundation::FILE_OBJECT, shareaccess: *mut SHARE_ACCESS, linkshareaccess: ::core::option::Option<*mut LINK_SHARE_ACCESS>, ioshareaccessflags: u32) {
::windows_targets::link!("ntoskrnl.exe" "system" fn IoRemoveLinkShareAccessEx(fileobject : *const super::super::Foundation:: FILE_OBJECT, shareaccess : *mut SHARE_ACCESS, linkshareaccess : *mut LINK_SHARE_ACCESS, ioshareaccessflags : u32) -> ());
IoRemoveLinkShareAccessEx(fileobject, shareaccess, ::core::mem::transmute(linkshareaccess.unwrap_or(::std::ptr::null_mut())), ioshareaccessflags)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
#[inline]
pub unsafe fn IoRemoveShareAccess(fileobject: *const super::super::Foundation::FILE_OBJECT, shareaccess: *mut SHARE_ACCESS) {
::windows_targets::link!("ntoskrnl.exe" "system" fn IoRemoveShareAccess(fileobject : *const super::super::Foundation:: FILE_OBJECT, shareaccess : *mut SHARE_ACCESS) -> ());
IoRemoveShareAccess(fileobject, shareaccess)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
#[inline]
pub unsafe fn IoReplacePartitionUnit(targetpdo: *const super::super::Foundation::DEVICE_OBJECT, sparepdo: *const super::super::Foundation::DEVICE_OBJECT, flags: u32) -> ::windows_core::Result<()> {
::windows_targets::link!("ntoskrnl.exe" "system" fn IoReplacePartitionUnit(targetpdo : *const super::super::Foundation:: DEVICE_OBJECT, sparepdo : *const super::super::Foundation:: DEVICE_OBJECT, flags : u32) -> super::super::super::Win32::Foundation:: NTSTATUS);
IoReplacePartitionUnit(targetpdo, sparepdo, flags).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
#[inline]
pub unsafe fn IoReportDetectedDevice<P0>(driverobject: *const super::super::Foundation::DRIVER_OBJECT, legacybustype: INTERFACE_TYPE, busnumber: u32, slotnumber: u32, resourcelist: ::core::option::Option<*const CM_RESOURCE_LIST>, resourcerequirements: ::core::option::Option<*const IO_RESOURCE_REQUIREMENTS_LIST>, resourceassigned: P0, deviceobject: *mut *mut super::super::Foundation::DEVICE_OBJECT) -> ::windows_core::Result<()>
where
P0: ::windows_core::IntoParam<super::super::super::Win32::Foundation::BOOLEAN>,
{
::windows_targets::link!("ntoskrnl.exe" "system" fn IoReportDetectedDevice(driverobject : *const super::super::Foundation:: DRIVER_OBJECT, legacybustype : INTERFACE_TYPE, busnumber : u32, slotnumber : u32, resourcelist : *const CM_RESOURCE_LIST, resourcerequirements : *const IO_RESOURCE_REQUIREMENTS_LIST, resourceassigned : super::super::super::Win32::Foundation:: BOOLEAN, deviceobject : *mut *mut super::super::Foundation:: DEVICE_OBJECT) -> super::super::super::Win32::Foundation:: NTSTATUS);
IoReportDetectedDevice(driverobject, legacybustype, busnumber, slotnumber, ::core::mem::transmute(resourcelist.unwrap_or(::std::ptr::null())), ::core::mem::transmute(resourcerequirements.unwrap_or(::std::ptr::null())), resourceassigned.into_param().abi(), deviceobject).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`*"]
#[cfg(feature = "Wdk_Foundation")]
#[inline]
pub unsafe fn IoReportInterruptActive(parameters: *const IO_REPORT_INTERRUPT_ACTIVE_STATE_PARAMETERS) {
::windows_targets::link!("ntoskrnl.exe" "system" fn IoReportInterruptActive(parameters : *const IO_REPORT_INTERRUPT_ACTIVE_STATE_PARAMETERS) -> ());
IoReportInterruptActive(parameters)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`*"]
#[cfg(feature = "Wdk_Foundation")]
#[inline]
pub unsafe fn IoReportInterruptInactive(parameters: *const IO_REPORT_INTERRUPT_ACTIVE_STATE_PARAMETERS) {
::windows_targets::link!("ntoskrnl.exe" "system" fn IoReportInterruptInactive(parameters : *const IO_REPORT_INTERRUPT_ACTIVE_STATE_PARAMETERS) -> ());
IoReportInterruptInactive(parameters)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
#[inline]
pub unsafe fn IoReportResourceForDetection(driverobject: *const super::super::Foundation::DRIVER_OBJECT, driverlist: ::core::option::Option<*const CM_RESOURCE_LIST>, driverlistsize: u32, deviceobject: ::core::option::Option<*const super::super::Foundation::DEVICE_OBJECT>, devicelist: ::core::option::Option<*const CM_RESOURCE_LIST>, devicelistsize: u32, conflictdetected: *mut super::super::super::Win32::Foundation::BOOLEAN) -> ::windows_core::Result<()> {
::windows_targets::link!("ntoskrnl.exe" "system" fn IoReportResourceForDetection(driverobject : *const super::super::Foundation:: DRIVER_OBJECT, driverlist : *const CM_RESOURCE_LIST, driverlistsize : u32, deviceobject : *const super::super::Foundation:: DEVICE_OBJECT, devicelist : *const CM_RESOURCE_LIST, devicelistsize : u32, conflictdetected : *mut super::super::super::Win32::Foundation:: BOOLEAN) -> super::super::super::Win32::Foundation:: NTSTATUS);
IoReportResourceForDetection(driverobject, ::core::mem::transmute(driverlist.unwrap_or(::std::ptr::null())), driverlistsize, ::core::mem::transmute(deviceobject.unwrap_or(::std::ptr::null())), ::core::mem::transmute(devicelist.unwrap_or(::std::ptr::null())), devicelistsize, conflictdetected).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
#[inline]
pub unsafe fn IoReportResourceUsage<P0>(driverclassname: ::core::option::Option<*const super::super::super::Win32::Foundation::UNICODE_STRING>, driverobject: *const super::super::Foundation::DRIVER_OBJECT, driverlist: ::core::option::Option<*const CM_RESOURCE_LIST>, driverlistsize: u32, deviceobject: ::core::option::Option<*const super::super::Foundation::DEVICE_OBJECT>, devicelist: ::core::option::Option<*const CM_RESOURCE_LIST>, devicelistsize: u32, overrideconflict: P0, conflictdetected: *mut super::super::super::Win32::Foundation::BOOLEAN) -> ::windows_core::Result<()>
where
P0: ::windows_core::IntoParam<super::super::super::Win32::Foundation::BOOLEAN>,
{
::windows_targets::link!("ntoskrnl.exe" "system" fn IoReportResourceUsage(driverclassname : *const super::super::super::Win32::Foundation:: UNICODE_STRING, driverobject : *const super::super::Foundation:: DRIVER_OBJECT, driverlist : *const CM_RESOURCE_LIST, driverlistsize : u32, deviceobject : *const super::super::Foundation:: DEVICE_OBJECT, devicelist : *const CM_RESOURCE_LIST, devicelistsize : u32, overrideconflict : super::super::super::Win32::Foundation:: BOOLEAN, conflictdetected : *mut super::super::super::Win32::Foundation:: BOOLEAN) -> super::super::super::Win32::Foundation:: NTSTATUS);
IoReportResourceUsage(::core::mem::transmute(driverclassname.unwrap_or(::std::ptr::null())), driverobject, ::core::mem::transmute(driverlist.unwrap_or(::std::ptr::null())), driverlistsize, ::core::mem::transmute(deviceobject.unwrap_or(::std::ptr::null())), ::core::mem::transmute(devicelist.unwrap_or(::std::ptr::null())), devicelistsize, overrideconflict.into_param().abi(), conflictdetected).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
#[inline]
pub unsafe fn IoReportRootDevice(driverobject: *const super::super::Foundation::DRIVER_OBJECT) -> ::windows_core::Result<()> {
::windows_targets::link!("ntoskrnl.exe" "system" fn IoReportRootDevice(driverobject : *const super::super::Foundation:: DRIVER_OBJECT) -> super::super::super::Win32::Foundation:: NTSTATUS);
IoReportRootDevice(driverobject).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
#[inline]
pub unsafe fn IoReportTargetDeviceChange(physicaldeviceobject: *const super::super::Foundation::DEVICE_OBJECT, notificationstructure: *const ::core::ffi::c_void) -> ::windows_core::Result<()> {
::windows_targets::link!("ntoskrnl.exe" "system" fn IoReportTargetDeviceChange(physicaldeviceobject : *const super::super::Foundation:: DEVICE_OBJECT, notificationstructure : *const ::core::ffi::c_void) -> super::super::super::Win32::Foundation:: NTSTATUS);
IoReportTargetDeviceChange(physicaldeviceobject, notificationstructure).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
#[inline]
pub unsafe fn IoReportTargetDeviceChangeAsynchronous(physicaldeviceobject: *const super::super::Foundation::DEVICE_OBJECT, notificationstructure: *const ::core::ffi::c_void, callback: PDEVICE_CHANGE_COMPLETE_CALLBACK, context: ::core::option::Option<*const ::core::ffi::c_void>) -> ::windows_core::Result<()> {
::windows_targets::link!("ntoskrnl.exe" "system" fn IoReportTargetDeviceChangeAsynchronous(physicaldeviceobject : *const super::super::Foundation:: DEVICE_OBJECT, notificationstructure : *const ::core::ffi::c_void, callback : PDEVICE_CHANGE_COMPLETE_CALLBACK, context : *const ::core::ffi::c_void) -> super::super::super::Win32::Foundation:: NTSTATUS);
IoReportTargetDeviceChangeAsynchronous(physicaldeviceobject, notificationstructure, callback, ::core::mem::transmute(context.unwrap_or(::std::ptr::null()))).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
#[inline]
pub unsafe fn IoRequestDeviceEject(physicaldeviceobject: *const super::super::Foundation::DEVICE_OBJECT) {
::windows_targets::link!("ntoskrnl.exe" "system" fn IoRequestDeviceEject(physicaldeviceobject : *const super::super::Foundation:: DEVICE_OBJECT) -> ());
IoRequestDeviceEject(physicaldeviceobject)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
#[inline]
pub unsafe fn IoRequestDeviceEjectEx(physicaldeviceobject: *const super::super::Foundation::DEVICE_OBJECT, callback: PIO_DEVICE_EJECT_CALLBACK, context: ::core::option::Option<*const ::core::ffi::c_void>, driverobject: ::core::option::Option<*const super::super::Foundation::DRIVER_OBJECT>) -> ::windows_core::Result<()> {
::windows_targets::link!("ntoskrnl.exe" "system" fn IoRequestDeviceEjectEx(physicaldeviceobject : *const super::super::Foundation:: DEVICE_OBJECT, callback : PIO_DEVICE_EJECT_CALLBACK, context : *const ::core::ffi::c_void, driverobject : *const super::super::Foundation:: DRIVER_OBJECT) -> super::super::super::Win32::Foundation:: NTSTATUS);
IoRequestDeviceEjectEx(physicaldeviceobject, callback, ::core::mem::transmute(context.unwrap_or(::std::ptr::null())), ::core::mem::transmute(driverobject.unwrap_or(::std::ptr::null()))).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
#[inline]
pub unsafe fn IoReserveKsrPersistentMemory(driverobject: *const super::super::Foundation::DRIVER_OBJECT, physicaldeviceobject: ::core::option::Option<*const super::super::Foundation::DEVICE_OBJECT>, size: usize, flags: u32, datahandle: *mut *mut ::core::ffi::c_void) -> ::windows_core::Result<()> {
::windows_targets::link!("ntoskrnl.exe" "system" fn IoReserveKsrPersistentMemory(driverobject : *const super::super::Foundation:: DRIVER_OBJECT, physicaldeviceobject : *const super::super::Foundation:: DEVICE_OBJECT, size : usize, flags : u32, datahandle : *mut *mut ::core::ffi::c_void) -> super::super::super::Win32::Foundation:: NTSTATUS);
IoReserveKsrPersistentMemory(driverobject, ::core::mem::transmute(physicaldeviceobject.unwrap_or(::std::ptr::null())), size, flags, datahandle).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
#[inline]
pub unsafe fn IoReserveKsrPersistentMemoryEx(driverobject: *const super::super::Foundation::DRIVER_OBJECT, physicaldeviceobject: ::core::option::Option<*const super::super::Foundation::DEVICE_OBJECT>, physicaldeviceid: ::core::option::Option<*const super::super::super::Win32::Foundation::UNICODE_STRING>, datatag: ::core::option::Option<*const u16>, dataversion: u32, size: usize, flags: u32, datahandle: *mut *mut ::core::ffi::c_void) -> ::windows_core::Result<()> {
::windows_targets::link!("ntoskrnl.exe" "system" fn IoReserveKsrPersistentMemoryEx(driverobject : *const super::super::Foundation:: DRIVER_OBJECT, physicaldeviceobject : *const super::super::Foundation:: DEVICE_OBJECT, physicaldeviceid : *const super::super::super::Win32::Foundation:: UNICODE_STRING, datatag : *const u16, dataversion : u32, size : usize, flags : u32, datahandle : *mut *mut ::core::ffi::c_void) -> super::super::super::Win32::Foundation:: NTSTATUS);
IoReserveKsrPersistentMemoryEx(driverobject, ::core::mem::transmute(physicaldeviceobject.unwrap_or(::std::ptr::null())), ::core::mem::transmute(physicaldeviceid.unwrap_or(::std::ptr::null())), ::core::mem::transmute(datatag.unwrap_or(::std::ptr::null())), dataversion, size, flags, datahandle).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
#[inline]
pub unsafe fn IoReuseIrp<P0>(irp: *mut super::super::Foundation::IRP, iostatus: P0)
where
P0: ::windows_core::IntoParam<super::super::super::Win32::Foundation::NTSTATUS>,
{
::windows_targets::link!("ntoskrnl.exe" "system" fn IoReuseIrp(irp : *mut super::super::Foundation:: IRP, iostatus : super::super::super::Win32::Foundation:: NTSTATUS) -> ());
IoReuseIrp(irp, iostatus.into_param().abi())
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
#[inline]
pub unsafe fn IoSetActivityIdIrp(irp: *mut super::super::Foundation::IRP, guid: ::core::option::Option<*const ::windows_core::GUID>) -> ::windows_core::Result<()> {
::windows_targets::link!("ntoskrnl.exe" "system" fn IoSetActivityIdIrp(irp : *mut super::super::Foundation:: IRP, guid : *const ::windows_core::GUID) -> super::super::super::Win32::Foundation:: NTSTATUS);
IoSetActivityIdIrp(irp, ::core::mem::transmute(guid.unwrap_or(::std::ptr::null()))).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[inline]
pub unsafe fn IoSetActivityIdThread(activityid: *const ::windows_core::GUID) -> *mut ::windows_core::GUID {
::windows_targets::link!("ntoskrnl.exe" "system" fn IoSetActivityIdThread(activityid : *const ::windows_core::GUID) -> *mut ::windows_core::GUID);
IoSetActivityIdThread(activityid)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
#[inline]
pub unsafe fn IoSetCompletionRoutineEx<P0, P1, P2>(deviceobject: *const super::super::Foundation::DEVICE_OBJECT, irp: *const super::super::Foundation::IRP, completionroutine: super::super::Foundation::PIO_COMPLETION_ROUTINE, context: ::core::option::Option<*const ::core::ffi::c_void>, invokeonsuccess: P0, invokeonerror: P1, invokeoncancel: P2) -> ::windows_core::Result<()>
where
P0: ::windows_core::IntoParam<super::super::super::Win32::Foundation::BOOLEAN>,
P1: ::windows_core::IntoParam<super::super::super::Win32::Foundation::BOOLEAN>,
P2: ::windows_core::IntoParam<super::super::super::Win32::Foundation::BOOLEAN>,
{
::windows_targets::link!("ntoskrnl.exe" "system" fn IoSetCompletionRoutineEx(deviceobject : *const super::super::Foundation:: DEVICE_OBJECT, irp : *const super::super::Foundation:: IRP, completionroutine : super::super::Foundation:: PIO_COMPLETION_ROUTINE, context : *const ::core::ffi::c_void, invokeonsuccess : super::super::super::Win32::Foundation:: BOOLEAN, invokeonerror : super::super::super::Win32::Foundation:: BOOLEAN, invokeoncancel : super::super::super::Win32::Foundation:: BOOLEAN) -> super::super::super::Win32::Foundation:: NTSTATUS);
IoSetCompletionRoutineEx(deviceobject, irp, completionroutine, ::core::mem::transmute(context.unwrap_or(::std::ptr::null())), invokeonsuccess.into_param().abi(), invokeonerror.into_param().abi(), invokeoncancel.into_param().abi()).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Devices_Properties\"`, `\"Win32_Foundation\"`*"]
#[cfg(all(feature = "Win32_Devices_Properties", feature = "Win32_Foundation"))]
#[inline]
pub unsafe fn IoSetDeviceInterfacePropertyData(symboliclinkname: *const super::super::super::Win32::Foundation::UNICODE_STRING, propertykey: *const super::super::super::Win32::Devices::Properties::DEVPROPKEY, lcid: u32, flags: u32, r#type: u32, size: u32, data: ::core::option::Option<*const ::core::ffi::c_void>) -> ::windows_core::Result<()> {
::windows_targets::link!("ntoskrnl.exe" "system" fn IoSetDeviceInterfacePropertyData(symboliclinkname : *const super::super::super::Win32::Foundation:: UNICODE_STRING, propertykey : *const super::super::super::Win32::Devices::Properties:: DEVPROPKEY, lcid : u32, flags : u32, r#type : u32, size : u32, data : *const ::core::ffi::c_void) -> super::super::super::Win32::Foundation:: NTSTATUS);
IoSetDeviceInterfacePropertyData(symboliclinkname, propertykey, lcid, flags, r#type, size, ::core::mem::transmute(data.unwrap_or(::std::ptr::null()))).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn IoSetDeviceInterfaceState<P0>(symboliclinkname: *const super::super::super::Win32::Foundation::UNICODE_STRING, enable: P0) -> ::windows_core::Result<()>
where
P0: ::windows_core::IntoParam<super::super::super::Win32::Foundation::BOOLEAN>,
{
::windows_targets::link!("ntoskrnl.exe" "system" fn IoSetDeviceInterfaceState(symboliclinkname : *const super::super::super::Win32::Foundation:: UNICODE_STRING, enable : super::super::super::Win32::Foundation:: BOOLEAN) -> super::super::super::Win32::Foundation:: NTSTATUS);
IoSetDeviceInterfaceState(symboliclinkname, enable.into_param().abi()).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Devices_Properties\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Devices_Properties", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
#[inline]
pub unsafe fn IoSetDevicePropertyData(pdo: *const super::super::Foundation::DEVICE_OBJECT, propertykey: *const super::super::super::Win32::Devices::Properties::DEVPROPKEY, lcid: u32, flags: u32, r#type: u32, size: u32, data: ::core::option::Option<*const ::core::ffi::c_void>) -> ::windows_core::Result<()> {
::windows_targets::link!("ntoskrnl.exe" "system" fn IoSetDevicePropertyData(pdo : *const super::super::Foundation:: DEVICE_OBJECT, propertykey : *const super::super::super::Win32::Devices::Properties:: DEVPROPKEY, lcid : u32, flags : u32, r#type : u32, size : u32, data : *const ::core::ffi::c_void) -> super::super::super::Win32::Foundation:: NTSTATUS);
IoSetDevicePropertyData(pdo, propertykey, lcid, flags, r#type, size, ::core::mem::transmute(data.unwrap_or(::std::ptr::null()))).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
#[inline]
pub unsafe fn IoSetFileObjectIgnoreSharing(fileobject: *const super::super::Foundation::FILE_OBJECT) -> ::windows_core::Result<()> {
::windows_targets::link!("ntoskrnl.exe" "system" fn IoSetFileObjectIgnoreSharing(fileobject : *const super::super::Foundation:: FILE_OBJECT) -> super::super::super::Win32::Foundation:: NTSTATUS);
IoSetFileObjectIgnoreSharing(fileobject).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
#[inline]
pub unsafe fn IoSetFileOrigin<P0>(fileobject: *const super::super::Foundation::FILE_OBJECT, remote: P0) -> ::windows_core::Result<()>
where
P0: ::windows_core::IntoParam<super::super::super::Win32::Foundation::BOOLEAN>,
{
::windows_targets::link!("ntoskrnl.exe" "system" fn IoSetFileOrigin(fileobject : *const super::super::Foundation:: FILE_OBJECT, remote : super::super::super::Win32::Foundation:: BOOLEAN) -> super::super::super::Win32::Foundation:: NTSTATUS);
IoSetFileOrigin(fileobject, remote.into_param().abi()).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
#[inline]
pub unsafe fn IoSetFsZeroingOffset(irp: *mut super::super::Foundation::IRP, zeroingoffset: u32) -> ::windows_core::Result<()> {
::windows_targets::link!("ntoskrnl.exe" "system" fn IoSetFsZeroingOffset(irp : *mut super::super::Foundation:: IRP, zeroingoffset : u32) -> super::super::super::Win32::Foundation:: NTSTATUS);
IoSetFsZeroingOffset(irp, zeroingoffset).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
#[inline]
pub unsafe fn IoSetFsZeroingOffsetRequired(irp: *mut super::super::Foundation::IRP) -> ::windows_core::Result<()> {
::windows_targets::link!("ntoskrnl.exe" "system" fn IoSetFsZeroingOffsetRequired(irp : *mut super::super::Foundation:: IRP) -> super::super::super::Win32::Foundation:: NTSTATUS);
IoSetFsZeroingOffsetRequired(irp).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
#[inline]
pub unsafe fn IoSetHardErrorOrVerifyDevice(irp: *const super::super::Foundation::IRP, deviceobject: *const super::super::Foundation::DEVICE_OBJECT) {
::windows_targets::link!("ntoskrnl.exe" "system" fn IoSetHardErrorOrVerifyDevice(irp : *const super::super::Foundation:: IRP, deviceobject : *const super::super::Foundation:: DEVICE_OBJECT) -> ());
IoSetHardErrorOrVerifyDevice(irp, deviceobject)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
#[inline]
pub unsafe fn IoSetIoAttributionIrp(irp: *mut super::super::Foundation::IRP, attributionsource: *const ::core::ffi::c_void, flags: u32) -> ::windows_core::Result<()> {
::windows_targets::link!("ntoskrnl.exe" "system" fn IoSetIoAttributionIrp(irp : *mut super::super::Foundation:: IRP, attributionsource : *const ::core::ffi::c_void, flags : u32) -> super::super::super::Win32::Foundation:: NTSTATUS);
IoSetIoAttributionIrp(irp, attributionsource, flags).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
#[inline]
pub unsafe fn IoSetIoPriorityHint(irp: *const super::super::Foundation::IRP, priorityhint: super::super::Foundation::IO_PRIORITY_HINT) -> ::windows_core::Result<()> {
::windows_targets::link!("ntoskrnl.exe" "system" fn IoSetIoPriorityHint(irp : *const super::super::Foundation:: IRP, priorityhint : super::super::Foundation:: IO_PRIORITY_HINT) -> super::super::super::Win32::Foundation:: NTSTATUS);
IoSetIoPriorityHint(irp, priorityhint).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
#[inline]
pub unsafe fn IoSetIrpExtraCreateParameter(irp: *mut super::super::Foundation::IRP, extracreateparameter: *const isize) -> ::windows_core::Result<()> {
::windows_targets::link!("ntoskrnl.exe" "system" fn IoSetIrpExtraCreateParameter(irp : *mut super::super::Foundation:: IRP, extracreateparameter : *const isize) -> super::super::super::Win32::Foundation:: NTSTATUS);
IoSetIrpExtraCreateParameter(irp, extracreateparameter).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
#[inline]
pub unsafe fn IoSetLinkShareAccess(desiredaccess: u32, desiredshareaccess: u32, fileobject: *mut super::super::Foundation::FILE_OBJECT, shareaccess: *mut SHARE_ACCESS, linkshareaccess: ::core::option::Option<*mut LINK_SHARE_ACCESS>, ioshareaccessflags: u32) {
::windows_targets::link!("ntoskrnl.exe" "system" fn IoSetLinkShareAccess(desiredaccess : u32, desiredshareaccess : u32, fileobject : *mut super::super::Foundation:: FILE_OBJECT, shareaccess : *mut SHARE_ACCESS, linkshareaccess : *mut LINK_SHARE_ACCESS, ioshareaccessflags : u32) -> ());
IoSetLinkShareAccess(desiredaccess, desiredshareaccess, fileobject, shareaccess, ::core::mem::transmute(linkshareaccess.unwrap_or(::std::ptr::null_mut())), ioshareaccessflags)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
#[inline]
pub unsafe fn IoSetMasterIrpStatus<P0>(masterirp: *mut super::super::Foundation::IRP, status: P0)
where
P0: ::windows_core::IntoParam<super::super::super::Win32::Foundation::NTSTATUS>,
{
::windows_targets::link!("ntoskrnl.exe" "system" fn IoSetMasterIrpStatus(masterirp : *mut super::super::Foundation:: IRP, status : super::super::super::Win32::Foundation:: NTSTATUS) -> ());
IoSetMasterIrpStatus(masterirp, status.into_param().abi())
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
#[inline]
pub unsafe fn IoSetPartitionInformation(deviceobject: *const super::super::Foundation::DEVICE_OBJECT, sectorsize: u32, partitionnumber: u32, partitiontype: u32) -> ::windows_core::Result<()> {
::windows_targets::link!("ntoskrnl.exe" "system" fn IoSetPartitionInformation(deviceobject : *const super::super::Foundation:: DEVICE_OBJECT, sectorsize : u32, partitionnumber : u32, partitiontype : u32) -> super::super::super::Win32::Foundation:: NTSTATUS);
IoSetPartitionInformation(deviceobject, sectorsize, partitionnumber, partitiontype).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Ioctl\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Ioctl", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
#[inline]
pub unsafe fn IoSetPartitionInformationEx(deviceobject: *const super::super::Foundation::DEVICE_OBJECT, partitionnumber: u32, partitioninfo: *const super::super::super::Win32::System::Ioctl::SET_PARTITION_INFORMATION_EX) -> ::windows_core::Result<()> {
::windows_targets::link!("ntoskrnl.exe" "system" fn IoSetPartitionInformationEx(deviceobject : *const super::super::Foundation:: DEVICE_OBJECT, partitionnumber : u32, partitioninfo : *const super::super::super::Win32::System::Ioctl:: SET_PARTITION_INFORMATION_EX) -> super::super::super::Win32::Foundation:: NTSTATUS);
IoSetPartitionInformationEx(deviceobject, partitionnumber, partitioninfo).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
#[inline]
pub unsafe fn IoSetShareAccess(desiredaccess: u32, desiredshareaccess: u32, fileobject: *mut super::super::Foundation::FILE_OBJECT, shareaccess: *mut SHARE_ACCESS) {
::windows_targets::link!("ntoskrnl.exe" "system" fn IoSetShareAccess(desiredaccess : u32, desiredshareaccess : u32, fileobject : *mut super::super::Foundation:: FILE_OBJECT, shareaccess : *mut SHARE_ACCESS) -> ());
IoSetShareAccess(desiredaccess, desiredshareaccess, fileobject, shareaccess)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
#[inline]
pub unsafe fn IoSetShareAccessEx(desiredaccess: u32, desiredshareaccess: u32, fileobject: *mut super::super::Foundation::FILE_OBJECT, shareaccess: *mut SHARE_ACCESS, writepermission: ::core::option::Option<*const super::super::super::Win32::Foundation::BOOLEAN>) {
::windows_targets::link!("ntoskrnl.exe" "system" fn IoSetShareAccessEx(desiredaccess : u32, desiredshareaccess : u32, fileobject : *mut super::super::Foundation:: FILE_OBJECT, shareaccess : *mut SHARE_ACCESS, writepermission : *const super::super::super::Win32::Foundation:: BOOLEAN) -> ());
IoSetShareAccessEx(desiredaccess, desiredshareaccess, fileobject, shareaccess, ::core::mem::transmute(writepermission.unwrap_or(::std::ptr::null())))
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
#[inline]
pub unsafe fn IoSetStartIoAttributes<P0, P1>(deviceobject: *const super::super::Foundation::DEVICE_OBJECT, deferredstartio: P0, noncancelable: P1)
where
P0: ::windows_core::IntoParam<super::super::super::Win32::Foundation::BOOLEAN>,
P1: ::windows_core::IntoParam<super::super::super::Win32::Foundation::BOOLEAN>,
{
::windows_targets::link!("ntoskrnl.exe" "system" fn IoSetStartIoAttributes(deviceobject : *const super::super::Foundation:: DEVICE_OBJECT, deferredstartio : super::super::super::Win32::Foundation:: BOOLEAN, noncancelable : super::super::super::Win32::Foundation:: BOOLEAN) -> ());
IoSetStartIoAttributes(deviceobject, deferredstartio.into_param().abi(), noncancelable.into_param().abi())
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn IoSetSystemPartition(volumenamestring: *const super::super::super::Win32::Foundation::UNICODE_STRING) -> ::windows_core::Result<()> {
::windows_targets::link!("ntoskrnl.exe" "system" fn IoSetSystemPartition(volumenamestring : *const super::super::super::Win32::Foundation:: UNICODE_STRING) -> super::super::super::Win32::Foundation:: NTSTATUS);
IoSetSystemPartition(volumenamestring).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn IoSetThreadHardErrorMode<P0>(enableharderrors: P0) -> super::super::super::Win32::Foundation::BOOLEAN
where
P0: ::windows_core::IntoParam<super::super::super::Win32::Foundation::BOOLEAN>,
{
::windows_targets::link!("ntoskrnl.exe" "system" fn IoSetThreadHardErrorMode(enableharderrors : super::super::super::Win32::Foundation:: BOOLEAN) -> super::super::super::Win32::Foundation:: BOOLEAN);
IoSetThreadHardErrorMode(enableharderrors.into_param().abi())
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
#[inline]
pub unsafe fn IoSetTopLevelIrp(irp: ::core::option::Option<*const super::super::Foundation::IRP>) {
::windows_targets::link!("ntoskrnl.exe" "system" fn IoSetTopLevelIrp(irp : *const super::super::Foundation:: IRP) -> ());
IoSetTopLevelIrp(::core::mem::transmute(irp.unwrap_or(::std::ptr::null())))
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
#[inline]
pub unsafe fn IoSizeOfIrpEx(deviceobject: ::core::option::Option<*const super::super::Foundation::DEVICE_OBJECT>, stacksize: i8) -> u16 {
::windows_targets::link!("ntoskrnl.exe" "system" fn IoSizeOfIrpEx(deviceobject : *const super::super::Foundation:: DEVICE_OBJECT, stacksize : i8) -> u16);
IoSizeOfIrpEx(::core::mem::transmute(deviceobject.unwrap_or(::std::ptr::null())), stacksize)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[inline]
pub unsafe fn IoSizeofWorkItem() -> u32 {
::windows_targets::link!("ntoskrnl.exe" "system" fn IoSizeofWorkItem() -> u32);
IoSizeofWorkItem()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
#[inline]
pub unsafe fn IoStartNextPacket<P0>(deviceobject: *const super::super::Foundation::DEVICE_OBJECT, cancelable: P0)
where
P0: ::windows_core::IntoParam<super::super::super::Win32::Foundation::BOOLEAN>,
{
::windows_targets::link!("ntoskrnl.exe" "system" fn IoStartNextPacket(deviceobject : *const super::super::Foundation:: DEVICE_OBJECT, cancelable : super::super::super::Win32::Foundation:: BOOLEAN) -> ());
IoStartNextPacket(deviceobject, cancelable.into_param().abi())
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
#[inline]
pub unsafe fn IoStartNextPacketByKey<P0>(deviceobject: *const super::super::Foundation::DEVICE_OBJECT, cancelable: P0, key: u32)
where
P0: ::windows_core::IntoParam<super::super::super::Win32::Foundation::BOOLEAN>,
{
::windows_targets::link!("ntoskrnl.exe" "system" fn IoStartNextPacketByKey(deviceobject : *const super::super::Foundation:: DEVICE_OBJECT, cancelable : super::super::super::Win32::Foundation:: BOOLEAN, key : u32) -> ());
IoStartNextPacketByKey(deviceobject, cancelable.into_param().abi(), key)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
#[inline]
pub unsafe fn IoStartPacket(deviceobject: *const super::super::Foundation::DEVICE_OBJECT, irp: *const super::super::Foundation::IRP, key: ::core::option::Option<*const u32>, cancelfunction: super::super::Foundation::PDRIVER_CANCEL) {
::windows_targets::link!("ntoskrnl.exe" "system" fn IoStartPacket(deviceobject : *const super::super::Foundation:: DEVICE_OBJECT, irp : *const super::super::Foundation:: IRP, key : *const u32, cancelfunction : super::super::Foundation:: PDRIVER_CANCEL) -> ());
IoStartPacket(deviceobject, irp, ::core::mem::transmute(key.unwrap_or(::std::ptr::null())), cancelfunction)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
#[inline]
pub unsafe fn IoStartTimer(deviceobject: *const super::super::Foundation::DEVICE_OBJECT) {
::windows_targets::link!("ntoskrnl.exe" "system" fn IoStartTimer(deviceobject : *const super::super::Foundation:: DEVICE_OBJECT) -> ());
IoStartTimer(deviceobject)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
#[inline]
pub unsafe fn IoStopTimer(deviceobject: *const super::super::Foundation::DEVICE_OBJECT) {
::windows_targets::link!("ntoskrnl.exe" "system" fn IoStopTimer(deviceobject : *const super::super::Foundation:: DEVICE_OBJECT) -> ());
IoStopTimer(deviceobject)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
#[inline]
pub unsafe fn IoSynchronousCallDriver(deviceobject: *const super::super::Foundation::DEVICE_OBJECT, irp: *const super::super::Foundation::IRP) -> ::windows_core::Result<()> {
::windows_targets::link!("ntoskrnl.exe" "system" fn IoSynchronousCallDriver(deviceobject : *const super::super::Foundation:: DEVICE_OBJECT, irp : *const super::super::Foundation:: IRP) -> super::super::super::Win32::Foundation:: NTSTATUS);
IoSynchronousCallDriver(deviceobject, irp).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[inline]
pub unsafe fn IoTransferActivityId(activityid: *const ::windows_core::GUID, relatedactivityid: *const ::windows_core::GUID) {
::windows_targets::link!("ntoskrnl.exe" "system" fn IoTransferActivityId(activityid : *const ::windows_core::GUID, relatedactivityid : *const ::windows_core::GUID) -> ());
IoTransferActivityId(activityid, relatedactivityid)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn IoTranslateBusAddress(interfacetype: INTERFACE_TYPE, busnumber: u32, busaddress: i64, addressspace: *mut u32, translatedaddress: *mut i64) -> super::super::super::Win32::Foundation::BOOLEAN {
::windows_targets::link!("ntoskrnl.exe" "system" fn IoTranslateBusAddress(interfacetype : INTERFACE_TYPE, busnumber : u32, busaddress : i64, addressspace : *mut u32, translatedaddress : *mut i64) -> super::super::super::Win32::Foundation:: BOOLEAN);
IoTranslateBusAddress(interfacetype, busnumber, busaddress, addressspace, translatedaddress)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))]
#[inline]
pub unsafe fn IoTryQueueWorkItem<P0>(ioworkitem: P0, workerroutine: PIO_WORKITEM_ROUTINE_EX, queuetype: WORK_QUEUE_TYPE, context: ::core::option::Option<*const ::core::ffi::c_void>) -> super::super::super::Win32::Foundation::BOOLEAN
where
P0: ::windows_core::IntoParam<super::super::Foundation::PIO_WORKITEM>,
{
::windows_targets::link!("ntoskrnl.exe" "system" fn IoTryQueueWorkItem(ioworkitem : super::super::Foundation:: PIO_WORKITEM, workerroutine : PIO_WORKITEM_ROUTINE_EX, queuetype : WORK_QUEUE_TYPE, context : *const ::core::ffi::c_void) -> super::super::super::Win32::Foundation:: BOOLEAN);
IoTryQueueWorkItem(ioworkitem.into_param().abi(), workerroutine, queuetype, ::core::mem::transmute(context.unwrap_or(::std::ptr::null())))
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`*"]
#[cfg(feature = "Wdk_Foundation")]
#[inline]
pub unsafe fn IoUninitializeWorkItem<P0>(ioworkitem: P0)
where
P0: ::windows_core::IntoParam<super::super::Foundation::PIO_WORKITEM>,
{
::windows_targets::link!("ntoskrnl.exe" "system" fn IoUninitializeWorkItem(ioworkitem : super::super::Foundation:: PIO_WORKITEM) -> ());
IoUninitializeWorkItem(ioworkitem.into_param().abi())
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[inline]
pub unsafe fn IoUnregisterBootDriverCallback(callbackhandle: *const ::core::ffi::c_void) {
::windows_targets::link!("ntoskrnl.exe" "system" fn IoUnregisterBootDriverCallback(callbackhandle : *const ::core::ffi::c_void) -> ());
IoUnregisterBootDriverCallback(callbackhandle)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[inline]
pub unsafe fn IoUnregisterContainerNotification(callbackregistration: *const ::core::ffi::c_void) {
::windows_targets::link!("ntoskrnl.exe" "system" fn IoUnregisterContainerNotification(callbackregistration : *const ::core::ffi::c_void) -> ());
IoUnregisterContainerNotification(callbackregistration)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn IoUnregisterPlugPlayNotification(notificationentry: *const ::core::ffi::c_void) -> ::windows_core::Result<()> {
::windows_targets::link!("ntoskrnl.exe" "system" fn IoUnregisterPlugPlayNotification(notificationentry : *const ::core::ffi::c_void) -> super::super::super::Win32::Foundation:: NTSTATUS);
IoUnregisterPlugPlayNotification(notificationentry).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn IoUnregisterPlugPlayNotificationEx(notificationentry: *const ::core::ffi::c_void) -> ::windows_core::Result<()> {
::windows_targets::link!("ntoskrnl.exe" "system" fn IoUnregisterPlugPlayNotificationEx(notificationentry : *const ::core::ffi::c_void) -> super::super::super::Win32::Foundation:: NTSTATUS);
IoUnregisterPlugPlayNotificationEx(notificationentry).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
#[inline]
pub unsafe fn IoUnregisterShutdownNotification(deviceobject: *const super::super::Foundation::DEVICE_OBJECT) {
::windows_targets::link!("ntoskrnl.exe" "system" fn IoUnregisterShutdownNotification(deviceobject : *const super::super::Foundation:: DEVICE_OBJECT) -> ());
IoUnregisterShutdownNotification(deviceobject)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
#[inline]
pub unsafe fn IoUpdateLinkShareAccess(fileobject: *const super::super::Foundation::FILE_OBJECT, shareaccess: *mut SHARE_ACCESS, linkshareaccess: ::core::option::Option<*mut LINK_SHARE_ACCESS>) {
::windows_targets::link!("ntoskrnl.exe" "system" fn IoUpdateLinkShareAccess(fileobject : *const super::super::Foundation:: FILE_OBJECT, shareaccess : *mut SHARE_ACCESS, linkshareaccess : *mut LINK_SHARE_ACCESS) -> ());
IoUpdateLinkShareAccess(fileobject, shareaccess, ::core::mem::transmute(linkshareaccess.unwrap_or(::std::ptr::null_mut())))
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
#[inline]
pub unsafe fn IoUpdateLinkShareAccessEx(fileobject: *const super::super::Foundation::FILE_OBJECT, shareaccess: *mut SHARE_ACCESS, linkshareaccess: ::core::option::Option<*mut LINK_SHARE_ACCESS>, ioshareaccessflags: u32) {
::windows_targets::link!("ntoskrnl.exe" "system" fn IoUpdateLinkShareAccessEx(fileobject : *const super::super::Foundation:: FILE_OBJECT, shareaccess : *mut SHARE_ACCESS, linkshareaccess : *mut LINK_SHARE_ACCESS, ioshareaccessflags : u32) -> ());
IoUpdateLinkShareAccessEx(fileobject, shareaccess, ::core::mem::transmute(linkshareaccess.unwrap_or(::std::ptr::null_mut())), ioshareaccessflags)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
#[inline]
pub unsafe fn IoUpdateShareAccess(fileobject: *const super::super::Foundation::FILE_OBJECT, shareaccess: *mut SHARE_ACCESS) {
::windows_targets::link!("ntoskrnl.exe" "system" fn IoUpdateShareAccess(fileobject : *const super::super::Foundation:: FILE_OBJECT, shareaccess : *mut SHARE_ACCESS) -> ());
IoUpdateShareAccess(fileobject, shareaccess)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
#[inline]
pub unsafe fn IoValidateDeviceIoControlAccess(irp: *const super::super::Foundation::IRP, requiredaccess: u32) -> ::windows_core::Result<()> {
::windows_targets::link!("ntoskrnl.exe" "system" fn IoValidateDeviceIoControlAccess(irp : *const super::super::Foundation:: IRP, requiredaccess : u32) -> super::super::super::Win32::Foundation:: NTSTATUS);
IoValidateDeviceIoControlAccess(irp, requiredaccess).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
#[inline]
pub unsafe fn IoVerifyPartitionTable<P0>(deviceobject: *const super::super::Foundation::DEVICE_OBJECT, fixerrors: P0) -> ::windows_core::Result<()>
where
P0: ::windows_core::IntoParam<super::super::super::Win32::Foundation::BOOLEAN>,
{
::windows_targets::link!("ntoskrnl.exe" "system" fn IoVerifyPartitionTable(deviceobject : *const super::super::Foundation:: DEVICE_OBJECT, fixerrors : super::super::super::Win32::Foundation:: BOOLEAN) -> super::super::super::Win32::Foundation:: NTSTATUS);
IoVerifyPartitionTable(deviceobject, fixerrors.into_param().abi()).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn IoVolumeDeviceNameToGuid(volumedevicename: *const super::super::super::Win32::Foundation::UNICODE_STRING, guid: *mut ::windows_core::GUID) -> ::windows_core::Result<()> {
::windows_targets::link!("ntoskrnl.exe" "system" fn IoVolumeDeviceNameToGuid(volumedevicename : *const super::super::super::Win32::Foundation:: UNICODE_STRING, guid : *mut ::windows_core::GUID) -> super::super::super::Win32::Foundation:: NTSTATUS);
IoVolumeDeviceNameToGuid(volumedevicename, guid).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn IoVolumeDeviceNameToGuidPath(volumedevicename: *const super::super::super::Win32::Foundation::UNICODE_STRING, guidpath: *mut super::super::super::Win32::Foundation::UNICODE_STRING) -> ::windows_core::Result<()> {
::windows_targets::link!("ntoskrnl.exe" "system" fn IoVolumeDeviceNameToGuidPath(volumedevicename : *const super::super::super::Win32::Foundation:: UNICODE_STRING, guidpath : *mut super::super::super::Win32::Foundation:: UNICODE_STRING) -> super::super::super::Win32::Foundation:: NTSTATUS);
IoVolumeDeviceNameToGuidPath(volumedevicename, guidpath).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn IoVolumeDeviceToDosName(volumedeviceobject: *const ::core::ffi::c_void, dosname: *mut super::super::super::Win32::Foundation::UNICODE_STRING) -> ::windows_core::Result<()> {
::windows_targets::link!("ntoskrnl.exe" "system" fn IoVolumeDeviceToDosName(volumedeviceobject : *const ::core::ffi::c_void, dosname : *mut super::super::super::Win32::Foundation:: UNICODE_STRING) -> super::super::super::Win32::Foundation:: NTSTATUS);
IoVolumeDeviceToDosName(volumedeviceobject, dosname).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn IoVolumeDeviceToGuid(volumedeviceobject: *const ::core::ffi::c_void, guid: *mut ::windows_core::GUID) -> ::windows_core::Result<()> {
::windows_targets::link!("ntoskrnl.exe" "system" fn IoVolumeDeviceToGuid(volumedeviceobject : *const ::core::ffi::c_void, guid : *mut ::windows_core::GUID) -> super::super::super::Win32::Foundation:: NTSTATUS);
IoVolumeDeviceToGuid(volumedeviceobject, guid).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn IoVolumeDeviceToGuidPath(volumedeviceobject: *const ::core::ffi::c_void, guidpath: *mut super::super::super::Win32::Foundation::UNICODE_STRING) -> ::windows_core::Result<()> {
::windows_targets::link!("ntoskrnl.exe" "system" fn IoVolumeDeviceToGuidPath(volumedeviceobject : *const ::core::ffi::c_void, guidpath : *mut super::super::super::Win32::Foundation:: UNICODE_STRING) -> super::super::super::Win32::Foundation:: NTSTATUS);
IoVolumeDeviceToGuidPath(volumedeviceobject, guidpath).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn IoWMIAllocateInstanceIds(guid: *const ::windows_core::GUID, instancecount: u32, firstinstanceid: *mut u32) -> ::windows_core::Result<()> {
::windows_targets::link!("ntoskrnl.exe" "system" fn IoWMIAllocateInstanceIds(guid : *const ::windows_core::GUID, instancecount : u32, firstinstanceid : *mut u32) -> super::super::super::Win32::Foundation:: NTSTATUS);
IoWMIAllocateInstanceIds(guid, instancecount, firstinstanceid).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
#[inline]
pub unsafe fn IoWMIDeviceObjectToInstanceName(datablockobject: *const ::core::ffi::c_void, deviceobject: *const super::super::Foundation::DEVICE_OBJECT, instancename: *mut super::super::super::Win32::Foundation::UNICODE_STRING) -> ::windows_core::Result<()> {
::windows_targets::link!("ntoskrnl.exe" "system" fn IoWMIDeviceObjectToInstanceName(datablockobject : *const ::core::ffi::c_void, deviceobject : *const super::super::Foundation:: DEVICE_OBJECT, instancename : *mut super::super::super::Win32::Foundation:: UNICODE_STRING) -> super::super::super::Win32::Foundation:: NTSTATUS);
IoWMIDeviceObjectToInstanceName(datablockobject, deviceobject, instancename).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn IoWMIExecuteMethod(datablockobject: *const ::core::ffi::c_void, instancename: *const super::super::super::Win32::Foundation::UNICODE_STRING, methodid: u32, inbuffersize: u32, outbuffersize: *mut u32, inoutbuffer: ::core::option::Option<*mut u8>) -> ::windows_core::Result<()> {
::windows_targets::link!("ntoskrnl.exe" "system" fn IoWMIExecuteMethod(datablockobject : *const ::core::ffi::c_void, instancename : *const super::super::super::Win32::Foundation:: UNICODE_STRING, methodid : u32, inbuffersize : u32, outbuffersize : *mut u32, inoutbuffer : *mut u8) -> super::super::super::Win32::Foundation:: NTSTATUS);
IoWMIExecuteMethod(datablockobject, instancename, methodid, inbuffersize, outbuffersize, ::core::mem::transmute(inoutbuffer.unwrap_or(::std::ptr::null_mut()))).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn IoWMIHandleToInstanceName<P0>(datablockobject: *const ::core::ffi::c_void, filehandle: P0, instancename: *mut super::super::super::Win32::Foundation::UNICODE_STRING) -> ::windows_core::Result<()>
where
P0: ::windows_core::IntoParam<super::super::super::Win32::Foundation::HANDLE>,
{
::windows_targets::link!("ntoskrnl.exe" "system" fn IoWMIHandleToInstanceName(datablockobject : *const ::core::ffi::c_void, filehandle : super::super::super::Win32::Foundation:: HANDLE, instancename : *mut super::super::super::Win32::Foundation:: UNICODE_STRING) -> super::super::super::Win32::Foundation:: NTSTATUS);
IoWMIHandleToInstanceName(datablockobject, filehandle.into_param().abi(), instancename).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn IoWMIOpenBlock(guid: *const ::windows_core::GUID, desiredaccess: u32, datablockobject: *mut *mut ::core::ffi::c_void) -> ::windows_core::Result<()> {
::windows_targets::link!("ntoskrnl.exe" "system" fn IoWMIOpenBlock(guid : *const ::windows_core::GUID, desiredaccess : u32, datablockobject : *mut *mut ::core::ffi::c_void) -> super::super::super::Win32::Foundation:: NTSTATUS);
IoWMIOpenBlock(guid, desiredaccess, datablockobject).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn IoWMIQueryAllData(datablockobject: *const ::core::ffi::c_void, inoutbuffersize: *mut u32, outbuffer: ::core::option::Option<*mut ::core::ffi::c_void>) -> ::windows_core::Result<()> {
::windows_targets::link!("ntoskrnl.exe" "system" fn IoWMIQueryAllData(datablockobject : *const ::core::ffi::c_void, inoutbuffersize : *mut u32, outbuffer : *mut ::core::ffi::c_void) -> super::super::super::Win32::Foundation:: NTSTATUS);
IoWMIQueryAllData(datablockobject, inoutbuffersize, ::core::mem::transmute(outbuffer.unwrap_or(::std::ptr::null_mut()))).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn IoWMIQueryAllDataMultiple(datablockobjectlist: &[*const ::core::ffi::c_void], inoutbuffersize: *mut u32, outbuffer: ::core::option::Option<*mut ::core::ffi::c_void>) -> ::windows_core::Result<()> {
::windows_targets::link!("ntoskrnl.exe" "system" fn IoWMIQueryAllDataMultiple(datablockobjectlist : *const *const ::core::ffi::c_void, objectcount : u32, inoutbuffersize : *mut u32, outbuffer : *mut ::core::ffi::c_void) -> super::super::super::Win32::Foundation:: NTSTATUS);
IoWMIQueryAllDataMultiple(::core::mem::transmute(datablockobjectlist.as_ptr()), datablockobjectlist.len() as _, inoutbuffersize, ::core::mem::transmute(outbuffer.unwrap_or(::std::ptr::null_mut()))).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn IoWMIQuerySingleInstance(datablockobject: *const ::core::ffi::c_void, instancename: *const super::super::super::Win32::Foundation::UNICODE_STRING, inoutbuffersize: *mut u32, outbuffer: ::core::option::Option<*mut ::core::ffi::c_void>) -> ::windows_core::Result<()> {
::windows_targets::link!("ntoskrnl.exe" "system" fn IoWMIQuerySingleInstance(datablockobject : *const ::core::ffi::c_void, instancename : *const super::super::super::Win32::Foundation:: UNICODE_STRING, inoutbuffersize : *mut u32, outbuffer : *mut ::core::ffi::c_void) -> super::super::super::Win32::Foundation:: NTSTATUS);
IoWMIQuerySingleInstance(datablockobject, instancename, inoutbuffersize, ::core::mem::transmute(outbuffer.unwrap_or(::std::ptr::null_mut()))).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn IoWMIQuerySingleInstanceMultiple(datablockobjectlist: *const *const ::core::ffi::c_void, instancenames: *const super::super::super::Win32::Foundation::UNICODE_STRING, objectcount: u32, inoutbuffersize: *mut u32, outbuffer: ::core::option::Option<*mut ::core::ffi::c_void>) -> ::windows_core::Result<()> {
::windows_targets::link!("ntoskrnl.exe" "system" fn IoWMIQuerySingleInstanceMultiple(datablockobjectlist : *const *const ::core::ffi::c_void, instancenames : *const super::super::super::Win32::Foundation:: UNICODE_STRING, objectcount : u32, inoutbuffersize : *mut u32, outbuffer : *mut ::core::ffi::c_void) -> super::super::super::Win32::Foundation:: NTSTATUS);
IoWMIQuerySingleInstanceMultiple(datablockobjectlist, instancenames, objectcount, inoutbuffersize, ::core::mem::transmute(outbuffer.unwrap_or(::std::ptr::null_mut()))).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
#[inline]
pub unsafe fn IoWMIRegistrationControl(deviceobject: *const super::super::Foundation::DEVICE_OBJECT, action: u32) -> ::windows_core::Result<()> {
::windows_targets::link!("ntoskrnl.exe" "system" fn IoWMIRegistrationControl(deviceobject : *const super::super::Foundation:: DEVICE_OBJECT, action : u32) -> super::super::super::Win32::Foundation:: NTSTATUS);
IoWMIRegistrationControl(deviceobject, action).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn IoWMISetNotificationCallback(object: *mut ::core::ffi::c_void, callback: WMI_NOTIFICATION_CALLBACK, context: ::core::option::Option<*const ::core::ffi::c_void>) -> ::windows_core::Result<()> {
::windows_targets::link!("ntoskrnl.exe" "system" fn IoWMISetNotificationCallback(object : *mut ::core::ffi::c_void, callback : WMI_NOTIFICATION_CALLBACK, context : *const ::core::ffi::c_void) -> super::super::super::Win32::Foundation:: NTSTATUS);
IoWMISetNotificationCallback(object, callback, ::core::mem::transmute(context.unwrap_or(::std::ptr::null()))).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn IoWMISetSingleInstance(datablockobject: *const ::core::ffi::c_void, instancename: *const super::super::super::Win32::Foundation::UNICODE_STRING, version: u32, valuebuffersize: u32, valuebuffer: *const ::core::ffi::c_void) -> ::windows_core::Result<()> {
::windows_targets::link!("ntoskrnl.exe" "system" fn IoWMISetSingleInstance(datablockobject : *const ::core::ffi::c_void, instancename : *const super::super::super::Win32::Foundation:: UNICODE_STRING, version : u32, valuebuffersize : u32, valuebuffer : *const ::core::ffi::c_void) -> super::super::super::Win32::Foundation:: NTSTATUS);
IoWMISetSingleInstance(datablockobject, instancename, version, valuebuffersize, valuebuffer).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn IoWMISetSingleItem(datablockobject: *const ::core::ffi::c_void, instancename: *const super::super::super::Win32::Foundation::UNICODE_STRING, dataitemid: u32, version: u32, valuebuffersize: u32, valuebuffer: *const ::core::ffi::c_void) -> ::windows_core::Result<()> {
::windows_targets::link!("ntoskrnl.exe" "system" fn IoWMISetSingleItem(datablockobject : *const ::core::ffi::c_void, instancename : *const super::super::super::Win32::Foundation:: UNICODE_STRING, dataitemid : u32, version : u32, valuebuffersize : u32, valuebuffer : *const ::core::ffi::c_void) -> super::super::super::Win32::Foundation:: NTSTATUS);
IoWMISetSingleItem(datablockobject, instancename, dataitemid, version, valuebuffersize, valuebuffer).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
#[inline]
pub unsafe fn IoWMISuggestInstanceName<P0>(physicaldeviceobject: ::core::option::Option<*const super::super::Foundation::DEVICE_OBJECT>, symboliclinkname: ::core::option::Option<*const super::super::super::Win32::Foundation::UNICODE_STRING>, combinenames: P0, suggestedinstancename: *mut super::super::super::Win32::Foundation::UNICODE_STRING) -> ::windows_core::Result<()>
where
P0: ::windows_core::IntoParam<super::super::super::Win32::Foundation::BOOLEAN>,
{
::windows_targets::link!("ntoskrnl.exe" "system" fn IoWMISuggestInstanceName(physicaldeviceobject : *const super::super::Foundation:: DEVICE_OBJECT, symboliclinkname : *const super::super::super::Win32::Foundation:: UNICODE_STRING, combinenames : super::super::super::Win32::Foundation:: BOOLEAN, suggestedinstancename : *mut super::super::super::Win32::Foundation:: UNICODE_STRING) -> super::super::super::Win32::Foundation:: NTSTATUS);
IoWMISuggestInstanceName(::core::mem::transmute(physicaldeviceobject.unwrap_or(::std::ptr::null())), ::core::mem::transmute(symboliclinkname.unwrap_or(::std::ptr::null())), combinenames.into_param().abi(), suggestedinstancename).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn IoWMIWriteEvent(wnodeeventitem: *mut ::core::ffi::c_void) -> ::windows_core::Result<()> {
::windows_targets::link!("ntoskrnl.exe" "system" fn IoWMIWriteEvent(wnodeeventitem : *mut ::core::ffi::c_void) -> super::super::super::Win32::Foundation:: NTSTATUS);
IoWMIWriteEvent(wnodeeventitem).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[inline]
pub unsafe fn IoWithinStackLimits(regionstart: usize, regionsize: usize) -> u32 {
::windows_targets::link!("ntoskrnl.exe" "system" fn IoWithinStackLimits(regionstart : usize, regionsize : usize) -> u32);
IoWithinStackLimits(regionstart, regionsize)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[inline]
pub unsafe fn IoWriteErrorLogEntry(elentry: *const ::core::ffi::c_void) {
::windows_targets::link!("ntoskrnl.exe" "system" fn IoWriteErrorLogEntry(elentry : *const ::core::ffi::c_void) -> ());
IoWriteErrorLogEntry(elentry)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn IoWriteKsrPersistentMemory(datahandle: *const ::core::ffi::c_void, buffer: *const ::core::ffi::c_void, size: usize) -> ::windows_core::Result<()> {
::windows_targets::link!("ntoskrnl.exe" "system" fn IoWriteKsrPersistentMemory(datahandle : *const ::core::ffi::c_void, buffer : *const ::core::ffi::c_void, size : usize) -> super::super::super::Win32::Foundation:: NTSTATUS);
IoWriteKsrPersistentMemory(datahandle, buffer, size).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Ioctl\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Ioctl", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
#[inline]
pub unsafe fn IoWritePartitionTable(deviceobject: *const super::super::Foundation::DEVICE_OBJECT, sectorsize: u32, sectorspertrack: u32, numberofheads: u32, partitionbuffer: *const super::super::super::Win32::System::Ioctl::DRIVE_LAYOUT_INFORMATION) -> ::windows_core::Result<()> {
::windows_targets::link!("ntoskrnl.exe" "system" fn IoWritePartitionTable(deviceobject : *const super::super::Foundation:: DEVICE_OBJECT, sectorsize : u32, sectorspertrack : u32, numberofheads : u32, partitionbuffer : *const super::super::super::Win32::System::Ioctl:: DRIVE_LAYOUT_INFORMATION) -> super::super::super::Win32::Foundation:: NTSTATUS);
IoWritePartitionTable(deviceobject, sectorsize, sectorspertrack, numberofheads, partitionbuffer).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Ioctl\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Ioctl", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
#[inline]
pub unsafe fn IoWritePartitionTableEx(deviceobject: *const super::super::Foundation::DEVICE_OBJECT, drivelayout: *const super::super::super::Win32::System::Ioctl::DRIVE_LAYOUT_INFORMATION_EX) -> ::windows_core::Result<()> {
::windows_targets::link!("ntoskrnl.exe" "system" fn IoWritePartitionTableEx(deviceobject : *const super::super::Foundation:: DEVICE_OBJECT, drivelayout : *const super::super::super::Win32::System::Ioctl:: DRIVE_LAYOUT_INFORMATION_EX) -> super::super::super::Win32::Foundation:: NTSTATUS);
IoWritePartitionTableEx(deviceobject, drivelayout).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
#[inline]
pub unsafe fn IofCallDriver(deviceobject: *const super::super::Foundation::DEVICE_OBJECT, irp: *mut super::super::Foundation::IRP) -> ::windows_core::Result<()> {
::windows_targets::link!("ntoskrnl.exe" "system" fn IofCallDriver(deviceobject : *const super::super::Foundation:: DEVICE_OBJECT, irp : *mut super::super::Foundation:: IRP) -> super::super::super::Win32::Foundation:: NTSTATUS);
IofCallDriver(deviceobject, irp).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
#[inline]
pub unsafe fn IofCompleteRequest(irp: *const super::super::Foundation::IRP, priorityboost: i8) {
::windows_targets::link!("ntoskrnl.exe" "system" fn IofCompleteRequest(irp : *const super::super::Foundation:: IRP, priorityboost : i8) -> ());
IofCompleteRequest(irp, priorityboost)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn KdChangeOption(option: KD_OPTION, inbufferbytes: u32, inbuffer: *const ::core::ffi::c_void, outbufferbytes: u32, outbuffer: *mut ::core::ffi::c_void, outbufferneeded: *mut u32) -> ::windows_core::Result<()> {
::windows_targets::link!("ntoskrnl.exe" "system" fn KdChangeOption(option : KD_OPTION, inbufferbytes : u32, inbuffer : *const ::core::ffi::c_void, outbufferbytes : u32, outbuffer : *mut ::core::ffi::c_void, outbufferneeded : *mut u32) -> super::super::super::Win32::Foundation:: NTSTATUS);
KdChangeOption(option, inbufferbytes, inbuffer, outbufferbytes, outbuffer, outbufferneeded).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn KdDisableDebugger() -> ::windows_core::Result<()> {
::windows_targets::link!("ntoskrnl.exe" "system" fn KdDisableDebugger() -> super::super::super::Win32::Foundation:: NTSTATUS);
KdDisableDebugger().ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn KdEnableDebugger() -> ::windows_core::Result<()> {
::windows_targets::link!("ntoskrnl.exe" "system" fn KdEnableDebugger() -> super::super::super::Win32::Foundation:: NTSTATUS);
KdEnableDebugger().ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn KdRefreshDebuggerNotPresent() -> super::super::super::Win32::Foundation::BOOLEAN {
::windows_targets::link!("ntoskrnl.exe" "system" fn KdRefreshDebuggerNotPresent() -> super::super::super::Win32::Foundation:: BOOLEAN);
KdRefreshDebuggerNotPresent()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
#[inline]
pub unsafe fn KeAcquireGuardedMutex(mutex: *mut super::super::Foundation::FAST_MUTEX) {
::windows_targets::link!("ntoskrnl.exe" "system" fn KeAcquireGuardedMutex(mutex : *mut super::super::Foundation:: FAST_MUTEX) -> ());
KeAcquireGuardedMutex(mutex)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
#[inline]
pub unsafe fn KeAcquireGuardedMutexUnsafe(fastmutex: *mut super::super::Foundation::FAST_MUTEX) {
::windows_targets::link!("ntoskrnl.exe" "system" fn KeAcquireGuardedMutexUnsafe(fastmutex : *mut super::super::Foundation:: FAST_MUTEX) -> ());
KeAcquireGuardedMutexUnsafe(fastmutex)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[inline]
pub unsafe fn KeAcquireInStackQueuedSpinLock(spinlock: *mut usize, lockhandle: *mut KLOCK_QUEUE_HANDLE) {
::windows_targets::link!("ntoskrnl.exe" "system" fn KeAcquireInStackQueuedSpinLock(spinlock : *mut usize, lockhandle : *mut KLOCK_QUEUE_HANDLE) -> ());
KeAcquireInStackQueuedSpinLock(spinlock, lockhandle)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[inline]
pub unsafe fn KeAcquireInStackQueuedSpinLockAtDpcLevel(spinlock: *mut usize, lockhandle: *mut KLOCK_QUEUE_HANDLE) {
::windows_targets::link!("ntoskrnl.exe" "system" fn KeAcquireInStackQueuedSpinLockAtDpcLevel(spinlock : *mut usize, lockhandle : *mut KLOCK_QUEUE_HANDLE) -> ());
KeAcquireInStackQueuedSpinLockAtDpcLevel(spinlock, lockhandle)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[inline]
pub unsafe fn KeAcquireInStackQueuedSpinLockForDpc(spinlock: *mut usize, lockhandle: *mut KLOCK_QUEUE_HANDLE) {
::windows_targets::link!("ntoskrnl.exe" "system" fn KeAcquireInStackQueuedSpinLockForDpc(spinlock : *mut usize, lockhandle : *mut KLOCK_QUEUE_HANDLE) -> ());
KeAcquireInStackQueuedSpinLockForDpc(spinlock, lockhandle)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`*"]
#[cfg(feature = "Wdk_Foundation")]
#[inline]
pub unsafe fn KeAcquireInterruptSpinLock<P0>(interrupt: P0) -> u8
where
P0: ::windows_core::IntoParam<super::super::Foundation::PKINTERRUPT>,
{
::windows_targets::link!("ntoskrnl.exe" "system" fn KeAcquireInterruptSpinLock(interrupt : super::super::Foundation:: PKINTERRUPT) -> u8);
KeAcquireInterruptSpinLock(interrupt.into_param().abi())
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[inline]
pub unsafe fn KeAcquireSpinLockForDpc(spinlock: *mut usize) -> u8 {
::windows_targets::link!("ntoskrnl.exe" "system" fn KeAcquireSpinLockForDpc(spinlock : *mut usize) -> u8);
KeAcquireSpinLockForDpc(spinlock)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"]
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
#[inline]
pub unsafe fn KeAddTriageDumpDataBlock(ktriagedumpdataarray: *mut KTRIAGE_DUMP_DATA_ARRAY, address: *const ::core::ffi::c_void, size: usize) -> ::windows_core::Result<()> {
::windows_targets::link!("ntoskrnl.exe" "system" fn KeAddTriageDumpDataBlock(ktriagedumpdataarray : *mut KTRIAGE_DUMP_DATA_ARRAY, address : *const ::core::ffi::c_void, size : usize) -> super::super::super::Win32::Foundation:: NTSTATUS);
KeAddTriageDumpDataBlock(ktriagedumpdataarray, address, size).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn KeAreAllApcsDisabled() -> super::super::super::Win32::Foundation::BOOLEAN {
::windows_targets::link!("ntoskrnl.exe" "system" fn KeAreAllApcsDisabled() -> super::super::super::Win32::Foundation:: BOOLEAN);
KeAreAllApcsDisabled()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn KeAreApcsDisabled() -> super::super::super::Win32::Foundation::BOOLEAN {
::windows_targets::link!("ntoskrnl.exe" "system" fn KeAreApcsDisabled() -> super::super::super::Win32::Foundation:: BOOLEAN);
KeAreApcsDisabled()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[inline]
pub unsafe fn KeBugCheck(bugcheckcode: u32) {
::windows_targets::link!("ntoskrnl.exe" "system" fn KeBugCheck(bugcheckcode : u32) -> ());
KeBugCheck(bugcheckcode)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[inline]
pub unsafe fn KeBugCheckEx(bugcheckcode: u32, bugcheckparameter1: usize, bugcheckparameter2: usize, bugcheckparameter3: usize, bugcheckparameter4: usize) {
::windows_targets::link!("ntoskrnl.exe" "system" fn KeBugCheckEx(bugcheckcode : u32, bugcheckparameter1 : usize, bugcheckparameter2 : usize, bugcheckparameter3 : usize, bugcheckparameter4 : usize) -> ());
KeBugCheckEx(bugcheckcode, bugcheckparameter1, bugcheckparameter2, bugcheckparameter3, bugcheckparameter4)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
#[inline]
pub unsafe fn KeCancelTimer(param0: *mut KTIMER) -> super::super::super::Win32::Foundation::BOOLEAN {
::windows_targets::link!("ntoskrnl.exe" "system" fn KeCancelTimer(param0 : *mut KTIMER) -> super::super::super::Win32::Foundation:: BOOLEAN);
KeCancelTimer(param0)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
#[inline]
pub unsafe fn KeClearEvent(event: *mut super::super::Foundation::KEVENT) {
::windows_targets::link!("ntoskrnl.exe" "system" fn KeClearEvent(event : *mut super::super::Foundation:: KEVENT) -> ());
KeClearEvent(event)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn KeConvertAuxiliaryCounterToPerformanceCounter(auxiliarycountervalue: u64, performancecountervalue: *mut u64, conversionerror: ::core::option::Option<*mut u64>) -> ::windows_core::Result<()> {
::windows_targets::link!("ntoskrnl.exe" "system" fn KeConvertAuxiliaryCounterToPerformanceCounter(auxiliarycountervalue : u64, performancecountervalue : *mut u64, conversionerror : *mut u64) -> super::super::super::Win32::Foundation:: NTSTATUS);
KeConvertAuxiliaryCounterToPerformanceCounter(auxiliarycountervalue, performancecountervalue, ::core::mem::transmute(conversionerror.unwrap_or(::std::ptr::null_mut()))).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn KeConvertPerformanceCounterToAuxiliaryCounter(performancecountervalue: u64, auxiliarycountervalue: *mut u64, conversionerror: ::core::option::Option<*mut u64>) -> ::windows_core::Result<()> {
::windows_targets::link!("ntoskrnl.exe" "system" fn KeConvertPerformanceCounterToAuxiliaryCounter(performancecountervalue : u64, auxiliarycountervalue : *mut u64, conversionerror : *mut u64) -> super::super::super::Win32::Foundation:: NTSTATUS);
KeConvertPerformanceCounterToAuxiliaryCounter(performancecountervalue, auxiliarycountervalue, ::core::mem::transmute(conversionerror.unwrap_or(::std::ptr::null_mut()))).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn KeDelayExecutionThread<P0>(waitmode: i8, alertable: P0, interval: *const i64) -> ::windows_core::Result<()>
where
P0: ::windows_core::IntoParam<super::super::super::Win32::Foundation::BOOLEAN>,
{
::windows_targets::link!("ntoskrnl.exe" "system" fn KeDelayExecutionThread(waitmode : i8, alertable : super::super::super::Win32::Foundation:: BOOLEAN, interval : *const i64) -> super::super::super::Win32::Foundation:: NTSTATUS);
KeDelayExecutionThread(waitmode, alertable.into_param().abi(), interval).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn KeDeregisterBoundCallback(handle: *const ::core::ffi::c_void) -> ::windows_core::Result<()> {
::windows_targets::link!("ntoskrnl.exe" "system" fn KeDeregisterBoundCallback(handle : *const ::core::ffi::c_void) -> super::super::super::Win32::Foundation:: NTSTATUS);
KeDeregisterBoundCallback(handle).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"]
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
#[inline]
pub unsafe fn KeDeregisterBugCheckCallback(callbackrecord: *mut KBUGCHECK_CALLBACK_RECORD) -> super::super::super::Win32::Foundation::BOOLEAN {
::windows_targets::link!("ntoskrnl.exe" "system" fn KeDeregisterBugCheckCallback(callbackrecord : *mut KBUGCHECK_CALLBACK_RECORD) -> super::super::super::Win32::Foundation:: BOOLEAN);
KeDeregisterBugCheckCallback(callbackrecord)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"]
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
#[inline]
pub unsafe fn KeDeregisterBugCheckReasonCallback(callbackrecord: *mut KBUGCHECK_REASON_CALLBACK_RECORD) -> super::super::super::Win32::Foundation::BOOLEAN {
::windows_targets::link!("ntoskrnl.exe" "system" fn KeDeregisterBugCheckReasonCallback(callbackrecord : *mut KBUGCHECK_REASON_CALLBACK_RECORD) -> super::super::super::Win32::Foundation:: BOOLEAN);
KeDeregisterBugCheckReasonCallback(callbackrecord)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn KeDeregisterNmiCallback(handle: *const ::core::ffi::c_void) -> ::windows_core::Result<()> {
::windows_targets::link!("ntoskrnl.exe" "system" fn KeDeregisterNmiCallback(handle : *const ::core::ffi::c_void) -> super::super::super::Win32::Foundation:: NTSTATUS);
KeDeregisterNmiCallback(handle).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[inline]
pub unsafe fn KeDeregisterProcessorChangeCallback(callbackhandle: *const ::core::ffi::c_void) {
::windows_targets::link!("ntoskrnl.exe" "system" fn KeDeregisterProcessorChangeCallback(callbackhandle : *const ::core::ffi::c_void) -> ());
KeDeregisterProcessorChangeCallback(callbackhandle)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[inline]
pub unsafe fn KeEnterCriticalRegion() {
::windows_targets::link!("ntoskrnl.exe" "system" fn KeEnterCriticalRegion() -> ());
KeEnterCriticalRegion()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[inline]
pub unsafe fn KeEnterGuardedRegion() {
::windows_targets::link!("ntoskrnl.exe" "system" fn KeEnterGuardedRegion() -> ());
KeEnterGuardedRegion()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn KeExpandKernelStackAndCallout(callout: PEXPAND_STACK_CALLOUT, parameter: ::core::option::Option<*const ::core::ffi::c_void>, size: usize) -> ::windows_core::Result<()> {
::windows_targets::link!("ntoskrnl.exe" "system" fn KeExpandKernelStackAndCallout(callout : PEXPAND_STACK_CALLOUT, parameter : *const ::core::ffi::c_void, size : usize) -> super::super::super::Win32::Foundation:: NTSTATUS);
KeExpandKernelStackAndCallout(callout, ::core::mem::transmute(parameter.unwrap_or(::std::ptr::null())), size).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn KeExpandKernelStackAndCalloutEx<P0>(callout: PEXPAND_STACK_CALLOUT, parameter: ::core::option::Option<*const ::core::ffi::c_void>, size: usize, wait: P0, context: ::core::option::Option<*const ::core::ffi::c_void>) -> ::windows_core::Result<()>
where
P0: ::windows_core::IntoParam<super::super::super::Win32::Foundation::BOOLEAN>,
{
::windows_targets::link!("ntoskrnl.exe" "system" fn KeExpandKernelStackAndCalloutEx(callout : PEXPAND_STACK_CALLOUT, parameter : *const ::core::ffi::c_void, size : usize, wait : super::super::super::Win32::Foundation:: BOOLEAN, context : *const ::core::ffi::c_void) -> super::super::super::Win32::Foundation:: NTSTATUS);
KeExpandKernelStackAndCalloutEx(callout, ::core::mem::transmute(parameter.unwrap_or(::std::ptr::null())), size, wait.into_param().abi(), ::core::mem::transmute(context.unwrap_or(::std::ptr::null()))).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))]
#[inline]
pub unsafe fn KeFlushIoBuffers<P0, P1>(mdl: *const super::super::Foundation::MDL, readoperation: P0, dmaoperation: P1)
where
P0: ::windows_core::IntoParam<super::super::super::Win32::Foundation::BOOLEAN>,
P1: ::windows_core::IntoParam<super::super::super::Win32::Foundation::BOOLEAN>,
{
::windows_targets::link!("ntoskrnl.exe" "system" fn KeFlushIoBuffers(mdl : *const super::super::Foundation:: MDL, readoperation : super::super::super::Win32::Foundation:: BOOLEAN, dmaoperation : super::super::super::Win32::Foundation:: BOOLEAN) -> ());
KeFlushIoBuffers(mdl, readoperation.into_param().abi(), dmaoperation.into_param().abi())
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[inline]
pub unsafe fn KeFlushQueuedDpcs() {
::windows_targets::link!("ntoskrnl.exe" "system" fn KeFlushQueuedDpcs() -> ());
KeFlushQueuedDpcs()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[inline]
pub unsafe fn KeFlushWriteBuffer() {
::windows_targets::link!("hal.dll" "system" fn KeFlushWriteBuffer() -> ());
KeFlushWriteBuffer()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[inline]
pub unsafe fn KeGetCurrentIrql() -> u8 {
::windows_targets::link!("ntoskrnl.exe" "system" fn KeGetCurrentIrql() -> u8);
KeGetCurrentIrql()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[inline]
pub unsafe fn KeGetCurrentNodeNumber() -> u16 {
::windows_targets::link!("ntoskrnl.exe" "system" fn KeGetCurrentNodeNumber() -> u16);
KeGetCurrentNodeNumber()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_System_Kernel\"`*"]
#[cfg(feature = "Win32_System_Kernel")]
#[inline]
pub unsafe fn KeGetCurrentProcessorNumberEx(procnumber: ::core::option::Option<*mut super::super::super::Win32::System::Kernel::PROCESSOR_NUMBER>) -> u32 {
::windows_targets::link!("ntoskrnl.exe" "system" fn KeGetCurrentProcessorNumberEx(procnumber : *mut super::super::super::Win32::System::Kernel:: PROCESSOR_NUMBER) -> u32);
KeGetCurrentProcessorNumberEx(::core::mem::transmute(procnumber.unwrap_or(::std::ptr::null_mut())))
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_System_Kernel\"`*"]
#[cfg(feature = "Win32_System_Kernel")]
#[inline]
pub unsafe fn KeGetProcessorIndexFromNumber(procnumber: *const super::super::super::Win32::System::Kernel::PROCESSOR_NUMBER) -> u32 {
::windows_targets::link!("ntoskrnl.exe" "system" fn KeGetProcessorIndexFromNumber(procnumber : *const super::super::super::Win32::System::Kernel:: PROCESSOR_NUMBER) -> u32);
KeGetProcessorIndexFromNumber(procnumber)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"]
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
#[inline]
pub unsafe fn KeGetProcessorNumberFromIndex(procindex: u32, procnumber: *mut super::super::super::Win32::System::Kernel::PROCESSOR_NUMBER) -> ::windows_core::Result<()> {
::windows_targets::link!("ntoskrnl.exe" "system" fn KeGetProcessorNumberFromIndex(procindex : u32, procnumber : *mut super::super::super::Win32::System::Kernel:: PROCESSOR_NUMBER) -> super::super::super::Win32::Foundation:: NTSTATUS);
KeGetProcessorNumberFromIndex(procindex, procnumber).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[inline]
pub unsafe fn KeGetRecommendedSharedDataAlignment() -> u32 {
::windows_targets::link!("ntoskrnl.exe" "system" fn KeGetRecommendedSharedDataAlignment() -> u32);
KeGetRecommendedSharedDataAlignment()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn KeInitializeCrashDumpHeader(dumptype: u32, flags: u32, buffer: *mut ::core::ffi::c_void, buffersize: u32, bufferneeded: ::core::option::Option<*mut u32>) -> ::windows_core::Result<()> {
::windows_targets::link!("ntoskrnl.exe" "system" fn KeInitializeCrashDumpHeader(dumptype : u32, flags : u32, buffer : *mut ::core::ffi::c_void, buffersize : u32, bufferneeded : *mut u32) -> super::super::super::Win32::Foundation:: NTSTATUS);
KeInitializeCrashDumpHeader(dumptype, flags, buffer, buffersize, ::core::mem::transmute(bufferneeded.unwrap_or(::std::ptr::null_mut()))).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
#[inline]
pub unsafe fn KeInitializeDeviceQueue(devicequeue: *mut super::super::Foundation::KDEVICE_QUEUE) {
::windows_targets::link!("ntoskrnl.exe" "system" fn KeInitializeDeviceQueue(devicequeue : *mut super::super::Foundation:: KDEVICE_QUEUE) -> ());
KeInitializeDeviceQueue(devicequeue)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_System_Kernel\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_System_Kernel"))]
#[inline]
pub unsafe fn KeInitializeDpc(dpc: *mut super::super::Foundation::KDPC, deferredroutine: super::super::Foundation::PKDEFERRED_ROUTINE, deferredcontext: ::core::option::Option<*const ::core::ffi::c_void>) {
::windows_targets::link!("ntoskrnl.exe" "system" fn KeInitializeDpc(dpc : *mut super::super::Foundation:: KDPC, deferredroutine : super::super::Foundation:: PKDEFERRED_ROUTINE, deferredcontext : *const ::core::ffi::c_void) -> ());
KeInitializeDpc(dpc, deferredroutine, ::core::mem::transmute(deferredcontext.unwrap_or(::std::ptr::null())))
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
#[inline]
pub unsafe fn KeInitializeEvent<P0>(event: *mut super::super::Foundation::KEVENT, r#type: super::super::super::Win32::System::Kernel::EVENT_TYPE, state: P0)
where
P0: ::windows_core::IntoParam<super::super::super::Win32::Foundation::BOOLEAN>,
{
::windows_targets::link!("ntoskrnl.exe" "system" fn KeInitializeEvent(event : *mut super::super::Foundation:: KEVENT, r#type : super::super::super::Win32::System::Kernel:: EVENT_TYPE, state : super::super::super::Win32::Foundation:: BOOLEAN) -> ());
KeInitializeEvent(event, r#type, state.into_param().abi())
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
#[inline]
pub unsafe fn KeInitializeGuardedMutex(mutex: *mut super::super::Foundation::FAST_MUTEX) {
::windows_targets::link!("ntoskrnl.exe" "system" fn KeInitializeGuardedMutex(mutex : *mut super::super::Foundation:: FAST_MUTEX) -> ());
KeInitializeGuardedMutex(mutex)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
#[inline]
pub unsafe fn KeInitializeMutex(mutex: *mut super::super::Foundation::KMUTANT, level: u32) {
::windows_targets::link!("ntoskrnl.exe" "system" fn KeInitializeMutex(mutex : *mut super::super::Foundation:: KMUTANT, level : u32) -> ());
KeInitializeMutex(mutex, level)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
#[inline]
pub unsafe fn KeInitializeSemaphore(semaphore: *mut KSEMAPHORE, count: i32, limit: i32) {
::windows_targets::link!("ntoskrnl.exe" "system" fn KeInitializeSemaphore(semaphore : *mut KSEMAPHORE, count : i32, limit : i32) -> ());
KeInitializeSemaphore(semaphore, count, limit)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[inline]
pub unsafe fn KeInitializeSpinLock() -> usize {
::windows_targets::link!("ntoskrnl.exe" "system" fn KeInitializeSpinLock(spinlock : *mut usize) -> ());
let mut result__ = ::std::mem::zeroed();
KeInitializeSpinLock(&mut result__);
::std::mem::transmute(result__)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_System_Kernel\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_System_Kernel"))]
#[inline]
pub unsafe fn KeInitializeThreadedDpc(dpc: *mut super::super::Foundation::KDPC, deferredroutine: super::super::Foundation::PKDEFERRED_ROUTINE, deferredcontext: ::core::option::Option<*const ::core::ffi::c_void>) {
::windows_targets::link!("ntoskrnl.exe" "system" fn KeInitializeThreadedDpc(dpc : *mut super::super::Foundation:: KDPC, deferredroutine : super::super::Foundation:: PKDEFERRED_ROUTINE, deferredcontext : *const ::core::ffi::c_void) -> ());
KeInitializeThreadedDpc(dpc, deferredroutine, ::core::mem::transmute(deferredcontext.unwrap_or(::std::ptr::null())))
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
#[inline]
pub unsafe fn KeInitializeTimer(timer: *mut KTIMER) {
::windows_targets::link!("ntoskrnl.exe" "system" fn KeInitializeTimer(timer : *mut KTIMER) -> ());
KeInitializeTimer(timer)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
#[inline]
pub unsafe fn KeInitializeTimerEx(timer: *mut KTIMER, r#type: super::super::super::Win32::System::Kernel::TIMER_TYPE) {
::windows_targets::link!("ntoskrnl.exe" "system" fn KeInitializeTimerEx(timer : *mut KTIMER, r#type : super::super::super::Win32::System::Kernel:: TIMER_TYPE) -> ());
KeInitializeTimerEx(timer, r#type)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"]
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
#[inline]
pub unsafe fn KeInitializeTriageDumpDataArray(ktriagedumpdataarray: *mut KTRIAGE_DUMP_DATA_ARRAY, size: u32) -> ::windows_core::Result<()> {
::windows_targets::link!("ntoskrnl.exe" "system" fn KeInitializeTriageDumpDataArray(ktriagedumpdataarray : *mut KTRIAGE_DUMP_DATA_ARRAY, size : u32) -> super::super::super::Win32::Foundation:: NTSTATUS);
KeInitializeTriageDumpDataArray(ktriagedumpdataarray, size).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
#[inline]
pub unsafe fn KeInsertByKeyDeviceQueue(devicequeue: *mut super::super::Foundation::KDEVICE_QUEUE, devicequeueentry: *mut KDEVICE_QUEUE_ENTRY, sortkey: u32) -> super::super::super::Win32::Foundation::BOOLEAN {
::windows_targets::link!("ntoskrnl.exe" "system" fn KeInsertByKeyDeviceQueue(devicequeue : *mut super::super::Foundation:: KDEVICE_QUEUE, devicequeueentry : *mut KDEVICE_QUEUE_ENTRY, sortkey : u32) -> super::super::super::Win32::Foundation:: BOOLEAN);
KeInsertByKeyDeviceQueue(devicequeue, devicequeueentry, sortkey)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
#[inline]
pub unsafe fn KeInsertDeviceQueue(devicequeue: *mut super::super::Foundation::KDEVICE_QUEUE, devicequeueentry: *mut KDEVICE_QUEUE_ENTRY) -> super::super::super::Win32::Foundation::BOOLEAN {
::windows_targets::link!("ntoskrnl.exe" "system" fn KeInsertDeviceQueue(devicequeue : *mut super::super::Foundation:: KDEVICE_QUEUE, devicequeueentry : *mut KDEVICE_QUEUE_ENTRY) -> super::super::super::Win32::Foundation:: BOOLEAN);
KeInsertDeviceQueue(devicequeue, devicequeueentry)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
#[inline]
pub unsafe fn KeInsertQueueDpc(dpc: *mut super::super::Foundation::KDPC, systemargument1: ::core::option::Option<*const ::core::ffi::c_void>, systemargument2: ::core::option::Option<*const ::core::ffi::c_void>) -> super::super::super::Win32::Foundation::BOOLEAN {
::windows_targets::link!("ntoskrnl.exe" "system" fn KeInsertQueueDpc(dpc : *mut super::super::Foundation:: KDPC, systemargument1 : *const ::core::ffi::c_void, systemargument2 : *const ::core::ffi::c_void) -> super::super::super::Win32::Foundation:: BOOLEAN);
KeInsertQueueDpc(dpc, ::core::mem::transmute(systemargument1.unwrap_or(::std::ptr::null())), ::core::mem::transmute(systemargument2.unwrap_or(::std::ptr::null())))
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn KeInvalidateAllCaches() -> super::super::super::Win32::Foundation::BOOLEAN {
::windows_targets::link!("ntoskrnl.exe" "system" fn KeInvalidateAllCaches() -> super::super::super::Win32::Foundation:: BOOLEAN);
KeInvalidateAllCaches()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[inline]
pub unsafe fn KeInvalidateRangeAllCaches(baseaddress: *const ::core::ffi::c_void, length: u32) {
::windows_targets::link!("ntoskrnl.exe" "system" fn KeInvalidateRangeAllCaches(baseaddress : *const ::core::ffi::c_void, length : u32) -> ());
KeInvalidateRangeAllCaches(baseaddress, length)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[inline]
pub unsafe fn KeIpiGenericCall(broadcastfunction: PKIPI_BROADCAST_WORKER, context: usize) -> usize {
::windows_targets::link!("ntoskrnl.exe" "system" fn KeIpiGenericCall(broadcastfunction : PKIPI_BROADCAST_WORKER, context : usize) -> usize);
KeIpiGenericCall(broadcastfunction, context)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[inline]
pub unsafe fn KeIsExecutingDpc() -> u32 {
::windows_targets::link!("ntoskrnl.exe" "system" fn KeIsExecutingDpc() -> u32);
KeIsExecutingDpc()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[inline]
pub unsafe fn KeLeaveCriticalRegion() {
::windows_targets::link!("ntoskrnl.exe" "system" fn KeLeaveCriticalRegion() -> ());
KeLeaveCriticalRegion()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[inline]
pub unsafe fn KeLeaveGuardedRegion() {
::windows_targets::link!("ntoskrnl.exe" "system" fn KeLeaveGuardedRegion() -> ());
KeLeaveGuardedRegion()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
#[inline]
pub unsafe fn KePulseEvent<P0>(event: *mut super::super::Foundation::KEVENT, increment: i32, wait: P0) -> i32
where
P0: ::windows_core::IntoParam<super::super::super::Win32::Foundation::BOOLEAN>,
{
::windows_targets::link!("ntoskrnl.exe" "system" fn KePulseEvent(event : *mut super::super::Foundation:: KEVENT, increment : i32, wait : super::super::super::Win32::Foundation:: BOOLEAN) -> i32);
KePulseEvent(event, increment, wait.into_param().abi())
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[inline]
pub unsafe fn KeQueryActiveGroupCount() -> u16 {
::windows_targets::link!("ntoskrnl.exe" "system" fn KeQueryActiveGroupCount() -> u16);
KeQueryActiveGroupCount()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[inline]
pub unsafe fn KeQueryActiveProcessorCount(activeprocessors: ::core::option::Option<*mut usize>) -> u32 {
::windows_targets::link!("ntoskrnl.exe" "system" fn KeQueryActiveProcessorCount(activeprocessors : *mut usize) -> u32);
KeQueryActiveProcessorCount(::core::mem::transmute(activeprocessors.unwrap_or(::std::ptr::null_mut())))
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[inline]
pub unsafe fn KeQueryActiveProcessorCountEx(groupnumber: u16) -> u32 {
::windows_targets::link!("ntoskrnl.exe" "system" fn KeQueryActiveProcessorCountEx(groupnumber : u16) -> u32);
KeQueryActiveProcessorCountEx(groupnumber)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[inline]
pub unsafe fn KeQueryActiveProcessors() -> usize {
::windows_targets::link!("ntoskrnl.exe" "system" fn KeQueryActiveProcessors() -> usize);
KeQueryActiveProcessors()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn KeQueryAuxiliaryCounterFrequency(auxiliarycounterfrequency: ::core::option::Option<*mut u64>) -> ::windows_core::Result<()> {
::windows_targets::link!("ntoskrnl.exe" "system" fn KeQueryAuxiliaryCounterFrequency(auxiliarycounterfrequency : *mut u64) -> super::super::super::Win32::Foundation:: NTSTATUS);
KeQueryAuxiliaryCounterFrequency(::core::mem::transmute(auxiliarycounterfrequency.unwrap_or(::std::ptr::null_mut()))).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn KeQueryDpcWatchdogInformation(watchdoginformation: *mut KDPC_WATCHDOG_INFORMATION) -> ::windows_core::Result<()> {
::windows_targets::link!("ntoskrnl.exe" "system" fn KeQueryDpcWatchdogInformation(watchdoginformation : *mut KDPC_WATCHDOG_INFORMATION) -> super::super::super::Win32::Foundation:: NTSTATUS);
KeQueryDpcWatchdogInformation(watchdoginformation).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[inline]
pub unsafe fn KeQueryGroupAffinity(groupnumber: u16) -> usize {
::windows_targets::link!("ntoskrnl.exe" "system" fn KeQueryGroupAffinity(groupnumber : u16) -> usize);
KeQueryGroupAffinity(groupnumber)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn KeQueryHardwareCounterConfiguration(counterarray: &mut [HARDWARE_COUNTER], count: *mut u32) -> ::windows_core::Result<()> {
::windows_targets::link!("ntoskrnl.exe" "system" fn KeQueryHardwareCounterConfiguration(counterarray : *mut HARDWARE_COUNTER, maximumcount : u32, count : *mut u32) -> super::super::super::Win32::Foundation:: NTSTATUS);
KeQueryHardwareCounterConfiguration(::core::mem::transmute(counterarray.as_ptr()), counterarray.len() as _, count).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[inline]
pub unsafe fn KeQueryHighestNodeNumber() -> u16 {
::windows_targets::link!("ntoskrnl.exe" "system" fn KeQueryHighestNodeNumber() -> u16);
KeQueryHighestNodeNumber()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[inline]
pub unsafe fn KeQueryInterruptTimePrecise(qpctimestamp: *mut u64) -> u64 {
::windows_targets::link!("ntoskrnl.exe" "system" fn KeQueryInterruptTimePrecise(qpctimestamp : *mut u64) -> u64);
KeQueryInterruptTimePrecise(qpctimestamp)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_SystemInformation\"`*"]
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel", feature = "Win32_System_SystemInformation"))]
#[inline]
pub unsafe fn KeQueryLogicalProcessorRelationship(processornumber: ::core::option::Option<*const super::super::super::Win32::System::Kernel::PROCESSOR_NUMBER>, relationshiptype: super::super::super::Win32::System::SystemInformation::LOGICAL_PROCESSOR_RELATIONSHIP, information: ::core::option::Option<*mut super::super::super::Win32::System::SystemInformation::SYSTEM_LOGICAL_PROCESSOR_INFORMATION_EX>, length: *mut u32) -> ::windows_core::Result<()> {
::windows_targets::link!("ntoskrnl.exe" "system" fn KeQueryLogicalProcessorRelationship(processornumber : *const super::super::super::Win32::System::Kernel:: PROCESSOR_NUMBER, relationshiptype : super::super::super::Win32::System::SystemInformation:: LOGICAL_PROCESSOR_RELATIONSHIP, information : *mut super::super::super::Win32::System::SystemInformation:: SYSTEM_LOGICAL_PROCESSOR_INFORMATION_EX, length : *mut u32) -> super::super::super::Win32::Foundation:: NTSTATUS);
KeQueryLogicalProcessorRelationship(::core::mem::transmute(processornumber.unwrap_or(::std::ptr::null())), relationshiptype, ::core::mem::transmute(information.unwrap_or(::std::ptr::null_mut())), length).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[inline]
pub unsafe fn KeQueryMaximumGroupCount() -> u16 {
::windows_targets::link!("ntoskrnl.exe" "system" fn KeQueryMaximumGroupCount() -> u16);
KeQueryMaximumGroupCount()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[inline]
pub unsafe fn KeQueryMaximumProcessorCount() -> u32 {
::windows_targets::link!("ntoskrnl.exe" "system" fn KeQueryMaximumProcessorCount() -> u32);
KeQueryMaximumProcessorCount()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[inline]
pub unsafe fn KeQueryMaximumProcessorCountEx(groupnumber: u16) -> u32 {
::windows_targets::link!("ntoskrnl.exe" "system" fn KeQueryMaximumProcessorCountEx(groupnumber : u16) -> u32);
KeQueryMaximumProcessorCountEx(groupnumber)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_System_SystemInformation\"`*"]
#[cfg(feature = "Win32_System_SystemInformation")]
#[inline]
pub unsafe fn KeQueryNodeActiveAffinity(nodenumber: u16, affinity: ::core::option::Option<*mut super::super::super::Win32::System::SystemInformation::GROUP_AFFINITY>, count: ::core::option::Option<*mut u16>) {
::windows_targets::link!("ntoskrnl.exe" "system" fn KeQueryNodeActiveAffinity(nodenumber : u16, affinity : *mut super::super::super::Win32::System::SystemInformation:: GROUP_AFFINITY, count : *mut u16) -> ());
KeQueryNodeActiveAffinity(nodenumber, ::core::mem::transmute(affinity.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(count.unwrap_or(::std::ptr::null_mut())))
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_SystemInformation\"`*"]
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_SystemInformation"))]
#[inline]
pub unsafe fn KeQueryNodeActiveAffinity2(nodenumber: u16, groupaffinities: ::core::option::Option<&mut [super::super::super::Win32::System::SystemInformation::GROUP_AFFINITY]>, groupaffinitiesrequired: *mut u16) -> ::windows_core::Result<()> {
::windows_targets::link!("ntoskrnl.exe" "system" fn KeQueryNodeActiveAffinity2(nodenumber : u16, groupaffinities : *mut super::super::super::Win32::System::SystemInformation:: GROUP_AFFINITY, groupaffinitiescount : u16, groupaffinitiesrequired : *mut u16) -> super::super::super::Win32::Foundation:: NTSTATUS);
KeQueryNodeActiveAffinity2(nodenumber, ::core::mem::transmute(groupaffinities.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), groupaffinities.as_deref().map_or(0, |slice| slice.len() as _), groupaffinitiesrequired).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[inline]
pub unsafe fn KeQueryNodeActiveProcessorCount(nodenumber: u16) -> u32 {
::windows_targets::link!("ntoskrnl.exe" "system" fn KeQueryNodeActiveProcessorCount(nodenumber : u16) -> u32);
KeQueryNodeActiveProcessorCount(nodenumber)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[inline]
pub unsafe fn KeQueryNodeMaximumProcessorCount(nodenumber: u16) -> u16 {
::windows_targets::link!("ntoskrnl.exe" "system" fn KeQueryNodeMaximumProcessorCount(nodenumber : u16) -> u16);
KeQueryNodeMaximumProcessorCount(nodenumber)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[inline]
pub unsafe fn KeQueryPerformanceCounter(performancefrequency: ::core::option::Option<*mut i64>) -> i64 {
::windows_targets::link!("hal.dll" "system" fn KeQueryPerformanceCounter(performancefrequency : *mut i64) -> i64);
KeQueryPerformanceCounter(::core::mem::transmute(performancefrequency.unwrap_or(::std::ptr::null_mut())))
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`*"]
#[cfg(feature = "Wdk_Foundation")]
#[inline]
pub unsafe fn KeQueryPriorityThread<P0>(thread: P0) -> i32
where
P0: ::windows_core::IntoParam<super::super::Foundation::PKTHREAD>,
{
::windows_targets::link!("ntoskrnl.exe" "system" fn KeQueryPriorityThread(thread : super::super::Foundation:: PKTHREAD) -> i32);
KeQueryPriorityThread(thread.into_param().abi())
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`*"]
#[cfg(feature = "Wdk_Foundation")]
#[inline]
pub unsafe fn KeQueryRuntimeThread<P0>(thread: P0, usertime: *mut u32) -> u32
where
P0: ::windows_core::IntoParam<super::super::Foundation::PKTHREAD>,
{
::windows_targets::link!("ntoskrnl.exe" "system" fn KeQueryRuntimeThread(thread : super::super::Foundation:: PKTHREAD, usertime : *mut u32) -> u32);
KeQueryRuntimeThread(thread.into_param().abi(), usertime)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[inline]
pub unsafe fn KeQuerySystemTimePrecise() -> i64 {
::windows_targets::link!("ntoskrnl.exe" "system" fn KeQuerySystemTimePrecise(currenttime : *mut i64) -> ());
let mut result__ = ::std::mem::zeroed();
KeQuerySystemTimePrecise(&mut result__);
::std::mem::transmute(result__)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[inline]
pub unsafe fn KeQueryTimeIncrement() -> u32 {
::windows_targets::link!("ntoskrnl.exe" "system" fn KeQueryTimeIncrement() -> u32);
KeQueryTimeIncrement()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`*"]
#[cfg(feature = "Wdk_Foundation")]
#[inline]
pub unsafe fn KeQueryTotalCycleTimeThread<P0>(thread: P0, cycletimestamp: *mut u64) -> u64
where
P0: ::windows_core::IntoParam<super::super::Foundation::PKTHREAD>,
{
::windows_targets::link!("ntoskrnl.exe" "system" fn KeQueryTotalCycleTimeThread(thread : super::super::Foundation:: PKTHREAD, cycletimestamp : *mut u64) -> u64);
KeQueryTotalCycleTimeThread(thread.into_param().abi(), cycletimestamp)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[inline]
pub unsafe fn KeQueryUnbiasedInterruptTime() -> u64 {
::windows_targets::link!("ntoskrnl.exe" "system" fn KeQueryUnbiasedInterruptTime() -> u64);
KeQueryUnbiasedInterruptTime()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[inline]
pub unsafe fn KeQueryUnbiasedInterruptTimePrecise(qpctimestamp: *mut u64) -> u64 {
::windows_targets::link!("ntoskrnl.exe" "system" fn KeQueryUnbiasedInterruptTimePrecise(qpctimestamp : *mut u64) -> u64);
KeQueryUnbiasedInterruptTimePrecise(qpctimestamp)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
#[inline]
pub unsafe fn KeReadStateEvent(event: *const super::super::Foundation::KEVENT) -> i32 {
::windows_targets::link!("ntoskrnl.exe" "system" fn KeReadStateEvent(event : *const super::super::Foundation:: KEVENT) -> i32);
KeReadStateEvent(event)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
#[inline]
pub unsafe fn KeReadStateMutex(mutex: *const super::super::Foundation::KMUTANT) -> i32 {
::windows_targets::link!("ntoskrnl.exe" "system" fn KeReadStateMutex(mutex : *const super::super::Foundation:: KMUTANT) -> i32);
KeReadStateMutex(mutex)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
#[inline]
pub unsafe fn KeReadStateSemaphore(semaphore: *const KSEMAPHORE) -> i32 {
::windows_targets::link!("ntoskrnl.exe" "system" fn KeReadStateSemaphore(semaphore : *const KSEMAPHORE) -> i32);
KeReadStateSemaphore(semaphore)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
#[inline]
pub unsafe fn KeReadStateTimer(timer: *const KTIMER) -> super::super::super::Win32::Foundation::BOOLEAN {
::windows_targets::link!("ntoskrnl.exe" "system" fn KeReadStateTimer(timer : *const KTIMER) -> super::super::super::Win32::Foundation:: BOOLEAN);
KeReadStateTimer(timer)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[inline]
pub unsafe fn KeRegisterBoundCallback(callbackroutine: PBOUND_CALLBACK) -> *mut ::core::ffi::c_void {
::windows_targets::link!("ntoskrnl.exe" "system" fn KeRegisterBoundCallback(callbackroutine : PBOUND_CALLBACK) -> *mut ::core::ffi::c_void);
KeRegisterBoundCallback(callbackroutine)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"]
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
#[inline]
pub unsafe fn KeRegisterBugCheckCallback(callbackrecord: *mut KBUGCHECK_CALLBACK_RECORD, callbackroutine: PKBUGCHECK_CALLBACK_ROUTINE, buffer: ::core::option::Option<*const ::core::ffi::c_void>, length: u32, component: *const u8) -> super::super::super::Win32::Foundation::BOOLEAN {
::windows_targets::link!("ntoskrnl.exe" "system" fn KeRegisterBugCheckCallback(callbackrecord : *mut KBUGCHECK_CALLBACK_RECORD, callbackroutine : PKBUGCHECK_CALLBACK_ROUTINE, buffer : *const ::core::ffi::c_void, length : u32, component : *const u8) -> super::super::super::Win32::Foundation:: BOOLEAN);
KeRegisterBugCheckCallback(callbackrecord, callbackroutine, ::core::mem::transmute(buffer.unwrap_or(::std::ptr::null())), length, component)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"]
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
#[inline]
pub unsafe fn KeRegisterBugCheckReasonCallback(callbackrecord: *mut KBUGCHECK_REASON_CALLBACK_RECORD, callbackroutine: PKBUGCHECK_REASON_CALLBACK_ROUTINE, reason: KBUGCHECK_CALLBACK_REASON, component: *const u8) -> super::super::super::Win32::Foundation::BOOLEAN {
::windows_targets::link!("ntoskrnl.exe" "system" fn KeRegisterBugCheckReasonCallback(callbackrecord : *mut KBUGCHECK_REASON_CALLBACK_RECORD, callbackroutine : PKBUGCHECK_REASON_CALLBACK_ROUTINE, reason : KBUGCHECK_CALLBACK_REASON, component : *const u8) -> super::super::super::Win32::Foundation:: BOOLEAN);
KeRegisterBugCheckReasonCallback(callbackrecord, callbackroutine, reason, component)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn KeRegisterNmiCallback(callbackroutine: PNMI_CALLBACK, context: ::core::option::Option<*const ::core::ffi::c_void>) -> *mut ::core::ffi::c_void {
::windows_targets::link!("ntoskrnl.exe" "system" fn KeRegisterNmiCallback(callbackroutine : PNMI_CALLBACK, context : *const ::core::ffi::c_void) -> *mut ::core::ffi::c_void);
KeRegisterNmiCallback(callbackroutine, ::core::mem::transmute(context.unwrap_or(::std::ptr::null())))
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[inline]
pub unsafe fn KeRegisterProcessorChangeCallback(callbackfunction: PPROCESSOR_CALLBACK_FUNCTION, callbackcontext: ::core::option::Option<*const ::core::ffi::c_void>, flags: u32) -> *mut ::core::ffi::c_void {
::windows_targets::link!("ntoskrnl.exe" "system" fn KeRegisterProcessorChangeCallback(callbackfunction : PPROCESSOR_CALLBACK_FUNCTION, callbackcontext : *const ::core::ffi::c_void, flags : u32) -> *mut ::core::ffi::c_void);
KeRegisterProcessorChangeCallback(callbackfunction, ::core::mem::transmute(callbackcontext.unwrap_or(::std::ptr::null())), flags)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
#[inline]
pub unsafe fn KeReleaseGuardedMutex(mutex: *mut super::super::Foundation::FAST_MUTEX) {
::windows_targets::link!("ntoskrnl.exe" "system" fn KeReleaseGuardedMutex(mutex : *mut super::super::Foundation:: FAST_MUTEX) -> ());
KeReleaseGuardedMutex(mutex)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
#[inline]
pub unsafe fn KeReleaseGuardedMutexUnsafe(fastmutex: *mut super::super::Foundation::FAST_MUTEX) {
::windows_targets::link!("ntoskrnl.exe" "system" fn KeReleaseGuardedMutexUnsafe(fastmutex : *mut super::super::Foundation:: FAST_MUTEX) -> ());
KeReleaseGuardedMutexUnsafe(fastmutex)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[inline]
pub unsafe fn KeReleaseInStackQueuedSpinLock(lockhandle: *const KLOCK_QUEUE_HANDLE) {
::windows_targets::link!("ntoskrnl.exe" "system" fn KeReleaseInStackQueuedSpinLock(lockhandle : *const KLOCK_QUEUE_HANDLE) -> ());
KeReleaseInStackQueuedSpinLock(lockhandle)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[inline]
pub unsafe fn KeReleaseInStackQueuedSpinLockForDpc(lockhandle: *const KLOCK_QUEUE_HANDLE) {
::windows_targets::link!("ntoskrnl.exe" "system" fn KeReleaseInStackQueuedSpinLockForDpc(lockhandle : *const KLOCK_QUEUE_HANDLE) -> ());
KeReleaseInStackQueuedSpinLockForDpc(lockhandle)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[inline]
pub unsafe fn KeReleaseInStackQueuedSpinLockFromDpcLevel(lockhandle: *const KLOCK_QUEUE_HANDLE) {
::windows_targets::link!("ntoskrnl.exe" "system" fn KeReleaseInStackQueuedSpinLockFromDpcLevel(lockhandle : *const KLOCK_QUEUE_HANDLE) -> ());
KeReleaseInStackQueuedSpinLockFromDpcLevel(lockhandle)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`*"]
#[cfg(feature = "Wdk_Foundation")]
#[inline]
pub unsafe fn KeReleaseInterruptSpinLock<P0>(interrupt: P0, oldirql: u8)
where
P0: ::windows_core::IntoParam<super::super::Foundation::PKINTERRUPT>,
{
::windows_targets::link!("ntoskrnl.exe" "system" fn KeReleaseInterruptSpinLock(interrupt : super::super::Foundation:: PKINTERRUPT, oldirql : u8) -> ());
KeReleaseInterruptSpinLock(interrupt.into_param().abi(), oldirql)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
#[inline]
pub unsafe fn KeReleaseMutex<P0>(mutex: *mut super::super::Foundation::KMUTANT, wait: P0) -> i32
where
P0: ::windows_core::IntoParam<super::super::super::Win32::Foundation::BOOLEAN>,
{
::windows_targets::link!("ntoskrnl.exe" "system" fn KeReleaseMutex(mutex : *mut super::super::Foundation:: KMUTANT, wait : super::super::super::Win32::Foundation:: BOOLEAN) -> i32);
KeReleaseMutex(mutex, wait.into_param().abi())
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
#[inline]
pub unsafe fn KeReleaseSemaphore<P0>(semaphore: *mut KSEMAPHORE, increment: i32, adjustment: i32, wait: P0) -> i32
where
P0: ::windows_core::IntoParam<super::super::super::Win32::Foundation::BOOLEAN>,
{
::windows_targets::link!("ntoskrnl.exe" "system" fn KeReleaseSemaphore(semaphore : *mut KSEMAPHORE, increment : i32, adjustment : i32, wait : super::super::super::Win32::Foundation:: BOOLEAN) -> i32);
KeReleaseSemaphore(semaphore, increment, adjustment, wait.into_param().abi())
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[inline]
pub unsafe fn KeReleaseSpinLockForDpc(spinlock: *mut usize, oldirql: u8) {
::windows_targets::link!("ntoskrnl.exe" "system" fn KeReleaseSpinLockForDpc(spinlock : *mut usize, oldirql : u8) -> ());
KeReleaseSpinLockForDpc(spinlock, oldirql)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
#[inline]
pub unsafe fn KeRemoveByKeyDeviceQueue(devicequeue: *mut super::super::Foundation::KDEVICE_QUEUE, sortkey: u32) -> *mut KDEVICE_QUEUE_ENTRY {
::windows_targets::link!("ntoskrnl.exe" "system" fn KeRemoveByKeyDeviceQueue(devicequeue : *mut super::super::Foundation:: KDEVICE_QUEUE, sortkey : u32) -> *mut KDEVICE_QUEUE_ENTRY);
KeRemoveByKeyDeviceQueue(devicequeue, sortkey)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
#[inline]
pub unsafe fn KeRemoveByKeyDeviceQueueIfBusy(devicequeue: *mut super::super::Foundation::KDEVICE_QUEUE, sortkey: u32) -> *mut KDEVICE_QUEUE_ENTRY {
::windows_targets::link!("ntoskrnl.exe" "system" fn KeRemoveByKeyDeviceQueueIfBusy(devicequeue : *mut super::super::Foundation:: KDEVICE_QUEUE, sortkey : u32) -> *mut KDEVICE_QUEUE_ENTRY);
KeRemoveByKeyDeviceQueueIfBusy(devicequeue, sortkey)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
#[inline]
pub unsafe fn KeRemoveDeviceQueue(devicequeue: *mut super::super::Foundation::KDEVICE_QUEUE) -> *mut KDEVICE_QUEUE_ENTRY {
::windows_targets::link!("ntoskrnl.exe" "system" fn KeRemoveDeviceQueue(devicequeue : *mut super::super::Foundation:: KDEVICE_QUEUE) -> *mut KDEVICE_QUEUE_ENTRY);
KeRemoveDeviceQueue(devicequeue)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
#[inline]
pub unsafe fn KeRemoveEntryDeviceQueue(devicequeue: *mut super::super::Foundation::KDEVICE_QUEUE, devicequeueentry: *mut KDEVICE_QUEUE_ENTRY) -> super::super::super::Win32::Foundation::BOOLEAN {
::windows_targets::link!("ntoskrnl.exe" "system" fn KeRemoveEntryDeviceQueue(devicequeue : *mut super::super::Foundation:: KDEVICE_QUEUE, devicequeueentry : *mut KDEVICE_QUEUE_ENTRY) -> super::super::super::Win32::Foundation:: BOOLEAN);
KeRemoveEntryDeviceQueue(devicequeue, devicequeueentry)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
#[inline]
pub unsafe fn KeRemoveQueueDpc(dpc: *mut super::super::Foundation::KDPC) -> super::super::super::Win32::Foundation::BOOLEAN {
::windows_targets::link!("ntoskrnl.exe" "system" fn KeRemoveQueueDpc(dpc : *mut super::super::Foundation:: KDPC) -> super::super::super::Win32::Foundation:: BOOLEAN);
KeRemoveQueueDpc(dpc)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
#[inline]
pub unsafe fn KeRemoveQueueDpcEx<P0>(dpc: *mut super::super::Foundation::KDPC, waitifactive: P0) -> super::super::super::Win32::Foundation::BOOLEAN
where
P0: ::windows_core::IntoParam<super::super::super::Win32::Foundation::BOOLEAN>,
{
::windows_targets::link!("ntoskrnl.exe" "system" fn KeRemoveQueueDpcEx(dpc : *mut super::super::Foundation:: KDPC, waitifactive : super::super::super::Win32::Foundation:: BOOLEAN) -> super::super::super::Win32::Foundation:: BOOLEAN);
KeRemoveQueueDpcEx(dpc, waitifactive.into_param().abi())
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
#[inline]
pub unsafe fn KeResetEvent(event: *mut super::super::Foundation::KEVENT) -> i32 {
::windows_targets::link!("ntoskrnl.exe" "system" fn KeResetEvent(event : *mut super::super::Foundation:: KEVENT) -> i32);
KeResetEvent(event)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_System_Diagnostics_Debug\"`*"]
#[cfg(feature = "Win32_System_Diagnostics_Debug")]
#[inline]
pub unsafe fn KeRestoreExtendedProcessorState(xstatesave: *const XSTATE_SAVE) {
::windows_targets::link!("ntoskrnl.exe" "system" fn KeRestoreExtendedProcessorState(xstatesave : *const XSTATE_SAVE) -> ());
KeRestoreExtendedProcessorState(xstatesave)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[inline]
pub unsafe fn KeRevertToUserAffinityThread() {
::windows_targets::link!("ntoskrnl.exe" "system" fn KeRevertToUserAffinityThread() -> ());
KeRevertToUserAffinityThread()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[inline]
pub unsafe fn KeRevertToUserAffinityThreadEx(affinity: usize) {
::windows_targets::link!("ntoskrnl.exe" "system" fn KeRevertToUserAffinityThreadEx(affinity : usize) -> ());
KeRevertToUserAffinityThreadEx(affinity)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_System_SystemInformation\"`*"]
#[cfg(feature = "Win32_System_SystemInformation")]
#[inline]
pub unsafe fn KeRevertToUserGroupAffinityThread(previousaffinity: *const super::super::super::Win32::System::SystemInformation::GROUP_AFFINITY) {
::windows_targets::link!("ntoskrnl.exe" "system" fn KeRevertToUserGroupAffinityThread(previousaffinity : *const super::super::super::Win32::System::SystemInformation:: GROUP_AFFINITY) -> ());
KeRevertToUserGroupAffinityThread(previousaffinity)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Diagnostics_Debug\"`*"]
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Diagnostics_Debug"))]
#[inline]
pub unsafe fn KeSaveExtendedProcessorState(mask: u64, xstatesave: *mut XSTATE_SAVE) -> ::windows_core::Result<()> {
::windows_targets::link!("ntoskrnl.exe" "system" fn KeSaveExtendedProcessorState(mask : u64, xstatesave : *mut XSTATE_SAVE) -> super::super::super::Win32::Foundation:: NTSTATUS);
KeSaveExtendedProcessorState(mask, xstatesave).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`*"]
#[cfg(feature = "Wdk_Foundation")]
#[inline]
pub unsafe fn KeSetBasePriorityThread<P0>(thread: P0, increment: i32) -> i32
where
P0: ::windows_core::IntoParam<super::super::Foundation::PKTHREAD>,
{
::windows_targets::link!("ntoskrnl.exe" "system" fn KeSetBasePriorityThread(thread : super::super::Foundation:: PKTHREAD, increment : i32) -> i32);
KeSetBasePriorityThread(thread.into_param().abi(), increment)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
#[inline]
pub unsafe fn KeSetCoalescableTimer(timer: *mut KTIMER, duetime: i64, period: u32, tolerabledelay: u32, dpc: ::core::option::Option<*const super::super::Foundation::KDPC>) -> super::super::super::Win32::Foundation::BOOLEAN {
::windows_targets::link!("ntoskrnl.exe" "system" fn KeSetCoalescableTimer(timer : *mut KTIMER, duetime : i64, period : u32, tolerabledelay : u32, dpc : *const super::super::Foundation:: KDPC) -> super::super::super::Win32::Foundation:: BOOLEAN);
KeSetCoalescableTimer(timer, duetime, period, tolerabledelay, ::core::mem::transmute(dpc.unwrap_or(::std::ptr::null())))
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
#[inline]
pub unsafe fn KeSetEvent<P0>(event: *mut super::super::Foundation::KEVENT, increment: i32, wait: P0) -> i32
where
P0: ::windows_core::IntoParam<super::super::super::Win32::Foundation::BOOLEAN>,
{
::windows_targets::link!("ntoskrnl.exe" "system" fn KeSetEvent(event : *mut super::super::Foundation:: KEVENT, increment : i32, wait : super::super::super::Win32::Foundation:: BOOLEAN) -> i32);
KeSetEvent(event, increment, wait.into_param().abi())
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn KeSetHardwareCounterConfiguration(counterarray: &[HARDWARE_COUNTER]) -> ::windows_core::Result<()> {
::windows_targets::link!("ntoskrnl.exe" "system" fn KeSetHardwareCounterConfiguration(counterarray : *const HARDWARE_COUNTER, count : u32) -> super::super::super::Win32::Foundation:: NTSTATUS);
KeSetHardwareCounterConfiguration(::core::mem::transmute(counterarray.as_ptr()), counterarray.len() as _).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_System_Kernel\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_System_Kernel"))]
#[inline]
pub unsafe fn KeSetImportanceDpc(dpc: *mut super::super::Foundation::KDPC, importance: KDPC_IMPORTANCE) {
::windows_targets::link!("ntoskrnl.exe" "system" fn KeSetImportanceDpc(dpc : *mut super::super::Foundation:: KDPC, importance : KDPC_IMPORTANCE) -> ());
KeSetImportanceDpc(dpc, importance)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`*"]
#[cfg(feature = "Wdk_Foundation")]
#[inline]
pub unsafe fn KeSetPriorityThread<P0>(thread: P0, priority: i32) -> i32
where
P0: ::windows_core::IntoParam<super::super::Foundation::PKTHREAD>,
{
::windows_targets::link!("ntoskrnl.exe" "system" fn KeSetPriorityThread(thread : super::super::Foundation:: PKTHREAD, priority : i32) -> i32);
KeSetPriorityThread(thread.into_param().abi(), priority)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[inline]
pub unsafe fn KeSetSystemAffinityThread(affinity: usize) {
::windows_targets::link!("ntoskrnl.exe" "system" fn KeSetSystemAffinityThread(affinity : usize) -> ());
KeSetSystemAffinityThread(affinity)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[inline]
pub unsafe fn KeSetSystemAffinityThreadEx(affinity: usize) -> usize {
::windows_targets::link!("ntoskrnl.exe" "system" fn KeSetSystemAffinityThreadEx(affinity : usize) -> usize);
KeSetSystemAffinityThreadEx(affinity)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_System_SystemInformation\"`*"]
#[cfg(feature = "Win32_System_SystemInformation")]
#[inline]
pub unsafe fn KeSetSystemGroupAffinityThread(affinity: *const super::super::super::Win32::System::SystemInformation::GROUP_AFFINITY, previousaffinity: ::core::option::Option<*mut super::super::super::Win32::System::SystemInformation::GROUP_AFFINITY>) {
::windows_targets::link!("ntoskrnl.exe" "system" fn KeSetSystemGroupAffinityThread(affinity : *const super::super::super::Win32::System::SystemInformation:: GROUP_AFFINITY, previousaffinity : *mut super::super::super::Win32::System::SystemInformation:: GROUP_AFFINITY) -> ());
KeSetSystemGroupAffinityThread(affinity, ::core::mem::transmute(previousaffinity.unwrap_or(::std::ptr::null_mut())))
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_System_Kernel\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_System_Kernel"))]
#[inline]
pub unsafe fn KeSetTargetProcessorDpc(dpc: *mut super::super::Foundation::KDPC, number: i8) {
::windows_targets::link!("ntoskrnl.exe" "system" fn KeSetTargetProcessorDpc(dpc : *mut super::super::Foundation:: KDPC, number : i8) -> ());
KeSetTargetProcessorDpc(dpc, number)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
#[inline]
pub unsafe fn KeSetTargetProcessorDpcEx(dpc: *mut super::super::Foundation::KDPC, procnumber: *const super::super::super::Win32::System::Kernel::PROCESSOR_NUMBER) -> ::windows_core::Result<()> {
::windows_targets::link!("ntoskrnl.exe" "system" fn KeSetTargetProcessorDpcEx(dpc : *mut super::super::Foundation:: KDPC, procnumber : *const super::super::super::Win32::System::Kernel:: PROCESSOR_NUMBER) -> super::super::super::Win32::Foundation:: NTSTATUS);
KeSetTargetProcessorDpcEx(dpc, procnumber).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
#[inline]
pub unsafe fn KeSetTimer(timer: *mut KTIMER, duetime: i64, dpc: ::core::option::Option<*const super::super::Foundation::KDPC>) -> super::super::super::Win32::Foundation::BOOLEAN {
::windows_targets::link!("ntoskrnl.exe" "system" fn KeSetTimer(timer : *mut KTIMER, duetime : i64, dpc : *const super::super::Foundation:: KDPC) -> super::super::super::Win32::Foundation:: BOOLEAN);
KeSetTimer(timer, duetime, ::core::mem::transmute(dpc.unwrap_or(::std::ptr::null())))
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
#[inline]
pub unsafe fn KeSetTimerEx(timer: *mut KTIMER, duetime: i64, period: i32, dpc: ::core::option::Option<*const super::super::Foundation::KDPC>) -> super::super::super::Win32::Foundation::BOOLEAN {
::windows_targets::link!("ntoskrnl.exe" "system" fn KeSetTimerEx(timer : *mut KTIMER, duetime : i64, period : i32, dpc : *const super::super::Foundation:: KDPC) -> super::super::super::Win32::Foundation:: BOOLEAN);
KeSetTimerEx(timer, duetime, period, ::core::mem::transmute(dpc.unwrap_or(::std::ptr::null())))
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[inline]
pub unsafe fn KeShouldYieldProcessor() -> u32 {
::windows_targets::link!("ntoskrnl.exe" "system" fn KeShouldYieldProcessor() -> u32);
KeShouldYieldProcessor()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[inline]
pub unsafe fn KeStallExecutionProcessor(microseconds: u32) {
::windows_targets::link!("hal.dll" "system" fn KeStallExecutionProcessor(microseconds : u32) -> ());
KeStallExecutionProcessor(microseconds)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))]
#[inline]
pub unsafe fn KeSynchronizeExecution<P0>(interrupt: P0, synchronizeroutine: PKSYNCHRONIZE_ROUTINE, synchronizecontext: ::core::option::Option<*const ::core::ffi::c_void>) -> super::super::super::Win32::Foundation::BOOLEAN
where
P0: ::windows_core::IntoParam<super::super::Foundation::PKINTERRUPT>,
{
::windows_targets::link!("ntoskrnl.exe" "system" fn KeSynchronizeExecution(interrupt : super::super::Foundation:: PKINTERRUPT, synchronizeroutine : PKSYNCHRONIZE_ROUTINE, synchronizecontext : *const ::core::ffi::c_void) -> super::super::super::Win32::Foundation:: BOOLEAN);
KeSynchronizeExecution(interrupt.into_param().abi(), synchronizeroutine, ::core::mem::transmute(synchronizecontext.unwrap_or(::std::ptr::null())))
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn KeTestSpinLock(spinlock: *const usize) -> super::super::super::Win32::Foundation::BOOLEAN {
::windows_targets::link!("ntoskrnl.exe" "system" fn KeTestSpinLock(spinlock : *const usize) -> super::super::super::Win32::Foundation:: BOOLEAN);
KeTestSpinLock(spinlock)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
#[inline]
pub unsafe fn KeTryToAcquireGuardedMutex(mutex: *mut super::super::Foundation::FAST_MUTEX) -> super::super::super::Win32::Foundation::BOOLEAN {
::windows_targets::link!("ntoskrnl.exe" "system" fn KeTryToAcquireGuardedMutex(mutex : *mut super::super::Foundation:: FAST_MUTEX) -> super::super::super::Win32::Foundation:: BOOLEAN);
KeTryToAcquireGuardedMutex(mutex)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn KeTryToAcquireSpinLockAtDpcLevel(spinlock: *mut usize) -> super::super::super::Win32::Foundation::BOOLEAN {
::windows_targets::link!("ntoskrnl.exe" "system" fn KeTryToAcquireSpinLockAtDpcLevel(spinlock : *mut usize) -> super::super::super::Win32::Foundation:: BOOLEAN);
KeTryToAcquireSpinLockAtDpcLevel(spinlock)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
#[inline]
pub unsafe fn KeWaitForMultipleObjects<P0>(object: &[*const ::core::ffi::c_void], waittype: super::super::super::Win32::System::Kernel::WAIT_TYPE, waitreason: KWAIT_REASON, waitmode: i8, alertable: P0, timeout: ::core::option::Option<*const i64>, waitblockarray: ::core::option::Option<*mut super::super::Foundation::KWAIT_BLOCK>) -> ::windows_core::Result<()>
where
P0: ::windows_core::IntoParam<super::super::super::Win32::Foundation::BOOLEAN>,
{
::windows_targets::link!("ntoskrnl.exe" "system" fn KeWaitForMultipleObjects(count : u32, object : *const *const ::core::ffi::c_void, waittype : super::super::super::Win32::System::Kernel:: WAIT_TYPE, waitreason : KWAIT_REASON, waitmode : i8, alertable : super::super::super::Win32::Foundation:: BOOLEAN, timeout : *const i64, waitblockarray : *mut super::super::Foundation:: KWAIT_BLOCK) -> super::super::super::Win32::Foundation:: NTSTATUS);
KeWaitForMultipleObjects(object.len() as _, ::core::mem::transmute(object.as_ptr()), waittype, waitreason, waitmode, alertable.into_param().abi(), ::core::mem::transmute(timeout.unwrap_or(::std::ptr::null())), ::core::mem::transmute(waitblockarray.unwrap_or(::std::ptr::null_mut()))).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn KeWaitForSingleObject<P0>(object: *const ::core::ffi::c_void, waitreason: KWAIT_REASON, waitmode: i8, alertable: P0, timeout: ::core::option::Option<*const i64>) -> ::windows_core::Result<()>
where
P0: ::windows_core::IntoParam<super::super::super::Win32::Foundation::BOOLEAN>,
{
::windows_targets::link!("ntoskrnl.exe" "system" fn KeWaitForSingleObject(object : *const ::core::ffi::c_void, waitreason : KWAIT_REASON, waitmode : i8, alertable : super::super::super::Win32::Foundation:: BOOLEAN, timeout : *const i64) -> super::super::super::Win32::Foundation:: NTSTATUS);
KeWaitForSingleObject(object, waitreason, waitmode, alertable.into_param().abi(), ::core::mem::transmute(timeout.unwrap_or(::std::ptr::null()))).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[inline]
pub unsafe fn KfRaiseIrql(newirql: u8) -> u8 {
::windows_targets::link!("ntoskrnl.exe" "system" fn KfRaiseIrql(newirql : u8) -> u8);
KfRaiseIrql(newirql)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn MmAddPhysicalMemory(startaddress: *const i64, numberofbytes: *mut i64) -> ::windows_core::Result<()> {
::windows_targets::link!("ntoskrnl.exe" "system" fn MmAddPhysicalMemory(startaddress : *const i64, numberofbytes : *mut i64) -> super::super::super::Win32::Foundation:: NTSTATUS);
MmAddPhysicalMemory(startaddress, numberofbytes).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn MmAddVerifierSpecialThunks(entryroutine: usize, thunkbuffer: *const ::core::ffi::c_void, thunkbuffersize: u32) -> ::windows_core::Result<()> {
::windows_targets::link!("ntoskrnl.exe" "system" fn MmAddVerifierSpecialThunks(entryroutine : usize, thunkbuffer : *const ::core::ffi::c_void, thunkbuffersize : u32) -> super::super::super::Win32::Foundation:: NTSTATUS);
MmAddVerifierSpecialThunks(entryroutine, thunkbuffer, thunkbuffersize).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn MmAddVerifierThunks(thunkbuffer: *const ::core::ffi::c_void, thunkbuffersize: u32) -> ::windows_core::Result<()> {
::windows_targets::link!("ntoskrnl.exe" "system" fn MmAddVerifierThunks(thunkbuffer : *const ::core::ffi::c_void, thunkbuffersize : u32) -> super::super::super::Win32::Foundation:: NTSTATUS);
MmAddVerifierThunks(thunkbuffer, thunkbuffersize).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))]
#[inline]
pub unsafe fn MmAdvanceMdl(mdl: *mut super::super::Foundation::MDL, numberofbytes: u32) -> ::windows_core::Result<()> {
::windows_targets::link!("ntoskrnl.exe" "system" fn MmAdvanceMdl(mdl : *mut super::super::Foundation:: MDL, numberofbytes : u32) -> super::super::super::Win32::Foundation:: NTSTATUS);
MmAdvanceMdl(mdl, numberofbytes).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[inline]
pub unsafe fn MmAllocateContiguousMemory(numberofbytes: usize, highestacceptableaddress: i64) -> *mut ::core::ffi::c_void {
::windows_targets::link!("ntoskrnl.exe" "system" fn MmAllocateContiguousMemory(numberofbytes : usize, highestacceptableaddress : i64) -> *mut ::core::ffi::c_void);
MmAllocateContiguousMemory(numberofbytes, highestacceptableaddress)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn MmAllocateContiguousMemoryEx(numberofbytes: *const usize, lowestacceptableaddress: i64, highestacceptableaddress: i64, boundaryaddressmultiple: i64, preferrednode: u32, protect: u32, partitionobject: ::core::option::Option<*const ::core::ffi::c_void>, tag: u32, flags: u32, baseaddress: *mut *mut ::core::ffi::c_void) -> ::windows_core::Result<()> {
::windows_targets::link!("ntoskrnl.exe" "system" fn MmAllocateContiguousMemoryEx(numberofbytes : *const usize, lowestacceptableaddress : i64, highestacceptableaddress : i64, boundaryaddressmultiple : i64, preferrednode : u32, protect : u32, partitionobject : *const ::core::ffi::c_void, tag : u32, flags : u32, baseaddress : *mut *mut ::core::ffi::c_void) -> super::super::super::Win32::Foundation:: NTSTATUS);
MmAllocateContiguousMemoryEx(numberofbytes, lowestacceptableaddress, highestacceptableaddress, boundaryaddressmultiple, preferrednode, protect, ::core::mem::transmute(partitionobject.unwrap_or(::std::ptr::null())), tag, flags, baseaddress).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[inline]
pub unsafe fn MmAllocateContiguousMemorySpecifyCache(numberofbytes: usize, lowestacceptableaddress: i64, highestacceptableaddress: i64, boundaryaddressmultiple: i64, cachetype: MEMORY_CACHING_TYPE) -> *mut ::core::ffi::c_void {
::windows_targets::link!("ntoskrnl.exe" "system" fn MmAllocateContiguousMemorySpecifyCache(numberofbytes : usize, lowestacceptableaddress : i64, highestacceptableaddress : i64, boundaryaddressmultiple : i64, cachetype : MEMORY_CACHING_TYPE) -> *mut ::core::ffi::c_void);
MmAllocateContiguousMemorySpecifyCache(numberofbytes, lowestacceptableaddress, highestacceptableaddress, boundaryaddressmultiple, cachetype)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[inline]
pub unsafe fn MmAllocateContiguousMemorySpecifyCacheNode(numberofbytes: usize, lowestacceptableaddress: i64, highestacceptableaddress: i64, boundaryaddressmultiple: i64, cachetype: MEMORY_CACHING_TYPE, preferrednode: u32) -> *mut ::core::ffi::c_void {
::windows_targets::link!("ntoskrnl.exe" "system" fn MmAllocateContiguousMemorySpecifyCacheNode(numberofbytes : usize, lowestacceptableaddress : i64, highestacceptableaddress : i64, boundaryaddressmultiple : i64, cachetype : MEMORY_CACHING_TYPE, preferrednode : u32) -> *mut ::core::ffi::c_void);
MmAllocateContiguousMemorySpecifyCacheNode(numberofbytes, lowestacceptableaddress, highestacceptableaddress, boundaryaddressmultiple, cachetype, preferrednode)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[inline]
pub unsafe fn MmAllocateContiguousNodeMemory(numberofbytes: usize, lowestacceptableaddress: i64, highestacceptableaddress: i64, boundaryaddressmultiple: i64, protect: u32, preferrednode: u32) -> *mut ::core::ffi::c_void {
::windows_targets::link!("ntoskrnl.exe" "system" fn MmAllocateContiguousNodeMemory(numberofbytes : usize, lowestacceptableaddress : i64, highestacceptableaddress : i64, boundaryaddressmultiple : i64, protect : u32, preferrednode : u32) -> *mut ::core::ffi::c_void);
MmAllocateContiguousNodeMemory(numberofbytes, lowestacceptableaddress, highestacceptableaddress, boundaryaddressmultiple, protect, preferrednode)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[inline]
pub unsafe fn MmAllocateMappingAddress(numberofbytes: usize, pooltag: u32) -> *mut ::core::ffi::c_void {
::windows_targets::link!("ntoskrnl.exe" "system" fn MmAllocateMappingAddress(numberofbytes : usize, pooltag : u32) -> *mut ::core::ffi::c_void);
MmAllocateMappingAddress(numberofbytes, pooltag)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[inline]
pub unsafe fn MmAllocateMappingAddressEx(numberofbytes: usize, pooltag: u32, flags: u32) -> *mut ::core::ffi::c_void {
::windows_targets::link!("ntoskrnl.exe" "system" fn MmAllocateMappingAddressEx(numberofbytes : usize, pooltag : u32, flags : u32) -> *mut ::core::ffi::c_void);
MmAllocateMappingAddressEx(numberofbytes, pooltag, flags)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))]
#[inline]
pub unsafe fn MmAllocateMdlForIoSpace(physicaladdresslist: &[MM_PHYSICAL_ADDRESS_LIST], newmdl: *mut *mut super::super::Foundation::MDL) -> ::windows_core::Result<()> {
::windows_targets::link!("ntoskrnl.exe" "system" fn MmAllocateMdlForIoSpace(physicaladdresslist : *const MM_PHYSICAL_ADDRESS_LIST, numberofentries : usize, newmdl : *mut *mut super::super::Foundation:: MDL) -> super::super::super::Win32::Foundation:: NTSTATUS);
MmAllocateMdlForIoSpace(::core::mem::transmute(physicaladdresslist.as_ptr()), physicaladdresslist.len() as _, newmdl).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`*"]
#[cfg(feature = "Wdk_Foundation")]
#[inline]
pub unsafe fn MmAllocateNodePagesForMdlEx(lowaddress: i64, highaddress: i64, skipbytes: i64, totalbytes: usize, cachetype: MEMORY_CACHING_TYPE, idealnode: u32, flags: u32) -> *mut super::super::Foundation::MDL {
::windows_targets::link!("ntoskrnl.exe" "system" fn MmAllocateNodePagesForMdlEx(lowaddress : i64, highaddress : i64, skipbytes : i64, totalbytes : usize, cachetype : MEMORY_CACHING_TYPE, idealnode : u32, flags : u32) -> *mut super::super::Foundation:: MDL);
MmAllocateNodePagesForMdlEx(lowaddress, highaddress, skipbytes, totalbytes, cachetype, idealnode, flags)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[inline]
pub unsafe fn MmAllocateNonCachedMemory(numberofbytes: usize) -> *mut ::core::ffi::c_void {
::windows_targets::link!("ntoskrnl.exe" "system" fn MmAllocateNonCachedMemory(numberofbytes : usize) -> *mut ::core::ffi::c_void);
MmAllocateNonCachedMemory(numberofbytes)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`*"]
#[cfg(feature = "Wdk_Foundation")]
#[inline]
pub unsafe fn MmAllocatePagesForMdl(lowaddress: i64, highaddress: i64, skipbytes: i64, totalbytes: usize) -> *mut super::super::Foundation::MDL {
::windows_targets::link!("ntoskrnl.exe" "system" fn MmAllocatePagesForMdl(lowaddress : i64, highaddress : i64, skipbytes : i64, totalbytes : usize) -> *mut super::super::Foundation:: MDL);
MmAllocatePagesForMdl(lowaddress, highaddress, skipbytes, totalbytes)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`*"]
#[cfg(feature = "Wdk_Foundation")]
#[inline]
pub unsafe fn MmAllocatePagesForMdlEx(lowaddress: i64, highaddress: i64, skipbytes: i64, totalbytes: usize, cachetype: MEMORY_CACHING_TYPE, flags: u32) -> *mut super::super::Foundation::MDL {
::windows_targets::link!("ntoskrnl.exe" "system" fn MmAllocatePagesForMdlEx(lowaddress : i64, highaddress : i64, skipbytes : i64, totalbytes : usize, cachetype : MEMORY_CACHING_TYPE, flags : u32) -> *mut super::super::Foundation:: MDL);
MmAllocatePagesForMdlEx(lowaddress, highaddress, skipbytes, totalbytes, cachetype, flags)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`*"]
#[cfg(feature = "Wdk_Foundation")]
#[inline]
pub unsafe fn MmAllocatePartitionNodePagesForMdlEx(lowaddress: i64, highaddress: i64, skipbytes: i64, totalbytes: usize, cachetype: MEMORY_CACHING_TYPE, idealnode: u32, flags: u32, partitionobject: ::core::option::Option<*const ::core::ffi::c_void>) -> *mut super::super::Foundation::MDL {
::windows_targets::link!("ntoskrnl.exe" "system" fn MmAllocatePartitionNodePagesForMdlEx(lowaddress : i64, highaddress : i64, skipbytes : i64, totalbytes : usize, cachetype : MEMORY_CACHING_TYPE, idealnode : u32, flags : u32, partitionobject : *const ::core::ffi::c_void) -> *mut super::super::Foundation:: MDL);
MmAllocatePartitionNodePagesForMdlEx(lowaddress, highaddress, skipbytes, totalbytes, cachetype, idealnode, flags, ::core::mem::transmute(partitionobject.unwrap_or(::std::ptr::null())))
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`*"]
#[cfg(feature = "Wdk_Foundation")]
#[inline]
pub unsafe fn MmAreMdlPagesCached(memorydescriptorlist: *const super::super::Foundation::MDL) -> u32 {
::windows_targets::link!("ntoskrnl.exe" "system" fn MmAreMdlPagesCached(memorydescriptorlist : *const super::super::Foundation:: MDL) -> u32);
MmAreMdlPagesCached(memorydescriptorlist)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`*"]
#[cfg(feature = "Wdk_Foundation")]
#[inline]
pub unsafe fn MmBuildMdlForNonPagedPool(memorydescriptorlist: *mut super::super::Foundation::MDL) {
::windows_targets::link!("ntoskrnl.exe" "system" fn MmBuildMdlForNonPagedPool(memorydescriptorlist : *mut super::super::Foundation:: MDL) -> ());
MmBuildMdlForNonPagedPool(memorydescriptorlist)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn MmCopyMemory(targetaddress: *const ::core::ffi::c_void, sourceaddress: MM_COPY_ADDRESS, numberofbytes: usize, flags: u32, numberofbytestransferred: *mut usize) -> ::windows_core::Result<()> {
::windows_targets::link!("ntoskrnl.exe" "system" fn MmCopyMemory(targetaddress : *const ::core::ffi::c_void, sourceaddress : MM_COPY_ADDRESS, numberofbytes : usize, flags : u32, numberofbytestransferred : *mut usize) -> super::super::super::Win32::Foundation:: NTSTATUS);
MmCopyMemory(targetaddress, ::core::mem::transmute(sourceaddress), numberofbytes, flags, numberofbytestransferred).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`*"]
#[cfg(feature = "Wdk_Foundation")]
#[inline]
pub unsafe fn MmCreateMdl(memorydescriptorlist: ::core::option::Option<*mut super::super::Foundation::MDL>, base: ::core::option::Option<*const ::core::ffi::c_void>, length: usize) -> *mut super::super::Foundation::MDL {
::windows_targets::link!("ntoskrnl.exe" "system" fn MmCreateMdl(memorydescriptorlist : *mut super::super::Foundation:: MDL, base : *const ::core::ffi::c_void, length : usize) -> *mut super::super::Foundation:: MDL);
MmCreateMdl(::core::mem::transmute(memorydescriptorlist.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(base.unwrap_or(::std::ptr::null())), length)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn MmCreateMirror() -> ::windows_core::Result<()> {
::windows_targets::link!("ntoskrnl.exe" "system" fn MmCreateMirror() -> super::super::super::Win32::Foundation:: NTSTATUS);
MmCreateMirror().ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[inline]
pub unsafe fn MmFreeContiguousMemory(baseaddress: *const ::core::ffi::c_void) {
::windows_targets::link!("ntoskrnl.exe" "system" fn MmFreeContiguousMemory(baseaddress : *const ::core::ffi::c_void) -> ());
MmFreeContiguousMemory(baseaddress)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[inline]
pub unsafe fn MmFreeContiguousMemorySpecifyCache(baseaddress: *const ::core::ffi::c_void, numberofbytes: usize, cachetype: MEMORY_CACHING_TYPE) {
::windows_targets::link!("ntoskrnl.exe" "system" fn MmFreeContiguousMemorySpecifyCache(baseaddress : *const ::core::ffi::c_void, numberofbytes : usize, cachetype : MEMORY_CACHING_TYPE) -> ());
MmFreeContiguousMemorySpecifyCache(baseaddress, numberofbytes, cachetype)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[inline]
pub unsafe fn MmFreeMappingAddress(baseaddress: *const ::core::ffi::c_void, pooltag: u32) {
::windows_targets::link!("ntoskrnl.exe" "system" fn MmFreeMappingAddress(baseaddress : *const ::core::ffi::c_void, pooltag : u32) -> ());
MmFreeMappingAddress(baseaddress, pooltag)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[inline]
pub unsafe fn MmFreeNonCachedMemory(baseaddress: *const ::core::ffi::c_void, numberofbytes: usize) {
::windows_targets::link!("ntoskrnl.exe" "system" fn MmFreeNonCachedMemory(baseaddress : *const ::core::ffi::c_void, numberofbytes : usize) -> ());
MmFreeNonCachedMemory(baseaddress, numberofbytes)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`*"]
#[cfg(feature = "Wdk_Foundation")]
#[inline]
pub unsafe fn MmFreePagesFromMdl(memorydescriptorlist: *mut super::super::Foundation::MDL) {
::windows_targets::link!("ntoskrnl.exe" "system" fn MmFreePagesFromMdl(memorydescriptorlist : *mut super::super::Foundation:: MDL) -> ());
MmFreePagesFromMdl(memorydescriptorlist)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`*"]
#[cfg(feature = "Wdk_Foundation")]
#[inline]
pub unsafe fn MmFreePagesFromMdlEx(memorydescriptorlist: *mut super::super::Foundation::MDL, flags: u32) {
::windows_targets::link!("ntoskrnl.exe" "system" fn MmFreePagesFromMdlEx(memorydescriptorlist : *mut super::super::Foundation:: MDL, flags : u32) -> ());
MmFreePagesFromMdlEx(memorydescriptorlist, flags)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn MmGetCacheAttribute(physicaladdress: i64, cachetype: *mut MEMORY_CACHING_TYPE) -> ::windows_core::Result<()> {
::windows_targets::link!("ntoskrnl.exe" "system" fn MmGetCacheAttribute(physicaladdress : i64, cachetype : *mut MEMORY_CACHING_TYPE) -> super::super::super::Win32::Foundation:: NTSTATUS);
MmGetCacheAttribute(physicaladdress, cachetype).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn MmGetCacheAttributeEx(physicaladdress: i64, flags: u32, cachetype: *mut MEMORY_CACHING_TYPE) -> ::windows_core::Result<()> {
::windows_targets::link!("ntoskrnl.exe" "system" fn MmGetCacheAttributeEx(physicaladdress : i64, flags : u32, cachetype : *mut MEMORY_CACHING_TYPE) -> super::super::super::Win32::Foundation:: NTSTATUS);
MmGetCacheAttributeEx(physicaladdress, flags, cachetype).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[inline]
pub unsafe fn MmGetPhysicalAddress(baseaddress: *const ::core::ffi::c_void) -> i64 {
::windows_targets::link!("ntoskrnl.exe" "system" fn MmGetPhysicalAddress(baseaddress : *const ::core::ffi::c_void) -> i64);
MmGetPhysicalAddress(baseaddress)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[inline]
pub unsafe fn MmGetPhysicalMemoryRanges() -> *mut PHYSICAL_MEMORY_RANGE {
::windows_targets::link!("ntoskrnl.exe" "system" fn MmGetPhysicalMemoryRanges() -> *mut PHYSICAL_MEMORY_RANGE);
MmGetPhysicalMemoryRanges()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[inline]
pub unsafe fn MmGetPhysicalMemoryRangesEx(partitionobject: ::core::option::Option<*const ::core::ffi::c_void>) -> *mut PHYSICAL_MEMORY_RANGE {
::windows_targets::link!("ntoskrnl.exe" "system" fn MmGetPhysicalMemoryRangesEx(partitionobject : *const ::core::ffi::c_void) -> *mut PHYSICAL_MEMORY_RANGE);
MmGetPhysicalMemoryRangesEx(::core::mem::transmute(partitionobject.unwrap_or(::std::ptr::null())))
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[inline]
pub unsafe fn MmGetPhysicalMemoryRangesEx2(partitionobject: ::core::option::Option<*const ::core::ffi::c_void>, flags: u32) -> *mut PHYSICAL_MEMORY_RANGE {
::windows_targets::link!("ntoskrnl.exe" "system" fn MmGetPhysicalMemoryRangesEx2(partitionobject : *const ::core::ffi::c_void, flags : u32) -> *mut PHYSICAL_MEMORY_RANGE);
MmGetPhysicalMemoryRangesEx2(::core::mem::transmute(partitionobject.unwrap_or(::std::ptr::null())), flags)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn MmGetSystemRoutineAddress(systemroutinename: *const super::super::super::Win32::Foundation::UNICODE_STRING) -> *mut ::core::ffi::c_void {
::windows_targets::link!("ntoskrnl.exe" "system" fn MmGetSystemRoutineAddress(systemroutinename : *const super::super::super::Win32::Foundation:: UNICODE_STRING) -> *mut ::core::ffi::c_void);
MmGetSystemRoutineAddress(systemroutinename)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[inline]
pub unsafe fn MmGetVirtualForPhysical(physicaladdress: i64) -> *mut ::core::ffi::c_void {
::windows_targets::link!("ntoskrnl.exe" "system" fn MmGetVirtualForPhysical(physicaladdress : i64) -> *mut ::core::ffi::c_void);
MmGetVirtualForPhysical(physicaladdress)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn MmIsAddressValid(virtualaddress: *const ::core::ffi::c_void) -> super::super::super::Win32::Foundation::BOOLEAN {
::windows_targets::link!("ntoskrnl.exe" "system" fn MmIsAddressValid(virtualaddress : *const ::core::ffi::c_void) -> super::super::super::Win32::Foundation:: BOOLEAN);
MmIsAddressValid(virtualaddress)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
#[inline]
pub unsafe fn MmIsDriverSuspectForVerifier(driverobject: *const super::super::Foundation::DRIVER_OBJECT) -> u32 {
::windows_targets::link!("ntoskrnl.exe" "system" fn MmIsDriverSuspectForVerifier(driverobject : *const super::super::Foundation:: DRIVER_OBJECT) -> u32);
MmIsDriverSuspectForVerifier(driverobject)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
#[inline]
pub unsafe fn MmIsDriverVerifying(driverobject: *const super::super::Foundation::DRIVER_OBJECT) -> u32 {
::windows_targets::link!("ntoskrnl.exe" "system" fn MmIsDriverVerifying(driverobject : *const super::super::Foundation:: DRIVER_OBJECT) -> u32);
MmIsDriverVerifying(driverobject)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[inline]
pub unsafe fn MmIsDriverVerifyingByAddress(addresswithinsection: *const ::core::ffi::c_void) -> u32 {
::windows_targets::link!("ntoskrnl.exe" "system" fn MmIsDriverVerifyingByAddress(addresswithinsection : *const ::core::ffi::c_void) -> u32);
MmIsDriverVerifyingByAddress(addresswithinsection)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[inline]
pub unsafe fn MmIsIoSpaceActive(startaddress: i64, numberofbytes: usize) -> u32 {
::windows_targets::link!("ntoskrnl.exe" "system" fn MmIsIoSpaceActive(startaddress : i64, numberofbytes : usize) -> u32);
MmIsIoSpaceActive(startaddress, numberofbytes)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn MmIsNonPagedSystemAddressValid(virtualaddress: *const ::core::ffi::c_void) -> super::super::super::Win32::Foundation::BOOLEAN {
::windows_targets::link!("ntoskrnl.exe" "system" fn MmIsNonPagedSystemAddressValid(virtualaddress : *const ::core::ffi::c_void) -> super::super::super::Win32::Foundation:: BOOLEAN);
MmIsNonPagedSystemAddressValid(virtualaddress)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn MmIsThisAnNtAsSystem() -> super::super::super::Win32::Foundation::BOOLEAN {
::windows_targets::link!("ntoskrnl.exe" "system" fn MmIsThisAnNtAsSystem() -> super::super::super::Win32::Foundation:: BOOLEAN);
MmIsThisAnNtAsSystem()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn MmIsVerifierEnabled(verifierflags: *mut u32) -> ::windows_core::Result<()> {
::windows_targets::link!("ntoskrnl.exe" "system" fn MmIsVerifierEnabled(verifierflags : *mut u32) -> super::super::super::Win32::Foundation:: NTSTATUS);
MmIsVerifierEnabled(verifierflags).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[inline]
pub unsafe fn MmLockPagableDataSection(addresswithinsection: *const ::core::ffi::c_void) -> *mut ::core::ffi::c_void {
::windows_targets::link!("ntoskrnl.exe" "system" fn MmLockPagableDataSection(addresswithinsection : *const ::core::ffi::c_void) -> *mut ::core::ffi::c_void);
MmLockPagableDataSection(addresswithinsection)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[inline]
pub unsafe fn MmLockPagableSectionByHandle(imagesectionhandle: *const ::core::ffi::c_void) {
::windows_targets::link!("ntoskrnl.exe" "system" fn MmLockPagableSectionByHandle(imagesectionhandle : *const ::core::ffi::c_void) -> ());
MmLockPagableSectionByHandle(imagesectionhandle)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[inline]
pub unsafe fn MmMapIoSpace(physicaladdress: i64, numberofbytes: usize, cachetype: MEMORY_CACHING_TYPE) -> *mut ::core::ffi::c_void {
::windows_targets::link!("ntoskrnl.exe" "system" fn MmMapIoSpace(physicaladdress : i64, numberofbytes : usize, cachetype : MEMORY_CACHING_TYPE) -> *mut ::core::ffi::c_void);
MmMapIoSpace(physicaladdress, numberofbytes, cachetype)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[inline]
pub unsafe fn MmMapIoSpaceEx(physicaladdress: i64, numberofbytes: usize, protect: u32) -> *mut ::core::ffi::c_void {
::windows_targets::link!("ntoskrnl.exe" "system" fn MmMapIoSpaceEx(physicaladdress : i64, numberofbytes : usize, protect : u32) -> *mut ::core::ffi::c_void);
MmMapIoSpaceEx(physicaladdress, numberofbytes, protect)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`*"]
#[cfg(feature = "Wdk_Foundation")]
#[inline]
pub unsafe fn MmMapLockedPages(memorydescriptorlist: *mut super::super::Foundation::MDL, accessmode: i8) -> *mut ::core::ffi::c_void {
::windows_targets::link!("ntoskrnl.exe" "system" fn MmMapLockedPages(memorydescriptorlist : *mut super::super::Foundation:: MDL, accessmode : i8) -> *mut ::core::ffi::c_void);
MmMapLockedPages(memorydescriptorlist, accessmode)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`*"]
#[cfg(feature = "Wdk_Foundation")]
#[inline]
pub unsafe fn MmMapLockedPagesSpecifyCache(memorydescriptorlist: *mut super::super::Foundation::MDL, accessmode: i8, cachetype: MEMORY_CACHING_TYPE, requestedaddress: ::core::option::Option<*const ::core::ffi::c_void>, bugcheckonfailure: u32, priority: u32) -> *mut ::core::ffi::c_void {
::windows_targets::link!("ntoskrnl.exe" "system" fn MmMapLockedPagesSpecifyCache(memorydescriptorlist : *mut super::super::Foundation:: MDL, accessmode : i8, cachetype : MEMORY_CACHING_TYPE, requestedaddress : *const ::core::ffi::c_void, bugcheckonfailure : u32, priority : u32) -> *mut ::core::ffi::c_void);
MmMapLockedPagesSpecifyCache(memorydescriptorlist, accessmode, cachetype, ::core::mem::transmute(requestedaddress.unwrap_or(::std::ptr::null())), bugcheckonfailure, priority)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`*"]
#[cfg(feature = "Wdk_Foundation")]
#[inline]
pub unsafe fn MmMapLockedPagesWithReservedMapping(mappingaddress: *const ::core::ffi::c_void, pooltag: u32, memorydescriptorlist: *mut super::super::Foundation::MDL, cachetype: MEMORY_CACHING_TYPE) -> *mut ::core::ffi::c_void {
::windows_targets::link!("ntoskrnl.exe" "system" fn MmMapLockedPagesWithReservedMapping(mappingaddress : *const ::core::ffi::c_void, pooltag : u32, memorydescriptorlist : *mut super::super::Foundation:: MDL, cachetype : MEMORY_CACHING_TYPE) -> *mut ::core::ffi::c_void);
MmMapLockedPagesWithReservedMapping(mappingaddress, pooltag, memorydescriptorlist, cachetype)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))]
#[inline]
pub unsafe fn MmMapMdl(memorydescriptorlist: *mut super::super::Foundation::MDL, protection: u32, driverroutine: PMM_MDL_ROUTINE, drivercontext: ::core::option::Option<*const ::core::ffi::c_void>) -> ::windows_core::Result<()> {
::windows_targets::link!("ntoskrnl.exe" "system" fn MmMapMdl(memorydescriptorlist : *mut super::super::Foundation:: MDL, protection : u32, driverroutine : PMM_MDL_ROUTINE, drivercontext : *const ::core::ffi::c_void) -> super::super::super::Win32::Foundation:: NTSTATUS);
MmMapMdl(memorydescriptorlist, protection, driverroutine, ::core::mem::transmute(drivercontext.unwrap_or(::std::ptr::null()))).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))]
#[inline]
pub unsafe fn MmMapMemoryDumpMdlEx(va: *const ::core::ffi::c_void, pagetotal: u32, memorydumpmdl: *mut super::super::Foundation::MDL, flags: u32) -> ::windows_core::Result<()> {
::windows_targets::link!("ntoskrnl.exe" "system" fn MmMapMemoryDumpMdlEx(va : *const ::core::ffi::c_void, pagetotal : u32, memorydumpmdl : *mut super::super::Foundation:: MDL, flags : u32) -> super::super::super::Win32::Foundation:: NTSTATUS);
MmMapMemoryDumpMdlEx(va, pagetotal, memorydumpmdl, flags).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn MmMapUserAddressesToPage(baseaddress: *const ::core::ffi::c_void, numberofbytes: usize, pageaddress: *const ::core::ffi::c_void) -> ::windows_core::Result<()> {
::windows_targets::link!("ntoskrnl.exe" "system" fn MmMapUserAddressesToPage(baseaddress : *const ::core::ffi::c_void, numberofbytes : usize, pageaddress : *const ::core::ffi::c_void) -> super::super::super::Win32::Foundation:: NTSTATUS);
MmMapUserAddressesToPage(baseaddress, numberofbytes, pageaddress).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[inline]
pub unsafe fn MmMapVideoDisplay(physicaladdress: i64, numberofbytes: usize, cachetype: MEMORY_CACHING_TYPE) -> *mut ::core::ffi::c_void {
::windows_targets::link!("ntoskrnl.exe" "system" fn MmMapVideoDisplay(physicaladdress : i64, numberofbytes : usize, cachetype : MEMORY_CACHING_TYPE) -> *mut ::core::ffi::c_void);
MmMapVideoDisplay(physicaladdress, numberofbytes, cachetype)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn MmMapViewInSessionSpace(section: *const ::core::ffi::c_void, mappedbase: *mut *mut ::core::ffi::c_void, viewsize: *mut usize) -> ::windows_core::Result<()> {
::windows_targets::link!("ntoskrnl.exe" "system" fn MmMapViewInSessionSpace(section : *const ::core::ffi::c_void, mappedbase : *mut *mut ::core::ffi::c_void, viewsize : *mut usize) -> super::super::super::Win32::Foundation:: NTSTATUS);
MmMapViewInSessionSpace(section, mappedbase, viewsize).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn MmMapViewInSessionSpaceEx(section: *const ::core::ffi::c_void, mappedbase: *mut *mut ::core::ffi::c_void, viewsize: *mut usize, sectionoffset: *mut i64, flags: usize) -> ::windows_core::Result<()> {
::windows_targets::link!("ntoskrnl.exe" "system" fn MmMapViewInSessionSpaceEx(section : *const ::core::ffi::c_void, mappedbase : *mut *mut ::core::ffi::c_void, viewsize : *mut usize, sectionoffset : *mut i64, flags : usize) -> super::super::super::Win32::Foundation:: NTSTATUS);
MmMapViewInSessionSpaceEx(section, mappedbase, viewsize, sectionoffset, flags).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn MmMapViewInSystemSpace(section: *const ::core::ffi::c_void, mappedbase: *mut *mut ::core::ffi::c_void, viewsize: *mut usize) -> ::windows_core::Result<()> {
::windows_targets::link!("ntoskrnl.exe" "system" fn MmMapViewInSystemSpace(section : *const ::core::ffi::c_void, mappedbase : *mut *mut ::core::ffi::c_void, viewsize : *mut usize) -> super::super::super::Win32::Foundation:: NTSTATUS);
MmMapViewInSystemSpace(section, mappedbase, viewsize).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn MmMapViewInSystemSpaceEx(section: *const ::core::ffi::c_void, mappedbase: *mut *mut ::core::ffi::c_void, viewsize: *mut usize, sectionoffset: *mut i64, flags: usize) -> ::windows_core::Result<()> {
::windows_targets::link!("ntoskrnl.exe" "system" fn MmMapViewInSystemSpaceEx(section : *const ::core::ffi::c_void, mappedbase : *mut *mut ::core::ffi::c_void, viewsize : *mut usize, sectionoffset : *mut i64, flags : usize) -> super::super::super::Win32::Foundation:: NTSTATUS);
MmMapViewInSystemSpaceEx(section, mappedbase, viewsize, sectionoffset, flags).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`*"]
#[cfg(feature = "Wdk_Foundation")]
#[inline]
pub unsafe fn MmMdlPageContentsState(memorydescriptorlist: *mut super::super::Foundation::MDL, state: MM_MDL_PAGE_CONTENTS_STATE) -> MM_MDL_PAGE_CONTENTS_STATE {
::windows_targets::link!("ntoskrnl.exe" "system" fn MmMdlPageContentsState(memorydescriptorlist : *mut super::super::Foundation:: MDL, state : MM_MDL_PAGE_CONTENTS_STATE) -> MM_MDL_PAGE_CONTENTS_STATE);
MmMdlPageContentsState(memorydescriptorlist, state)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[inline]
pub unsafe fn MmPageEntireDriver(addresswithinsection: *const ::core::ffi::c_void) -> *mut ::core::ffi::c_void {
::windows_targets::link!("ntoskrnl.exe" "system" fn MmPageEntireDriver(addresswithinsection : *const ::core::ffi::c_void) -> *mut ::core::ffi::c_void);
MmPageEntireDriver(addresswithinsection)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`*"]
#[cfg(feature = "Wdk_Foundation")]
#[inline]
pub unsafe fn MmProbeAndLockPages(memorydescriptorlist: *mut super::super::Foundation::MDL, accessmode: i8, operation: LOCK_OPERATION) {
::windows_targets::link!("ntoskrnl.exe" "system" fn MmProbeAndLockPages(memorydescriptorlist : *mut super::super::Foundation:: MDL, accessmode : i8, operation : LOCK_OPERATION) -> ());
MmProbeAndLockPages(memorydescriptorlist, accessmode, operation)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`*"]
#[cfg(feature = "Wdk_Foundation")]
#[inline]
pub unsafe fn MmProbeAndLockProcessPages<P0>(memorydescriptorlist: *mut super::super::Foundation::MDL, process: P0, accessmode: i8, operation: LOCK_OPERATION)
where
P0: ::windows_core::IntoParam<super::super::Foundation::PEPROCESS>,
{
::windows_targets::link!("ntoskrnl.exe" "system" fn MmProbeAndLockProcessPages(memorydescriptorlist : *mut super::super::Foundation:: MDL, process : super::super::Foundation:: PEPROCESS, accessmode : i8, operation : LOCK_OPERATION) -> ());
MmProbeAndLockProcessPages(memorydescriptorlist, process.into_param().abi(), accessmode, operation)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Storage_FileSystem\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Storage_FileSystem"))]
#[inline]
pub unsafe fn MmProbeAndLockSelectedPages(memorydescriptorlist: *mut super::super::Foundation::MDL, segmentarray: *const super::super::super::Win32::Storage::FileSystem::FILE_SEGMENT_ELEMENT, accessmode: i8, operation: LOCK_OPERATION) {
::windows_targets::link!("ntoskrnl.exe" "system" fn MmProbeAndLockSelectedPages(memorydescriptorlist : *mut super::super::Foundation:: MDL, segmentarray : *const super::super::super::Win32::Storage::FileSystem:: FILE_SEGMENT_ELEMENT, accessmode : i8, operation : LOCK_OPERATION) -> ());
MmProbeAndLockSelectedPages(memorydescriptorlist, segmentarray, accessmode, operation)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn MmProtectDriverSection(addresswithinsection: *const ::core::ffi::c_void, size: usize, flags: u32) -> ::windows_core::Result<()> {
::windows_targets::link!("ntoskrnl.exe" "system" fn MmProtectDriverSection(addresswithinsection : *const ::core::ffi::c_void, size : usize, flags : u32) -> super::super::super::Win32::Foundation:: NTSTATUS);
MmProtectDriverSection(addresswithinsection, size, flags).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))]
#[inline]
pub unsafe fn MmProtectMdlSystemAddress(memorydescriptorlist: *const super::super::Foundation::MDL, newprotect: u32) -> ::windows_core::Result<()> {
::windows_targets::link!("ntoskrnl.exe" "system" fn MmProtectMdlSystemAddress(memorydescriptorlist : *const super::super::Foundation:: MDL, newprotect : u32) -> super::super::super::Win32::Foundation:: NTSTATUS);
MmProtectMdlSystemAddress(memorydescriptorlist, newprotect).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[inline]
pub unsafe fn MmQuerySystemSize() -> MM_SYSTEMSIZE {
::windows_targets::link!("ntoskrnl.exe" "system" fn MmQuerySystemSize() -> MM_SYSTEMSIZE);
MmQuerySystemSize()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn MmRemovePhysicalMemory(startaddress: *const i64, numberofbytes: *mut i64) -> ::windows_core::Result<()> {
::windows_targets::link!("ntoskrnl.exe" "system" fn MmRemovePhysicalMemory(startaddress : *const i64, numberofbytes : *mut i64) -> super::super::super::Win32::Foundation:: NTSTATUS);
MmRemovePhysicalMemory(startaddress, numberofbytes).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[inline]
pub unsafe fn MmResetDriverPaging(addresswithinsection: *const ::core::ffi::c_void) {
::windows_targets::link!("ntoskrnl.exe" "system" fn MmResetDriverPaging(addresswithinsection : *const ::core::ffi::c_void) -> ());
MmResetDriverPaging(addresswithinsection)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))]
#[inline]
pub unsafe fn MmRotatePhysicalView(virtualaddress: *const ::core::ffi::c_void, numberofbytes: *mut usize, newmdl: ::core::option::Option<*const super::super::Foundation::MDL>, direction: MM_ROTATE_DIRECTION, copyfunction: PMM_ROTATE_COPY_CALLBACK_FUNCTION, context: ::core::option::Option<*const ::core::ffi::c_void>) -> ::windows_core::Result<()> {
::windows_targets::link!("ntoskrnl.exe" "system" fn MmRotatePhysicalView(virtualaddress : *const ::core::ffi::c_void, numberofbytes : *mut usize, newmdl : *const super::super::Foundation:: MDL, direction : MM_ROTATE_DIRECTION, copyfunction : PMM_ROTATE_COPY_CALLBACK_FUNCTION, context : *const ::core::ffi::c_void) -> super::super::super::Win32::Foundation:: NTSTATUS);
MmRotatePhysicalView(virtualaddress, numberofbytes, ::core::mem::transmute(newmdl.unwrap_or(::std::ptr::null())), direction, copyfunction, ::core::mem::transmute(context.unwrap_or(::std::ptr::null()))).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn MmSecureVirtualMemory(address: *const ::core::ffi::c_void, size: usize, probemode: u32) -> super::super::super::Win32::Foundation::HANDLE {
::windows_targets::link!("ntoskrnl.exe" "system" fn MmSecureVirtualMemory(address : *const ::core::ffi::c_void, size : usize, probemode : u32) -> super::super::super::Win32::Foundation:: HANDLE);
MmSecureVirtualMemory(address, size, probemode)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn MmSecureVirtualMemoryEx(address: *const ::core::ffi::c_void, size: usize, probemode: u32, flags: u32) -> super::super::super::Win32::Foundation::HANDLE {
::windows_targets::link!("ntoskrnl.exe" "system" fn MmSecureVirtualMemoryEx(address : *const ::core::ffi::c_void, size : usize, probemode : u32, flags : u32) -> super::super::super::Win32::Foundation:: HANDLE);
MmSecureVirtualMemoryEx(address, size, probemode, flags)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn MmSetPermanentCacheAttribute(startaddress: i64, numberofbytes: i64, cachetype: MEMORY_CACHING_TYPE, flags: u32) -> ::windows_core::Result<()> {
::windows_targets::link!("ntoskrnl.exe" "system" fn MmSetPermanentCacheAttribute(startaddress : i64, numberofbytes : i64, cachetype : MEMORY_CACHING_TYPE, flags : u32) -> super::super::super::Win32::Foundation:: NTSTATUS);
MmSetPermanentCacheAttribute(startaddress, numberofbytes, cachetype, flags).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[inline]
pub unsafe fn MmSizeOfMdl(base: ::core::option::Option<*const ::core::ffi::c_void>, length: usize) -> usize {
::windows_targets::link!("ntoskrnl.exe" "system" fn MmSizeOfMdl(base : *const ::core::ffi::c_void, length : usize) -> usize);
MmSizeOfMdl(::core::mem::transmute(base.unwrap_or(::std::ptr::null())), length)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[inline]
pub unsafe fn MmUnlockPagableImageSection(imagesectionhandle: *const ::core::ffi::c_void) {
::windows_targets::link!("ntoskrnl.exe" "system" fn MmUnlockPagableImageSection(imagesectionhandle : *const ::core::ffi::c_void) -> ());
MmUnlockPagableImageSection(imagesectionhandle)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`*"]
#[cfg(feature = "Wdk_Foundation")]
#[inline]
pub unsafe fn MmUnlockPages(memorydescriptorlist: *mut super::super::Foundation::MDL) {
::windows_targets::link!("ntoskrnl.exe" "system" fn MmUnlockPages(memorydescriptorlist : *mut super::super::Foundation:: MDL) -> ());
MmUnlockPages(memorydescriptorlist)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[inline]
pub unsafe fn MmUnmapIoSpace(baseaddress: *const ::core::ffi::c_void, numberofbytes: usize) {
::windows_targets::link!("ntoskrnl.exe" "system" fn MmUnmapIoSpace(baseaddress : *const ::core::ffi::c_void, numberofbytes : usize) -> ());
MmUnmapIoSpace(baseaddress, numberofbytes)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`*"]
#[cfg(feature = "Wdk_Foundation")]
#[inline]
pub unsafe fn MmUnmapLockedPages(baseaddress: *const ::core::ffi::c_void, memorydescriptorlist: *mut super::super::Foundation::MDL) {
::windows_targets::link!("ntoskrnl.exe" "system" fn MmUnmapLockedPages(baseaddress : *const ::core::ffi::c_void, memorydescriptorlist : *mut super::super::Foundation:: MDL) -> ());
MmUnmapLockedPages(baseaddress, memorydescriptorlist)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`*"]
#[cfg(feature = "Wdk_Foundation")]
#[inline]
pub unsafe fn MmUnmapReservedMapping(baseaddress: *const ::core::ffi::c_void, pooltag: u32, memorydescriptorlist: *mut super::super::Foundation::MDL) {
::windows_targets::link!("ntoskrnl.exe" "system" fn MmUnmapReservedMapping(baseaddress : *const ::core::ffi::c_void, pooltag : u32, memorydescriptorlist : *mut super::super::Foundation:: MDL) -> ());
MmUnmapReservedMapping(baseaddress, pooltag, memorydescriptorlist)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[inline]
pub unsafe fn MmUnmapVideoDisplay(baseaddress: *const ::core::ffi::c_void, numberofbytes: usize) {
::windows_targets::link!("ntoskrnl.exe" "system" fn MmUnmapVideoDisplay(baseaddress : *const ::core::ffi::c_void, numberofbytes : usize) -> ());
MmUnmapVideoDisplay(baseaddress, numberofbytes)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn MmUnmapViewInSessionSpace(mappedbase: *const ::core::ffi::c_void) -> ::windows_core::Result<()> {
::windows_targets::link!("ntoskrnl.exe" "system" fn MmUnmapViewInSessionSpace(mappedbase : *const ::core::ffi::c_void) -> super::super::super::Win32::Foundation:: NTSTATUS);
MmUnmapViewInSessionSpace(mappedbase).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn MmUnmapViewInSystemSpace(mappedbase: *const ::core::ffi::c_void) -> ::windows_core::Result<()> {
::windows_targets::link!("ntoskrnl.exe" "system" fn MmUnmapViewInSystemSpace(mappedbase : *const ::core::ffi::c_void) -> super::super::super::Win32::Foundation:: NTSTATUS);
MmUnmapViewInSystemSpace(mappedbase).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn MmUnsecureVirtualMemory<P0>(securehandle: P0)
where
P0: ::windows_core::IntoParam<super::super::super::Win32::Foundation::HANDLE>,
{
::windows_targets::link!("ntoskrnl.exe" "system" fn MmUnsecureVirtualMemory(securehandle : super::super::super::Win32::Foundation:: HANDLE) -> ());
MmUnsecureVirtualMemory(securehandle.into_param().abi())
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn NtCommitComplete<P0>(enlistmenthandle: P0, tmvirtualclock: ::core::option::Option<*const i64>) -> ::windows_core::Result<()>
where
P0: ::windows_core::IntoParam<super::super::super::Win32::Foundation::HANDLE>,
{
::windows_targets::link!("ntdll.dll" "system" fn NtCommitComplete(enlistmenthandle : super::super::super::Win32::Foundation:: HANDLE, tmvirtualclock : *const i64) -> super::super::super::Win32::Foundation:: NTSTATUS);
NtCommitComplete(enlistmenthandle.into_param().abi(), ::core::mem::transmute(tmvirtualclock.unwrap_or(::std::ptr::null()))).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn NtCommitEnlistment<P0>(enlistmenthandle: P0, tmvirtualclock: ::core::option::Option<*const i64>) -> ::windows_core::Result<()>
where
P0: ::windows_core::IntoParam<super::super::super::Win32::Foundation::HANDLE>,
{
::windows_targets::link!("ntdll.dll" "system" fn NtCommitEnlistment(enlistmenthandle : super::super::super::Win32::Foundation:: HANDLE, tmvirtualclock : *const i64) -> super::super::super::Win32::Foundation:: NTSTATUS);
NtCommitEnlistment(enlistmenthandle.into_param().abi(), ::core::mem::transmute(tmvirtualclock.unwrap_or(::std::ptr::null()))).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn NtCommitTransaction<P0, P1>(transactionhandle: P0, wait: P1) -> ::windows_core::Result<()>
where
P0: ::windows_core::IntoParam<super::super::super::Win32::Foundation::HANDLE>,
P1: ::windows_core::IntoParam<super::super::super::Win32::Foundation::BOOLEAN>,
{
::windows_targets::link!("ntdll.dll" "system" fn NtCommitTransaction(transactionhandle : super::super::super::Win32::Foundation:: HANDLE, wait : super::super::super::Win32::Foundation:: BOOLEAN) -> super::super::super::Win32::Foundation:: NTSTATUS);
NtCommitTransaction(transactionhandle.into_param().abi(), wait.into_param().abi()).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))]
#[inline]
pub unsafe fn NtCreateEnlistment<P0, P1>(enlistmenthandle: *mut super::super::super::Win32::Foundation::HANDLE, desiredaccess: u32, resourcemanagerhandle: P0, transactionhandle: P1, objectattributes: ::core::option::Option<*const super::super::Foundation::OBJECT_ATTRIBUTES>, createoptions: u32, notificationmask: u32, enlistmentkey: ::core::option::Option<*const ::core::ffi::c_void>) -> ::windows_core::Result<()>
where
P0: ::windows_core::IntoParam<super::super::super::Win32::Foundation::HANDLE>,
P1: ::windows_core::IntoParam<super::super::super::Win32::Foundation::HANDLE>,
{
::windows_targets::link!("ntdll.dll" "system" fn NtCreateEnlistment(enlistmenthandle : *mut super::super::super::Win32::Foundation:: HANDLE, desiredaccess : u32, resourcemanagerhandle : super::super::super::Win32::Foundation:: HANDLE, transactionhandle : super::super::super::Win32::Foundation:: HANDLE, objectattributes : *const super::super::Foundation:: OBJECT_ATTRIBUTES, createoptions : u32, notificationmask : u32, enlistmentkey : *const ::core::ffi::c_void) -> super::super::super::Win32::Foundation:: NTSTATUS);
NtCreateEnlistment(enlistmenthandle, desiredaccess, resourcemanagerhandle.into_param().abi(), transactionhandle.into_param().abi(), ::core::mem::transmute(objectattributes.unwrap_or(::std::ptr::null())), createoptions, notificationmask, ::core::mem::transmute(enlistmentkey.unwrap_or(::std::ptr::null()))).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))]
#[inline]
pub unsafe fn NtCreateResourceManager<P0>(resourcemanagerhandle: *mut super::super::super::Win32::Foundation::HANDLE, desiredaccess: u32, tmhandle: P0, rmguid: *const ::windows_core::GUID, objectattributes: ::core::option::Option<*const super::super::Foundation::OBJECT_ATTRIBUTES>, createoptions: u32, description: ::core::option::Option<*const super::super::super::Win32::Foundation::UNICODE_STRING>) -> ::windows_core::Result<()>
where
P0: ::windows_core::IntoParam<super::super::super::Win32::Foundation::HANDLE>,
{
::windows_targets::link!("ntdll.dll" "system" fn NtCreateResourceManager(resourcemanagerhandle : *mut super::super::super::Win32::Foundation:: HANDLE, desiredaccess : u32, tmhandle : super::super::super::Win32::Foundation:: HANDLE, rmguid : *const ::windows_core::GUID, objectattributes : *const super::super::Foundation:: OBJECT_ATTRIBUTES, createoptions : u32, description : *const super::super::super::Win32::Foundation:: UNICODE_STRING) -> super::super::super::Win32::Foundation:: NTSTATUS);
NtCreateResourceManager(resourcemanagerhandle, desiredaccess, tmhandle.into_param().abi(), rmguid, ::core::mem::transmute(objectattributes.unwrap_or(::std::ptr::null())), createoptions, ::core::mem::transmute(description.unwrap_or(::std::ptr::null()))).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))]
#[inline]
pub unsafe fn NtCreateTransaction<P0>(transactionhandle: *mut super::super::super::Win32::Foundation::HANDLE, desiredaccess: u32, objectattributes: ::core::option::Option<*const super::super::Foundation::OBJECT_ATTRIBUTES>, uow: ::core::option::Option<*const ::windows_core::GUID>, tmhandle: P0, createoptions: u32, isolationlevel: u32, isolationflags: u32, timeout: ::core::option::Option<*const i64>, description: ::core::option::Option<*const super::super::super::Win32::Foundation::UNICODE_STRING>) -> ::windows_core::Result<()>
where
P0: ::windows_core::IntoParam<super::super::super::Win32::Foundation::HANDLE>,
{
::windows_targets::link!("ntdll.dll" "system" fn NtCreateTransaction(transactionhandle : *mut super::super::super::Win32::Foundation:: HANDLE, desiredaccess : u32, objectattributes : *const super::super::Foundation:: OBJECT_ATTRIBUTES, uow : *const ::windows_core::GUID, tmhandle : super::super::super::Win32::Foundation:: HANDLE, createoptions : u32, isolationlevel : u32, isolationflags : u32, timeout : *const i64, description : *const super::super::super::Win32::Foundation:: UNICODE_STRING) -> super::super::super::Win32::Foundation:: NTSTATUS);
NtCreateTransaction(transactionhandle, desiredaccess, ::core::mem::transmute(objectattributes.unwrap_or(::std::ptr::null())), ::core::mem::transmute(uow.unwrap_or(::std::ptr::null())), tmhandle.into_param().abi(), createoptions, isolationlevel, isolationflags, ::core::mem::transmute(timeout.unwrap_or(::std::ptr::null())), ::core::mem::transmute(description.unwrap_or(::std::ptr::null()))).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))]
#[inline]
pub unsafe fn NtCreateTransactionManager(tmhandle: *mut super::super::super::Win32::Foundation::HANDLE, desiredaccess: u32, objectattributes: ::core::option::Option<*const super::super::Foundation::OBJECT_ATTRIBUTES>, logfilename: ::core::option::Option<*const super::super::super::Win32::Foundation::UNICODE_STRING>, createoptions: u32, commitstrength: u32) -> ::windows_core::Result<()> {
::windows_targets::link!("ntdll.dll" "system" fn NtCreateTransactionManager(tmhandle : *mut super::super::super::Win32::Foundation:: HANDLE, desiredaccess : u32, objectattributes : *const super::super::Foundation:: OBJECT_ATTRIBUTES, logfilename : *const super::super::super::Win32::Foundation:: UNICODE_STRING, createoptions : u32, commitstrength : u32) -> super::super::super::Win32::Foundation:: NTSTATUS);
NtCreateTransactionManager(tmhandle, desiredaccess, ::core::mem::transmute(objectattributes.unwrap_or(::std::ptr::null())), ::core::mem::transmute(logfilename.unwrap_or(::std::ptr::null())), createoptions, commitstrength).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_SystemServices\"`*"]
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_SystemServices"))]
#[inline]
pub unsafe fn NtEnumerateTransactionObject<P0>(rootobjecthandle: P0, querytype: super::super::super::Win32::System::SystemServices::KTMOBJECT_TYPE, objectcursor: *mut super::super::super::Win32::System::SystemServices::KTMOBJECT_CURSOR, objectcursorlength: u32, returnlength: *mut u32) -> ::windows_core::Result<()>
where
P0: ::windows_core::IntoParam<super::super::super::Win32::Foundation::HANDLE>,
{
::windows_targets::link!("ntdll.dll" "system" fn NtEnumerateTransactionObject(rootobjecthandle : super::super::super::Win32::Foundation:: HANDLE, querytype : super::super::super::Win32::System::SystemServices:: KTMOBJECT_TYPE, objectcursor : *mut super::super::super::Win32::System::SystemServices:: KTMOBJECT_CURSOR, objectcursorlength : u32, returnlength : *mut u32) -> super::super::super::Win32::Foundation:: NTSTATUS);
NtEnumerateTransactionObject(rootobjecthandle.into_param().abi(), querytype, objectcursor, objectcursorlength, returnlength).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Storage_FileSystem\"`*"]
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_FileSystem"))]
#[inline]
pub unsafe fn NtGetNotificationResourceManager<P0>(resourcemanagerhandle: P0, transactionnotification: *mut super::super::super::Win32::Storage::FileSystem::TRANSACTION_NOTIFICATION, notificationlength: u32, timeout: ::core::option::Option<*const i64>, returnlength: ::core::option::Option<*mut u32>, asynchronous: u32, asynchronouscontext: usize) -> ::windows_core::Result<()>
where
P0: ::windows_core::IntoParam<super::super::super::Win32::Foundation::HANDLE>,
{
::windows_targets::link!("ntdll.dll" "system" fn NtGetNotificationResourceManager(resourcemanagerhandle : super::super::super::Win32::Foundation:: HANDLE, transactionnotification : *mut super::super::super::Win32::Storage::FileSystem:: TRANSACTION_NOTIFICATION, notificationlength : u32, timeout : *const i64, returnlength : *mut u32, asynchronous : u32, asynchronouscontext : usize) -> super::super::super::Win32::Foundation:: NTSTATUS);
NtGetNotificationResourceManager(resourcemanagerhandle.into_param().abi(), transactionnotification, notificationlength, ::core::mem::transmute(timeout.unwrap_or(::std::ptr::null())), ::core::mem::transmute(returnlength.unwrap_or(::std::ptr::null_mut())), asynchronous, asynchronouscontext).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn NtManagePartition<P0, P1>(targethandle: P0, sourcehandle: P1, partitioninformationclass: PARTITION_INFORMATION_CLASS, partitioninformation: *mut ::core::ffi::c_void, partitioninformationlength: u32) -> ::windows_core::Result<()>
where
P0: ::windows_core::IntoParam<super::super::super::Win32::Foundation::HANDLE>,
P1: ::windows_core::IntoParam<super::super::super::Win32::Foundation::HANDLE>,
{
::windows_targets::link!("ntdll.dll" "system" fn NtManagePartition(targethandle : super::super::super::Win32::Foundation:: HANDLE, sourcehandle : super::super::super::Win32::Foundation:: HANDLE, partitioninformationclass : PARTITION_INFORMATION_CLASS, partitioninformation : *mut ::core::ffi::c_void, partitioninformationlength : u32) -> super::super::super::Win32::Foundation:: NTSTATUS);
NtManagePartition(targethandle.into_param().abi(), sourcehandle.into_param().abi(), partitioninformationclass, partitioninformation, partitioninformationlength).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))]
#[inline]
pub unsafe fn NtOpenEnlistment<P0>(enlistmenthandle: *mut super::super::super::Win32::Foundation::HANDLE, desiredaccess: u32, resourcemanagerhandle: P0, enlistmentguid: *const ::windows_core::GUID, objectattributes: ::core::option::Option<*const super::super::Foundation::OBJECT_ATTRIBUTES>) -> ::windows_core::Result<()>
where
P0: ::windows_core::IntoParam<super::super::super::Win32::Foundation::HANDLE>,
{
::windows_targets::link!("ntdll.dll" "system" fn NtOpenEnlistment(enlistmenthandle : *mut super::super::super::Win32::Foundation:: HANDLE, desiredaccess : u32, resourcemanagerhandle : super::super::super::Win32::Foundation:: HANDLE, enlistmentguid : *const ::windows_core::GUID, objectattributes : *const super::super::Foundation:: OBJECT_ATTRIBUTES) -> super::super::super::Win32::Foundation:: NTSTATUS);
NtOpenEnlistment(enlistmenthandle, desiredaccess, resourcemanagerhandle.into_param().abi(), enlistmentguid, ::core::mem::transmute(objectattributes.unwrap_or(::std::ptr::null()))).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation", feature = "Win32_System_WindowsProgramming"))]
#[inline]
pub unsafe fn NtOpenProcess(processhandle: *mut super::super::super::Win32::Foundation::HANDLE, desiredaccess: u32, objectattributes: *const super::super::Foundation::OBJECT_ATTRIBUTES, clientid: ::core::option::Option<*const super::super::super::Win32::System::WindowsProgramming::CLIENT_ID>) -> ::windows_core::Result<()> {
::windows_targets::link!("ntdll.dll" "system" fn NtOpenProcess(processhandle : *mut super::super::super::Win32::Foundation:: HANDLE, desiredaccess : u32, objectattributes : *const super::super::Foundation:: OBJECT_ATTRIBUTES, clientid : *const super::super::super::Win32::System::WindowsProgramming:: CLIENT_ID) -> super::super::super::Win32::Foundation:: NTSTATUS);
NtOpenProcess(processhandle, desiredaccess, objectattributes, ::core::mem::transmute(clientid.unwrap_or(::std::ptr::null()))).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))]
#[inline]
pub unsafe fn NtOpenRegistryTransaction(transactionhandle: *mut super::super::super::Win32::Foundation::HANDLE, desiredaccess: u32, objectattributes: *const super::super::Foundation::OBJECT_ATTRIBUTES) -> ::windows_core::Result<()> {
::windows_targets::link!("ntdll.dll" "system" fn NtOpenRegistryTransaction(transactionhandle : *mut super::super::super::Win32::Foundation:: HANDLE, desiredaccess : u32, objectattributes : *const super::super::Foundation:: OBJECT_ATTRIBUTES) -> super::super::super::Win32::Foundation:: NTSTATUS);
NtOpenRegistryTransaction(transactionhandle, desiredaccess, objectattributes).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))]
#[inline]
pub unsafe fn NtOpenResourceManager<P0>(resourcemanagerhandle: *mut super::super::super::Win32::Foundation::HANDLE, desiredaccess: u32, tmhandle: P0, resourcemanagerguid: ::core::option::Option<*const ::windows_core::GUID>, objectattributes: ::core::option::Option<*const super::super::Foundation::OBJECT_ATTRIBUTES>) -> ::windows_core::Result<()>
where
P0: ::windows_core::IntoParam<super::super::super::Win32::Foundation::HANDLE>,
{
::windows_targets::link!("ntdll.dll" "system" fn NtOpenResourceManager(resourcemanagerhandle : *mut super::super::super::Win32::Foundation:: HANDLE, desiredaccess : u32, tmhandle : super::super::super::Win32::Foundation:: HANDLE, resourcemanagerguid : *const ::windows_core::GUID, objectattributes : *const super::super::Foundation:: OBJECT_ATTRIBUTES) -> super::super::super::Win32::Foundation:: NTSTATUS);
NtOpenResourceManager(resourcemanagerhandle, desiredaccess, tmhandle.into_param().abi(), ::core::mem::transmute(resourcemanagerguid.unwrap_or(::std::ptr::null())), ::core::mem::transmute(objectattributes.unwrap_or(::std::ptr::null()))).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))]
#[inline]
pub unsafe fn NtOpenTransaction<P0>(transactionhandle: *mut super::super::super::Win32::Foundation::HANDLE, desiredaccess: u32, objectattributes: *const super::super::Foundation::OBJECT_ATTRIBUTES, uow: *const ::windows_core::GUID, tmhandle: P0) -> ::windows_core::Result<()>
where
P0: ::windows_core::IntoParam<super::super::super::Win32::Foundation::HANDLE>,
{
::windows_targets::link!("ntdll.dll" "system" fn NtOpenTransaction(transactionhandle : *mut super::super::super::Win32::Foundation:: HANDLE, desiredaccess : u32, objectattributes : *const super::super::Foundation:: OBJECT_ATTRIBUTES, uow : *const ::windows_core::GUID, tmhandle : super::super::super::Win32::Foundation:: HANDLE) -> super::super::super::Win32::Foundation:: NTSTATUS);
NtOpenTransaction(transactionhandle, desiredaccess, objectattributes, uow, tmhandle.into_param().abi()).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))]
#[inline]
pub unsafe fn NtOpenTransactionManager(tmhandle: *mut super::super::super::Win32::Foundation::HANDLE, desiredaccess: u32, objectattributes: ::core::option::Option<*const super::super::Foundation::OBJECT_ATTRIBUTES>, logfilename: ::core::option::Option<*const super::super::super::Win32::Foundation::UNICODE_STRING>, tmidentity: ::core::option::Option<*const ::windows_core::GUID>, openoptions: u32) -> ::windows_core::Result<()> {
::windows_targets::link!("ntdll.dll" "system" fn NtOpenTransactionManager(tmhandle : *mut super::super::super::Win32::Foundation:: HANDLE, desiredaccess : u32, objectattributes : *const super::super::Foundation:: OBJECT_ATTRIBUTES, logfilename : *const super::super::super::Win32::Foundation:: UNICODE_STRING, tmidentity : *const ::windows_core::GUID, openoptions : u32) -> super::super::super::Win32::Foundation:: NTSTATUS);
NtOpenTransactionManager(tmhandle, desiredaccess, ::core::mem::transmute(objectattributes.unwrap_or(::std::ptr::null())), ::core::mem::transmute(logfilename.unwrap_or(::std::ptr::null())), ::core::mem::transmute(tmidentity.unwrap_or(::std::ptr::null())), openoptions).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Power\"`*"]
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Power"))]
#[inline]
pub unsafe fn NtPowerInformation(informationlevel: super::super::super::Win32::System::Power::POWER_INFORMATION_LEVEL, inputbuffer: ::core::option::Option<*const ::core::ffi::c_void>, inputbufferlength: u32, outputbuffer: ::core::option::Option<*mut ::core::ffi::c_void>, outputbufferlength: u32) -> ::windows_core::Result<()> {
::windows_targets::link!("ntdll.dll" "system" fn NtPowerInformation(informationlevel : super::super::super::Win32::System::Power:: POWER_INFORMATION_LEVEL, inputbuffer : *const ::core::ffi::c_void, inputbufferlength : u32, outputbuffer : *mut ::core::ffi::c_void, outputbufferlength : u32) -> super::super::super::Win32::Foundation:: NTSTATUS);
NtPowerInformation(informationlevel, ::core::mem::transmute(inputbuffer.unwrap_or(::std::ptr::null())), inputbufferlength, ::core::mem::transmute(outputbuffer.unwrap_or(::std::ptr::null_mut())), outputbufferlength).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn NtPrePrepareComplete<P0>(enlistmenthandle: P0, tmvirtualclock: ::core::option::Option<*const i64>) -> ::windows_core::Result<()>
where
P0: ::windows_core::IntoParam<super::super::super::Win32::Foundation::HANDLE>,
{
::windows_targets::link!("ntdll.dll" "system" fn NtPrePrepareComplete(enlistmenthandle : super::super::super::Win32::Foundation:: HANDLE, tmvirtualclock : *const i64) -> super::super::super::Win32::Foundation:: NTSTATUS);
NtPrePrepareComplete(enlistmenthandle.into_param().abi(), ::core::mem::transmute(tmvirtualclock.unwrap_or(::std::ptr::null()))).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn NtPrePrepareEnlistment<P0>(enlistmenthandle: P0, tmvirtualclock: ::core::option::Option<*const i64>) -> ::windows_core::Result<()>
where
P0: ::windows_core::IntoParam<super::super::super::Win32::Foundation::HANDLE>,
{
::windows_targets::link!("ntdll.dll" "system" fn NtPrePrepareEnlistment(enlistmenthandle : super::super::super::Win32::Foundation:: HANDLE, tmvirtualclock : *const i64) -> super::super::super::Win32::Foundation:: NTSTATUS);
NtPrePrepareEnlistment(enlistmenthandle.into_param().abi(), ::core::mem::transmute(tmvirtualclock.unwrap_or(::std::ptr::null()))).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn NtPrepareComplete<P0>(enlistmenthandle: P0, tmvirtualclock: ::core::option::Option<*const i64>) -> ::windows_core::Result<()>
where
P0: ::windows_core::IntoParam<super::super::super::Win32::Foundation::HANDLE>,
{
::windows_targets::link!("ntdll.dll" "system" fn NtPrepareComplete(enlistmenthandle : super::super::super::Win32::Foundation:: HANDLE, tmvirtualclock : *const i64) -> super::super::super::Win32::Foundation:: NTSTATUS);
NtPrepareComplete(enlistmenthandle.into_param().abi(), ::core::mem::transmute(tmvirtualclock.unwrap_or(::std::ptr::null()))).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn NtPrepareEnlistment<P0>(enlistmenthandle: P0, tmvirtualclock: ::core::option::Option<*const i64>) -> ::windows_core::Result<()>
where
P0: ::windows_core::IntoParam<super::super::super::Win32::Foundation::HANDLE>,
{
::windows_targets::link!("ntdll.dll" "system" fn NtPrepareEnlistment(enlistmenthandle : super::super::super::Win32::Foundation:: HANDLE, tmvirtualclock : *const i64) -> super::super::super::Win32::Foundation:: NTSTATUS);
NtPrepareEnlistment(enlistmenthandle.into_param().abi(), ::core::mem::transmute(tmvirtualclock.unwrap_or(::std::ptr::null()))).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn NtPropagationComplete<P0>(resourcemanagerhandle: P0, requestcookie: u32, bufferlength: u32, buffer: *const ::core::ffi::c_void) -> ::windows_core::Result<()>
where
P0: ::windows_core::IntoParam<super::super::super::Win32::Foundation::HANDLE>,
{
::windows_targets::link!("ntdll.dll" "system" fn NtPropagationComplete(resourcemanagerhandle : super::super::super::Win32::Foundation:: HANDLE, requestcookie : u32, bufferlength : u32, buffer : *const ::core::ffi::c_void) -> super::super::super::Win32::Foundation:: NTSTATUS);
NtPropagationComplete(resourcemanagerhandle.into_param().abi(), requestcookie, bufferlength, buffer).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn NtPropagationFailed<P0, P1>(resourcemanagerhandle: P0, requestcookie: u32, propstatus: P1) -> ::windows_core::Result<()>
where
P0: ::windows_core::IntoParam<super::super::super::Win32::Foundation::HANDLE>,
P1: ::windows_core::IntoParam<super::super::super::Win32::Foundation::NTSTATUS>,
{
::windows_targets::link!("ntdll.dll" "system" fn NtPropagationFailed(resourcemanagerhandle : super::super::super::Win32::Foundation:: HANDLE, requestcookie : u32, propstatus : super::super::super::Win32::Foundation:: NTSTATUS) -> super::super::super::Win32::Foundation:: NTSTATUS);
NtPropagationFailed(resourcemanagerhandle.into_param().abi(), requestcookie, propstatus.into_param().abi()).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_SystemServices\"`*"]
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_SystemServices"))]
#[inline]
pub unsafe fn NtQueryInformationEnlistment<P0>(enlistmenthandle: P0, enlistmentinformationclass: super::super::super::Win32::System::SystemServices::ENLISTMENT_INFORMATION_CLASS, enlistmentinformation: *mut ::core::ffi::c_void, enlistmentinformationlength: u32, returnlength: *mut u32) -> ::windows_core::Result<()>
where
P0: ::windows_core::IntoParam<super::super::super::Win32::Foundation::HANDLE>,
{
::windows_targets::link!("ntdll.dll" "system" fn NtQueryInformationEnlistment(enlistmenthandle : super::super::super::Win32::Foundation:: HANDLE, enlistmentinformationclass : super::super::super::Win32::System::SystemServices:: ENLISTMENT_INFORMATION_CLASS, enlistmentinformation : *mut ::core::ffi::c_void, enlistmentinformationlength : u32, returnlength : *mut u32) -> super::super::super::Win32::Foundation:: NTSTATUS);
NtQueryInformationEnlistment(enlistmenthandle.into_param().abi(), enlistmentinformationclass, enlistmentinformation, enlistmentinformationlength, returnlength).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_SystemServices\"`*"]
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_SystemServices"))]
#[inline]
pub unsafe fn NtQueryInformationResourceManager<P0>(resourcemanagerhandle: P0, resourcemanagerinformationclass: super::super::super::Win32::System::SystemServices::RESOURCEMANAGER_INFORMATION_CLASS, resourcemanagerinformation: *mut ::core::ffi::c_void, resourcemanagerinformationlength: u32, returnlength: ::core::option::Option<*mut u32>) -> ::windows_core::Result<()>
where
P0: ::windows_core::IntoParam<super::super::super::Win32::Foundation::HANDLE>,
{
::windows_targets::link!("ntdll.dll" "system" fn NtQueryInformationResourceManager(resourcemanagerhandle : super::super::super::Win32::Foundation:: HANDLE, resourcemanagerinformationclass : super::super::super::Win32::System::SystemServices:: RESOURCEMANAGER_INFORMATION_CLASS, resourcemanagerinformation : *mut ::core::ffi::c_void, resourcemanagerinformationlength : u32, returnlength : *mut u32) -> super::super::super::Win32::Foundation:: NTSTATUS);
NtQueryInformationResourceManager(resourcemanagerhandle.into_param().abi(), resourcemanagerinformationclass, resourcemanagerinformation, resourcemanagerinformationlength, ::core::mem::transmute(returnlength.unwrap_or(::std::ptr::null_mut()))).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_SystemServices\"`*"]
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_SystemServices"))]
#[inline]
pub unsafe fn NtQueryInformationTransaction<P0>(transactionhandle: P0, transactioninformationclass: super::super::super::Win32::System::SystemServices::TRANSACTION_INFORMATION_CLASS, transactioninformation: *mut ::core::ffi::c_void, transactioninformationlength: u32, returnlength: ::core::option::Option<*mut u32>) -> ::windows_core::Result<()>
where
P0: ::windows_core::IntoParam<super::super::super::Win32::Foundation::HANDLE>,
{
::windows_targets::link!("ntdll.dll" "system" fn NtQueryInformationTransaction(transactionhandle : super::super::super::Win32::Foundation:: HANDLE, transactioninformationclass : super::super::super::Win32::System::SystemServices:: TRANSACTION_INFORMATION_CLASS, transactioninformation : *mut ::core::ffi::c_void, transactioninformationlength : u32, returnlength : *mut u32) -> super::super::super::Win32::Foundation:: NTSTATUS);
NtQueryInformationTransaction(transactionhandle.into_param().abi(), transactioninformationclass, transactioninformation, transactioninformationlength, ::core::mem::transmute(returnlength.unwrap_or(::std::ptr::null_mut()))).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_SystemServices\"`*"]
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_SystemServices"))]
#[inline]
pub unsafe fn NtQueryInformationTransactionManager<P0>(transactionmanagerhandle: P0, transactionmanagerinformationclass: super::super::super::Win32::System::SystemServices::TRANSACTIONMANAGER_INFORMATION_CLASS, transactionmanagerinformation: *mut ::core::ffi::c_void, transactionmanagerinformationlength: u32, returnlength: *mut u32) -> ::windows_core::Result<()>
where
P0: ::windows_core::IntoParam<super::super::super::Win32::Foundation::HANDLE>,
{
::windows_targets::link!("ntdll.dll" "system" fn NtQueryInformationTransactionManager(transactionmanagerhandle : super::super::super::Win32::Foundation:: HANDLE, transactionmanagerinformationclass : super::super::super::Win32::System::SystemServices:: TRANSACTIONMANAGER_INFORMATION_CLASS, transactionmanagerinformation : *mut ::core::ffi::c_void, transactionmanagerinformationlength : u32, returnlength : *mut u32) -> super::super::super::Win32::Foundation:: NTSTATUS);
NtQueryInformationTransactionManager(transactionmanagerhandle.into_param().abi(), transactionmanagerinformationclass, transactionmanagerinformation, transactionmanagerinformationlength, returnlength).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn NtReadOnlyEnlistment<P0>(enlistmenthandle: P0, tmvirtualclock: ::core::option::Option<*const i64>) -> ::windows_core::Result<()>
where
P0: ::windows_core::IntoParam<super::super::super::Win32::Foundation::HANDLE>,
{
::windows_targets::link!("ntdll.dll" "system" fn NtReadOnlyEnlistment(enlistmenthandle : super::super::super::Win32::Foundation:: HANDLE, tmvirtualclock : *const i64) -> super::super::super::Win32::Foundation:: NTSTATUS);
NtReadOnlyEnlistment(enlistmenthandle.into_param().abi(), ::core::mem::transmute(tmvirtualclock.unwrap_or(::std::ptr::null()))).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn NtRecoverEnlistment<P0>(enlistmenthandle: P0, enlistmentkey: ::core::option::Option<*const ::core::ffi::c_void>) -> ::windows_core::Result<()>
where
P0: ::windows_core::IntoParam<super::super::super::Win32::Foundation::HANDLE>,
{
::windows_targets::link!("ntdll.dll" "system" fn NtRecoverEnlistment(enlistmenthandle : super::super::super::Win32::Foundation:: HANDLE, enlistmentkey : *const ::core::ffi::c_void) -> super::super::super::Win32::Foundation:: NTSTATUS);
NtRecoverEnlistment(enlistmenthandle.into_param().abi(), ::core::mem::transmute(enlistmentkey.unwrap_or(::std::ptr::null()))).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn NtRecoverResourceManager<P0>(resourcemanagerhandle: P0) -> ::windows_core::Result<()>
where
P0: ::windows_core::IntoParam<super::super::super::Win32::Foundation::HANDLE>,
{
::windows_targets::link!("ntdll.dll" "system" fn NtRecoverResourceManager(resourcemanagerhandle : super::super::super::Win32::Foundation:: HANDLE) -> super::super::super::Win32::Foundation:: NTSTATUS);
NtRecoverResourceManager(resourcemanagerhandle.into_param().abi()).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn NtRecoverTransactionManager<P0>(transactionmanagerhandle: P0) -> ::windows_core::Result<()>
where
P0: ::windows_core::IntoParam<super::super::super::Win32::Foundation::HANDLE>,
{
::windows_targets::link!("ntdll.dll" "system" fn NtRecoverTransactionManager(transactionmanagerhandle : super::super::super::Win32::Foundation:: HANDLE) -> super::super::super::Win32::Foundation:: NTSTATUS);
NtRecoverTransactionManager(transactionmanagerhandle.into_param().abi()).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn NtRegisterProtocolAddressInformation<P0>(resourcemanager: P0, protocolid: *const ::windows_core::GUID, protocolinformationsize: u32, protocolinformation: *const ::core::ffi::c_void, createoptions: u32) -> ::windows_core::Result<()>
where
P0: ::windows_core::IntoParam<super::super::super::Win32::Foundation::HANDLE>,
{
::windows_targets::link!("ntdll.dll" "system" fn NtRegisterProtocolAddressInformation(resourcemanager : super::super::super::Win32::Foundation:: HANDLE, protocolid : *const ::windows_core::GUID, protocolinformationsize : u32, protocolinformation : *const ::core::ffi::c_void, createoptions : u32) -> super::super::super::Win32::Foundation:: NTSTATUS);
NtRegisterProtocolAddressInformation(resourcemanager.into_param().abi(), protocolid, protocolinformationsize, protocolinformation, createoptions).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn NtRenameTransactionManager(logfilename: *const super::super::super::Win32::Foundation::UNICODE_STRING, existingtransactionmanagerguid: *const ::windows_core::GUID) -> ::windows_core::Result<()> {
::windows_targets::link!("ntdll.dll" "system" fn NtRenameTransactionManager(logfilename : *const super::super::super::Win32::Foundation:: UNICODE_STRING, existingtransactionmanagerguid : *const ::windows_core::GUID) -> super::super::super::Win32::Foundation:: NTSTATUS);
NtRenameTransactionManager(logfilename, existingtransactionmanagerguid).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn NtRollbackComplete<P0>(enlistmenthandle: P0, tmvirtualclock: ::core::option::Option<*const i64>) -> ::windows_core::Result<()>
where
P0: ::windows_core::IntoParam<super::super::super::Win32::Foundation::HANDLE>,
{
::windows_targets::link!("ntdll.dll" "system" fn NtRollbackComplete(enlistmenthandle : super::super::super::Win32::Foundation:: HANDLE, tmvirtualclock : *const i64) -> super::super::super::Win32::Foundation:: NTSTATUS);
NtRollbackComplete(enlistmenthandle.into_param().abi(), ::core::mem::transmute(tmvirtualclock.unwrap_or(::std::ptr::null()))).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn NtRollbackEnlistment<P0>(enlistmenthandle: P0, tmvirtualclock: ::core::option::Option<*const i64>) -> ::windows_core::Result<()>
where
P0: ::windows_core::IntoParam<super::super::super::Win32::Foundation::HANDLE>,
{
::windows_targets::link!("ntdll.dll" "system" fn NtRollbackEnlistment(enlistmenthandle : super::super::super::Win32::Foundation:: HANDLE, tmvirtualclock : *const i64) -> super::super::super::Win32::Foundation:: NTSTATUS);
NtRollbackEnlistment(enlistmenthandle.into_param().abi(), ::core::mem::transmute(tmvirtualclock.unwrap_or(::std::ptr::null()))).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn NtRollbackRegistryTransaction<P0>(transactionhandle: P0, flags: u32) -> ::windows_core::Result<()>
where
P0: ::windows_core::IntoParam<super::super::super::Win32::Foundation::HANDLE>,
{
::windows_targets::link!("ntdll.dll" "system" fn NtRollbackRegistryTransaction(transactionhandle : super::super::super::Win32::Foundation:: HANDLE, flags : u32) -> super::super::super::Win32::Foundation:: NTSTATUS);
NtRollbackRegistryTransaction(transactionhandle.into_param().abi(), flags).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn NtRollbackTransaction<P0, P1>(transactionhandle: P0, wait: P1) -> ::windows_core::Result<()>
where
P0: ::windows_core::IntoParam<super::super::super::Win32::Foundation::HANDLE>,
P1: ::windows_core::IntoParam<super::super::super::Win32::Foundation::BOOLEAN>,
{
::windows_targets::link!("ntdll.dll" "system" fn NtRollbackTransaction(transactionhandle : super::super::super::Win32::Foundation:: HANDLE, wait : super::super::super::Win32::Foundation:: BOOLEAN) -> super::super::super::Win32::Foundation:: NTSTATUS);
NtRollbackTransaction(transactionhandle.into_param().abi(), wait.into_param().abi()).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn NtRollforwardTransactionManager<P0>(transactionmanagerhandle: P0, tmvirtualclock: ::core::option::Option<*const i64>) -> ::windows_core::Result<()>
where
P0: ::windows_core::IntoParam<super::super::super::Win32::Foundation::HANDLE>,
{
::windows_targets::link!("ntdll.dll" "system" fn NtRollforwardTransactionManager(transactionmanagerhandle : super::super::super::Win32::Foundation:: HANDLE, tmvirtualclock : *const i64) -> super::super::super::Win32::Foundation:: NTSTATUS);
NtRollforwardTransactionManager(transactionmanagerhandle.into_param().abi(), ::core::mem::transmute(tmvirtualclock.unwrap_or(::std::ptr::null()))).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_SystemServices\"`*"]
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_SystemServices"))]
#[inline]
pub unsafe fn NtSetInformationEnlistment<P0>(enlistmenthandle: P0, enlistmentinformationclass: super::super::super::Win32::System::SystemServices::ENLISTMENT_INFORMATION_CLASS, enlistmentinformation: *const ::core::ffi::c_void, enlistmentinformationlength: u32) -> ::windows_core::Result<()>
where
P0: ::windows_core::IntoParam<super::super::super::Win32::Foundation::HANDLE>,
{
::windows_targets::link!("ntdll.dll" "system" fn NtSetInformationEnlistment(enlistmenthandle : super::super::super::Win32::Foundation:: HANDLE, enlistmentinformationclass : super::super::super::Win32::System::SystemServices:: ENLISTMENT_INFORMATION_CLASS, enlistmentinformation : *const ::core::ffi::c_void, enlistmentinformationlength : u32) -> super::super::super::Win32::Foundation:: NTSTATUS);
NtSetInformationEnlistment(enlistmenthandle.into_param().abi(), enlistmentinformationclass, enlistmentinformation, enlistmentinformationlength).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_SystemServices\"`*"]
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_SystemServices"))]
#[inline]
pub unsafe fn NtSetInformationResourceManager<P0>(resourcemanagerhandle: P0, resourcemanagerinformationclass: super::super::super::Win32::System::SystemServices::RESOURCEMANAGER_INFORMATION_CLASS, resourcemanagerinformation: *const ::core::ffi::c_void, resourcemanagerinformationlength: u32) -> ::windows_core::Result<()>
where
P0: ::windows_core::IntoParam<super::super::super::Win32::Foundation::HANDLE>,
{
::windows_targets::link!("ntdll.dll" "system" fn NtSetInformationResourceManager(resourcemanagerhandle : super::super::super::Win32::Foundation:: HANDLE, resourcemanagerinformationclass : super::super::super::Win32::System::SystemServices:: RESOURCEMANAGER_INFORMATION_CLASS, resourcemanagerinformation : *const ::core::ffi::c_void, resourcemanagerinformationlength : u32) -> super::super::super::Win32::Foundation:: NTSTATUS);
NtSetInformationResourceManager(resourcemanagerhandle.into_param().abi(), resourcemanagerinformationclass, resourcemanagerinformation, resourcemanagerinformationlength).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_SystemServices\"`*"]
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_SystemServices"))]
#[inline]
pub unsafe fn NtSetInformationTransaction<P0>(transactionhandle: P0, transactioninformationclass: super::super::super::Win32::System::SystemServices::TRANSACTION_INFORMATION_CLASS, transactioninformation: *const ::core::ffi::c_void, transactioninformationlength: u32) -> ::windows_core::Result<()>
where
P0: ::windows_core::IntoParam<super::super::super::Win32::Foundation::HANDLE>,
{
::windows_targets::link!("ntdll.dll" "system" fn NtSetInformationTransaction(transactionhandle : super::super::super::Win32::Foundation:: HANDLE, transactioninformationclass : super::super::super::Win32::System::SystemServices:: TRANSACTION_INFORMATION_CLASS, transactioninformation : *const ::core::ffi::c_void, transactioninformationlength : u32) -> super::super::super::Win32::Foundation:: NTSTATUS);
NtSetInformationTransaction(transactionhandle.into_param().abi(), transactioninformationclass, transactioninformation, transactioninformationlength).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_SystemServices\"`*"]
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_SystemServices"))]
#[inline]
pub unsafe fn NtSetInformationTransactionManager<P0>(tmhandle: P0, transactionmanagerinformationclass: super::super::super::Win32::System::SystemServices::TRANSACTIONMANAGER_INFORMATION_CLASS, transactionmanagerinformation: *const ::core::ffi::c_void, transactionmanagerinformationlength: u32) -> ::windows_core::Result<()>
where
P0: ::windows_core::IntoParam<super::super::super::Win32::Foundation::HANDLE>,
{
::windows_targets::link!("ntdll.dll" "system" fn NtSetInformationTransactionManager(tmhandle : super::super::super::Win32::Foundation:: HANDLE, transactionmanagerinformationclass : super::super::super::Win32::System::SystemServices:: TRANSACTIONMANAGER_INFORMATION_CLASS, transactionmanagerinformation : *const ::core::ffi::c_void, transactionmanagerinformationlength : u32) -> super::super::super::Win32::Foundation:: NTSTATUS);
NtSetInformationTransactionManager(tmhandle.into_param().abi(), transactionmanagerinformationclass, transactionmanagerinformation, transactionmanagerinformationlength).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn NtSinglePhaseReject<P0>(enlistmenthandle: P0, tmvirtualclock: ::core::option::Option<*const i64>) -> ::windows_core::Result<()>
where
P0: ::windows_core::IntoParam<super::super::super::Win32::Foundation::HANDLE>,
{
::windows_targets::link!("ntdll.dll" "system" fn NtSinglePhaseReject(enlistmenthandle : super::super::super::Win32::Foundation:: HANDLE, tmvirtualclock : *const i64) -> super::super::super::Win32::Foundation:: NTSTATUS);
NtSinglePhaseReject(enlistmenthandle.into_param().abi(), ::core::mem::transmute(tmvirtualclock.unwrap_or(::std::ptr::null()))).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn ObCloseHandle<P0>(handle: P0, previousmode: i8) -> ::windows_core::Result<()>
where
P0: ::windows_core::IntoParam<super::super::super::Win32::Foundation::HANDLE>,
{
::windows_targets::link!("ntoskrnl.exe" "system" fn ObCloseHandle(handle : super::super::super::Win32::Foundation:: HANDLE, previousmode : i8) -> super::super::super::Win32::Foundation:: NTSTATUS);
ObCloseHandle(handle.into_param().abi(), previousmode).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[inline]
pub unsafe fn ObDereferenceObjectDeferDelete(object: *const ::core::ffi::c_void) {
::windows_targets::link!("ntoskrnl.exe" "system" fn ObDereferenceObjectDeferDelete(object : *const ::core::ffi::c_void) -> ());
ObDereferenceObjectDeferDelete(object)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[inline]
pub unsafe fn ObDereferenceObjectDeferDeleteWithTag(object: *const ::core::ffi::c_void, tag: u32) {
::windows_targets::link!("ntoskrnl.exe" "system" fn ObDereferenceObjectDeferDeleteWithTag(object : *const ::core::ffi::c_void, tag : u32) -> ());
ObDereferenceObjectDeferDeleteWithTag(object, tag)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[inline]
pub unsafe fn ObGetFilterVersion() -> u16 {
::windows_targets::link!("ntoskrnl.exe" "system" fn ObGetFilterVersion() -> u16);
ObGetFilterVersion()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"]
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))]
#[inline]
pub unsafe fn ObGetObjectSecurity(object: *const ::core::ffi::c_void, securitydescriptor: *mut super::super::super::Win32::Security::PSECURITY_DESCRIPTOR, memoryallocated: *mut super::super::super::Win32::Foundation::BOOLEAN) -> ::windows_core::Result<()> {
::windows_targets::link!("ntoskrnl.exe" "system" fn ObGetObjectSecurity(object : *const ::core::ffi::c_void, securitydescriptor : *mut super::super::super::Win32::Security:: PSECURITY_DESCRIPTOR, memoryallocated : *mut super::super::super::Win32::Foundation:: BOOLEAN) -> super::super::super::Win32::Foundation:: NTSTATUS);
ObGetObjectSecurity(object, securitydescriptor, memoryallocated).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))]
#[inline]
pub unsafe fn ObReferenceObjectByHandle<P0, P1>(handle: P0, desiredaccess: u32, objecttype: P1, accessmode: i8, object: *mut *mut ::core::ffi::c_void, handleinformation: ::core::option::Option<*mut OBJECT_HANDLE_INFORMATION>) -> ::windows_core::Result<()>
where
P0: ::windows_core::IntoParam<super::super::super::Win32::Foundation::HANDLE>,
P1: ::windows_core::IntoParam<super::super::Foundation::POBJECT_TYPE>,
{
::windows_targets::link!("ntoskrnl.exe" "system" fn ObReferenceObjectByHandle(handle : super::super::super::Win32::Foundation:: HANDLE, desiredaccess : u32, objecttype : super::super::Foundation:: POBJECT_TYPE, accessmode : i8, object : *mut *mut ::core::ffi::c_void, handleinformation : *mut OBJECT_HANDLE_INFORMATION) -> super::super::super::Win32::Foundation:: NTSTATUS);
ObReferenceObjectByHandle(handle.into_param().abi(), desiredaccess, objecttype.into_param().abi(), accessmode, object, ::core::mem::transmute(handleinformation.unwrap_or(::std::ptr::null_mut()))).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))]
#[inline]
pub unsafe fn ObReferenceObjectByHandleWithTag<P0, P1>(handle: P0, desiredaccess: u32, objecttype: P1, accessmode: i8, tag: u32, object: *mut *mut ::core::ffi::c_void, handleinformation: ::core::option::Option<*mut OBJECT_HANDLE_INFORMATION>) -> ::windows_core::Result<()>
where
P0: ::windows_core::IntoParam<super::super::super::Win32::Foundation::HANDLE>,
P1: ::windows_core::IntoParam<super::super::Foundation::POBJECT_TYPE>,
{
::windows_targets::link!("ntoskrnl.exe" "system" fn ObReferenceObjectByHandleWithTag(handle : super::super::super::Win32::Foundation:: HANDLE, desiredaccess : u32, objecttype : super::super::Foundation:: POBJECT_TYPE, accessmode : i8, tag : u32, object : *mut *mut ::core::ffi::c_void, handleinformation : *mut OBJECT_HANDLE_INFORMATION) -> super::super::super::Win32::Foundation:: NTSTATUS);
ObReferenceObjectByHandleWithTag(handle.into_param().abi(), desiredaccess, objecttype.into_param().abi(), accessmode, tag, object, ::core::mem::transmute(handleinformation.unwrap_or(::std::ptr::null_mut()))).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))]
#[inline]
pub unsafe fn ObReferenceObjectByPointer<P0>(object: *const ::core::ffi::c_void, desiredaccess: u32, objecttype: P0, accessmode: i8) -> ::windows_core::Result<()>
where
P0: ::windows_core::IntoParam<super::super::Foundation::POBJECT_TYPE>,
{
::windows_targets::link!("ntoskrnl.exe" "system" fn ObReferenceObjectByPointer(object : *const ::core::ffi::c_void, desiredaccess : u32, objecttype : super::super::Foundation:: POBJECT_TYPE, accessmode : i8) -> super::super::super::Win32::Foundation:: NTSTATUS);
ObReferenceObjectByPointer(object, desiredaccess, objecttype.into_param().abi(), accessmode).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))]
#[inline]
pub unsafe fn ObReferenceObjectByPointerWithTag<P0>(object: *const ::core::ffi::c_void, desiredaccess: u32, objecttype: P0, accessmode: i8, tag: u32) -> ::windows_core::Result<()>
where
P0: ::windows_core::IntoParam<super::super::Foundation::POBJECT_TYPE>,
{
::windows_targets::link!("ntoskrnl.exe" "system" fn ObReferenceObjectByPointerWithTag(object : *const ::core::ffi::c_void, desiredaccess : u32, objecttype : super::super::Foundation:: POBJECT_TYPE, accessmode : i8, tag : u32) -> super::super::super::Win32::Foundation:: NTSTATUS);
ObReferenceObjectByPointerWithTag(object, desiredaccess, objecttype.into_param().abi(), accessmode, tag).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn ObReferenceObjectSafe(object: *const ::core::ffi::c_void) -> super::super::super::Win32::Foundation::BOOLEAN {
::windows_targets::link!("ntoskrnl.exe" "system" fn ObReferenceObjectSafe(object : *const ::core::ffi::c_void) -> super::super::super::Win32::Foundation:: BOOLEAN);
ObReferenceObjectSafe(object)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn ObReferenceObjectSafeWithTag(object: *const ::core::ffi::c_void, tag: u32) -> super::super::super::Win32::Foundation::BOOLEAN {
::windows_targets::link!("ntoskrnl.exe" "system" fn ObReferenceObjectSafeWithTag(object : *const ::core::ffi::c_void, tag : u32) -> super::super::super::Win32::Foundation:: BOOLEAN);
ObReferenceObjectSafeWithTag(object, tag)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))]
#[inline]
pub unsafe fn ObRegisterCallbacks(callbackregistration: *const OB_CALLBACK_REGISTRATION, registrationhandle: *mut *mut ::core::ffi::c_void) -> ::windows_core::Result<()> {
::windows_targets::link!("ntoskrnl.exe" "system" fn ObRegisterCallbacks(callbackregistration : *const OB_CALLBACK_REGISTRATION, registrationhandle : *mut *mut ::core::ffi::c_void) -> super::super::super::Win32::Foundation:: NTSTATUS);
ObRegisterCallbacks(callbackregistration, registrationhandle).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"]
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))]
#[inline]
pub unsafe fn ObReleaseObjectSecurity<P0, P1>(securitydescriptor: P0, memoryallocated: P1)
where
P0: ::windows_core::IntoParam<super::super::super::Win32::Security::PSECURITY_DESCRIPTOR>,
P1: ::windows_core::IntoParam<super::super::super::Win32::Foundation::BOOLEAN>,
{
::windows_targets::link!("ntoskrnl.exe" "system" fn ObReleaseObjectSecurity(securitydescriptor : super::super::super::Win32::Security:: PSECURITY_DESCRIPTOR, memoryallocated : super::super::super::Win32::Foundation:: BOOLEAN) -> ());
ObReleaseObjectSecurity(securitydescriptor.into_param().abi(), memoryallocated.into_param().abi())
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[inline]
pub unsafe fn ObUnRegisterCallbacks(registrationhandle: *const ::core::ffi::c_void) {
::windows_targets::link!("ntoskrnl.exe" "system" fn ObUnRegisterCallbacks(registrationhandle : *const ::core::ffi::c_void) -> ());
ObUnRegisterCallbacks(registrationhandle)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[inline]
pub unsafe fn ObfDereferenceObject(object: *const ::core::ffi::c_void) -> isize {
::windows_targets::link!("ntoskrnl.exe" "system" fn ObfDereferenceObject(object : *const ::core::ffi::c_void) -> isize);
ObfDereferenceObject(object)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[inline]
pub unsafe fn ObfDereferenceObjectWithTag(object: *const ::core::ffi::c_void, tag: u32) -> isize {
::windows_targets::link!("ntoskrnl.exe" "system" fn ObfDereferenceObjectWithTag(object : *const ::core::ffi::c_void, tag : u32) -> isize);
ObfDereferenceObjectWithTag(object, tag)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[inline]
pub unsafe fn ObfReferenceObject(object: *const ::core::ffi::c_void) -> isize {
::windows_targets::link!("ntoskrnl.exe" "system" fn ObfReferenceObject(object : *const ::core::ffi::c_void) -> isize);
ObfReferenceObject(object)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[inline]
pub unsafe fn ObfReferenceObjectWithTag(object: *const ::core::ffi::c_void, tag: u32) -> isize {
::windows_targets::link!("ntoskrnl.exe" "system" fn ObfReferenceObjectWithTag(object : *const ::core::ffi::c_void, tag : u32) -> isize);
ObfReferenceObjectWithTag(object, tag)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))]
#[inline]
pub unsafe fn PcwAddInstance<P0>(buffer: P0, name: *const super::super::super::Win32::Foundation::UNICODE_STRING, id: u32, data: &[PCW_DATA]) -> ::windows_core::Result<()>
where
P0: ::windows_core::IntoParam<super::super::Foundation::PPCW_BUFFER>,
{
::windows_targets::link!("ntoskrnl.exe" "system" fn PcwAddInstance(buffer : super::super::Foundation:: PPCW_BUFFER, name : *const super::super::super::Win32::Foundation:: UNICODE_STRING, id : u32, count : u32, data : *const PCW_DATA) -> super::super::super::Win32::Foundation:: NTSTATUS);
PcwAddInstance(buffer.into_param().abi(), name, id, data.len() as _, ::core::mem::transmute(data.as_ptr())).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`*"]
#[cfg(feature = "Wdk_Foundation")]
#[inline]
pub unsafe fn PcwCloseInstance<P0>(instance: P0)
where
P0: ::windows_core::IntoParam<super::super::Foundation::PPCW_INSTANCE>,
{
::windows_targets::link!("ntoskrnl.exe" "system" fn PcwCloseInstance(instance : super::super::Foundation:: PPCW_INSTANCE) -> ());
PcwCloseInstance(instance.into_param().abi())
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))]
#[inline]
pub unsafe fn PcwCreateInstance<P0>(instance: *mut super::super::Foundation::PPCW_INSTANCE, registration: P0, name: *const super::super::super::Win32::Foundation::UNICODE_STRING, data: &[PCW_DATA]) -> ::windows_core::Result<()>
where
P0: ::windows_core::IntoParam<super::super::Foundation::PPCW_REGISTRATION>,
{
::windows_targets::link!("ntoskrnl.exe" "system" fn PcwCreateInstance(instance : *mut super::super::Foundation:: PPCW_INSTANCE, registration : super::super::Foundation:: PPCW_REGISTRATION, name : *const super::super::super::Win32::Foundation:: UNICODE_STRING, count : u32, data : *const PCW_DATA) -> super::super::super::Win32::Foundation:: NTSTATUS);
PcwCreateInstance(instance, registration.into_param().abi(), name, data.len() as _, ::core::mem::transmute(data.as_ptr())).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))]
#[inline]
pub unsafe fn PcwRegister(registration: *mut super::super::Foundation::PPCW_REGISTRATION, info: *const PCW_REGISTRATION_INFORMATION) -> ::windows_core::Result<()> {
::windows_targets::link!("ntoskrnl.exe" "system" fn PcwRegister(registration : *mut super::super::Foundation:: PPCW_REGISTRATION, info : *const PCW_REGISTRATION_INFORMATION) -> super::super::super::Win32::Foundation:: NTSTATUS);
PcwRegister(registration, info).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`*"]
#[cfg(feature = "Wdk_Foundation")]
#[inline]
pub unsafe fn PcwUnregister<P0>(registration: P0)
where
P0: ::windows_core::IntoParam<super::super::Foundation::PPCW_REGISTRATION>,
{
::windows_targets::link!("ntoskrnl.exe" "system" fn PcwUnregister(registration : super::super::Foundation:: PPCW_REGISTRATION) -> ());
PcwUnregister(registration.into_param().abi())
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
#[inline]
pub unsafe fn PoCallDriver(deviceobject: *const super::super::Foundation::DEVICE_OBJECT, irp: *mut super::super::Foundation::IRP) -> ::windows_core::Result<()> {
::windows_targets::link!("ntoskrnl.exe" "system" fn PoCallDriver(deviceobject : *const super::super::Foundation:: DEVICE_OBJECT, irp : *mut super::super::Foundation:: IRP) -> super::super::super::Win32::Foundation:: NTSTATUS);
PoCallDriver(deviceobject, irp).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Power\"`*"]
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Power"))]
#[inline]
pub unsafe fn PoClearPowerRequest(powerrequest: *mut ::core::ffi::c_void, r#type: super::super::super::Win32::System::Power::POWER_REQUEST_TYPE) -> ::windows_core::Result<()> {
::windows_targets::link!("ntoskrnl.exe" "system" fn PoClearPowerRequest(powerrequest : *mut ::core::ffi::c_void, r#type : super::super::super::Win32::System::Power:: POWER_REQUEST_TYPE) -> super::super::super::Win32::Foundation:: NTSTATUS);
PoClearPowerRequest(powerrequest, r#type).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
#[inline]
pub unsafe fn PoCreatePowerRequest(powerrequest: *mut *mut ::core::ffi::c_void, deviceobject: *const super::super::Foundation::DEVICE_OBJECT, context: ::core::option::Option<*const COUNTED_REASON_CONTEXT>) -> ::windows_core::Result<()> {
::windows_targets::link!("ntoskrnl.exe" "system" fn PoCreatePowerRequest(powerrequest : *mut *mut ::core::ffi::c_void, deviceobject : *const super::super::Foundation:: DEVICE_OBJECT, context : *const COUNTED_REASON_CONTEXT) -> super::super::super::Win32::Foundation:: NTSTATUS);
PoCreatePowerRequest(powerrequest, deviceobject, ::core::mem::transmute(context.unwrap_or(::std::ptr::null()))).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
#[inline]
pub unsafe fn PoCreateThermalRequest(thermalrequest: *mut *mut ::core::ffi::c_void, targetdeviceobject: *const super::super::Foundation::DEVICE_OBJECT, policydeviceobject: *const super::super::Foundation::DEVICE_OBJECT, context: *const COUNTED_REASON_CONTEXT, flags: u32) -> ::windows_core::Result<()> {
::windows_targets::link!("ntoskrnl.exe" "system" fn PoCreateThermalRequest(thermalrequest : *mut *mut ::core::ffi::c_void, targetdeviceobject : *const super::super::Foundation:: DEVICE_OBJECT, policydeviceobject : *const super::super::Foundation:: DEVICE_OBJECT, context : *const COUNTED_REASON_CONTEXT, flags : u32) -> super::super::super::Win32::Foundation:: NTSTATUS);
PoCreateThermalRequest(thermalrequest, targetdeviceobject, policydeviceobject, context, flags).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[inline]
pub unsafe fn PoDeletePowerRequest(powerrequest: *mut ::core::ffi::c_void) {
::windows_targets::link!("ntoskrnl.exe" "system" fn PoDeletePowerRequest(powerrequest : *mut ::core::ffi::c_void) -> ());
PoDeletePowerRequest(powerrequest)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[inline]
pub unsafe fn PoDeleteThermalRequest(thermalrequest: *mut ::core::ffi::c_void) {
::windows_targets::link!("ntoskrnl.exe" "system" fn PoDeleteThermalRequest(thermalrequest : *mut ::core::ffi::c_void) -> ());
PoDeleteThermalRequest(thermalrequest)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[inline]
pub unsafe fn PoEndDeviceBusy(idlepointer: *mut u32) {
::windows_targets::link!("ntoskrnl.exe" "system" fn PoEndDeviceBusy(idlepointer : *mut u32) -> ());
PoEndDeviceBusy(idlepointer)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`*"]
#[cfg(feature = "Wdk_Foundation")]
#[inline]
pub unsafe fn PoFxActivateComponent<P0>(handle: P0, component: u32, flags: u32)
where
P0: ::windows_core::IntoParam<super::super::Foundation::POHANDLE>,
{
::windows_targets::link!("ntoskrnl.exe" "system" fn PoFxActivateComponent(handle : super::super::Foundation:: POHANDLE, component : u32, flags : u32) -> ());
PoFxActivateComponent(handle.into_param().abi(), component, flags)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`*"]
#[cfg(feature = "Wdk_Foundation")]
#[inline]
pub unsafe fn PoFxCompleteDevicePowerNotRequired<P0>(handle: P0)
where
P0: ::windows_core::IntoParam<super::super::Foundation::POHANDLE>,
{
::windows_targets::link!("ntoskrnl.exe" "system" fn PoFxCompleteDevicePowerNotRequired(handle : super::super::Foundation:: POHANDLE) -> ());
PoFxCompleteDevicePowerNotRequired(handle.into_param().abi())
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`*"]
#[cfg(feature = "Wdk_Foundation")]
#[inline]
pub unsafe fn PoFxCompleteDirectedPowerDown<P0>(handle: P0)
where
P0: ::windows_core::IntoParam<super::super::Foundation::POHANDLE>,
{
::windows_targets::link!("ntoskrnl.exe" "system" fn PoFxCompleteDirectedPowerDown(handle : super::super::Foundation:: POHANDLE) -> ());
PoFxCompleteDirectedPowerDown(handle.into_param().abi())
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`*"]
#[cfg(feature = "Wdk_Foundation")]
#[inline]
pub unsafe fn PoFxCompleteIdleCondition<P0>(handle: P0, component: u32)
where
P0: ::windows_core::IntoParam<super::super::Foundation::POHANDLE>,
{
::windows_targets::link!("ntoskrnl.exe" "system" fn PoFxCompleteIdleCondition(handle : super::super::Foundation:: POHANDLE, component : u32) -> ());
PoFxCompleteIdleCondition(handle.into_param().abi(), component)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`*"]
#[cfg(feature = "Wdk_Foundation")]
#[inline]
pub unsafe fn PoFxCompleteIdleState<P0>(handle: P0, component: u32)
where
P0: ::windows_core::IntoParam<super::super::Foundation::POHANDLE>,
{
::windows_targets::link!("ntoskrnl.exe" "system" fn PoFxCompleteIdleState(handle : super::super::Foundation:: POHANDLE, component : u32) -> ());
PoFxCompleteIdleState(handle.into_param().abi(), component)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`*"]
#[cfg(feature = "Wdk_Foundation")]
#[inline]
pub unsafe fn PoFxIdleComponent<P0>(handle: P0, component: u32, flags: u32)
where
P0: ::windows_core::IntoParam<super::super::Foundation::POHANDLE>,
{
::windows_targets::link!("ntoskrnl.exe" "system" fn PoFxIdleComponent(handle : super::super::Foundation:: POHANDLE, component : u32, flags : u32) -> ());
PoFxIdleComponent(handle.into_param().abi(), component, flags)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`*"]
#[cfg(feature = "Wdk_Foundation")]
#[inline]
pub unsafe fn PoFxIssueComponentPerfStateChange<P0>(handle: P0, flags: u32, component: u32, perfchange: *const PO_FX_PERF_STATE_CHANGE, context: *const ::core::ffi::c_void)
where
P0: ::windows_core::IntoParam<super::super::Foundation::POHANDLE>,
{
::windows_targets::link!("ntoskrnl.exe" "system" fn PoFxIssueComponentPerfStateChange(handle : super::super::Foundation:: POHANDLE, flags : u32, component : u32, perfchange : *const PO_FX_PERF_STATE_CHANGE, context : *const ::core::ffi::c_void) -> ());
PoFxIssueComponentPerfStateChange(handle.into_param().abi(), flags, component, perfchange, context)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`*"]
#[cfg(feature = "Wdk_Foundation")]
#[inline]
pub unsafe fn PoFxIssueComponentPerfStateChangeMultiple<P0>(handle: P0, flags: u32, component: u32, perfchangescount: u32, perfchanges: *const PO_FX_PERF_STATE_CHANGE, context: *const ::core::ffi::c_void)
where
P0: ::windows_core::IntoParam<super::super::Foundation::POHANDLE>,
{
::windows_targets::link!("ntoskrnl.exe" "system" fn PoFxIssueComponentPerfStateChangeMultiple(handle : super::super::Foundation:: POHANDLE, flags : u32, component : u32, perfchangescount : u32, perfchanges : *const PO_FX_PERF_STATE_CHANGE, context : *const ::core::ffi::c_void) -> ());
PoFxIssueComponentPerfStateChangeMultiple(handle.into_param().abi(), flags, component, perfchangescount, perfchanges, context)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
#[inline]
pub unsafe fn PoFxNotifySurprisePowerOn(pdo: *const super::super::Foundation::DEVICE_OBJECT) {
::windows_targets::link!("ntoskrnl.exe" "system" fn PoFxNotifySurprisePowerOn(pdo : *const super::super::Foundation:: DEVICE_OBJECT) -> ());
PoFxNotifySurprisePowerOn(pdo)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))]
#[inline]
pub unsafe fn PoFxPowerControl<P0>(handle: P0, powercontrolcode: *const ::windows_core::GUID, inbuffer: ::core::option::Option<*const ::core::ffi::c_void>, inbuffersize: usize, outbuffer: ::core::option::Option<*mut ::core::ffi::c_void>, outbuffersize: usize, bytesreturned: ::core::option::Option<*mut usize>) -> ::windows_core::Result<()>
where
P0: ::windows_core::IntoParam<super::super::Foundation::POHANDLE>,
{
::windows_targets::link!("ntoskrnl.exe" "system" fn PoFxPowerControl(handle : super::super::Foundation:: POHANDLE, powercontrolcode : *const ::windows_core::GUID, inbuffer : *const ::core::ffi::c_void, inbuffersize : usize, outbuffer : *mut ::core::ffi::c_void, outbuffersize : usize, bytesreturned : *mut usize) -> super::super::super::Win32::Foundation:: NTSTATUS);
PoFxPowerControl(handle.into_param().abi(), powercontrolcode, ::core::mem::transmute(inbuffer.unwrap_or(::std::ptr::null())), inbuffersize, ::core::mem::transmute(outbuffer.unwrap_or(::std::ptr::null_mut())), outbuffersize, ::core::mem::transmute(bytesreturned.unwrap_or(::std::ptr::null_mut()))).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))]
#[inline]
pub unsafe fn PoFxPowerOnCrashdumpDevice<P0>(handle: P0, context: ::core::option::Option<*const ::core::ffi::c_void>) -> ::windows_core::Result<()>
where
P0: ::windows_core::IntoParam<super::super::Foundation::POHANDLE>,
{
::windows_targets::link!("ntoskrnl.exe" "system" fn PoFxPowerOnCrashdumpDevice(handle : super::super::Foundation:: POHANDLE, context : *const ::core::ffi::c_void) -> super::super::super::Win32::Foundation:: NTSTATUS);
PoFxPowerOnCrashdumpDevice(handle.into_param().abi(), ::core::mem::transmute(context.unwrap_or(::std::ptr::null()))).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))]
#[inline]
pub unsafe fn PoFxQueryCurrentComponentPerfState<P0>(handle: P0, flags: u32, component: u32, setindex: u32, currentperf: *mut u64) -> ::windows_core::Result<()>
where
P0: ::windows_core::IntoParam<super::super::Foundation::POHANDLE>,
{
::windows_targets::link!("ntoskrnl.exe" "system" fn PoFxQueryCurrentComponentPerfState(handle : super::super::Foundation:: POHANDLE, flags : u32, component : u32, setindex : u32, currentperf : *mut u64) -> super::super::super::Win32::Foundation:: NTSTATUS);
PoFxQueryCurrentComponentPerfState(handle.into_param().abi(), flags, component, setindex, currentperf).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))]
#[inline]
pub unsafe fn PoFxRegisterComponentPerfStates<P0>(handle: P0, component: u32, flags: u64, componentperfstatecallback: PPO_FX_COMPONENT_PERF_STATE_CALLBACK, inputstateinfo: *const PO_FX_COMPONENT_PERF_INFO, outputstateinfo: *mut *mut PO_FX_COMPONENT_PERF_INFO) -> ::windows_core::Result<()>
where
P0: ::windows_core::IntoParam<super::super::Foundation::POHANDLE>,
{
::windows_targets::link!("ntoskrnl.exe" "system" fn PoFxRegisterComponentPerfStates(handle : super::super::Foundation:: POHANDLE, component : u32, flags : u64, componentperfstatecallback : PPO_FX_COMPONENT_PERF_STATE_CALLBACK, inputstateinfo : *const PO_FX_COMPONENT_PERF_INFO, outputstateinfo : *mut *mut PO_FX_COMPONENT_PERF_INFO) -> super::super::super::Win32::Foundation:: NTSTATUS);
PoFxRegisterComponentPerfStates(handle.into_param().abi(), component, flags, componentperfstatecallback, inputstateinfo, outputstateinfo).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))]
#[inline]
pub unsafe fn PoFxRegisterCrashdumpDevice<P0>(handle: P0) -> ::windows_core::Result<()>
where
P0: ::windows_core::IntoParam<super::super::Foundation::POHANDLE>,
{
::windows_targets::link!("ntoskrnl.exe" "system" fn PoFxRegisterCrashdumpDevice(handle : super::super::Foundation:: POHANDLE) -> super::super::super::Win32::Foundation:: NTSTATUS);
PoFxRegisterCrashdumpDevice(handle.into_param().abi()).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
#[inline]
pub unsafe fn PoFxRegisterDevice(pdo: *const super::super::Foundation::DEVICE_OBJECT, device: *const PO_FX_DEVICE_V1, handle: *mut super::super::Foundation::POHANDLE) -> ::windows_core::Result<()> {
::windows_targets::link!("ntoskrnl.exe" "system" fn PoFxRegisterDevice(pdo : *const super::super::Foundation:: DEVICE_OBJECT, device : *const PO_FX_DEVICE_V1, handle : *mut super::super::Foundation:: POHANDLE) -> super::super::super::Win32::Foundation:: NTSTATUS);
PoFxRegisterDevice(pdo, device, handle).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
#[inline]
pub unsafe fn PoFxRegisterDripsWatchdogCallback<P0, P1>(handle: P0, callback: PPO_FX_DRIPS_WATCHDOG_CALLBACK, includechilddevices: P1, matchingdriverobject: ::core::option::Option<*const super::super::Foundation::DRIVER_OBJECT>)
where
P0: ::windows_core::IntoParam<super::super::Foundation::POHANDLE>,
P1: ::windows_core::IntoParam<super::super::super::Win32::Foundation::BOOLEAN>,
{
::windows_targets::link!("ntoskrnl.exe" "system" fn PoFxRegisterDripsWatchdogCallback(handle : super::super::Foundation:: POHANDLE, callback : PPO_FX_DRIPS_WATCHDOG_CALLBACK, includechilddevices : super::super::super::Win32::Foundation:: BOOLEAN, matchingdriverobject : *const super::super::Foundation:: DRIVER_OBJECT) -> ());
PoFxRegisterDripsWatchdogCallback(handle.into_param().abi(), callback, includechilddevices.into_param().abi(), ::core::mem::transmute(matchingdriverobject.unwrap_or(::std::ptr::null())))
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`*"]
#[cfg(feature = "Wdk_Foundation")]
#[inline]
pub unsafe fn PoFxReportDevicePoweredOn<P0>(handle: P0)
where
P0: ::windows_core::IntoParam<super::super::Foundation::POHANDLE>,
{
::windows_targets::link!("ntoskrnl.exe" "system" fn PoFxReportDevicePoweredOn(handle : super::super::Foundation:: POHANDLE) -> ());
PoFxReportDevicePoweredOn(handle.into_param().abi())
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`*"]
#[cfg(feature = "Wdk_Foundation")]
#[inline]
pub unsafe fn PoFxSetComponentLatency<P0>(handle: P0, component: u32, latency: u64)
where
P0: ::windows_core::IntoParam<super::super::Foundation::POHANDLE>,
{
::windows_targets::link!("ntoskrnl.exe" "system" fn PoFxSetComponentLatency(handle : super::super::Foundation:: POHANDLE, component : u32, latency : u64) -> ());
PoFxSetComponentLatency(handle.into_param().abi(), component, latency)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`*"]
#[cfg(feature = "Wdk_Foundation")]
#[inline]
pub unsafe fn PoFxSetComponentResidency<P0>(handle: P0, component: u32, residency: u64)
where
P0: ::windows_core::IntoParam<super::super::Foundation::POHANDLE>,
{
::windows_targets::link!("ntoskrnl.exe" "system" fn PoFxSetComponentResidency(handle : super::super::Foundation:: POHANDLE, component : u32, residency : u64) -> ());
PoFxSetComponentResidency(handle.into_param().abi(), component, residency)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))]
#[inline]
pub unsafe fn PoFxSetComponentWake<P0, P1>(handle: P0, component: u32, wakehint: P1)
where
P0: ::windows_core::IntoParam<super::super::Foundation::POHANDLE>,
P1: ::windows_core::IntoParam<super::super::super::Win32::Foundation::BOOLEAN>,
{
::windows_targets::link!("ntoskrnl.exe" "system" fn PoFxSetComponentWake(handle : super::super::Foundation:: POHANDLE, component : u32, wakehint : super::super::super::Win32::Foundation:: BOOLEAN) -> ());
PoFxSetComponentWake(handle.into_param().abi(), component, wakehint.into_param().abi())
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`*"]
#[cfg(feature = "Wdk_Foundation")]
#[inline]
pub unsafe fn PoFxSetDeviceIdleTimeout<P0>(handle: P0, idletimeout: u64)
where
P0: ::windows_core::IntoParam<super::super::Foundation::POHANDLE>,
{
::windows_targets::link!("ntoskrnl.exe" "system" fn PoFxSetDeviceIdleTimeout(handle : super::super::Foundation:: POHANDLE, idletimeout : u64) -> ());
PoFxSetDeviceIdleTimeout(handle.into_param().abi(), idletimeout)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`, `\"Win32_System_Power\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation", feature = "Win32_System_Power"))]
#[inline]
pub unsafe fn PoFxSetTargetDripsDevicePowerState<P0>(handle: P0, targetstate: super::super::super::Win32::System::Power::DEVICE_POWER_STATE) -> ::windows_core::Result<()>
where
P0: ::windows_core::IntoParam<super::super::Foundation::POHANDLE>,
{
::windows_targets::link!("ntoskrnl.exe" "system" fn PoFxSetTargetDripsDevicePowerState(handle : super::super::Foundation:: POHANDLE, targetstate : super::super::super::Win32::System::Power:: DEVICE_POWER_STATE) -> super::super::super::Win32::Foundation:: NTSTATUS);
PoFxSetTargetDripsDevicePowerState(handle.into_param().abi(), targetstate).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`*"]
#[cfg(feature = "Wdk_Foundation")]
#[inline]
pub unsafe fn PoFxStartDevicePowerManagement<P0>(handle: P0)
where
P0: ::windows_core::IntoParam<super::super::Foundation::POHANDLE>,
{
::windows_targets::link!("ntoskrnl.exe" "system" fn PoFxStartDevicePowerManagement(handle : super::super::Foundation:: POHANDLE) -> ());
PoFxStartDevicePowerManagement(handle.into_param().abi())
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`*"]
#[cfg(feature = "Wdk_Foundation")]
#[inline]
pub unsafe fn PoFxUnregisterDevice<P0>(handle: P0)
where
P0: ::windows_core::IntoParam<super::super::Foundation::POHANDLE>,
{
::windows_targets::link!("ntoskrnl.exe" "system" fn PoFxUnregisterDevice(handle : super::super::Foundation:: POHANDLE) -> ());
PoFxUnregisterDevice(handle.into_param().abi())
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
#[inline]
pub unsafe fn PoGetSystemWake(irp: *const super::super::Foundation::IRP) -> super::super::super::Win32::Foundation::BOOLEAN {
::windows_targets::link!("ntoskrnl.exe" "system" fn PoGetSystemWake(irp : *const super::super::Foundation:: IRP) -> super::super::super::Win32::Foundation:: BOOLEAN);
PoGetSystemWake(irp)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn PoGetThermalRequestSupport(thermalrequest: *const ::core::ffi::c_void, r#type: PO_THERMAL_REQUEST_TYPE) -> super::super::super::Win32::Foundation::BOOLEAN {
::windows_targets::link!("ntoskrnl.exe" "system" fn PoGetThermalRequestSupport(thermalrequest : *const ::core::ffi::c_void, r#type : PO_THERMAL_REQUEST_TYPE) -> super::super::super::Win32::Foundation:: BOOLEAN);
PoGetThermalRequestSupport(thermalrequest, r#type)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
#[inline]
pub unsafe fn PoQueryWatchdogTime(pdo: *const super::super::Foundation::DEVICE_OBJECT, secondsremaining: *mut u32) -> super::super::super::Win32::Foundation::BOOLEAN {
::windows_targets::link!("ntoskrnl.exe" "system" fn PoQueryWatchdogTime(pdo : *const super::super::Foundation:: DEVICE_OBJECT, secondsremaining : *mut u32) -> super::super::super::Win32::Foundation:: BOOLEAN);
PoQueryWatchdogTime(pdo, secondsremaining)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
#[inline]
pub unsafe fn PoRegisterDeviceForIdleDetection(deviceobject: *const super::super::Foundation::DEVICE_OBJECT, conservationidletime: u32, performanceidletime: u32, state: super::super::super::Win32::System::Power::DEVICE_POWER_STATE) -> *mut u32 {
::windows_targets::link!("ntoskrnl.exe" "system" fn PoRegisterDeviceForIdleDetection(deviceobject : *const super::super::Foundation:: DEVICE_OBJECT, conservationidletime : u32, performanceidletime : u32, state : super::super::super::Win32::System::Power:: DEVICE_POWER_STATE) -> *mut u32);
PoRegisterDeviceForIdleDetection(deviceobject, conservationidletime, performanceidletime, state)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
#[inline]
pub unsafe fn PoRegisterPowerSettingCallback(deviceobject: ::core::option::Option<*const super::super::Foundation::DEVICE_OBJECT>, settingguid: *const ::windows_core::GUID, callback: PPOWER_SETTING_CALLBACK, context: ::core::option::Option<*const ::core::ffi::c_void>, handle: ::core::option::Option<*mut *mut ::core::ffi::c_void>) -> ::windows_core::Result<()> {
::windows_targets::link!("ntoskrnl.exe" "system" fn PoRegisterPowerSettingCallback(deviceobject : *const super::super::Foundation:: DEVICE_OBJECT, settingguid : *const ::windows_core::GUID, callback : PPOWER_SETTING_CALLBACK, context : *const ::core::ffi::c_void, handle : *mut *mut ::core::ffi::c_void) -> super::super::super::Win32::Foundation:: NTSTATUS);
PoRegisterPowerSettingCallback(::core::mem::transmute(deviceobject.unwrap_or(::std::ptr::null())), settingguid, callback, ::core::mem::transmute(context.unwrap_or(::std::ptr::null())), ::core::mem::transmute(handle.unwrap_or(::std::ptr::null_mut()))).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[inline]
pub unsafe fn PoRegisterSystemState(statehandle: ::core::option::Option<*mut ::core::ffi::c_void>, flags: u32) -> *mut ::core::ffi::c_void {
::windows_targets::link!("ntoskrnl.exe" "system" fn PoRegisterSystemState(statehandle : *mut ::core::ffi::c_void, flags : u32) -> *mut ::core::ffi::c_void);
PoRegisterSystemState(::core::mem::transmute(statehandle.unwrap_or(::std::ptr::null_mut())), flags)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
#[inline]
pub unsafe fn PoRequestPowerIrp(deviceobject: *const super::super::Foundation::DEVICE_OBJECT, minorfunction: u8, powerstate: POWER_STATE, completionfunction: PREQUEST_POWER_COMPLETE, context: ::core::option::Option<*const ::core::ffi::c_void>, irp: ::core::option::Option<*mut *mut super::super::Foundation::IRP>) -> ::windows_core::Result<()> {
::windows_targets::link!("ntoskrnl.exe" "system" fn PoRequestPowerIrp(deviceobject : *const super::super::Foundation:: DEVICE_OBJECT, minorfunction : u8, powerstate : POWER_STATE, completionfunction : PREQUEST_POWER_COMPLETE, context : *const ::core::ffi::c_void, irp : *mut *mut super::super::Foundation:: IRP) -> super::super::super::Win32::Foundation:: NTSTATUS);
PoRequestPowerIrp(deviceobject, minorfunction, ::core::mem::transmute(powerstate), completionfunction, ::core::mem::transmute(context.unwrap_or(::std::ptr::null())), ::core::mem::transmute(irp.unwrap_or(::std::ptr::null_mut()))).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[inline]
pub unsafe fn PoSetDeviceBusyEx(idlepointer: *mut u32) {
::windows_targets::link!("ntoskrnl.exe" "system" fn PoSetDeviceBusyEx(idlepointer : *mut u32) -> ());
PoSetDeviceBusyEx(idlepointer)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[inline]
pub unsafe fn PoSetHiberRange(memorymap: ::core::option::Option<*const ::core::ffi::c_void>, flags: u32, address: *const ::core::ffi::c_void, length: usize, tag: u32) {
::windows_targets::link!("ntoskrnl.exe" "system" fn PoSetHiberRange(memorymap : *const ::core::ffi::c_void, flags : u32, address : *const ::core::ffi::c_void, length : usize, tag : u32) -> ());
PoSetHiberRange(::core::mem::transmute(memorymap.unwrap_or(::std::ptr::null())), flags, address, length, tag)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Power\"`*"]
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Power"))]
#[inline]
pub unsafe fn PoSetPowerRequest(powerrequest: *mut ::core::ffi::c_void, r#type: super::super::super::Win32::System::Power::POWER_REQUEST_TYPE) -> ::windows_core::Result<()> {
::windows_targets::link!("ntoskrnl.exe" "system" fn PoSetPowerRequest(powerrequest : *mut ::core::ffi::c_void, r#type : super::super::super::Win32::System::Power:: POWER_REQUEST_TYPE) -> super::super::super::Win32::Foundation:: NTSTATUS);
PoSetPowerRequest(powerrequest, r#type).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
#[inline]
pub unsafe fn PoSetPowerState(deviceobject: *const super::super::Foundation::DEVICE_OBJECT, r#type: POWER_STATE_TYPE, state: POWER_STATE) -> POWER_STATE {
::windows_targets::link!("ntoskrnl.exe" "system" fn PoSetPowerState(deviceobject : *const super::super::Foundation:: DEVICE_OBJECT, r#type : POWER_STATE_TYPE, state : POWER_STATE) -> POWER_STATE);
PoSetPowerState(deviceobject, r#type, ::core::mem::transmute(state))
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[inline]
pub unsafe fn PoSetSystemState(flags: u32) {
::windows_targets::link!("ntoskrnl.exe" "system" fn PoSetSystemState(flags : u32) -> ());
PoSetSystemState(flags)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
#[inline]
pub unsafe fn PoSetSystemWake(irp: *mut super::super::Foundation::IRP) {
::windows_targets::link!("ntoskrnl.exe" "system" fn PoSetSystemWake(irp : *mut super::super::Foundation:: IRP) -> ());
PoSetSystemWake(irp)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
#[inline]
pub unsafe fn PoSetSystemWakeDevice(deviceobject: *const super::super::Foundation::DEVICE_OBJECT) {
::windows_targets::link!("ntoskrnl.exe" "system" fn PoSetSystemWakeDevice(deviceobject : *const super::super::Foundation:: DEVICE_OBJECT) -> ());
PoSetSystemWakeDevice(deviceobject)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn PoSetThermalActiveCooling<P0>(thermalrequest: *mut ::core::ffi::c_void, engaged: P0) -> ::windows_core::Result<()>
where
P0: ::windows_core::IntoParam<super::super::super::Win32::Foundation::BOOLEAN>,
{
::windows_targets::link!("ntoskrnl.exe" "system" fn PoSetThermalActiveCooling(thermalrequest : *mut ::core::ffi::c_void, engaged : super::super::super::Win32::Foundation:: BOOLEAN) -> super::super::super::Win32::Foundation:: NTSTATUS);
PoSetThermalActiveCooling(thermalrequest, engaged.into_param().abi()).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn PoSetThermalPassiveCooling(thermalrequest: *mut ::core::ffi::c_void, throttle: u8) -> ::windows_core::Result<()> {
::windows_targets::link!("ntoskrnl.exe" "system" fn PoSetThermalPassiveCooling(thermalrequest : *mut ::core::ffi::c_void, throttle : u8) -> super::super::super::Win32::Foundation:: NTSTATUS);
PoSetThermalPassiveCooling(thermalrequest, throttle).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[inline]
pub unsafe fn PoStartDeviceBusy(idlepointer: *mut u32) {
::windows_targets::link!("ntoskrnl.exe" "system" fn PoStartDeviceBusy(idlepointer : *mut u32) -> ());
PoStartDeviceBusy(idlepointer)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
#[inline]
pub unsafe fn PoStartNextPowerIrp(irp: *mut super::super::Foundation::IRP) {
::windows_targets::link!("ntoskrnl.exe" "system" fn PoStartNextPowerIrp(irp : *mut super::super::Foundation:: IRP) -> ());
PoStartNextPowerIrp(irp)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn PoUnregisterPowerSettingCallback(handle: *mut ::core::ffi::c_void) -> ::windows_core::Result<()> {
::windows_targets::link!("ntoskrnl.exe" "system" fn PoUnregisterPowerSettingCallback(handle : *mut ::core::ffi::c_void) -> super::super::super::Win32::Foundation:: NTSTATUS);
PoUnregisterPowerSettingCallback(handle).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[inline]
pub unsafe fn PoUnregisterSystemState(statehandle: *mut ::core::ffi::c_void) {
::windows_targets::link!("ntoskrnl.exe" "system" fn PoUnregisterSystemState(statehandle : *mut ::core::ffi::c_void) -> ());
PoUnregisterSystemState(statehandle)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[inline]
pub unsafe fn ProbeForRead(address: *const ::core::ffi::c_void, length: usize, alignment: u32) {
::windows_targets::link!("ntoskrnl.exe" "system" fn ProbeForRead(address : *const ::core::ffi::c_void, length : usize, alignment : u32) -> ());
ProbeForRead(address, length, alignment)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[inline]
pub unsafe fn ProbeForWrite(address: *mut ::core::ffi::c_void, length: usize, alignment: u32) {
::windows_targets::link!("ntoskrnl.exe" "system" fn ProbeForWrite(address : *mut ::core::ffi::c_void, length : usize, alignment : u32) -> ());
ProbeForWrite(address, length, alignment)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))]
#[inline]
pub unsafe fn PsAcquireSiloHardReference<P0>(silo: P0) -> ::windows_core::Result<()>
where
P0: ::windows_core::IntoParam<super::super::Foundation::PESILO>,
{
::windows_targets::link!("ntoskrnl.exe" "system" fn PsAcquireSiloHardReference(silo : super::super::Foundation:: PESILO) -> super::super::super::Win32::Foundation:: NTSTATUS);
PsAcquireSiloHardReference(silo.into_param().abi()).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn PsAllocSiloContextSlot(reserved: usize, returnedcontextslot: *mut u32) -> ::windows_core::Result<()> {
::windows_targets::link!("ntoskrnl.exe" "system" fn PsAllocSiloContextSlot(reserved : usize, returnedcontextslot : *mut u32) -> super::super::super::Win32::Foundation:: NTSTATUS);
PsAllocSiloContextSlot(reserved, returnedcontextslot).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))]
#[inline]
pub unsafe fn PsAllocateAffinityToken(affinitytoken: *mut super::super::Foundation::PAFFINITY_TOKEN) -> ::windows_core::Result<()> {
::windows_targets::link!("ntoskrnl.exe" "system" fn PsAllocateAffinityToken(affinitytoken : *mut super::super::Foundation:: PAFFINITY_TOKEN) -> super::super::super::Win32::Foundation:: NTSTATUS);
PsAllocateAffinityToken(affinitytoken).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`*"]
#[cfg(feature = "Wdk_Foundation")]
#[inline]
pub unsafe fn PsAttachSiloToCurrentThread<P0>(silo: P0) -> super::super::Foundation::PESILO
where
P0: ::windows_core::IntoParam<super::super::Foundation::PESILO>,
{
::windows_targets::link!("ntoskrnl.exe" "system" fn PsAttachSiloToCurrentThread(silo : super::super::Foundation:: PESILO) -> super::super::Foundation:: PESILO);
PsAttachSiloToCurrentThread(silo.into_param().abi())
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))]
#[inline]
pub unsafe fn PsCreateSiloContext<P0>(silo: P0, size: u32, pooltype: super::super::Foundation::POOL_TYPE, contextcleanupcallback: SILO_CONTEXT_CLEANUP_CALLBACK, returnedsilocontext: *mut *mut ::core::ffi::c_void) -> ::windows_core::Result<()>
where
P0: ::windows_core::IntoParam<super::super::Foundation::PESILO>,
{
::windows_targets::link!("ntoskrnl.exe" "system" fn PsCreateSiloContext(silo : super::super::Foundation:: PESILO, size : u32, pooltype : super::super::Foundation:: POOL_TYPE, contextcleanupcallback : SILO_CONTEXT_CLEANUP_CALLBACK, returnedsilocontext : *mut *mut ::core::ffi::c_void) -> super::super::super::Win32::Foundation:: NTSTATUS);
PsCreateSiloContext(silo.into_param().abi(), size, pooltype, contextcleanupcallback, returnedsilocontext).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation", feature = "Win32_System_WindowsProgramming"))]
#[inline]
pub unsafe fn PsCreateSystemThread<P0>(threadhandle: *mut super::super::super::Win32::Foundation::HANDLE, desiredaccess: u32, objectattributes: ::core::option::Option<*const super::super::Foundation::OBJECT_ATTRIBUTES>, processhandle: P0, clientid: ::core::option::Option<*mut super::super::super::Win32::System::WindowsProgramming::CLIENT_ID>, startroutine: PKSTART_ROUTINE, startcontext: ::core::option::Option<*const ::core::ffi::c_void>) -> ::windows_core::Result<()>
where
P0: ::windows_core::IntoParam<super::super::super::Win32::Foundation::HANDLE>,
{
::windows_targets::link!("ntoskrnl.exe" "system" fn PsCreateSystemThread(threadhandle : *mut super::super::super::Win32::Foundation:: HANDLE, desiredaccess : u32, objectattributes : *const super::super::Foundation:: OBJECT_ATTRIBUTES, processhandle : super::super::super::Win32::Foundation:: HANDLE, clientid : *mut super::super::super::Win32::System::WindowsProgramming:: CLIENT_ID, startroutine : PKSTART_ROUTINE, startcontext : *const ::core::ffi::c_void) -> super::super::super::Win32::Foundation:: NTSTATUS);
PsCreateSystemThread(threadhandle, desiredaccess, ::core::mem::transmute(objectattributes.unwrap_or(::std::ptr::null())), processhandle.into_param().abi(), ::core::mem::transmute(clientid.unwrap_or(::std::ptr::null_mut())), startroutine, ::core::mem::transmute(startcontext.unwrap_or(::std::ptr::null()))).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[inline]
pub unsafe fn PsDereferenceSiloContext(silocontext: *const ::core::ffi::c_void) {
::windows_targets::link!("ntoskrnl.exe" "system" fn PsDereferenceSiloContext(silocontext : *const ::core::ffi::c_void) -> ());
PsDereferenceSiloContext(silocontext)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`*"]
#[cfg(feature = "Wdk_Foundation")]
#[inline]
pub unsafe fn PsDetachSiloFromCurrentThread<P0>(previoussilo: P0)
where
P0: ::windows_core::IntoParam<super::super::Foundation::PESILO>,
{
::windows_targets::link!("ntoskrnl.exe" "system" fn PsDetachSiloFromCurrentThread(previoussilo : super::super::Foundation:: PESILO) -> ());
PsDetachSiloFromCurrentThread(previoussilo.into_param().abi())
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`*"]
#[cfg(feature = "Wdk_Foundation")]
#[inline]
pub unsafe fn PsFreeAffinityToken<P0>(affinitytoken: P0)
where
P0: ::windows_core::IntoParam<super::super::Foundation::PAFFINITY_TOKEN>,
{
::windows_targets::link!("ntoskrnl.exe" "system" fn PsFreeAffinityToken(affinitytoken : super::super::Foundation:: PAFFINITY_TOKEN) -> ());
PsFreeAffinityToken(affinitytoken.into_param().abi())
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn PsFreeSiloContextSlot(contextslot: u32) -> ::windows_core::Result<()> {
::windows_targets::link!("ntoskrnl.exe" "system" fn PsFreeSiloContextSlot(contextslot : u32) -> super::super::super::Win32::Foundation:: NTSTATUS);
PsFreeSiloContextSlot(contextslot).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn PsGetCurrentProcessId() -> super::super::super::Win32::Foundation::HANDLE {
::windows_targets::link!("ntoskrnl.exe" "system" fn PsGetCurrentProcessId() -> super::super::super::Win32::Foundation:: HANDLE);
PsGetCurrentProcessId()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`*"]
#[cfg(feature = "Wdk_Foundation")]
#[inline]
pub unsafe fn PsGetCurrentServerSilo() -> super::super::Foundation::PESILO {
::windows_targets::link!("ntoskrnl.exe" "system" fn PsGetCurrentServerSilo() -> super::super::Foundation:: PESILO);
PsGetCurrentServerSilo()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn PsGetCurrentServerSiloName() -> *mut super::super::super::Win32::Foundation::UNICODE_STRING {
::windows_targets::link!("ntoskrnl.exe" "system" fn PsGetCurrentServerSiloName() -> *mut super::super::super::Win32::Foundation:: UNICODE_STRING);
PsGetCurrentServerSiloName()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`*"]
#[cfg(feature = "Wdk_Foundation")]
#[inline]
pub unsafe fn PsGetCurrentSilo() -> super::super::Foundation::PESILO {
::windows_targets::link!("ntoskrnl.exe" "system" fn PsGetCurrentSilo() -> super::super::Foundation:: PESILO);
PsGetCurrentSilo()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn PsGetCurrentThreadId() -> super::super::super::Win32::Foundation::HANDLE {
::windows_targets::link!("ntoskrnl.exe" "system" fn PsGetCurrentThreadId() -> super::super::super::Win32::Foundation:: HANDLE);
PsGetCurrentThreadId()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[inline]
pub unsafe fn PsGetCurrentThreadTeb() -> *mut ::core::ffi::c_void {
::windows_targets::link!("ntoskrnl.exe" "system" fn PsGetCurrentThreadTeb() -> *mut ::core::ffi::c_void);
PsGetCurrentThreadTeb()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`*"]
#[cfg(feature = "Wdk_Foundation")]
#[inline]
pub unsafe fn PsGetEffectiveServerSilo<P0>(silo: P0) -> super::super::Foundation::PESILO
where
P0: ::windows_core::IntoParam<super::super::Foundation::PESILO>,
{
::windows_targets::link!("ntoskrnl.exe" "system" fn PsGetEffectiveServerSilo(silo : super::super::Foundation:: PESILO) -> super::super::Foundation:: PESILO);
PsGetEffectiveServerSilo(silo.into_param().abi())
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`*"]
#[cfg(feature = "Wdk_Foundation")]
#[inline]
pub unsafe fn PsGetHostSilo() -> super::super::Foundation::PESILO {
::windows_targets::link!("ntoskrnl.exe" "system" fn PsGetHostSilo() -> super::super::Foundation:: PESILO);
PsGetHostSilo()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))]
#[inline]
pub unsafe fn PsGetJobServerSilo<P0>(job: P0, serversilo: *mut super::super::Foundation::PESILO) -> ::windows_core::Result<()>
where
P0: ::windows_core::IntoParam<super::super::Foundation::PEJOB>,
{
::windows_targets::link!("ntoskrnl.exe" "system" fn PsGetJobServerSilo(job : super::super::Foundation:: PEJOB, serversilo : *mut super::super::Foundation:: PESILO) -> super::super::super::Win32::Foundation:: NTSTATUS);
PsGetJobServerSilo(job.into_param().abi(), serversilo).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))]
#[inline]
pub unsafe fn PsGetJobSilo<P0>(job: P0, silo: *mut super::super::Foundation::PESILO) -> ::windows_core::Result<()>
where
P0: ::windows_core::IntoParam<super::super::Foundation::PEJOB>,
{
::windows_targets::link!("ntoskrnl.exe" "system" fn PsGetJobSilo(job : super::super::Foundation:: PEJOB, silo : *mut super::super::Foundation:: PESILO) -> super::super::super::Win32::Foundation:: NTSTATUS);
PsGetJobSilo(job.into_param().abi(), silo).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`*"]
#[cfg(feature = "Wdk_Foundation")]
#[inline]
pub unsafe fn PsGetParentSilo<P0>(job: P0) -> super::super::Foundation::PESILO
where
P0: ::windows_core::IntoParam<super::super::Foundation::PEJOB>,
{
::windows_targets::link!("ntoskrnl.exe" "system" fn PsGetParentSilo(job : super::super::Foundation:: PEJOB) -> super::super::Foundation:: PESILO);
PsGetParentSilo(job.into_param().abi())
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))]
#[inline]
pub unsafe fn PsGetPermanentSiloContext<P0>(silo: P0, contextslot: u32, returnedsilocontext: *mut *mut ::core::ffi::c_void) -> ::windows_core::Result<()>
where
P0: ::windows_core::IntoParam<super::super::Foundation::PESILO>,
{
::windows_targets::link!("ntoskrnl.exe" "system" fn PsGetPermanentSiloContext(silo : super::super::Foundation:: PESILO, contextslot : u32, returnedsilocontext : *mut *mut ::core::ffi::c_void) -> super::super::super::Win32::Foundation:: NTSTATUS);
PsGetPermanentSiloContext(silo.into_param().abi(), contextslot, returnedsilocontext).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`*"]
#[cfg(feature = "Wdk_Foundation")]
#[inline]
pub unsafe fn PsGetProcessCreateTimeQuadPart<P0>(process: P0) -> i64
where
P0: ::windows_core::IntoParam<super::super::Foundation::PEPROCESS>,
{
::windows_targets::link!("ntoskrnl.exe" "system" fn PsGetProcessCreateTimeQuadPart(process : super::super::Foundation:: PEPROCESS) -> i64);
PsGetProcessCreateTimeQuadPart(process.into_param().abi())
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))]
#[inline]
pub unsafe fn PsGetProcessExitStatus<P0>(process: P0) -> ::windows_core::Result<()>
where
P0: ::windows_core::IntoParam<super::super::Foundation::PEPROCESS>,
{
::windows_targets::link!("ntoskrnl.exe" "system" fn PsGetProcessExitStatus(process : super::super::Foundation:: PEPROCESS) -> super::super::super::Win32::Foundation:: NTSTATUS);
PsGetProcessExitStatus(process.into_param().abi()).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))]
#[inline]
pub unsafe fn PsGetProcessId<P0>(process: P0) -> super::super::super::Win32::Foundation::HANDLE
where
P0: ::windows_core::IntoParam<super::super::Foundation::PEPROCESS>,
{
::windows_targets::link!("ntoskrnl.exe" "system" fn PsGetProcessId(process : super::super::Foundation:: PEPROCESS) -> super::super::super::Win32::Foundation:: HANDLE);
PsGetProcessId(process.into_param().abi())
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`*"]
#[cfg(feature = "Wdk_Foundation")]
#[inline]
pub unsafe fn PsGetProcessStartKey<P0>(process: P0) -> u64
where
P0: ::windows_core::IntoParam<super::super::Foundation::PEPROCESS>,
{
::windows_targets::link!("ntoskrnl.exe" "system" fn PsGetProcessStartKey(process : super::super::Foundation:: PEPROCESS) -> u64);
PsGetProcessStartKey(process.into_param().abi())
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`*"]
#[cfg(feature = "Wdk_Foundation")]
#[inline]
pub unsafe fn PsGetServerSiloServiceSessionId<P0>(silo: P0) -> u32
where
P0: ::windows_core::IntoParam<super::super::Foundation::PESILO>,
{
::windows_targets::link!("ntoskrnl.exe" "system" fn PsGetServerSiloServiceSessionId(silo : super::super::Foundation:: PESILO) -> u32);
PsGetServerSiloServiceSessionId(silo.into_param().abi())
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`*"]
#[cfg(feature = "Wdk_Foundation")]
#[inline]
pub unsafe fn PsGetSiloContainerId<P0>(silo: P0) -> *mut ::windows_core::GUID
where
P0: ::windows_core::IntoParam<super::super::Foundation::PESILO>,
{
::windows_targets::link!("ntoskrnl.exe" "system" fn PsGetSiloContainerId(silo : super::super::Foundation:: PESILO) -> *mut ::windows_core::GUID);
PsGetSiloContainerId(silo.into_param().abi())
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))]
#[inline]
pub unsafe fn PsGetSiloContext<P0>(silo: P0, contextslot: u32, returnedsilocontext: *mut *mut ::core::ffi::c_void) -> ::windows_core::Result<()>
where
P0: ::windows_core::IntoParam<super::super::Foundation::PESILO>,
{
::windows_targets::link!("ntoskrnl.exe" "system" fn PsGetSiloContext(silo : super::super::Foundation:: PESILO, contextslot : u32, returnedsilocontext : *mut *mut ::core::ffi::c_void) -> super::super::super::Win32::Foundation:: NTSTATUS);
PsGetSiloContext(silo.into_param().abi(), contextslot, returnedsilocontext).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`*"]
#[cfg(feature = "Wdk_Foundation")]
#[inline]
pub unsafe fn PsGetSiloMonitorContextSlot<P0>(monitor: P0) -> u32
where
P0: ::windows_core::IntoParam<super::super::Foundation::PSILO_MONITOR>,
{
::windows_targets::link!("ntoskrnl.exe" "system" fn PsGetSiloMonitorContextSlot(monitor : super::super::Foundation:: PSILO_MONITOR) -> u32);
PsGetSiloMonitorContextSlot(monitor.into_param().abi())
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`*"]
#[cfg(feature = "Wdk_Foundation")]
#[inline]
pub unsafe fn PsGetThreadCreateTime<P0>(thread: P0) -> i64
where
P0: ::windows_core::IntoParam<super::super::Foundation::PETHREAD>,
{
::windows_targets::link!("ntoskrnl.exe" "system" fn PsGetThreadCreateTime(thread : super::super::Foundation:: PETHREAD) -> i64);
PsGetThreadCreateTime(thread.into_param().abi())
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))]
#[inline]
pub unsafe fn PsGetThreadExitStatus<P0>(thread: P0) -> ::windows_core::Result<()>
where
P0: ::windows_core::IntoParam<super::super::Foundation::PETHREAD>,
{
::windows_targets::link!("ntoskrnl.exe" "system" fn PsGetThreadExitStatus(thread : super::super::Foundation:: PETHREAD) -> super::super::super::Win32::Foundation:: NTSTATUS);
PsGetThreadExitStatus(thread.into_param().abi()).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))]
#[inline]
pub unsafe fn PsGetThreadId<P0>(thread: P0) -> super::super::super::Win32::Foundation::HANDLE
where
P0: ::windows_core::IntoParam<super::super::Foundation::PETHREAD>,
{
::windows_targets::link!("ntoskrnl.exe" "system" fn PsGetThreadId(thread : super::super::Foundation:: PETHREAD) -> super::super::super::Win32::Foundation:: HANDLE);
PsGetThreadId(thread.into_param().abi())
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))]
#[inline]
pub unsafe fn PsGetThreadProcessId<P0>(thread: P0) -> super::super::super::Win32::Foundation::HANDLE
where
P0: ::windows_core::IntoParam<super::super::Foundation::PETHREAD>,
{
::windows_targets::link!("ntoskrnl.exe" "system" fn PsGetThreadProcessId(thread : super::super::Foundation:: PETHREAD) -> super::super::super::Win32::Foundation:: HANDLE);
PsGetThreadProcessId(thread.into_param().abi())
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`*"]
#[cfg(feature = "Wdk_Foundation")]
#[inline]
pub unsafe fn PsGetThreadProperty<P0>(thread: P0, key: usize, flags: u32) -> *mut ::core::ffi::c_void
where
P0: ::windows_core::IntoParam<super::super::Foundation::PETHREAD>,
{
::windows_targets::link!("ntoskrnl.exe" "system" fn PsGetThreadProperty(thread : super::super::Foundation:: PETHREAD, key : usize, flags : u32) -> *mut ::core::ffi::c_void);
PsGetThreadProperty(thread.into_param().abi(), key, flags)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`*"]
#[cfg(feature = "Wdk_Foundation")]
#[inline]
pub unsafe fn PsGetThreadServerSilo<P0>(thread: P0) -> super::super::Foundation::PESILO
where
P0: ::windows_core::IntoParam<super::super::Foundation::PETHREAD>,
{
::windows_targets::link!("ntoskrnl.exe" "system" fn PsGetThreadServerSilo(thread : super::super::Foundation:: PETHREAD) -> super::super::Foundation:: PESILO);
PsGetThreadServerSilo(thread.into_param().abi())
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn PsGetVersion(majorversion: ::core::option::Option<*mut u32>, minorversion: ::core::option::Option<*mut u32>, buildnumber: ::core::option::Option<*mut u32>, csdversion: ::core::option::Option<*mut super::super::super::Win32::Foundation::UNICODE_STRING>) -> super::super::super::Win32::Foundation::BOOLEAN {
::windows_targets::link!("ntoskrnl.exe" "system" fn PsGetVersion(majorversion : *mut u32, minorversion : *mut u32, buildnumber : *mut u32, csdversion : *mut super::super::super::Win32::Foundation:: UNICODE_STRING) -> super::super::super::Win32::Foundation:: BOOLEAN);
PsGetVersion(::core::mem::transmute(majorversion.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(minorversion.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(buildnumber.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(csdversion.unwrap_or(::std::ptr::null_mut())))
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))]
#[inline]
pub unsafe fn PsInsertPermanentSiloContext<P0>(silo: P0, contextslot: u32, silocontext: *const ::core::ffi::c_void) -> ::windows_core::Result<()>
where
P0: ::windows_core::IntoParam<super::super::Foundation::PESILO>,
{
::windows_targets::link!("ntoskrnl.exe" "system" fn PsInsertPermanentSiloContext(silo : super::super::Foundation:: PESILO, contextslot : u32, silocontext : *const ::core::ffi::c_void) -> super::super::super::Win32::Foundation:: NTSTATUS);
PsInsertPermanentSiloContext(silo.into_param().abi(), contextslot, silocontext).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))]
#[inline]
pub unsafe fn PsInsertSiloContext<P0>(silo: P0, contextslot: u32, silocontext: *const ::core::ffi::c_void) -> ::windows_core::Result<()>
where
P0: ::windows_core::IntoParam<super::super::Foundation::PESILO>,
{
::windows_targets::link!("ntoskrnl.exe" "system" fn PsInsertSiloContext(silo : super::super::Foundation:: PESILO, contextslot : u32, silocontext : *const ::core::ffi::c_void) -> super::super::super::Win32::Foundation:: NTSTATUS);
PsInsertSiloContext(silo.into_param().abi(), contextslot, silocontext).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn PsIsCurrentThreadInServerSilo() -> super::super::super::Win32::Foundation::BOOLEAN {
::windows_targets::link!("ntoskrnl.exe" "system" fn PsIsCurrentThreadInServerSilo() -> super::super::super::Win32::Foundation:: BOOLEAN);
PsIsCurrentThreadInServerSilo()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn PsIsCurrentThreadPrefetching() -> super::super::super::Win32::Foundation::BOOLEAN {
::windows_targets::link!("ntoskrnl.exe" "system" fn PsIsCurrentThreadPrefetching() -> super::super::super::Win32::Foundation:: BOOLEAN);
PsIsCurrentThreadPrefetching()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))]
#[inline]
pub unsafe fn PsIsHostSilo<P0>(silo: P0) -> super::super::super::Win32::Foundation::BOOLEAN
where
P0: ::windows_core::IntoParam<super::super::Foundation::PESILO>,
{
::windows_targets::link!("ntoskrnl.exe" "system" fn PsIsHostSilo(silo : super::super::Foundation:: PESILO) -> super::super::super::Win32::Foundation:: BOOLEAN);
PsIsHostSilo(silo.into_param().abi())
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))]
#[inline]
pub unsafe fn PsMakeSiloContextPermanent<P0>(silo: P0, contextslot: u32) -> ::windows_core::Result<()>
where
P0: ::windows_core::IntoParam<super::super::Foundation::PESILO>,
{
::windows_targets::link!("ntoskrnl.exe" "system" fn PsMakeSiloContextPermanent(silo : super::super::Foundation:: PESILO, contextslot : u32) -> super::super::super::Win32::Foundation:: NTSTATUS);
PsMakeSiloContextPermanent(silo.into_param().abi(), contextslot).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`*"]
#[cfg(feature = "Wdk_Foundation")]
#[inline]
pub unsafe fn PsQueryTotalCycleTimeProcess<P0>(process: P0, cycletimestamp: *mut u64) -> u64
where
P0: ::windows_core::IntoParam<super::super::Foundation::PEPROCESS>,
{
::windows_targets::link!("ntoskrnl.exe" "system" fn PsQueryTotalCycleTimeProcess(process : super::super::Foundation:: PEPROCESS, cycletimestamp : *mut u64) -> u64);
PsQueryTotalCycleTimeProcess(process.into_param().abi(), cycletimestamp)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[inline]
pub unsafe fn PsReferenceSiloContext(silocontext: *const ::core::ffi::c_void) {
::windows_targets::link!("ntoskrnl.exe" "system" fn PsReferenceSiloContext(silocontext : *const ::core::ffi::c_void) -> ());
PsReferenceSiloContext(silocontext)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))]
#[inline]
pub unsafe fn PsRegisterSiloMonitor(registration: *const SILO_MONITOR_REGISTRATION, returnedmonitor: *mut super::super::Foundation::PSILO_MONITOR) -> ::windows_core::Result<()> {
::windows_targets::link!("ntoskrnl.exe" "system" fn PsRegisterSiloMonitor(registration : *const SILO_MONITOR_REGISTRATION, returnedmonitor : *mut super::super::Foundation:: PSILO_MONITOR) -> super::super::super::Win32::Foundation:: NTSTATUS);
PsRegisterSiloMonitor(registration, returnedmonitor).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`*"]
#[cfg(feature = "Wdk_Foundation")]
#[inline]
pub unsafe fn PsReleaseSiloHardReference<P0>(silo: P0)
where
P0: ::windows_core::IntoParam<super::super::Foundation::PESILO>,
{
::windows_targets::link!("ntoskrnl.exe" "system" fn PsReleaseSiloHardReference(silo : super::super::Foundation:: PESILO) -> ());
PsReleaseSiloHardReference(silo.into_param().abi())
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn PsRemoveCreateThreadNotifyRoutine(notifyroutine: PCREATE_THREAD_NOTIFY_ROUTINE) -> ::windows_core::Result<()> {
::windows_targets::link!("ntoskrnl.exe" "system" fn PsRemoveCreateThreadNotifyRoutine(notifyroutine : PCREATE_THREAD_NOTIFY_ROUTINE) -> super::super::super::Win32::Foundation:: NTSTATUS);
PsRemoveCreateThreadNotifyRoutine(notifyroutine).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn PsRemoveLoadImageNotifyRoutine(notifyroutine: PLOAD_IMAGE_NOTIFY_ROUTINE) -> ::windows_core::Result<()> {
::windows_targets::link!("ntoskrnl.exe" "system" fn PsRemoveLoadImageNotifyRoutine(notifyroutine : PLOAD_IMAGE_NOTIFY_ROUTINE) -> super::super::super::Win32::Foundation:: NTSTATUS);
PsRemoveLoadImageNotifyRoutine(notifyroutine).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))]
#[inline]
pub unsafe fn PsRemoveSiloContext<P0>(silo: P0, contextslot: u32, removedsilocontext: ::core::option::Option<*mut *mut ::core::ffi::c_void>) -> ::windows_core::Result<()>
where
P0: ::windows_core::IntoParam<super::super::Foundation::PESILO>,
{
::windows_targets::link!("ntoskrnl.exe" "system" fn PsRemoveSiloContext(silo : super::super::Foundation:: PESILO, contextslot : u32, removedsilocontext : *mut *mut ::core::ffi::c_void) -> super::super::super::Win32::Foundation:: NTSTATUS);
PsRemoveSiloContext(silo.into_param().abi(), contextslot, ::core::mem::transmute(removedsilocontext.unwrap_or(::std::ptr::null_mut()))).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))]
#[inline]
pub unsafe fn PsReplaceSiloContext<P0>(silo: P0, contextslot: u32, newsilocontext: *const ::core::ffi::c_void, oldsilocontext: ::core::option::Option<*mut *mut ::core::ffi::c_void>) -> ::windows_core::Result<()>
where
P0: ::windows_core::IntoParam<super::super::Foundation::PESILO>,
{
::windows_targets::link!("ntoskrnl.exe" "system" fn PsReplaceSiloContext(silo : super::super::Foundation:: PESILO, contextslot : u32, newsilocontext : *const ::core::ffi::c_void, oldsilocontext : *mut *mut ::core::ffi::c_void) -> super::super::super::Win32::Foundation:: NTSTATUS);
PsReplaceSiloContext(silo.into_param().abi(), contextslot, newsilocontext, ::core::mem::transmute(oldsilocontext.unwrap_or(::std::ptr::null_mut()))).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`*"]
#[cfg(feature = "Wdk_Foundation")]
#[inline]
pub unsafe fn PsRevertToUserMultipleGroupAffinityThread<P0>(affinitytoken: P0)
where
P0: ::windows_core::IntoParam<super::super::Foundation::PAFFINITY_TOKEN>,
{
::windows_targets::link!("ntoskrnl.exe" "system" fn PsRevertToUserMultipleGroupAffinityThread(affinitytoken : super::super::Foundation:: PAFFINITY_TOKEN) -> ());
PsRevertToUserMultipleGroupAffinityThread(affinitytoken.into_param().abi())
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn PsSetCreateProcessNotifyRoutine<P0>(notifyroutine: PCREATE_PROCESS_NOTIFY_ROUTINE, remove: P0) -> ::windows_core::Result<()>
where
P0: ::windows_core::IntoParam<super::super::super::Win32::Foundation::BOOLEAN>,
{
::windows_targets::link!("ntoskrnl.exe" "system" fn PsSetCreateProcessNotifyRoutine(notifyroutine : PCREATE_PROCESS_NOTIFY_ROUTINE, remove : super::super::super::Win32::Foundation:: BOOLEAN) -> super::super::super::Win32::Foundation:: NTSTATUS);
PsSetCreateProcessNotifyRoutine(notifyroutine, remove.into_param().abi()).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
#[inline]
pub unsafe fn PsSetCreateProcessNotifyRoutineEx<P0>(notifyroutine: PCREATE_PROCESS_NOTIFY_ROUTINE_EX, remove: P0) -> ::windows_core::Result<()>
where
P0: ::windows_core::IntoParam<super::super::super::Win32::Foundation::BOOLEAN>,
{
::windows_targets::link!("ntoskrnl.exe" "system" fn PsSetCreateProcessNotifyRoutineEx(notifyroutine : PCREATE_PROCESS_NOTIFY_ROUTINE_EX, remove : super::super::super::Win32::Foundation:: BOOLEAN) -> super::super::super::Win32::Foundation:: NTSTATUS);
PsSetCreateProcessNotifyRoutineEx(notifyroutine, remove.into_param().abi()).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn PsSetCreateProcessNotifyRoutineEx2<P0>(notifytype: PSCREATEPROCESSNOTIFYTYPE, notifyinformation: *const ::core::ffi::c_void, remove: P0) -> ::windows_core::Result<()>
where
P0: ::windows_core::IntoParam<super::super::super::Win32::Foundation::BOOLEAN>,
{
::windows_targets::link!("ntoskrnl.exe" "system" fn PsSetCreateProcessNotifyRoutineEx2(notifytype : PSCREATEPROCESSNOTIFYTYPE, notifyinformation : *const ::core::ffi::c_void, remove : super::super::super::Win32::Foundation:: BOOLEAN) -> super::super::super::Win32::Foundation:: NTSTATUS);
PsSetCreateProcessNotifyRoutineEx2(notifytype, notifyinformation, remove.into_param().abi()).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn PsSetCreateThreadNotifyRoutine(notifyroutine: PCREATE_THREAD_NOTIFY_ROUTINE) -> ::windows_core::Result<()> {
::windows_targets::link!("ntoskrnl.exe" "system" fn PsSetCreateThreadNotifyRoutine(notifyroutine : PCREATE_THREAD_NOTIFY_ROUTINE) -> super::super::super::Win32::Foundation:: NTSTATUS);
PsSetCreateThreadNotifyRoutine(notifyroutine).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn PsSetCreateThreadNotifyRoutineEx(notifytype: PSCREATETHREADNOTIFYTYPE, notifyinformation: *const ::core::ffi::c_void) -> ::windows_core::Result<()> {
::windows_targets::link!("ntoskrnl.exe" "system" fn PsSetCreateThreadNotifyRoutineEx(notifytype : PSCREATETHREADNOTIFYTYPE, notifyinformation : *const ::core::ffi::c_void) -> super::super::super::Win32::Foundation:: NTSTATUS);
PsSetCreateThreadNotifyRoutineEx(notifytype, notifyinformation).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn PsSetCurrentThreadPrefetching<P0>(prefetching: P0) -> super::super::super::Win32::Foundation::BOOLEAN
where
P0: ::windows_core::IntoParam<super::super::super::Win32::Foundation::BOOLEAN>,
{
::windows_targets::link!("ntoskrnl.exe" "system" fn PsSetCurrentThreadPrefetching(prefetching : super::super::super::Win32::Foundation:: BOOLEAN) -> super::super::super::Win32::Foundation:: BOOLEAN);
PsSetCurrentThreadPrefetching(prefetching.into_param().abi())
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn PsSetLoadImageNotifyRoutine(notifyroutine: PLOAD_IMAGE_NOTIFY_ROUTINE) -> ::windows_core::Result<()> {
::windows_targets::link!("ntoskrnl.exe" "system" fn PsSetLoadImageNotifyRoutine(notifyroutine : PLOAD_IMAGE_NOTIFY_ROUTINE) -> super::super::super::Win32::Foundation:: NTSTATUS);
PsSetLoadImageNotifyRoutine(notifyroutine).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn PsSetLoadImageNotifyRoutineEx(notifyroutine: PLOAD_IMAGE_NOTIFY_ROUTINE, flags: usize) -> ::windows_core::Result<()> {
::windows_targets::link!("ntoskrnl.exe" "system" fn PsSetLoadImageNotifyRoutineEx(notifyroutine : PLOAD_IMAGE_NOTIFY_ROUTINE, flags : usize) -> super::super::super::Win32::Foundation:: NTSTATUS);
PsSetLoadImageNotifyRoutineEx(notifyroutine, flags).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`, `\"Win32_System_SystemInformation\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation", feature = "Win32_System_SystemInformation"))]
#[inline]
pub unsafe fn PsSetSystemMultipleGroupAffinityThread<P0>(groupaffinities: &[super::super::super::Win32::System::SystemInformation::GROUP_AFFINITY], affinitytoken: P0) -> ::windows_core::Result<()>
where
P0: ::windows_core::IntoParam<super::super::Foundation::PAFFINITY_TOKEN>,
{
::windows_targets::link!("ntoskrnl.exe" "system" fn PsSetSystemMultipleGroupAffinityThread(groupaffinities : *const super::super::super::Win32::System::SystemInformation:: GROUP_AFFINITY, groupcount : u16, affinitytoken : super::super::Foundation:: PAFFINITY_TOKEN) -> super::super::super::Win32::Foundation:: NTSTATUS);
PsSetSystemMultipleGroupAffinityThread(::core::mem::transmute(groupaffinities.as_ptr()), groupaffinities.len() as _, affinitytoken.into_param().abi()).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))]
#[inline]
pub unsafe fn PsStartSiloMonitor<P0>(monitor: P0) -> ::windows_core::Result<()>
where
P0: ::windows_core::IntoParam<super::super::Foundation::PSILO_MONITOR>,
{
::windows_targets::link!("ntoskrnl.exe" "system" fn PsStartSiloMonitor(monitor : super::super::Foundation:: PSILO_MONITOR) -> super::super::super::Win32::Foundation:: NTSTATUS);
PsStartSiloMonitor(monitor.into_param().abi()).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))]
#[inline]
pub unsafe fn PsTerminateServerSilo<P0, P1>(serversilo: P0, exitstatus: P1)
where
P0: ::windows_core::IntoParam<super::super::Foundation::PESILO>,
P1: ::windows_core::IntoParam<super::super::super::Win32::Foundation::NTSTATUS>,
{
::windows_targets::link!("ntoskrnl.exe" "system" fn PsTerminateServerSilo(serversilo : super::super::Foundation:: PESILO, exitstatus : super::super::super::Win32::Foundation:: NTSTATUS) -> ());
PsTerminateServerSilo(serversilo.into_param().abi(), exitstatus.into_param().abi())
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn PsTerminateSystemThread<P0>(exitstatus: P0) -> ::windows_core::Result<()>
where
P0: ::windows_core::IntoParam<super::super::super::Win32::Foundation::NTSTATUS>,
{
::windows_targets::link!("ntoskrnl.exe" "system" fn PsTerminateSystemThread(exitstatus : super::super::super::Win32::Foundation:: NTSTATUS) -> super::super::super::Win32::Foundation:: NTSTATUS);
PsTerminateSystemThread(exitstatus.into_param().abi()).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`*"]
#[cfg(feature = "Wdk_Foundation")]
#[inline]
pub unsafe fn PsUnregisterSiloMonitor<P0>(monitor: P0)
where
P0: ::windows_core::IntoParam<super::super::Foundation::PSILO_MONITOR>,
{
::windows_targets::link!("ntoskrnl.exe" "system" fn PsUnregisterSiloMonitor(monitor : super::super::Foundation:: PSILO_MONITOR) -> ());
PsUnregisterSiloMonitor(monitor.into_param().abi())
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn PsWrapApcWow64Thread(apccontext: *mut *mut ::core::ffi::c_void, apcroutine: *mut *mut ::core::ffi::c_void) -> ::windows_core::Result<()> {
::windows_targets::link!("ntoskrnl.exe" "system" fn PsWrapApcWow64Thread(apccontext : *mut *mut ::core::ffi::c_void, apcroutine : *mut *mut ::core::ffi::c_void) -> super::super::super::Win32::Foundation:: NTSTATUS);
PsWrapApcWow64Thread(apccontext, apcroutine).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[inline]
pub unsafe fn PshedAllocateMemory(size: u32) -> *mut ::core::ffi::c_void {
::windows_targets::link!("pshed.dll" "system" fn PshedAllocateMemory(size : u32) -> *mut ::core::ffi::c_void);
PshedAllocateMemory(size)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[inline]
pub unsafe fn PshedFreeMemory(address: *const ::core::ffi::c_void) {
::windows_targets::link!("pshed.dll" "system" fn PshedFreeMemory(address : *const ::core::ffi::c_void) -> ());
PshedFreeMemory(address)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn PshedIsSystemWheaEnabled() -> super::super::super::Win32::Foundation::BOOLEAN {
::windows_targets::link!("pshed.dll" "system" fn PshedIsSystemWheaEnabled() -> super::super::super::Win32::Foundation:: BOOLEAN);
PshedIsSystemWheaEnabled()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Diagnostics_Debug\"`*"]
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Diagnostics_Debug"))]
#[inline]
pub unsafe fn PshedRegisterPlugin(packet: *mut WHEA_PSHED_PLUGIN_REGISTRATION_PACKET_V2) -> ::windows_core::Result<()> {
::windows_targets::link!("pshed.dll" "system" fn PshedRegisterPlugin(packet : *mut WHEA_PSHED_PLUGIN_REGISTRATION_PACKET_V2) -> super::super::super::Win32::Foundation:: NTSTATUS);
PshedRegisterPlugin(packet).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Diagnostics_Debug\"`*"]
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Diagnostics_Debug"))]
#[inline]
pub unsafe fn PshedSynchronizeExecution(errorsource: *const super::super::super::Win32::System::Diagnostics::Debug::WHEA_ERROR_SOURCE_DESCRIPTOR, synchronizeroutine: PKSYNCHRONIZE_ROUTINE, synchronizecontext: *const ::core::ffi::c_void) -> super::super::super::Win32::Foundation::BOOLEAN {
::windows_targets::link!("pshed.dll" "system" fn PshedSynchronizeExecution(errorsource : *const super::super::super::Win32::System::Diagnostics::Debug:: WHEA_ERROR_SOURCE_DESCRIPTOR, synchronizeroutine : PKSYNCHRONIZE_ROUTINE, synchronizecontext : *const ::core::ffi::c_void) -> super::super::super::Win32::Foundation:: BOOLEAN);
PshedSynchronizeExecution(errorsource, synchronizeroutine, synchronizecontext)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[inline]
pub unsafe fn PshedUnregisterPlugin(pluginhandle: *const ::core::ffi::c_void) {
::windows_targets::link!("pshed.dll" "system" fn PshedUnregisterPlugin(pluginhandle : *const ::core::ffi::c_void) -> ());
PshedUnregisterPlugin(pluginhandle)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn RtlAppendUnicodeStringToString(destination: *mut super::super::super::Win32::Foundation::UNICODE_STRING, source: *const super::super::super::Win32::Foundation::UNICODE_STRING) -> ::windows_core::Result<()> {
::windows_targets::link!("ntdll.dll" "system" fn RtlAppendUnicodeStringToString(destination : *mut super::super::super::Win32::Foundation:: UNICODE_STRING, source : *const super::super::super::Win32::Foundation:: UNICODE_STRING) -> super::super::super::Win32::Foundation:: NTSTATUS);
RtlAppendUnicodeStringToString(destination, source).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn RtlAppendUnicodeToString<P0>(destination: *mut super::super::super::Win32::Foundation::UNICODE_STRING, source: P0) -> ::windows_core::Result<()>
where
P0: ::windows_core::IntoParam<::windows_core::PCWSTR>,
{
::windows_targets::link!("ntdll.dll" "system" fn RtlAppendUnicodeToString(destination : *mut super::super::super::Win32::Foundation:: UNICODE_STRING, source : ::windows_core::PCWSTR) -> super::super::super::Win32::Foundation:: NTSTATUS);
RtlAppendUnicodeToString(destination, source.into_param().abi()).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn RtlAreBitsClear(bitmapheader: *const RTL_BITMAP, startingindex: u32, length: u32) -> super::super::super::Win32::Foundation::BOOLEAN {
::windows_targets::link!("ntdll.dll" "system" fn RtlAreBitsClear(bitmapheader : *const RTL_BITMAP, startingindex : u32, length : u32) -> super::super::super::Win32::Foundation:: BOOLEAN);
RtlAreBitsClear(bitmapheader, startingindex, length)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn RtlAreBitsSet(bitmapheader: *const RTL_BITMAP, startingindex: u32, length: u32) -> super::super::super::Win32::Foundation::BOOLEAN {
::windows_targets::link!("ntdll.dll" "system" fn RtlAreBitsSet(bitmapheader : *const RTL_BITMAP, startingindex : u32, length : u32) -> super::super::super::Win32::Foundation:: BOOLEAN);
RtlAreBitsSet(bitmapheader, startingindex, length)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[inline]
pub unsafe fn RtlAssert<P0>(voidfailedassertion: *const ::core::ffi::c_void, voidfilename: *const ::core::ffi::c_void, linenumber: u32, mutablemessage: P0)
where
P0: ::windows_core::IntoParam<::windows_core::PCSTR>,
{
::windows_targets::link!("ntdll.dll" "system" fn RtlAssert(voidfailedassertion : *const ::core::ffi::c_void, voidfilename : *const ::core::ffi::c_void, linenumber : u32, mutablemessage : ::windows_core::PCSTR) -> ());
RtlAssert(voidfailedassertion, voidfilename, linenumber, mutablemessage.into_param().abi())
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn RtlCheckRegistryKey<P0>(relativeto: u32, path: P0) -> ::windows_core::Result<()>
where
P0: ::windows_core::IntoParam<::windows_core::PCWSTR>,
{
::windows_targets::link!("ntdll.dll" "system" fn RtlCheckRegistryKey(relativeto : u32, path : ::windows_core::PCWSTR) -> super::super::super::Win32::Foundation:: NTSTATUS);
RtlCheckRegistryKey(relativeto, path.into_param().abi()).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[inline]
pub unsafe fn RtlClearAllBits(bitmapheader: *const RTL_BITMAP) {
::windows_targets::link!("ntdll.dll" "system" fn RtlClearAllBits(bitmapheader : *const RTL_BITMAP) -> ());
RtlClearAllBits(bitmapheader)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[inline]
pub unsafe fn RtlClearBit(bitmapheader: *const RTL_BITMAP, bitnumber: u32) {
::windows_targets::link!("ntdll.dll" "system" fn RtlClearBit(bitmapheader : *const RTL_BITMAP, bitnumber : u32) -> ());
RtlClearBit(bitmapheader, bitnumber)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[inline]
pub unsafe fn RtlClearBits(bitmapheader: *const RTL_BITMAP, startingindex: u32, numbertoclear: u32) {
::windows_targets::link!("ntdll.dll" "system" fn RtlClearBits(bitmapheader : *const RTL_BITMAP, startingindex : u32, numbertoclear : u32) -> ());
RtlClearBits(bitmapheader, startingindex, numbertoclear)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[inline]
pub unsafe fn RtlCmDecodeMemIoResource(descriptor: *const CM_PARTIAL_RESOURCE_DESCRIPTOR, start: ::core::option::Option<*mut u64>) -> u64 {
::windows_targets::link!("ntdll.dll" "system" fn RtlCmDecodeMemIoResource(descriptor : *const CM_PARTIAL_RESOURCE_DESCRIPTOR, start : *mut u64) -> u64);
RtlCmDecodeMemIoResource(descriptor, ::core::mem::transmute(start.unwrap_or(::std::ptr::null_mut())))
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn RtlCmEncodeMemIoResource(descriptor: *const CM_PARTIAL_RESOURCE_DESCRIPTOR, r#type: u8, length: u64, start: u64) -> ::windows_core::Result<()> {
::windows_targets::link!("ntdll.dll" "system" fn RtlCmEncodeMemIoResource(descriptor : *const CM_PARTIAL_RESOURCE_DESCRIPTOR, r#type : u8, length : u64, start : u64) -> super::super::super::Win32::Foundation:: NTSTATUS);
RtlCmEncodeMemIoResource(descriptor, r#type, length, start).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"]
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
#[inline]
pub unsafe fn RtlCompareString<P0>(string1: *const super::super::super::Win32::System::Kernel::STRING, string2: *const super::super::super::Win32::System::Kernel::STRING, caseinsensitive: P0) -> i32
where
P0: ::windows_core::IntoParam<super::super::super::Win32::Foundation::BOOLEAN>,
{
::windows_targets::link!("ntdll.dll" "system" fn RtlCompareString(string1 : *const super::super::super::Win32::System::Kernel:: STRING, string2 : *const super::super::super::Win32::System::Kernel:: STRING, caseinsensitive : super::super::super::Win32::Foundation:: BOOLEAN) -> i32);
RtlCompareString(string1, string2, caseinsensitive.into_param().abi())
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn RtlCompareUnicodeString<P0>(string1: *const super::super::super::Win32::Foundation::UNICODE_STRING, string2: *const super::super::super::Win32::Foundation::UNICODE_STRING, caseinsensitive: P0) -> i32
where
P0: ::windows_core::IntoParam<super::super::super::Win32::Foundation::BOOLEAN>,
{
::windows_targets::link!("ntdll.dll" "system" fn RtlCompareUnicodeString(string1 : *const super::super::super::Win32::Foundation:: UNICODE_STRING, string2 : *const super::super::super::Win32::Foundation:: UNICODE_STRING, caseinsensitive : super::super::super::Win32::Foundation:: BOOLEAN) -> i32);
RtlCompareUnicodeString(string1, string2, caseinsensitive.into_param().abi())
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn RtlCompareUnicodeStrings<P0>(string1: &[u16], string2: &[u16], caseinsensitive: P0) -> i32
where
P0: ::windows_core::IntoParam<super::super::super::Win32::Foundation::BOOLEAN>,
{
::windows_targets::link!("ntdll.dll" "system" fn RtlCompareUnicodeStrings(string1 : *const u16, string1length : usize, string2 : *const u16, string2length : usize, caseinsensitive : super::super::super::Win32::Foundation:: BOOLEAN) -> i32);
RtlCompareUnicodeStrings(::core::mem::transmute(string1.as_ptr()), string1.len() as _, ::core::mem::transmute(string2.as_ptr()), string2.len() as _, caseinsensitive.into_param().abi())
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn RtlContractHashTable(hashtable: *const RTL_DYNAMIC_HASH_TABLE) -> super::super::super::Win32::Foundation::BOOLEAN {
::windows_targets::link!("ntdll.dll" "system" fn RtlContractHashTable(hashtable : *const RTL_DYNAMIC_HASH_TABLE) -> super::super::super::Win32::Foundation:: BOOLEAN);
RtlContractHashTable(hashtable)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[inline]
pub unsafe fn RtlCopyBitMap(source: *const RTL_BITMAP, destination: *const RTL_BITMAP, targetbit: u32) {
::windows_targets::link!("ntdll.dll" "system" fn RtlCopyBitMap(source : *const RTL_BITMAP, destination : *const RTL_BITMAP, targetbit : u32) -> ());
RtlCopyBitMap(source, destination, targetbit)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_System_Kernel\"`*"]
#[cfg(feature = "Win32_System_Kernel")]
#[inline]
pub unsafe fn RtlCopyString(destinationstring: *mut super::super::super::Win32::System::Kernel::STRING, sourcestring: ::core::option::Option<*const super::super::super::Win32::System::Kernel::STRING>) {
::windows_targets::link!("ntdll.dll" "system" fn RtlCopyString(destinationstring : *mut super::super::super::Win32::System::Kernel:: STRING, sourcestring : *const super::super::super::Win32::System::Kernel:: STRING) -> ());
RtlCopyString(destinationstring, ::core::mem::transmute(sourcestring.unwrap_or(::std::ptr::null())))
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn RtlCopyUnicodeString(destinationstring: *mut super::super::super::Win32::Foundation::UNICODE_STRING, sourcestring: ::core::option::Option<*const super::super::super::Win32::Foundation::UNICODE_STRING>) {
::windows_targets::link!("ntdll.dll" "system" fn RtlCopyUnicodeString(destinationstring : *mut super::super::super::Win32::Foundation:: UNICODE_STRING, sourcestring : *const super::super::super::Win32::Foundation:: UNICODE_STRING) -> ());
RtlCopyUnicodeString(destinationstring, ::core::mem::transmute(sourcestring.unwrap_or(::std::ptr::null())))
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[inline]
pub unsafe fn RtlCrc64(buffer: *const ::core::ffi::c_void, size: usize, initialcrc: u64) -> u64 {
::windows_targets::link!("ntdll.dll" "system" fn RtlCrc64(buffer : *const ::core::ffi::c_void, size : usize, initialcrc : u64) -> u64);
RtlCrc64(buffer, size, initialcrc)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn RtlCreateHashTable(hashtable: *mut *mut RTL_DYNAMIC_HASH_TABLE, shift: u32, flags: u32) -> super::super::super::Win32::Foundation::BOOLEAN {
::windows_targets::link!("ntdll.dll" "system" fn RtlCreateHashTable(hashtable : *mut *mut RTL_DYNAMIC_HASH_TABLE, shift : u32, flags : u32) -> super::super::super::Win32::Foundation:: BOOLEAN);
RtlCreateHashTable(hashtable, shift, flags)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn RtlCreateHashTableEx(hashtable: *mut *mut RTL_DYNAMIC_HASH_TABLE, initialsize: u32, shift: u32, flags: u32) -> super::super::super::Win32::Foundation::BOOLEAN {
::windows_targets::link!("ntdll.dll" "system" fn RtlCreateHashTableEx(hashtable : *mut *mut RTL_DYNAMIC_HASH_TABLE, initialsize : u32, shift : u32, flags : u32) -> super::super::super::Win32::Foundation:: BOOLEAN);
RtlCreateHashTableEx(hashtable, initialsize, shift, flags)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn RtlCreateRegistryKey<P0>(relativeto: u32, path: P0) -> ::windows_core::Result<()>
where
P0: ::windows_core::IntoParam<::windows_core::PCWSTR>,
{
::windows_targets::link!("ntdll.dll" "system" fn RtlCreateRegistryKey(relativeto : u32, path : ::windows_core::PCWSTR) -> super::super::super::Win32::Foundation:: NTSTATUS);
RtlCreateRegistryKey(relativeto, path.into_param().abi()).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"]
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))]
#[inline]
pub unsafe fn RtlCreateSecurityDescriptor(securitydescriptor: super::super::super::Win32::Security::PSECURITY_DESCRIPTOR, revision: u32) -> ::windows_core::Result<()> {
::windows_targets::link!("ntdll.dll" "system" fn RtlCreateSecurityDescriptor(securitydescriptor : super::super::super::Win32::Security:: PSECURITY_DESCRIPTOR, revision : u32) -> super::super::super::Win32::Foundation:: NTSTATUS);
RtlCreateSecurityDescriptor(securitydescriptor, revision).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`*"]
#[cfg(feature = "Wdk_Foundation")]
#[inline]
pub unsafe fn RtlDelete(links: *const super::super::Foundation::RTL_SPLAY_LINKS) -> *mut super::super::Foundation::RTL_SPLAY_LINKS {
::windows_targets::link!("ntdll.dll" "system" fn RtlDelete(links : *const super::super::Foundation:: RTL_SPLAY_LINKS) -> *mut super::super::Foundation:: RTL_SPLAY_LINKS);
RtlDelete(links)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
#[inline]
pub unsafe fn RtlDeleteElementGenericTable(table: *const RTL_GENERIC_TABLE, buffer: *const ::core::ffi::c_void) -> super::super::super::Win32::Foundation::BOOLEAN {
::windows_targets::link!("ntdll.dll" "system" fn RtlDeleteElementGenericTable(table : *const RTL_GENERIC_TABLE, buffer : *const ::core::ffi::c_void) -> super::super::super::Win32::Foundation:: BOOLEAN);
RtlDeleteElementGenericTable(table, buffer)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn RtlDeleteElementGenericTableAvl(table: *const RTL_AVL_TABLE, buffer: *const ::core::ffi::c_void) -> super::super::super::Win32::Foundation::BOOLEAN {
::windows_targets::link!("ntdll.dll" "system" fn RtlDeleteElementGenericTableAvl(table : *const RTL_AVL_TABLE, buffer : *const ::core::ffi::c_void) -> super::super::super::Win32::Foundation:: BOOLEAN);
RtlDeleteElementGenericTableAvl(table, buffer)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[inline]
pub unsafe fn RtlDeleteElementGenericTableAvlEx(table: *const RTL_AVL_TABLE, nodeorparent: *const ::core::ffi::c_void) {
::windows_targets::link!("ntdll.dll" "system" fn RtlDeleteElementGenericTableAvlEx(table : *const RTL_AVL_TABLE, nodeorparent : *const ::core::ffi::c_void) -> ());
RtlDeleteElementGenericTableAvlEx(table, nodeorparent)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[inline]
pub unsafe fn RtlDeleteHashTable(hashtable: *const RTL_DYNAMIC_HASH_TABLE) {
::windows_targets::link!("ntdll.dll" "system" fn RtlDeleteHashTable(hashtable : *const RTL_DYNAMIC_HASH_TABLE) -> ());
RtlDeleteHashTable(hashtable)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`*"]
#[cfg(feature = "Wdk_Foundation")]
#[inline]
pub unsafe fn RtlDeleteNoSplay(links: *const super::super::Foundation::RTL_SPLAY_LINKS, root: *mut *mut super::super::Foundation::RTL_SPLAY_LINKS) {
::windows_targets::link!("ntdll.dll" "system" fn RtlDeleteNoSplay(links : *const super::super::Foundation:: RTL_SPLAY_LINKS, root : *mut *mut super::super::Foundation:: RTL_SPLAY_LINKS) -> ());
RtlDeleteNoSplay(links, root)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn RtlDeleteRegistryValue<P0, P1>(relativeto: u32, path: P0, valuename: P1) -> ::windows_core::Result<()>
where
P0: ::windows_core::IntoParam<::windows_core::PCWSTR>,
P1: ::windows_core::IntoParam<::windows_core::PCWSTR>,
{
::windows_targets::link!("ntdll.dll" "system" fn RtlDeleteRegistryValue(relativeto : u32, path : ::windows_core::PCWSTR, valuename : ::windows_core::PCWSTR) -> super::super::super::Win32::Foundation:: NTSTATUS);
RtlDeleteRegistryValue(relativeto, path.into_param().abi(), valuename.into_param().abi()).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[inline]
pub unsafe fn RtlDowncaseUnicodeChar(sourcecharacter: u16) -> u16 {
::windows_targets::link!("ntdll.dll" "system" fn RtlDowncaseUnicodeChar(sourcecharacter : u16) -> u16);
RtlDowncaseUnicodeChar(sourcecharacter)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_System_Kernel\"`*"]
#[cfg(feature = "Win32_System_Kernel")]
#[inline]
pub unsafe fn RtlEndEnumerationHashTable(hashtable: *const RTL_DYNAMIC_HASH_TABLE, enumerator: *mut RTL_DYNAMIC_HASH_TABLE_ENUMERATOR) {
::windows_targets::link!("ntdll.dll" "system" fn RtlEndEnumerationHashTable(hashtable : *const RTL_DYNAMIC_HASH_TABLE, enumerator : *mut RTL_DYNAMIC_HASH_TABLE_ENUMERATOR) -> ());
RtlEndEnumerationHashTable(hashtable, enumerator)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_System_Kernel\"`*"]
#[cfg(feature = "Win32_System_Kernel")]
#[inline]
pub unsafe fn RtlEndStrongEnumerationHashTable(hashtable: *const RTL_DYNAMIC_HASH_TABLE, enumerator: *mut RTL_DYNAMIC_HASH_TABLE_ENUMERATOR) {
::windows_targets::link!("ntdll.dll" "system" fn RtlEndStrongEnumerationHashTable(hashtable : *const RTL_DYNAMIC_HASH_TABLE, enumerator : *mut RTL_DYNAMIC_HASH_TABLE_ENUMERATOR) -> ());
RtlEndStrongEnumerationHashTable(hashtable, enumerator)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_System_Kernel\"`*"]
#[cfg(feature = "Win32_System_Kernel")]
#[inline]
pub unsafe fn RtlEndWeakEnumerationHashTable(hashtable: *const RTL_DYNAMIC_HASH_TABLE, enumerator: *mut RTL_DYNAMIC_HASH_TABLE_ENUMERATOR) {
::windows_targets::link!("ntdll.dll" "system" fn RtlEndWeakEnumerationHashTable(hashtable : *const RTL_DYNAMIC_HASH_TABLE, enumerator : *mut RTL_DYNAMIC_HASH_TABLE_ENUMERATOR) -> ());
RtlEndWeakEnumerationHashTable(hashtable, enumerator)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_System_Kernel\"`*"]
#[cfg(feature = "Win32_System_Kernel")]
#[inline]
pub unsafe fn RtlEnumerateEntryHashTable(hashtable: *const RTL_DYNAMIC_HASH_TABLE, enumerator: *mut RTL_DYNAMIC_HASH_TABLE_ENUMERATOR) -> *mut RTL_DYNAMIC_HASH_TABLE_ENTRY {
::windows_targets::link!("ntdll.dll" "system" fn RtlEnumerateEntryHashTable(hashtable : *const RTL_DYNAMIC_HASH_TABLE, enumerator : *mut RTL_DYNAMIC_HASH_TABLE_ENUMERATOR) -> *mut RTL_DYNAMIC_HASH_TABLE_ENTRY);
RtlEnumerateEntryHashTable(hashtable, enumerator)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
#[inline]
pub unsafe fn RtlEnumerateGenericTable<P0>(table: *const RTL_GENERIC_TABLE, restart: P0) -> *mut ::core::ffi::c_void
where
P0: ::windows_core::IntoParam<super::super::super::Win32::Foundation::BOOLEAN>,
{
::windows_targets::link!("ntdll.dll" "system" fn RtlEnumerateGenericTable(table : *const RTL_GENERIC_TABLE, restart : super::super::super::Win32::Foundation:: BOOLEAN) -> *mut ::core::ffi::c_void);
RtlEnumerateGenericTable(table, restart.into_param().abi())
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn RtlEnumerateGenericTableAvl<P0>(table: *const RTL_AVL_TABLE, restart: P0) -> *mut ::core::ffi::c_void
where
P0: ::windows_core::IntoParam<super::super::super::Win32::Foundation::BOOLEAN>,
{
::windows_targets::link!("ntdll.dll" "system" fn RtlEnumerateGenericTableAvl(table : *const RTL_AVL_TABLE, restart : super::super::super::Win32::Foundation:: BOOLEAN) -> *mut ::core::ffi::c_void);
RtlEnumerateGenericTableAvl(table, restart.into_param().abi())
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn RtlEnumerateGenericTableLikeADirectory(table: *const RTL_AVL_TABLE, matchfunction: PRTL_AVL_MATCH_FUNCTION, matchdata: ::core::option::Option<*const ::core::ffi::c_void>, nextflag: u32, restartkey: *mut *mut ::core::ffi::c_void, deletecount: *mut u32, buffer: *const ::core::ffi::c_void) -> *mut ::core::ffi::c_void {
::windows_targets::link!("ntdll.dll" "system" fn RtlEnumerateGenericTableLikeADirectory(table : *const RTL_AVL_TABLE, matchfunction : PRTL_AVL_MATCH_FUNCTION, matchdata : *const ::core::ffi::c_void, nextflag : u32, restartkey : *mut *mut ::core::ffi::c_void, deletecount : *mut u32, buffer : *const ::core::ffi::c_void) -> *mut ::core::ffi::c_void);
RtlEnumerateGenericTableLikeADirectory(table, matchfunction, ::core::mem::transmute(matchdata.unwrap_or(::std::ptr::null())), nextflag, restartkey, deletecount, buffer)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_System_Kernel\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_System_Kernel"))]
#[inline]
pub unsafe fn RtlEnumerateGenericTableWithoutSplaying(table: *const RTL_GENERIC_TABLE, restartkey: *mut *mut ::core::ffi::c_void) -> *mut ::core::ffi::c_void {
::windows_targets::link!("ntdll.dll" "system" fn RtlEnumerateGenericTableWithoutSplaying(table : *const RTL_GENERIC_TABLE, restartkey : *mut *mut ::core::ffi::c_void) -> *mut ::core::ffi::c_void);
RtlEnumerateGenericTableWithoutSplaying(table, restartkey)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[inline]
pub unsafe fn RtlEnumerateGenericTableWithoutSplayingAvl(table: *const RTL_AVL_TABLE, restartkey: *mut *mut ::core::ffi::c_void) -> *mut ::core::ffi::c_void {
::windows_targets::link!("ntdll.dll" "system" fn RtlEnumerateGenericTableWithoutSplayingAvl(table : *const RTL_AVL_TABLE, restartkey : *mut *mut ::core::ffi::c_void) -> *mut ::core::ffi::c_void);
RtlEnumerateGenericTableWithoutSplayingAvl(table, restartkey)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"]
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
#[inline]
pub unsafe fn RtlEqualString<P0>(string1: *const super::super::super::Win32::System::Kernel::STRING, string2: *const super::super::super::Win32::System::Kernel::STRING, caseinsensitive: P0) -> super::super::super::Win32::Foundation::BOOLEAN
where
P0: ::windows_core::IntoParam<super::super::super::Win32::Foundation::BOOLEAN>,
{
::windows_targets::link!("ntdll.dll" "system" fn RtlEqualString(string1 : *const super::super::super::Win32::System::Kernel:: STRING, string2 : *const super::super::super::Win32::System::Kernel:: STRING, caseinsensitive : super::super::super::Win32::Foundation:: BOOLEAN) -> super::super::super::Win32::Foundation:: BOOLEAN);
RtlEqualString(string1, string2, caseinsensitive.into_param().abi())
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn RtlEqualUnicodeString<P0>(string1: *const super::super::super::Win32::Foundation::UNICODE_STRING, string2: *const super::super::super::Win32::Foundation::UNICODE_STRING, caseinsensitive: P0) -> super::super::super::Win32::Foundation::BOOLEAN
where
P0: ::windows_core::IntoParam<super::super::super::Win32::Foundation::BOOLEAN>,
{
::windows_targets::link!("ntdll.dll" "system" fn RtlEqualUnicodeString(string1 : *const super::super::super::Win32::Foundation:: UNICODE_STRING, string2 : *const super::super::super::Win32::Foundation:: UNICODE_STRING, caseinsensitive : super::super::super::Win32::Foundation:: BOOLEAN) -> super::super::super::Win32::Foundation:: BOOLEAN);
RtlEqualUnicodeString(string1, string2, caseinsensitive.into_param().abi())
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn RtlExpandHashTable(hashtable: *const RTL_DYNAMIC_HASH_TABLE) -> super::super::super::Win32::Foundation::BOOLEAN {
::windows_targets::link!("ntdll.dll" "system" fn RtlExpandHashTable(hashtable : *const RTL_DYNAMIC_HASH_TABLE) -> super::super::super::Win32::Foundation:: BOOLEAN);
RtlExpandHashTable(hashtable)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[inline]
pub unsafe fn RtlExtractBitMap(source: *const RTL_BITMAP, destination: *const RTL_BITMAP, targetbit: u32, numberofbits: u32) {
::windows_targets::link!("ntdll.dll" "system" fn RtlExtractBitMap(source : *const RTL_BITMAP, destination : *const RTL_BITMAP, targetbit : u32, numberofbits : u32) -> ());
RtlExtractBitMap(source, destination, targetbit, numberofbits)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[inline]
pub unsafe fn RtlFindClearBits(bitmapheader: *const RTL_BITMAP, numbertofind: u32, hintindex: u32) -> u32 {
::windows_targets::link!("ntdll.dll" "system" fn RtlFindClearBits(bitmapheader : *const RTL_BITMAP, numbertofind : u32, hintindex : u32) -> u32);
RtlFindClearBits(bitmapheader, numbertofind, hintindex)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[inline]
pub unsafe fn RtlFindClearBitsAndSet(bitmapheader: *const RTL_BITMAP, numbertofind: u32, hintindex: u32) -> u32 {
::windows_targets::link!("ntdll.dll" "system" fn RtlFindClearBitsAndSet(bitmapheader : *const RTL_BITMAP, numbertofind : u32, hintindex : u32) -> u32);
RtlFindClearBitsAndSet(bitmapheader, numbertofind, hintindex)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn RtlFindClearRuns<P0>(bitmapheader: *const RTL_BITMAP, runarray: &mut [RTL_BITMAP_RUN], locatelongestruns: P0) -> u32
where
P0: ::windows_core::IntoParam<super::super::super::Win32::Foundation::BOOLEAN>,
{
::windows_targets::link!("ntdll.dll" "system" fn RtlFindClearRuns(bitmapheader : *const RTL_BITMAP, runarray : *mut RTL_BITMAP_RUN, sizeofrunarray : u32, locatelongestruns : super::super::super::Win32::Foundation:: BOOLEAN) -> u32);
RtlFindClearRuns(bitmapheader, ::core::mem::transmute(runarray.as_ptr()), runarray.len() as _, locatelongestruns.into_param().abi())
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn RtlFindClosestEncodableLength(sourcelength: u64, targetlength: *mut u64) -> ::windows_core::Result<()> {
::windows_targets::link!("ntdll.dll" "system" fn RtlFindClosestEncodableLength(sourcelength : u64, targetlength : *mut u64) -> super::super::super::Win32::Foundation:: NTSTATUS);
RtlFindClosestEncodableLength(sourcelength, targetlength).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[inline]
pub unsafe fn RtlFindFirstRunClear(bitmapheader: *const RTL_BITMAP, startingindex: *mut u32) -> u32 {
::windows_targets::link!("ntoskrnl.exe" "system" fn RtlFindFirstRunClear(bitmapheader : *const RTL_BITMAP, startingindex : *mut u32) -> u32);
RtlFindFirstRunClear(bitmapheader, startingindex)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[inline]
pub unsafe fn RtlFindLastBackwardRunClear(bitmapheader: *const RTL_BITMAP, fromindex: u32, startingrunindex: *mut u32) -> u32 {
::windows_targets::link!("ntdll.dll" "system" fn RtlFindLastBackwardRunClear(bitmapheader : *const RTL_BITMAP, fromindex : u32, startingrunindex : *mut u32) -> u32);
RtlFindLastBackwardRunClear(bitmapheader, fromindex, startingrunindex)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[inline]
pub unsafe fn RtlFindLeastSignificantBit(set: u64) -> i8 {
::windows_targets::link!("ntdll.dll" "system" fn RtlFindLeastSignificantBit(set : u64) -> i8);
RtlFindLeastSignificantBit(set)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[inline]
pub unsafe fn RtlFindLongestRunClear(bitmapheader: *const RTL_BITMAP, startingindex: *mut u32) -> u32 {
::windows_targets::link!("ntdll.dll" "system" fn RtlFindLongestRunClear(bitmapheader : *const RTL_BITMAP, startingindex : *mut u32) -> u32);
RtlFindLongestRunClear(bitmapheader, startingindex)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[inline]
pub unsafe fn RtlFindMostSignificantBit(set: u64) -> i8 {
::windows_targets::link!("ntdll.dll" "system" fn RtlFindMostSignificantBit(set : u64) -> i8);
RtlFindMostSignificantBit(set)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[inline]
pub unsafe fn RtlFindNextForwardRunClear(bitmapheader: *const RTL_BITMAP, fromindex: u32, startingrunindex: *mut u32) -> u32 {
::windows_targets::link!("ntdll.dll" "system" fn RtlFindNextForwardRunClear(bitmapheader : *const RTL_BITMAP, fromindex : u32, startingrunindex : *mut u32) -> u32);
RtlFindNextForwardRunClear(bitmapheader, fromindex, startingrunindex)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[inline]
pub unsafe fn RtlFindSetBits(bitmapheader: *const RTL_BITMAP, numbertofind: u32, hintindex: u32) -> u32 {
::windows_targets::link!("ntdll.dll" "system" fn RtlFindSetBits(bitmapheader : *const RTL_BITMAP, numbertofind : u32, hintindex : u32) -> u32);
RtlFindSetBits(bitmapheader, numbertofind, hintindex)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[inline]
pub unsafe fn RtlFindSetBitsAndClear(bitmapheader: *const RTL_BITMAP, numbertofind: u32, hintindex: u32) -> u32 {
::windows_targets::link!("ntdll.dll" "system" fn RtlFindSetBitsAndClear(bitmapheader : *const RTL_BITMAP, numbertofind : u32, hintindex : u32) -> u32);
RtlFindSetBitsAndClear(bitmapheader, numbertofind, hintindex)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_System_Kernel\"`*"]
#[cfg(feature = "Win32_System_Kernel")]
#[inline]
pub unsafe fn RtlFreeUTF8String(utf8string: ::core::option::Option<*mut super::super::super::Win32::System::Kernel::STRING>) {
::windows_targets::link!("ntdll.dll" "system" fn RtlFreeUTF8String(utf8string : *mut super::super::super::Win32::System::Kernel:: STRING) -> ());
RtlFreeUTF8String(::core::mem::transmute(utf8string.unwrap_or(::std::ptr::null_mut())))
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn RtlGUIDFromString(guidstring: *const super::super::super::Win32::Foundation::UNICODE_STRING, guid: *mut ::windows_core::GUID) -> ::windows_core::Result<()> {
::windows_targets::link!("ntdll.dll" "system" fn RtlGUIDFromString(guidstring : *const super::super::super::Win32::Foundation:: UNICODE_STRING, guid : *mut ::windows_core::GUID) -> super::super::super::Win32::Foundation:: NTSTATUS);
RtlGUIDFromString(guidstring, guid).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn RtlGenerateClass5Guid(namespaceguid: *const ::windows_core::GUID, buffer: *const ::core::ffi::c_void, buffersize: u32, guid: *mut ::windows_core::GUID) -> ::windows_core::Result<()> {
::windows_targets::link!("ntoskrnl.exe" "system" fn RtlGenerateClass5Guid(namespaceguid : *const ::windows_core::GUID, buffer : *const ::core::ffi::c_void, buffersize : u32, guid : *mut ::windows_core::GUID) -> super::super::super::Win32::Foundation:: NTSTATUS);
RtlGenerateClass5Guid(namespaceguid, buffer, buffersize, guid).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[inline]
pub unsafe fn RtlGetActiveConsoleId() -> u32 {
::windows_targets::link!("ntdll.dll" "system" fn RtlGetActiveConsoleId() -> u32);
RtlGetActiveConsoleId()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[inline]
pub unsafe fn RtlGetCallersAddress(callersaddress: *mut *mut ::core::ffi::c_void, callerscaller: *mut *mut ::core::ffi::c_void) {
::windows_targets::link!("ntdll.dll" "system" fn RtlGetCallersAddress(callersaddress : *mut *mut ::core::ffi::c_void, callerscaller : *mut *mut ::core::ffi::c_void) -> ());
RtlGetCallersAddress(callersaddress, callerscaller)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[inline]
pub unsafe fn RtlGetConsoleSessionForegroundProcessId() -> u64 {
::windows_targets::link!("ntdll.dll" "system" fn RtlGetConsoleSessionForegroundProcessId() -> u64);
RtlGetConsoleSessionForegroundProcessId()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_System_Kernel\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_System_Kernel"))]
#[inline]
pub unsafe fn RtlGetElementGenericTable(table: *const RTL_GENERIC_TABLE, i: u32) -> *mut ::core::ffi::c_void {
::windows_targets::link!("ntdll.dll" "system" fn RtlGetElementGenericTable(table : *const RTL_GENERIC_TABLE, i : u32) -> *mut ::core::ffi::c_void);
RtlGetElementGenericTable(table, i)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[inline]
pub unsafe fn RtlGetElementGenericTableAvl(table: *const RTL_AVL_TABLE, i: u32) -> *mut ::core::ffi::c_void {
::windows_targets::link!("ntdll.dll" "system" fn RtlGetElementGenericTableAvl(table : *const RTL_AVL_TABLE, i : u32) -> *mut ::core::ffi::c_void);
RtlGetElementGenericTableAvl(table, i)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[inline]
pub unsafe fn RtlGetEnabledExtendedFeatures(featuremask: u64) -> u64 {
::windows_targets::link!("ntdll.dll" "system" fn RtlGetEnabledExtendedFeatures(featuremask : u64) -> u64);
RtlGetEnabledExtendedFeatures(featuremask)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_System_Kernel\"`*"]
#[cfg(feature = "Win32_System_Kernel")]
#[inline]
pub unsafe fn RtlGetNextEntryHashTable(hashtable: *const RTL_DYNAMIC_HASH_TABLE, context: *const RTL_DYNAMIC_HASH_TABLE_CONTEXT) -> *mut RTL_DYNAMIC_HASH_TABLE_ENTRY {
::windows_targets::link!("ntdll.dll" "system" fn RtlGetNextEntryHashTable(hashtable : *const RTL_DYNAMIC_HASH_TABLE, context : *const RTL_DYNAMIC_HASH_TABLE_CONTEXT) -> *mut RTL_DYNAMIC_HASH_TABLE_ENTRY);
RtlGetNextEntryHashTable(hashtable, context)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"]
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
#[inline]
pub unsafe fn RtlGetNtProductType(ntproducttype: *mut super::super::super::Win32::System::Kernel::NT_PRODUCT_TYPE) -> super::super::super::Win32::Foundation::BOOLEAN {
::windows_targets::link!("ntdll.dll" "system" fn RtlGetNtProductType(ntproducttype : *mut super::super::super::Win32::System::Kernel:: NT_PRODUCT_TYPE) -> super::super::super::Win32::Foundation:: BOOLEAN);
RtlGetNtProductType(ntproducttype)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[inline]
pub unsafe fn RtlGetNtSystemRoot() -> ::windows_core::PCWSTR {
::windows_targets::link!("ntdll.dll" "system" fn RtlGetNtSystemRoot() -> ::windows_core::PCWSTR);
RtlGetNtSystemRoot()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn RtlGetPersistedStateLocation<P0, P1, P2>(sourceid: P0, customvalue: P1, defaultpath: P2, statelocationtype: STATE_LOCATION_TYPE, targetpath: ::windows_core::PWSTR, bufferlengthin: u32, bufferlengthout: ::core::option::Option<*mut u32>) -> ::windows_core::Result<()>
where
P0: ::windows_core::IntoParam<::windows_core::PCWSTR>,
P1: ::windows_core::IntoParam<::windows_core::PCWSTR>,
P2: ::windows_core::IntoParam<::windows_core::PCWSTR>,
{
::windows_targets::link!("ntdll.dll" "system" fn RtlGetPersistedStateLocation(sourceid : ::windows_core::PCWSTR, customvalue : ::windows_core::PCWSTR, defaultpath : ::windows_core::PCWSTR, statelocationtype : STATE_LOCATION_TYPE, targetpath : ::windows_core::PWSTR, bufferlengthin : u32, bufferlengthout : *mut u32) -> super::super::super::Win32::Foundation:: NTSTATUS);
RtlGetPersistedStateLocation(sourceid.into_param().abi(), customvalue.into_param().abi(), defaultpath.into_param().abi(), statelocationtype, ::core::mem::transmute(targetpath), bufferlengthin, ::core::mem::transmute(bufferlengthout.unwrap_or(::std::ptr::null_mut()))).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[inline]
pub unsafe fn RtlGetSuiteMask() -> u32 {
::windows_targets::link!("ntdll.dll" "system" fn RtlGetSuiteMask() -> u32);
RtlGetSuiteMask()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_SystemInformation\"`*"]
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_SystemInformation"))]
#[inline]
pub unsafe fn RtlGetVersion(lpversioninformation: *mut super::super::super::Win32::System::SystemInformation::OSVERSIONINFOW) -> ::windows_core::Result<()> {
::windows_targets::link!("ntdll.dll" "system" fn RtlGetVersion(lpversioninformation : *mut super::super::super::Win32::System::SystemInformation:: OSVERSIONINFOW) -> super::super::super::Win32::Foundation:: NTSTATUS);
RtlGetVersion(lpversioninformation).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn RtlHashUnicodeString<P0>(string: *const super::super::super::Win32::Foundation::UNICODE_STRING, caseinsensitive: P0, hashalgorithm: u32, hashvalue: *mut u32) -> ::windows_core::Result<()>
where
P0: ::windows_core::IntoParam<super::super::super::Win32::Foundation::BOOLEAN>,
{
::windows_targets::link!("ntdll.dll" "system" fn RtlHashUnicodeString(string : *const super::super::super::Win32::Foundation:: UNICODE_STRING, caseinsensitive : super::super::super::Win32::Foundation:: BOOLEAN, hashalgorithm : u32, hashvalue : *mut u32) -> super::super::super::Win32::Foundation:: NTSTATUS);
RtlHashUnicodeString(string, caseinsensitive.into_param().abi(), hashalgorithm, hashvalue).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"]
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
#[inline]
pub unsafe fn RtlInitEnumerationHashTable(hashtable: *const RTL_DYNAMIC_HASH_TABLE, enumerator: *mut RTL_DYNAMIC_HASH_TABLE_ENUMERATOR) -> super::super::super::Win32::Foundation::BOOLEAN {
::windows_targets::link!("ntdll.dll" "system" fn RtlInitEnumerationHashTable(hashtable : *const RTL_DYNAMIC_HASH_TABLE, enumerator : *mut RTL_DYNAMIC_HASH_TABLE_ENUMERATOR) -> super::super::super::Win32::Foundation:: BOOLEAN);
RtlInitEnumerationHashTable(hashtable, enumerator)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"]
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
#[inline]
pub unsafe fn RtlInitStrongEnumerationHashTable(hashtable: *const RTL_DYNAMIC_HASH_TABLE, enumerator: *mut RTL_DYNAMIC_HASH_TABLE_ENUMERATOR) -> super::super::super::Win32::Foundation::BOOLEAN {
::windows_targets::link!("ntdll.dll" "system" fn RtlInitStrongEnumerationHashTable(hashtable : *const RTL_DYNAMIC_HASH_TABLE, enumerator : *mut RTL_DYNAMIC_HASH_TABLE_ENUMERATOR) -> super::super::super::Win32::Foundation:: BOOLEAN);
RtlInitStrongEnumerationHashTable(hashtable, enumerator)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_System_Kernel\"`*"]
#[cfg(feature = "Win32_System_Kernel")]
#[inline]
pub unsafe fn RtlInitUTF8String(destinationstring: *mut super::super::super::Win32::System::Kernel::STRING, sourcestring: ::core::option::Option<*const i8>) {
::windows_targets::link!("ntdll.dll" "system" fn RtlInitUTF8String(destinationstring : *mut super::super::super::Win32::System::Kernel:: STRING, sourcestring : *const i8) -> ());
RtlInitUTF8String(destinationstring, ::core::mem::transmute(sourcestring.unwrap_or(::std::ptr::null())))
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"]
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
#[inline]
pub unsafe fn RtlInitUTF8StringEx(destinationstring: *mut super::super::super::Win32::System::Kernel::STRING, sourcestring: ::core::option::Option<*const i8>) -> ::windows_core::Result<()> {
::windows_targets::link!("ntdll.dll" "system" fn RtlInitUTF8StringEx(destinationstring : *mut super::super::super::Win32::System::Kernel:: STRING, sourcestring : *const i8) -> super::super::super::Win32::Foundation:: NTSTATUS);
RtlInitUTF8StringEx(destinationstring, ::core::mem::transmute(sourcestring.unwrap_or(::std::ptr::null()))).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"]
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
#[inline]
pub unsafe fn RtlInitWeakEnumerationHashTable(hashtable: *const RTL_DYNAMIC_HASH_TABLE, enumerator: *mut RTL_DYNAMIC_HASH_TABLE_ENUMERATOR) -> super::super::super::Win32::Foundation::BOOLEAN {
::windows_targets::link!("ntdll.dll" "system" fn RtlInitWeakEnumerationHashTable(hashtable : *const RTL_DYNAMIC_HASH_TABLE, enumerator : *mut RTL_DYNAMIC_HASH_TABLE_ENUMERATOR) -> super::super::super::Win32::Foundation:: BOOLEAN);
RtlInitWeakEnumerationHashTable(hashtable, enumerator)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[inline]
pub unsafe fn RtlInitializeBitMap(bitmapheader: *mut RTL_BITMAP, bitmapbuffer: ::core::option::Option<*const u32>, sizeofbitmap: u32) {
::windows_targets::link!("ntdll.dll" "system" fn RtlInitializeBitMap(bitmapheader : *mut RTL_BITMAP, bitmapbuffer : *const u32, sizeofbitmap : u32) -> ());
RtlInitializeBitMap(bitmapheader, ::core::mem::transmute(bitmapbuffer.unwrap_or(::std::ptr::null())), sizeofbitmap)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_System_Kernel\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_System_Kernel"))]
#[inline]
pub unsafe fn RtlInitializeGenericTable(table: *mut RTL_GENERIC_TABLE, compareroutine: PRTL_GENERIC_COMPARE_ROUTINE, allocateroutine: PRTL_GENERIC_ALLOCATE_ROUTINE, freeroutine: PRTL_GENERIC_FREE_ROUTINE, tablecontext: ::core::option::Option<*const ::core::ffi::c_void>) {
::windows_targets::link!("ntdll.dll" "system" fn RtlInitializeGenericTable(table : *mut RTL_GENERIC_TABLE, compareroutine : PRTL_GENERIC_COMPARE_ROUTINE, allocateroutine : PRTL_GENERIC_ALLOCATE_ROUTINE, freeroutine : PRTL_GENERIC_FREE_ROUTINE, tablecontext : *const ::core::ffi::c_void) -> ());
RtlInitializeGenericTable(table, compareroutine, allocateroutine, freeroutine, ::core::mem::transmute(tablecontext.unwrap_or(::std::ptr::null())))
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[inline]
pub unsafe fn RtlInitializeGenericTableAvl(table: *mut RTL_AVL_TABLE, compareroutine: PRTL_AVL_COMPARE_ROUTINE, allocateroutine: PRTL_AVL_ALLOCATE_ROUTINE, freeroutine: PRTL_AVL_FREE_ROUTINE, tablecontext: ::core::option::Option<*const ::core::ffi::c_void>) {
::windows_targets::link!("ntdll.dll" "system" fn RtlInitializeGenericTableAvl(table : *mut RTL_AVL_TABLE, compareroutine : PRTL_AVL_COMPARE_ROUTINE, allocateroutine : PRTL_AVL_ALLOCATE_ROUTINE, freeroutine : PRTL_AVL_FREE_ROUTINE, tablecontext : *const ::core::ffi::c_void) -> ());
RtlInitializeGenericTableAvl(table, compareroutine, allocateroutine, freeroutine, ::core::mem::transmute(tablecontext.unwrap_or(::std::ptr::null())))
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
#[inline]
pub unsafe fn RtlInsertElementGenericTable(table: *const RTL_GENERIC_TABLE, buffer: *const ::core::ffi::c_void, buffersize: u32, newelement: ::core::option::Option<*mut super::super::super::Win32::Foundation::BOOLEAN>) -> *mut ::core::ffi::c_void {
::windows_targets::link!("ntdll.dll" "system" fn RtlInsertElementGenericTable(table : *const RTL_GENERIC_TABLE, buffer : *const ::core::ffi::c_void, buffersize : u32, newelement : *mut super::super::super::Win32::Foundation:: BOOLEAN) -> *mut ::core::ffi::c_void);
RtlInsertElementGenericTable(table, buffer, buffersize, ::core::mem::transmute(newelement.unwrap_or(::std::ptr::null_mut())))
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn RtlInsertElementGenericTableAvl(table: *const RTL_AVL_TABLE, buffer: *const ::core::ffi::c_void, buffersize: u32, newelement: ::core::option::Option<*mut super::super::super::Win32::Foundation::BOOLEAN>) -> *mut ::core::ffi::c_void {
::windows_targets::link!("ntdll.dll" "system" fn RtlInsertElementGenericTableAvl(table : *const RTL_AVL_TABLE, buffer : *const ::core::ffi::c_void, buffersize : u32, newelement : *mut super::super::super::Win32::Foundation:: BOOLEAN) -> *mut ::core::ffi::c_void);
RtlInsertElementGenericTableAvl(table, buffer, buffersize, ::core::mem::transmute(newelement.unwrap_or(::std::ptr::null_mut())))
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
#[inline]
pub unsafe fn RtlInsertElementGenericTableFull(table: *const RTL_GENERIC_TABLE, buffer: *const ::core::ffi::c_void, buffersize: u32, newelement: ::core::option::Option<*mut super::super::super::Win32::Foundation::BOOLEAN>, nodeorparent: *const ::core::ffi::c_void, searchresult: TABLE_SEARCH_RESULT) -> *mut ::core::ffi::c_void {
::windows_targets::link!("ntdll.dll" "system" fn RtlInsertElementGenericTableFull(table : *const RTL_GENERIC_TABLE, buffer : *const ::core::ffi::c_void, buffersize : u32, newelement : *mut super::super::super::Win32::Foundation:: BOOLEAN, nodeorparent : *const ::core::ffi::c_void, searchresult : TABLE_SEARCH_RESULT) -> *mut ::core::ffi::c_void);
RtlInsertElementGenericTableFull(table, buffer, buffersize, ::core::mem::transmute(newelement.unwrap_or(::std::ptr::null_mut())), nodeorparent, searchresult)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn RtlInsertElementGenericTableFullAvl(table: *const RTL_AVL_TABLE, buffer: *const ::core::ffi::c_void, buffersize: u32, newelement: ::core::option::Option<*mut super::super::super::Win32::Foundation::BOOLEAN>, nodeorparent: *const ::core::ffi::c_void, searchresult: TABLE_SEARCH_RESULT) -> *mut ::core::ffi::c_void {
::windows_targets::link!("ntdll.dll" "system" fn RtlInsertElementGenericTableFullAvl(table : *const RTL_AVL_TABLE, buffer : *const ::core::ffi::c_void, buffersize : u32, newelement : *mut super::super::super::Win32::Foundation:: BOOLEAN, nodeorparent : *const ::core::ffi::c_void, searchresult : TABLE_SEARCH_RESULT) -> *mut ::core::ffi::c_void);
RtlInsertElementGenericTableFullAvl(table, buffer, buffersize, ::core::mem::transmute(newelement.unwrap_or(::std::ptr::null_mut())), nodeorparent, searchresult)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"]
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
#[inline]
pub unsafe fn RtlInsertEntryHashTable(hashtable: *const RTL_DYNAMIC_HASH_TABLE, entry: *const RTL_DYNAMIC_HASH_TABLE_ENTRY, signature: usize, context: ::core::option::Option<*mut RTL_DYNAMIC_HASH_TABLE_CONTEXT>) -> super::super::super::Win32::Foundation::BOOLEAN {
::windows_targets::link!("ntdll.dll" "system" fn RtlInsertEntryHashTable(hashtable : *const RTL_DYNAMIC_HASH_TABLE, entry : *const RTL_DYNAMIC_HASH_TABLE_ENTRY, signature : usize, context : *mut RTL_DYNAMIC_HASH_TABLE_CONTEXT) -> super::super::super::Win32::Foundation:: BOOLEAN);
RtlInsertEntryHashTable(hashtable, entry, signature, ::core::mem::transmute(context.unwrap_or(::std::ptr::null_mut())))
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn RtlInt64ToUnicodeString(value: u64, base: u32, string: *mut super::super::super::Win32::Foundation::UNICODE_STRING) -> ::windows_core::Result<()> {
::windows_targets::link!("ntdll.dll" "system" fn RtlInt64ToUnicodeString(value : u64, base : u32, string : *mut super::super::super::Win32::Foundation:: UNICODE_STRING) -> super::super::super::Win32::Foundation:: NTSTATUS);
RtlInt64ToUnicodeString(value, base, string).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn RtlIntegerToUnicodeString(value: u32, base: u32, string: *mut super::super::super::Win32::Foundation::UNICODE_STRING) -> ::windows_core::Result<()> {
::windows_targets::link!("ntdll.dll" "system" fn RtlIntegerToUnicodeString(value : u32, base : u32, string : *mut super::super::super::Win32::Foundation:: UNICODE_STRING) -> super::super::super::Win32::Foundation:: NTSTATUS);
RtlIntegerToUnicodeString(value, base, string).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[inline]
pub unsafe fn RtlIoDecodeMemIoResource(descriptor: *const IO_RESOURCE_DESCRIPTOR, alignment: ::core::option::Option<*mut u64>, minimumaddress: ::core::option::Option<*mut u64>, maximumaddress: ::core::option::Option<*mut u64>) -> u64 {
::windows_targets::link!("ntdll.dll" "system" fn RtlIoDecodeMemIoResource(descriptor : *const IO_RESOURCE_DESCRIPTOR, alignment : *mut u64, minimumaddress : *mut u64, maximumaddress : *mut u64) -> u64);
RtlIoDecodeMemIoResource(descriptor, ::core::mem::transmute(alignment.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(minimumaddress.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(maximumaddress.unwrap_or(::std::ptr::null_mut())))
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn RtlIoEncodeMemIoResource(descriptor: *const IO_RESOURCE_DESCRIPTOR, r#type: u8, length: u64, alignment: u64, minimumaddress: u64, maximumaddress: u64) -> ::windows_core::Result<()> {
::windows_targets::link!("ntdll.dll" "system" fn RtlIoEncodeMemIoResource(descriptor : *const IO_RESOURCE_DESCRIPTOR, r#type : u8, length : u64, alignment : u64, minimumaddress : u64, maximumaddress : u64) -> super::super::super::Win32::Foundation:: NTSTATUS);
RtlIoEncodeMemIoResource(descriptor, r#type, length, alignment, minimumaddress, maximumaddress).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn RtlIsApiSetImplemented<P0>(apisetname: P0) -> ::windows_core::Result<()>
where
P0: ::windows_core::IntoParam<::windows_core::PCSTR>,
{
::windows_targets::link!("ntdll.dll" "system" fn RtlIsApiSetImplemented(apisetname : ::windows_core::PCSTR) -> super::super::super::Win32::Foundation:: NTSTATUS);
RtlIsApiSetImplemented(apisetname.into_param().abi()).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
#[inline]
pub unsafe fn RtlIsGenericTableEmpty(table: *const RTL_GENERIC_TABLE) -> super::super::super::Win32::Foundation::BOOLEAN {
::windows_targets::link!("ntdll.dll" "system" fn RtlIsGenericTableEmpty(table : *const RTL_GENERIC_TABLE) -> super::super::super::Win32::Foundation:: BOOLEAN);
RtlIsGenericTableEmpty(table)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn RtlIsGenericTableEmptyAvl(table: *const RTL_AVL_TABLE) -> super::super::super::Win32::Foundation::BOOLEAN {
::windows_targets::link!("ntdll.dll" "system" fn RtlIsGenericTableEmptyAvl(table : *const RTL_AVL_TABLE) -> super::super::super::Win32::Foundation:: BOOLEAN);
RtlIsGenericTableEmptyAvl(table)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn RtlIsMultiSessionSku() -> super::super::super::Win32::Foundation::BOOLEAN {
::windows_targets::link!("ntdll.dll" "system" fn RtlIsMultiSessionSku() -> super::super::super::Win32::Foundation:: BOOLEAN);
RtlIsMultiSessionSku()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn RtlIsMultiUsersInSessionSku() -> super::super::super::Win32::Foundation::BOOLEAN {
::windows_targets::link!("ntdll.dll" "system" fn RtlIsMultiUsersInSessionSku() -> super::super::super::Win32::Foundation:: BOOLEAN);
RtlIsMultiUsersInSessionSku()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn RtlIsNtDdiVersionAvailable(version: u32) -> super::super::super::Win32::Foundation::BOOLEAN {
::windows_targets::link!("ntoskrnl.exe" "system" fn RtlIsNtDdiVersionAvailable(version : u32) -> super::super::super::Win32::Foundation:: BOOLEAN);
RtlIsNtDdiVersionAvailable(version)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn RtlIsServicePackVersionInstalled(version: u32) -> super::super::super::Win32::Foundation::BOOLEAN {
::windows_targets::link!("ntoskrnl.exe" "system" fn RtlIsServicePackVersionInstalled(version : u32) -> super::super::super::Win32::Foundation:: BOOLEAN);
RtlIsServicePackVersionInstalled(version)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn RtlIsStateSeparationEnabled() -> super::super::super::Win32::Foundation::BOOLEAN {
::windows_targets::link!("ntdll.dll" "system" fn RtlIsStateSeparationEnabled() -> super::super::super::Win32::Foundation:: BOOLEAN);
RtlIsStateSeparationEnabled()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn RtlIsUntrustedObject<P0>(handle: P0, object: ::core::option::Option<*const ::core::ffi::c_void>, untrustedobject: *mut super::super::super::Win32::Foundation::BOOLEAN) -> ::windows_core::Result<()>
where
P0: ::windows_core::IntoParam<super::super::super::Win32::Foundation::HANDLE>,
{
::windows_targets::link!("ntdll.dll" "system" fn RtlIsUntrustedObject(handle : super::super::super::Win32::Foundation:: HANDLE, object : *const ::core::ffi::c_void, untrustedobject : *mut super::super::super::Win32::Foundation:: BOOLEAN) -> super::super::super::Win32::Foundation:: NTSTATUS);
RtlIsUntrustedObject(handle.into_param().abi(), ::core::mem::transmute(object.unwrap_or(::std::ptr::null())), untrustedobject).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Security\"`*"]
#[cfg(feature = "Win32_Security")]
#[inline]
pub unsafe fn RtlLengthSecurityDescriptor<P0>(securitydescriptor: P0) -> u32
where
P0: ::windows_core::IntoParam<super::super::super::Win32::Security::PSECURITY_DESCRIPTOR>,
{
::windows_targets::link!("ntdll.dll" "system" fn RtlLengthSecurityDescriptor(securitydescriptor : super::super::super::Win32::Security:: PSECURITY_DESCRIPTOR) -> u32);
RtlLengthSecurityDescriptor(securitydescriptor.into_param().abi())
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_System_Kernel\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_System_Kernel"))]
#[inline]
pub unsafe fn RtlLookupElementGenericTable(table: *const RTL_GENERIC_TABLE, buffer: *const ::core::ffi::c_void) -> *mut ::core::ffi::c_void {
::windows_targets::link!("ntdll.dll" "system" fn RtlLookupElementGenericTable(table : *const RTL_GENERIC_TABLE, buffer : *const ::core::ffi::c_void) -> *mut ::core::ffi::c_void);
RtlLookupElementGenericTable(table, buffer)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[inline]
pub unsafe fn RtlLookupElementGenericTableAvl(table: *const RTL_AVL_TABLE, buffer: *const ::core::ffi::c_void) -> *mut ::core::ffi::c_void {
::windows_targets::link!("ntdll.dll" "system" fn RtlLookupElementGenericTableAvl(table : *const RTL_AVL_TABLE, buffer : *const ::core::ffi::c_void) -> *mut ::core::ffi::c_void);
RtlLookupElementGenericTableAvl(table, buffer)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_System_Kernel\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_System_Kernel"))]
#[inline]
pub unsafe fn RtlLookupElementGenericTableFull(table: *const RTL_GENERIC_TABLE, buffer: *const ::core::ffi::c_void, nodeorparent: *mut *mut ::core::ffi::c_void, searchresult: *mut TABLE_SEARCH_RESULT) -> *mut ::core::ffi::c_void {
::windows_targets::link!("ntdll.dll" "system" fn RtlLookupElementGenericTableFull(table : *const RTL_GENERIC_TABLE, buffer : *const ::core::ffi::c_void, nodeorparent : *mut *mut ::core::ffi::c_void, searchresult : *mut TABLE_SEARCH_RESULT) -> *mut ::core::ffi::c_void);
RtlLookupElementGenericTableFull(table, buffer, nodeorparent, searchresult)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[inline]
pub unsafe fn RtlLookupElementGenericTableFullAvl(table: *const RTL_AVL_TABLE, buffer: *const ::core::ffi::c_void, nodeorparent: *mut *mut ::core::ffi::c_void, searchresult: *mut TABLE_SEARCH_RESULT) -> *mut ::core::ffi::c_void {
::windows_targets::link!("ntdll.dll" "system" fn RtlLookupElementGenericTableFullAvl(table : *const RTL_AVL_TABLE, buffer : *const ::core::ffi::c_void, nodeorparent : *mut *mut ::core::ffi::c_void, searchresult : *mut TABLE_SEARCH_RESULT) -> *mut ::core::ffi::c_void);
RtlLookupElementGenericTableFullAvl(table, buffer, nodeorparent, searchresult)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_System_Kernel\"`*"]
#[cfg(feature = "Win32_System_Kernel")]
#[inline]
pub unsafe fn RtlLookupEntryHashTable(hashtable: *const RTL_DYNAMIC_HASH_TABLE, signature: usize, context: ::core::option::Option<*mut RTL_DYNAMIC_HASH_TABLE_CONTEXT>) -> *mut RTL_DYNAMIC_HASH_TABLE_ENTRY {
::windows_targets::link!("ntdll.dll" "system" fn RtlLookupEntryHashTable(hashtable : *const RTL_DYNAMIC_HASH_TABLE, signature : usize, context : *mut RTL_DYNAMIC_HASH_TABLE_CONTEXT) -> *mut RTL_DYNAMIC_HASH_TABLE_ENTRY);
RtlLookupEntryHashTable(hashtable, signature, ::core::mem::transmute(context.unwrap_or(::std::ptr::null_mut())))
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[inline]
pub unsafe fn RtlLookupFirstMatchingElementGenericTableAvl(table: *const RTL_AVL_TABLE, buffer: *const ::core::ffi::c_void, restartkey: *mut *mut ::core::ffi::c_void) -> *mut ::core::ffi::c_void {
::windows_targets::link!("ntdll.dll" "system" fn RtlLookupFirstMatchingElementGenericTableAvl(table : *const RTL_AVL_TABLE, buffer : *const ::core::ffi::c_void, restartkey : *mut *mut ::core::ffi::c_void) -> *mut ::core::ffi::c_void);
RtlLookupFirstMatchingElementGenericTableAvl(table, buffer, restartkey)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Security\"`*"]
#[cfg(feature = "Win32_Security")]
#[inline]
pub unsafe fn RtlMapGenericMask(accessmask: *mut u32, genericmapping: *const super::super::super::Win32::Security::GENERIC_MAPPING) {
::windows_targets::link!("ntdll.dll" "system" fn RtlMapGenericMask(accessmask : *mut u32, genericmapping : *const super::super::super::Win32::Security:: GENERIC_MAPPING) -> ());
RtlMapGenericMask(accessmask, genericmapping)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"]
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))]
#[inline]
pub unsafe fn RtlNormalizeSecurityDescriptor<P0>(securitydescriptor: *mut super::super::super::Win32::Security::PSECURITY_DESCRIPTOR, securitydescriptorlength: u32, newsecuritydescriptor: ::core::option::Option<*mut super::super::super::Win32::Security::PSECURITY_DESCRIPTOR>, newsecuritydescriptorlength: ::core::option::Option<*mut u32>, checkonly: P0) -> super::super::super::Win32::Foundation::BOOLEAN
where
P0: ::windows_core::IntoParam<super::super::super::Win32::Foundation::BOOLEAN>,
{
::windows_targets::link!("ntdll.dll" "system" fn RtlNormalizeSecurityDescriptor(securitydescriptor : *mut super::super::super::Win32::Security:: PSECURITY_DESCRIPTOR, securitydescriptorlength : u32, newsecuritydescriptor : *mut super::super::super::Win32::Security:: PSECURITY_DESCRIPTOR, newsecuritydescriptorlength : *mut u32, checkonly : super::super::super::Win32::Foundation:: BOOLEAN) -> super::super::super::Win32::Foundation:: BOOLEAN);
RtlNormalizeSecurityDescriptor(securitydescriptor, securitydescriptorlength, ::core::mem::transmute(newsecuritydescriptor.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(newsecuritydescriptorlength.unwrap_or(::std::ptr::null_mut())), checkonly.into_param().abi())
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_System_Kernel\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_System_Kernel"))]
#[inline]
pub unsafe fn RtlNumberGenericTableElements(table: *const RTL_GENERIC_TABLE) -> u32 {
::windows_targets::link!("ntdll.dll" "system" fn RtlNumberGenericTableElements(table : *const RTL_GENERIC_TABLE) -> u32);
RtlNumberGenericTableElements(table)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[inline]
pub unsafe fn RtlNumberGenericTableElementsAvl(table: *const RTL_AVL_TABLE) -> u32 {
::windows_targets::link!("ntdll.dll" "system" fn RtlNumberGenericTableElementsAvl(table : *const RTL_AVL_TABLE) -> u32);
RtlNumberGenericTableElementsAvl(table)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[inline]
pub unsafe fn RtlNumberOfClearBits(bitmapheader: *const RTL_BITMAP) -> u32 {
::windows_targets::link!("ntdll.dll" "system" fn RtlNumberOfClearBits(bitmapheader : *const RTL_BITMAP) -> u32);
RtlNumberOfClearBits(bitmapheader)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[inline]
pub unsafe fn RtlNumberOfClearBitsInRange(bitmapheader: *const RTL_BITMAP, startingindex: u32, length: u32) -> u32 {
::windows_targets::link!("ntdll.dll" "system" fn RtlNumberOfClearBitsInRange(bitmapheader : *const RTL_BITMAP, startingindex : u32, length : u32) -> u32);
RtlNumberOfClearBitsInRange(bitmapheader, startingindex, length)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[inline]
pub unsafe fn RtlNumberOfSetBits(bitmapheader: *const RTL_BITMAP) -> u32 {
::windows_targets::link!("ntdll.dll" "system" fn RtlNumberOfSetBits(bitmapheader : *const RTL_BITMAP) -> u32);
RtlNumberOfSetBits(bitmapheader)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[inline]
pub unsafe fn RtlNumberOfSetBitsInRange(bitmapheader: *const RTL_BITMAP, startingindex: u32, length: u32) -> u32 {
::windows_targets::link!("ntdll.dll" "system" fn RtlNumberOfSetBitsInRange(bitmapheader : *const RTL_BITMAP, startingindex : u32, length : u32) -> u32);
RtlNumberOfSetBitsInRange(bitmapheader, startingindex, length)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[inline]
pub unsafe fn RtlNumberOfSetBitsUlongPtr(target: usize) -> u32 {
::windows_targets::link!("ntdll.dll" "system" fn RtlNumberOfSetBitsUlongPtr(target : usize) -> u32);
RtlNumberOfSetBitsUlongPtr(target)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[inline]
pub unsafe fn RtlPrefetchMemoryNonTemporal(source: *const ::core::ffi::c_void, length: usize) {
::windows_targets::link!("ntoskrnl.exe" "system" fn RtlPrefetchMemoryNonTemporal(source : *const ::core::ffi::c_void, length : usize) -> ());
RtlPrefetchMemoryNonTemporal(source, length)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn RtlPrefixUnicodeString<P0>(string1: *const super::super::super::Win32::Foundation::UNICODE_STRING, string2: *const super::super::super::Win32::Foundation::UNICODE_STRING, caseinsensitive: P0) -> super::super::super::Win32::Foundation::BOOLEAN
where
P0: ::windows_core::IntoParam<super::super::super::Win32::Foundation::BOOLEAN>,
{
::windows_targets::link!("ntdll.dll" "system" fn RtlPrefixUnicodeString(string1 : *const super::super::super::Win32::Foundation:: UNICODE_STRING, string2 : *const super::super::super::Win32::Foundation:: UNICODE_STRING, caseinsensitive : super::super::super::Win32::Foundation:: BOOLEAN) -> super::super::super::Win32::Foundation:: BOOLEAN);
RtlPrefixUnicodeString(string1, string2, caseinsensitive.into_param().abi())
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn RtlQueryRegistryValueWithFallback<P0, P1>(primaryhandle: P0, fallbackhandle: P1, valuename: *const super::super::super::Win32::Foundation::UNICODE_STRING, valuelength: u32, valuetype: ::core::option::Option<*mut u32>, valuedata: *mut ::core::ffi::c_void, resultlength: *mut u32) -> ::windows_core::Result<()>
where
P0: ::windows_core::IntoParam<super::super::super::Win32::Foundation::HANDLE>,
P1: ::windows_core::IntoParam<super::super::super::Win32::Foundation::HANDLE>,
{
::windows_targets::link!("ntdll.dll" "system" fn RtlQueryRegistryValueWithFallback(primaryhandle : super::super::super::Win32::Foundation:: HANDLE, fallbackhandle : super::super::super::Win32::Foundation:: HANDLE, valuename : *const super::super::super::Win32::Foundation:: UNICODE_STRING, valuelength : u32, valuetype : *mut u32, valuedata : *mut ::core::ffi::c_void, resultlength : *mut u32) -> super::super::super::Win32::Foundation:: NTSTATUS);
RtlQueryRegistryValueWithFallback(primaryhandle.into_param().abi(), fallbackhandle.into_param().abi(), valuename, valuelength, ::core::mem::transmute(valuetype.unwrap_or(::std::ptr::null_mut())), valuedata, resultlength).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn RtlQueryRegistryValues<P0>(relativeto: u32, path: P0, querytable: *mut RTL_QUERY_REGISTRY_TABLE, context: ::core::option::Option<*const ::core::ffi::c_void>, environment: ::core::option::Option<*const ::core::ffi::c_void>) -> ::windows_core::Result<()>
where
P0: ::windows_core::IntoParam<::windows_core::PCWSTR>,
{
::windows_targets::link!("ntdll.dll" "system" fn RtlQueryRegistryValues(relativeto : u32, path : ::windows_core::PCWSTR, querytable : *mut RTL_QUERY_REGISTRY_TABLE, context : *const ::core::ffi::c_void, environment : *const ::core::ffi::c_void) -> super::super::super::Win32::Foundation:: NTSTATUS);
RtlQueryRegistryValues(relativeto, path.into_param().abi(), querytable, ::core::mem::transmute(context.unwrap_or(::std::ptr::null())), ::core::mem::transmute(environment.unwrap_or(::std::ptr::null()))).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn RtlQueryValidationRunlevel(componentname: ::core::option::Option<*const super::super::super::Win32::Foundation::UNICODE_STRING>) -> u32 {
::windows_targets::link!("ntdll.dll" "system" fn RtlQueryValidationRunlevel(componentname : *const super::super::super::Win32::Foundation:: UNICODE_STRING) -> u32);
RtlQueryValidationRunlevel(::core::mem::transmute(componentname.unwrap_or(::std::ptr::null())))
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`*"]
#[cfg(feature = "Wdk_Foundation")]
#[inline]
pub unsafe fn RtlRealPredecessor(links: *const super::super::Foundation::RTL_SPLAY_LINKS) -> *mut super::super::Foundation::RTL_SPLAY_LINKS {
::windows_targets::link!("ntdll.dll" "system" fn RtlRealPredecessor(links : *const super::super::Foundation:: RTL_SPLAY_LINKS) -> *mut super::super::Foundation:: RTL_SPLAY_LINKS);
RtlRealPredecessor(links)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`*"]
#[cfg(feature = "Wdk_Foundation")]
#[inline]
pub unsafe fn RtlRealSuccessor(links: *const super::super::Foundation::RTL_SPLAY_LINKS) -> *mut super::super::Foundation::RTL_SPLAY_LINKS {
::windows_targets::link!("ntdll.dll" "system" fn RtlRealSuccessor(links : *const super::super::Foundation:: RTL_SPLAY_LINKS) -> *mut super::super::Foundation:: RTL_SPLAY_LINKS);
RtlRealSuccessor(links)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"]
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
#[inline]
pub unsafe fn RtlRemoveEntryHashTable(hashtable: *const RTL_DYNAMIC_HASH_TABLE, entry: *const RTL_DYNAMIC_HASH_TABLE_ENTRY, context: ::core::option::Option<*mut RTL_DYNAMIC_HASH_TABLE_CONTEXT>) -> super::super::super::Win32::Foundation::BOOLEAN {
::windows_targets::link!("ntdll.dll" "system" fn RtlRemoveEntryHashTable(hashtable : *const RTL_DYNAMIC_HASH_TABLE, entry : *const RTL_DYNAMIC_HASH_TABLE_ENTRY, context : *mut RTL_DYNAMIC_HASH_TABLE_CONTEXT) -> super::super::super::Win32::Foundation:: BOOLEAN);
RtlRemoveEntryHashTable(hashtable, entry, ::core::mem::transmute(context.unwrap_or(::std::ptr::null_mut())))
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Threading\"`*"]
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Threading"))]
#[inline]
pub unsafe fn RtlRunOnceBeginInitialize(runonce: *mut super::super::super::Win32::System::Threading::INIT_ONCE, flags: u32, context: ::core::option::Option<*mut *mut ::core::ffi::c_void>) -> ::windows_core::Result<()> {
::windows_targets::link!("ntdll.dll" "system" fn RtlRunOnceBeginInitialize(runonce : *mut super::super::super::Win32::System::Threading:: INIT_ONCE, flags : u32, context : *mut *mut ::core::ffi::c_void) -> super::super::super::Win32::Foundation:: NTSTATUS);
RtlRunOnceBeginInitialize(runonce, flags, ::core::mem::transmute(context.unwrap_or(::std::ptr::null_mut()))).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Threading\"`*"]
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Threading"))]
#[inline]
pub unsafe fn RtlRunOnceComplete(runonce: *mut super::super::super::Win32::System::Threading::INIT_ONCE, flags: u32, context: ::core::option::Option<*const ::core::ffi::c_void>) -> ::windows_core::Result<()> {
::windows_targets::link!("ntdll.dll" "system" fn RtlRunOnceComplete(runonce : *mut super::super::super::Win32::System::Threading:: INIT_ONCE, flags : u32, context : *const ::core::ffi::c_void) -> super::super::super::Win32::Foundation:: NTSTATUS);
RtlRunOnceComplete(runonce, flags, ::core::mem::transmute(context.unwrap_or(::std::ptr::null()))).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Threading\"`*"]
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Threading"))]
#[inline]
pub unsafe fn RtlRunOnceExecuteOnce(runonce: *mut super::super::super::Win32::System::Threading::INIT_ONCE, initfn: PRTL_RUN_ONCE_INIT_FN, parameter: ::core::option::Option<*mut ::core::ffi::c_void>, context: ::core::option::Option<*mut *mut ::core::ffi::c_void>) -> ::windows_core::Result<()> {
::windows_targets::link!("ntdll.dll" "system" fn RtlRunOnceExecuteOnce(runonce : *mut super::super::super::Win32::System::Threading:: INIT_ONCE, initfn : PRTL_RUN_ONCE_INIT_FN, parameter : *mut ::core::ffi::c_void, context : *mut *mut ::core::ffi::c_void) -> super::super::super::Win32::Foundation:: NTSTATUS);
RtlRunOnceExecuteOnce(runonce, initfn, ::core::mem::transmute(parameter.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(context.unwrap_or(::std::ptr::null_mut()))).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_System_Threading\"`*"]
#[cfg(feature = "Win32_System_Threading")]
#[inline]
pub unsafe fn RtlRunOnceInitialize() -> super::super::super::Win32::System::Threading::INIT_ONCE {
::windows_targets::link!("ntdll.dll" "system" fn RtlRunOnceInitialize(runonce : *mut super::super::super::Win32::System::Threading:: INIT_ONCE) -> ());
let mut result__ = ::std::mem::zeroed();
RtlRunOnceInitialize(&mut result__);
::std::mem::transmute(result__)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[inline]
pub unsafe fn RtlSetAllBits(bitmapheader: *const RTL_BITMAP) {
::windows_targets::link!("ntdll.dll" "system" fn RtlSetAllBits(bitmapheader : *const RTL_BITMAP) -> ());
RtlSetAllBits(bitmapheader)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[inline]
pub unsafe fn RtlSetBit(bitmapheader: *const RTL_BITMAP, bitnumber: u32) {
::windows_targets::link!("ntdll.dll" "system" fn RtlSetBit(bitmapheader : *const RTL_BITMAP, bitnumber : u32) -> ());
RtlSetBit(bitmapheader, bitnumber)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[inline]
pub unsafe fn RtlSetBits(bitmapheader: *const RTL_BITMAP, startingindex: u32, numbertoset: u32) {
::windows_targets::link!("ntdll.dll" "system" fn RtlSetBits(bitmapheader : *const RTL_BITMAP, startingindex : u32, numbertoset : u32) -> ());
RtlSetBits(bitmapheader, startingindex, numbertoset)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"]
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))]
#[inline]
pub unsafe fn RtlSetDaclSecurityDescriptor<P0, P1>(securitydescriptor: super::super::super::Win32::Security::PSECURITY_DESCRIPTOR, daclpresent: P0, dacl: ::core::option::Option<*const super::super::super::Win32::Security::ACL>, dacldefaulted: P1) -> ::windows_core::Result<()>
where
P0: ::windows_core::IntoParam<super::super::super::Win32::Foundation::BOOLEAN>,
P1: ::windows_core::IntoParam<super::super::super::Win32::Foundation::BOOLEAN>,
{
::windows_targets::link!("ntdll.dll" "system" fn RtlSetDaclSecurityDescriptor(securitydescriptor : super::super::super::Win32::Security:: PSECURITY_DESCRIPTOR, daclpresent : super::super::super::Win32::Foundation:: BOOLEAN, dacl : *const super::super::super::Win32::Security:: ACL, dacldefaulted : super::super::super::Win32::Foundation:: BOOLEAN) -> super::super::super::Win32::Foundation:: NTSTATUS);
RtlSetDaclSecurityDescriptor(securitydescriptor, daclpresent.into_param().abi(), ::core::mem::transmute(dacl.unwrap_or(::std::ptr::null())), dacldefaulted.into_param().abi()).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_SystemInformation\"`*"]
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_SystemInformation"))]
#[inline]
pub unsafe fn RtlSetSystemGlobalData(dataid: super::super::super::Win32::System::SystemInformation::RTL_SYSTEM_GLOBAL_DATA_ID, buffer: *const ::core::ffi::c_void, size: u32) -> ::windows_core::Result<()> {
::windows_targets::link!("ntoskrnl.exe" "system" fn RtlSetSystemGlobalData(dataid : super::super::super::Win32::System::SystemInformation:: RTL_SYSTEM_GLOBAL_DATA_ID, buffer : *const ::core::ffi::c_void, size : u32) -> super::super::super::Win32::Foundation:: NTSTATUS);
RtlSetSystemGlobalData(dataid, buffer, size).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`*"]
#[cfg(feature = "Wdk_Foundation")]
#[inline]
pub unsafe fn RtlSplay(links: *mut super::super::Foundation::RTL_SPLAY_LINKS) -> *mut super::super::Foundation::RTL_SPLAY_LINKS {
::windows_targets::link!("ntdll.dll" "system" fn RtlSplay(links : *mut super::super::Foundation:: RTL_SPLAY_LINKS) -> *mut super::super::Foundation:: RTL_SPLAY_LINKS);
RtlSplay(links)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn RtlStringFromGUID(guid: *const ::windows_core::GUID, guidstring: *mut super::super::super::Win32::Foundation::UNICODE_STRING) -> ::windows_core::Result<()> {
::windows_targets::link!("ntdll.dll" "system" fn RtlStringFromGUID(guid : *const ::windows_core::GUID, guidstring : *mut super::super::super::Win32::Foundation:: UNICODE_STRING) -> super::super::super::Win32::Foundation:: NTSTATUS);
RtlStringFromGUID(guid, guidstring).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_System_Kernel\"`*"]
#[cfg(feature = "Win32_System_Kernel")]
#[inline]
pub unsafe fn RtlStronglyEnumerateEntryHashTable(hashtable: *const RTL_DYNAMIC_HASH_TABLE, enumerator: *mut RTL_DYNAMIC_HASH_TABLE_ENUMERATOR) -> *mut RTL_DYNAMIC_HASH_TABLE_ENTRY {
::windows_targets::link!("ntdll.dll" "system" fn RtlStronglyEnumerateEntryHashTable(hashtable : *const RTL_DYNAMIC_HASH_TABLE, enumerator : *mut RTL_DYNAMIC_HASH_TABLE_ENUMERATOR) -> *mut RTL_DYNAMIC_HASH_TABLE_ENTRY);
RtlStronglyEnumerateEntryHashTable(hashtable, enumerator)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`*"]
#[cfg(feature = "Wdk_Foundation")]
#[inline]
pub unsafe fn RtlSubtreePredecessor(links: *const super::super::Foundation::RTL_SPLAY_LINKS) -> *mut super::super::Foundation::RTL_SPLAY_LINKS {
::windows_targets::link!("ntdll.dll" "system" fn RtlSubtreePredecessor(links : *const super::super::Foundation:: RTL_SPLAY_LINKS) -> *mut super::super::Foundation:: RTL_SPLAY_LINKS);
RtlSubtreePredecessor(links)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`*"]
#[cfg(feature = "Wdk_Foundation")]
#[inline]
pub unsafe fn RtlSubtreeSuccessor(links: *const super::super::Foundation::RTL_SPLAY_LINKS) -> *mut super::super::Foundation::RTL_SPLAY_LINKS {
::windows_targets::link!("ntdll.dll" "system" fn RtlSubtreeSuccessor(links : *const super::super::Foundation:: RTL_SPLAY_LINKS) -> *mut super::super::Foundation:: RTL_SPLAY_LINKS);
RtlSubtreeSuccessor(links)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn RtlSuffixUnicodeString<P0>(string1: *const super::super::super::Win32::Foundation::UNICODE_STRING, string2: *const super::super::super::Win32::Foundation::UNICODE_STRING, caseinsensitive: P0) -> super::super::super::Win32::Foundation::BOOLEAN
where
P0: ::windows_core::IntoParam<super::super::super::Win32::Foundation::BOOLEAN>,
{
::windows_targets::link!("ntoskrnl.exe" "system" fn RtlSuffixUnicodeString(string1 : *const super::super::super::Win32::Foundation:: UNICODE_STRING, string2 : *const super::super::super::Win32::Foundation:: UNICODE_STRING, caseinsensitive : super::super::super::Win32::Foundation:: BOOLEAN) -> super::super::super::Win32::Foundation:: BOOLEAN);
RtlSuffixUnicodeString(string1, string2, caseinsensitive.into_param().abi())
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn RtlTestBit(bitmapheader: *const RTL_BITMAP, bitnumber: u32) -> super::super::super::Win32::Foundation::BOOLEAN {
::windows_targets::link!("ntdll.dll" "system" fn RtlTestBit(bitmapheader : *const RTL_BITMAP, bitnumber : u32) -> super::super::super::Win32::Foundation:: BOOLEAN);
RtlTestBit(bitmapheader, bitnumber)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn RtlTimeFieldsToTime(timefields: *const TIME_FIELDS, time: *mut i64) -> super::super::super::Win32::Foundation::BOOLEAN {
::windows_targets::link!("ntdll.dll" "system" fn RtlTimeFieldsToTime(timefields : *const TIME_FIELDS, time : *mut i64) -> super::super::super::Win32::Foundation:: BOOLEAN);
RtlTimeFieldsToTime(timefields, time)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[inline]
pub unsafe fn RtlTimeToTimeFields(time: *const i64) -> TIME_FIELDS {
::windows_targets::link!("ntdll.dll" "system" fn RtlTimeToTimeFields(time : *const i64, timefields : *mut TIME_FIELDS) -> ());
let mut result__ = ::std::mem::zeroed();
RtlTimeToTimeFields(time, &mut result__);
::std::mem::transmute(result__)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"]
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
#[inline]
pub unsafe fn RtlUTF8StringToUnicodeString<P0>(destinationstring: *mut super::super::super::Win32::Foundation::UNICODE_STRING, sourcestring: *const super::super::super::Win32::System::Kernel::STRING, allocatedestinationstring: P0) -> ::windows_core::Result<()>
where
P0: ::windows_core::IntoParam<super::super::super::Win32::Foundation::BOOLEAN>,
{
::windows_targets::link!("ntdll.dll" "system" fn RtlUTF8StringToUnicodeString(destinationstring : *mut super::super::super::Win32::Foundation:: UNICODE_STRING, sourcestring : *const super::super::super::Win32::System::Kernel:: STRING, allocatedestinationstring : super::super::super::Win32::Foundation:: BOOLEAN) -> super::super::super::Win32::Foundation:: NTSTATUS);
RtlUTF8StringToUnicodeString(destinationstring, sourcestring, allocatedestinationstring.into_param().abi()).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn RtlUTF8ToUnicodeN(unicodestringdestination: ::windows_core::PWSTR, unicodestringmaxbytecount: u32, unicodestringactualbytecount: *mut u32, utf8stringsource: &[u8]) -> ::windows_core::Result<()> {
::windows_targets::link!("ntdll.dll" "system" fn RtlUTF8ToUnicodeN(unicodestringdestination : ::windows_core::PWSTR, unicodestringmaxbytecount : u32, unicodestringactualbytecount : *mut u32, utf8stringsource : ::windows_core::PCSTR, utf8stringbytecount : u32) -> super::super::super::Win32::Foundation:: NTSTATUS);
RtlUTF8ToUnicodeN(::core::mem::transmute(unicodestringdestination), unicodestringmaxbytecount, unicodestringactualbytecount, ::core::mem::transmute(utf8stringsource.as_ptr()), utf8stringsource.len() as _).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn RtlUnicodeStringToInt64(string: *const super::super::super::Win32::Foundation::UNICODE_STRING, base: u32, number: *mut i64, endpointer: ::core::option::Option<*mut ::windows_core::PWSTR>) -> ::windows_core::Result<()> {
::windows_targets::link!("ntoskrnl.exe" "system" fn RtlUnicodeStringToInt64(string : *const super::super::super::Win32::Foundation:: UNICODE_STRING, base : u32, number : *mut i64, endpointer : *mut ::windows_core::PWSTR) -> super::super::super::Win32::Foundation:: NTSTATUS);
RtlUnicodeStringToInt64(string, base, number, ::core::mem::transmute(endpointer.unwrap_or(::std::ptr::null_mut()))).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn RtlUnicodeStringToInteger(string: *const super::super::super::Win32::Foundation::UNICODE_STRING, base: u32, value: *mut u32) -> ::windows_core::Result<()> {
::windows_targets::link!("ntdll.dll" "system" fn RtlUnicodeStringToInteger(string : *const super::super::super::Win32::Foundation:: UNICODE_STRING, base : u32, value : *mut u32) -> super::super::super::Win32::Foundation:: NTSTATUS);
RtlUnicodeStringToInteger(string, base, value).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"]
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
#[inline]
pub unsafe fn RtlUnicodeStringToUTF8String<P0>(destinationstring: *mut super::super::super::Win32::System::Kernel::STRING, sourcestring: *const super::super::super::Win32::Foundation::UNICODE_STRING, allocatedestinationstring: P0) -> ::windows_core::Result<()>
where
P0: ::windows_core::IntoParam<super::super::super::Win32::Foundation::BOOLEAN>,
{
::windows_targets::link!("ntdll.dll" "system" fn RtlUnicodeStringToUTF8String(destinationstring : *mut super::super::super::Win32::System::Kernel:: STRING, sourcestring : *const super::super::super::Win32::Foundation:: UNICODE_STRING, allocatedestinationstring : super::super::super::Win32::Foundation:: BOOLEAN) -> super::super::super::Win32::Foundation:: NTSTATUS);
RtlUnicodeStringToUTF8String(destinationstring, sourcestring, allocatedestinationstring.into_param().abi()).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn RtlUnicodeToUTF8N(utf8stringdestination: &mut [u8], utf8stringactualbytecount: *mut u32, unicodestringsource: *const u16, unicodestringbytecount: u32) -> ::windows_core::Result<()> {
::windows_targets::link!("ntdll.dll" "system" fn RtlUnicodeToUTF8N(utf8stringdestination : ::windows_core::PSTR, utf8stringmaxbytecount : u32, utf8stringactualbytecount : *mut u32, unicodestringsource : *const u16, unicodestringbytecount : u32) -> super::super::super::Win32::Foundation:: NTSTATUS);
RtlUnicodeToUTF8N(::core::mem::transmute(utf8stringdestination.as_ptr()), utf8stringdestination.len() as _, utf8stringactualbytecount, unicodestringsource, unicodestringbytecount).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[inline]
pub unsafe fn RtlUpcaseUnicodeChar(sourcecharacter: u16) -> u16 {
::windows_targets::link!("ntdll.dll" "system" fn RtlUpcaseUnicodeChar(sourcecharacter : u16) -> u16);
RtlUpcaseUnicodeChar(sourcecharacter)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn RtlUpcaseUnicodeString<P0>(destinationstring: *mut super::super::super::Win32::Foundation::UNICODE_STRING, sourcestring: *const super::super::super::Win32::Foundation::UNICODE_STRING, allocatedestinationstring: P0) -> ::windows_core::Result<()>
where
P0: ::windows_core::IntoParam<super::super::super::Win32::Foundation::BOOLEAN>,
{
::windows_targets::link!("ntdll.dll" "system" fn RtlUpcaseUnicodeString(destinationstring : *mut super::super::super::Win32::Foundation:: UNICODE_STRING, sourcestring : *const super::super::super::Win32::Foundation:: UNICODE_STRING, allocatedestinationstring : super::super::super::Win32::Foundation:: BOOLEAN) -> super::super::super::Win32::Foundation:: NTSTATUS);
RtlUpcaseUnicodeString(destinationstring, sourcestring, allocatedestinationstring.into_param().abi()).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[inline]
pub unsafe fn RtlUpperChar(character: u8) -> u8 {
::windows_targets::link!("ntdll.dll" "system" fn RtlUpperChar(character : u8) -> u8);
RtlUpperChar(character)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_System_Kernel\"`*"]
#[cfg(feature = "Win32_System_Kernel")]
#[inline]
pub unsafe fn RtlUpperString(destinationstring: *mut super::super::super::Win32::System::Kernel::STRING, sourcestring: *const super::super::super::Win32::System::Kernel::STRING) {
::windows_targets::link!("ntdll.dll" "system" fn RtlUpperString(destinationstring : *mut super::super::super::Win32::System::Kernel:: STRING, sourcestring : *const super::super::super::Win32::System::Kernel:: STRING) -> ());
RtlUpperString(destinationstring, sourcestring)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"]
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))]
#[inline]
pub unsafe fn RtlValidRelativeSecurityDescriptor<P0>(securitydescriptorinput: P0, securitydescriptorlength: u32, requiredinformation: u32) -> super::super::super::Win32::Foundation::BOOLEAN
where
P0: ::windows_core::IntoParam<super::super::super::Win32::Security::PSECURITY_DESCRIPTOR>,
{
::windows_targets::link!("ntdll.dll" "system" fn RtlValidRelativeSecurityDescriptor(securitydescriptorinput : super::super::super::Win32::Security:: PSECURITY_DESCRIPTOR, securitydescriptorlength : u32, requiredinformation : u32) -> super::super::super::Win32::Foundation:: BOOLEAN);
RtlValidRelativeSecurityDescriptor(securitydescriptorinput.into_param().abi(), securitydescriptorlength, requiredinformation)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"]
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))]
#[inline]
pub unsafe fn RtlValidSecurityDescriptor<P0>(securitydescriptor: P0) -> super::super::super::Win32::Foundation::BOOLEAN
where
P0: ::windows_core::IntoParam<super::super::super::Win32::Security::PSECURITY_DESCRIPTOR>,
{
::windows_targets::link!("ntdll.dll" "system" fn RtlValidSecurityDescriptor(securitydescriptor : super::super::super::Win32::Security:: PSECURITY_DESCRIPTOR) -> super::super::super::Win32::Foundation:: BOOLEAN);
RtlValidSecurityDescriptor(securitydescriptor.into_param().abi())
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_SystemInformation\"`*"]
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_SystemInformation"))]
#[inline]
pub unsafe fn RtlVerifyVersionInfo(versioninfo: *const super::super::super::Win32::System::SystemInformation::OSVERSIONINFOEXW, typemask: u32, conditionmask: u64) -> ::windows_core::Result<()> {
::windows_targets::link!("ntdll.dll" "system" fn RtlVerifyVersionInfo(versioninfo : *const super::super::super::Win32::System::SystemInformation:: OSVERSIONINFOEXW, typemask : u32, conditionmask : u64) -> super::super::super::Win32::Foundation:: NTSTATUS);
RtlVerifyVersionInfo(versioninfo, typemask, conditionmask).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn RtlVolumeDeviceToDosName(volumedeviceobject: *const ::core::ffi::c_void, dosname: *mut super::super::super::Win32::Foundation::UNICODE_STRING) -> ::windows_core::Result<()> {
::windows_targets::link!("ntoskrnl.exe" "system" fn RtlVolumeDeviceToDosName(volumedeviceobject : *const ::core::ffi::c_void, dosname : *mut super::super::super::Win32::Foundation:: UNICODE_STRING) -> super::super::super::Win32::Foundation:: NTSTATUS);
RtlVolumeDeviceToDosName(volumedeviceobject, dosname).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[inline]
pub unsafe fn RtlWalkFrameChain(callers: *mut *mut ::core::ffi::c_void, count: u32, flags: u32) -> u32 {
::windows_targets::link!("ntdll.dll" "system" fn RtlWalkFrameChain(callers : *mut *mut ::core::ffi::c_void, count : u32, flags : u32) -> u32);
RtlWalkFrameChain(callers, count, flags)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_System_Kernel\"`*"]
#[cfg(feature = "Win32_System_Kernel")]
#[inline]
pub unsafe fn RtlWeaklyEnumerateEntryHashTable(hashtable: *const RTL_DYNAMIC_HASH_TABLE, enumerator: *mut RTL_DYNAMIC_HASH_TABLE_ENUMERATOR) -> *mut RTL_DYNAMIC_HASH_TABLE_ENTRY {
::windows_targets::link!("ntdll.dll" "system" fn RtlWeaklyEnumerateEntryHashTable(hashtable : *const RTL_DYNAMIC_HASH_TABLE, enumerator : *mut RTL_DYNAMIC_HASH_TABLE_ENUMERATOR) -> *mut RTL_DYNAMIC_HASH_TABLE_ENTRY);
RtlWeaklyEnumerateEntryHashTable(hashtable, enumerator)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn RtlWriteRegistryValue<P0, P1>(relativeto: u32, path: P0, valuename: P1, valuetype: u32, valuedata: ::core::option::Option<*const ::core::ffi::c_void>, valuelength: u32) -> ::windows_core::Result<()>
where
P0: ::windows_core::IntoParam<::windows_core::PCWSTR>,
P1: ::windows_core::IntoParam<::windows_core::PCWSTR>,
{
::windows_targets::link!("ntdll.dll" "system" fn RtlWriteRegistryValue(relativeto : u32, path : ::windows_core::PCWSTR, valuename : ::windows_core::PCWSTR, valuetype : u32, valuedata : *const ::core::ffi::c_void, valuelength : u32) -> super::super::super::Win32::Foundation:: NTSTATUS);
RtlWriteRegistryValue(relativeto, path.into_param().abi(), valuename.into_param().abi(), valuetype, ::core::mem::transmute(valuedata.unwrap_or(::std::ptr::null())), valuelength).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_System_Kernel\"`*"]
#[cfg(feature = "Win32_System_Kernel")]
#[inline]
pub unsafe fn RtlxAnsiStringToUnicodeSize(ansistring: *const super::super::super::Win32::System::Kernel::STRING) -> u32 {
::windows_targets::link!("ntdll.dll" "system" fn RtlxAnsiStringToUnicodeSize(ansistring : *const super::super::super::Win32::System::Kernel:: STRING) -> u32);
RtlxAnsiStringToUnicodeSize(ansistring)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn RtlxUnicodeStringToAnsiSize(unicodestring: *const super::super::super::Win32::Foundation::UNICODE_STRING) -> u32 {
::windows_targets::link!("ntdll.dll" "system" fn RtlxUnicodeStringToAnsiSize(unicodestring : *const super::super::super::Win32::Foundation:: UNICODE_STRING) -> u32);
RtlxUnicodeStringToAnsiSize(unicodestring)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation", feature = "Win32_Security"))]
#[inline]
pub unsafe fn SeAccessCheck<P0, P1>(securitydescriptor: P0, subjectsecuritycontext: *const super::super::Foundation::SECURITY_SUBJECT_CONTEXT, subjectcontextlocked: P1, desiredaccess: u32, previouslygrantedaccess: u32, privileges: ::core::option::Option<*mut *mut super::super::super::Win32::Security::PRIVILEGE_SET>, genericmapping: *const super::super::super::Win32::Security::GENERIC_MAPPING, accessmode: i8, grantedaccess: *mut u32, accessstatus: *mut i32) -> super::super::super::Win32::Foundation::BOOLEAN
where
P0: ::windows_core::IntoParam<super::super::super::Win32::Security::PSECURITY_DESCRIPTOR>,
P1: ::windows_core::IntoParam<super::super::super::Win32::Foundation::BOOLEAN>,
{
::windows_targets::link!("ntoskrnl.exe" "system" fn SeAccessCheck(securitydescriptor : super::super::super::Win32::Security:: PSECURITY_DESCRIPTOR, subjectsecuritycontext : *const super::super::Foundation:: SECURITY_SUBJECT_CONTEXT, subjectcontextlocked : super::super::super::Win32::Foundation:: BOOLEAN, desiredaccess : u32, previouslygrantedaccess : u32, privileges : *mut *mut super::super::super::Win32::Security:: PRIVILEGE_SET, genericmapping : *const super::super::super::Win32::Security:: GENERIC_MAPPING, accessmode : i8, grantedaccess : *mut u32, accessstatus : *mut i32) -> super::super::super::Win32::Foundation:: BOOLEAN);
SeAccessCheck(securitydescriptor.into_param().abi(), subjectsecuritycontext, subjectcontextlocked.into_param().abi(), desiredaccess, previouslygrantedaccess, ::core::mem::transmute(privileges.unwrap_or(::std::ptr::null_mut())), genericmapping, accessmode, grantedaccess, accessstatus)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation", feature = "Win32_Security"))]
#[inline]
pub unsafe fn SeAssignSecurity<P0, P1, P2>(parentdescriptor: P0, explicitdescriptor: P1, newdescriptor: *mut super::super::super::Win32::Security::PSECURITY_DESCRIPTOR, isdirectoryobject: P2, subjectcontext: *const super::super::Foundation::SECURITY_SUBJECT_CONTEXT, genericmapping: *const super::super::super::Win32::Security::GENERIC_MAPPING, pooltype: super::super::Foundation::POOL_TYPE) -> ::windows_core::Result<()>
where
P0: ::windows_core::IntoParam<super::super::super::Win32::Security::PSECURITY_DESCRIPTOR>,
P1: ::windows_core::IntoParam<super::super::super::Win32::Security::PSECURITY_DESCRIPTOR>,
P2: ::windows_core::IntoParam<super::super::super::Win32::Foundation::BOOLEAN>,
{
::windows_targets::link!("ntoskrnl.exe" "system" fn SeAssignSecurity(parentdescriptor : super::super::super::Win32::Security:: PSECURITY_DESCRIPTOR, explicitdescriptor : super::super::super::Win32::Security:: PSECURITY_DESCRIPTOR, newdescriptor : *mut super::super::super::Win32::Security:: PSECURITY_DESCRIPTOR, isdirectoryobject : super::super::super::Win32::Foundation:: BOOLEAN, subjectcontext : *const super::super::Foundation:: SECURITY_SUBJECT_CONTEXT, genericmapping : *const super::super::super::Win32::Security:: GENERIC_MAPPING, pooltype : super::super::Foundation:: POOL_TYPE) -> super::super::super::Win32::Foundation:: NTSTATUS);
SeAssignSecurity(parentdescriptor.into_param().abi(), explicitdescriptor.into_param().abi(), newdescriptor, isdirectoryobject.into_param().abi(), subjectcontext, genericmapping, pooltype).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation", feature = "Win32_Security"))]
#[inline]
pub unsafe fn SeAssignSecurityEx<P0, P1, P2>(parentdescriptor: P0, explicitdescriptor: P1, newdescriptor: *mut super::super::super::Win32::Security::PSECURITY_DESCRIPTOR, objecttype: ::core::option::Option<*const ::windows_core::GUID>, isdirectoryobject: P2, autoinheritflags: u32, subjectcontext: *const super::super::Foundation::SECURITY_SUBJECT_CONTEXT, genericmapping: *const super::super::super::Win32::Security::GENERIC_MAPPING, pooltype: super::super::Foundation::POOL_TYPE) -> ::windows_core::Result<()>
where
P0: ::windows_core::IntoParam<super::super::super::Win32::Security::PSECURITY_DESCRIPTOR>,
P1: ::windows_core::IntoParam<super::super::super::Win32::Security::PSECURITY_DESCRIPTOR>,
P2: ::windows_core::IntoParam<super::super::super::Win32::Foundation::BOOLEAN>,
{
::windows_targets::link!("ntoskrnl.exe" "system" fn SeAssignSecurityEx(parentdescriptor : super::super::super::Win32::Security:: PSECURITY_DESCRIPTOR, explicitdescriptor : super::super::super::Win32::Security:: PSECURITY_DESCRIPTOR, newdescriptor : *mut super::super::super::Win32::Security:: PSECURITY_DESCRIPTOR, objecttype : *const ::windows_core::GUID, isdirectoryobject : super::super::super::Win32::Foundation:: BOOLEAN, autoinheritflags : u32, subjectcontext : *const super::super::Foundation:: SECURITY_SUBJECT_CONTEXT, genericmapping : *const super::super::super::Win32::Security:: GENERIC_MAPPING, pooltype : super::super::Foundation:: POOL_TYPE) -> super::super::super::Win32::Foundation:: NTSTATUS);
SeAssignSecurityEx(parentdescriptor.into_param().abi(), explicitdescriptor.into_param().abi(), newdescriptor, ::core::mem::transmute(objecttype.unwrap_or(::std::ptr::null())), isdirectoryobject.into_param().abi(), autoinheritflags, subjectcontext, genericmapping, pooltype).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Security\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Security"))]
#[inline]
pub unsafe fn SeCaptureSubjectContext() -> super::super::Foundation::SECURITY_SUBJECT_CONTEXT {
::windows_targets::link!("ntoskrnl.exe" "system" fn SeCaptureSubjectContext(subjectcontext : *mut super::super::Foundation:: SECURITY_SUBJECT_CONTEXT) -> ());
let mut result__ = ::std::mem::zeroed();
SeCaptureSubjectContext(&mut result__);
::std::mem::transmute(result__)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Security\"`*"]
#[cfg(feature = "Win32_Security")]
#[inline]
pub unsafe fn SeComputeAutoInheritByObjectType<P0, P1>(objecttype: *const ::core::ffi::c_void, securitydescriptor: P0, parentsecuritydescriptor: P1) -> u32
where
P0: ::windows_core::IntoParam<super::super::super::Win32::Security::PSECURITY_DESCRIPTOR>,
P1: ::windows_core::IntoParam<super::super::super::Win32::Security::PSECURITY_DESCRIPTOR>,
{
::windows_targets::link!("ntoskrnl.exe" "system" fn SeComputeAutoInheritByObjectType(objecttype : *const ::core::ffi::c_void, securitydescriptor : super::super::super::Win32::Security:: PSECURITY_DESCRIPTOR, parentsecuritydescriptor : super::super::super::Win32::Security:: PSECURITY_DESCRIPTOR) -> u32);
SeComputeAutoInheritByObjectType(objecttype, securitydescriptor.into_param().abi(), parentsecuritydescriptor.into_param().abi())
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"]
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))]
#[inline]
pub unsafe fn SeDeassignSecurity(securitydescriptor: *mut super::super::super::Win32::Security::PSECURITY_DESCRIPTOR) -> ::windows_core::Result<()> {
::windows_targets::link!("ntoskrnl.exe" "system" fn SeDeassignSecurity(securitydescriptor : *mut super::super::super::Win32::Security:: PSECURITY_DESCRIPTOR) -> super::super::super::Win32::Foundation:: NTSTATUS);
SeDeassignSecurity(securitydescriptor).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn SeEtwWriteKMCveEvent(cveid: *const super::super::super::Win32::Foundation::UNICODE_STRING, additionaldetails: ::core::option::Option<*const super::super::super::Win32::Foundation::UNICODE_STRING>) -> ::windows_core::Result<()> {
::windows_targets::link!("ntoskrnl.exe" "system" fn SeEtwWriteKMCveEvent(cveid : *const super::super::super::Win32::Foundation:: UNICODE_STRING, additionaldetails : *const super::super::super::Win32::Foundation:: UNICODE_STRING) -> super::super::super::Win32::Foundation:: NTSTATUS);
SeEtwWriteKMCveEvent(cveid, ::core::mem::transmute(additionaldetails.unwrap_or(::std::ptr::null()))).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Security\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Security"))]
#[inline]
pub unsafe fn SeLockSubjectContext(subjectcontext: *const super::super::Foundation::SECURITY_SUBJECT_CONTEXT) {
::windows_targets::link!("ntoskrnl.exe" "system" fn SeLockSubjectContext(subjectcontext : *const super::super::Foundation:: SECURITY_SUBJECT_CONTEXT) -> ());
SeLockSubjectContext(subjectcontext)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn SeRegisterImageVerificationCallback(imagetype: SE_IMAGE_TYPE, callbacktype: SE_IMAGE_VERIFICATION_CALLBACK_TYPE, callbackfunction: PSE_IMAGE_VERIFICATION_CALLBACK_FUNCTION, callbackcontext: ::core::option::Option<*const ::core::ffi::c_void>, token: ::core::option::Option<*const ::core::ffi::c_void>, callbackhandle: *mut *mut ::core::ffi::c_void) -> ::windows_core::Result<()> {
::windows_targets::link!("ntoskrnl.exe" "system" fn SeRegisterImageVerificationCallback(imagetype : SE_IMAGE_TYPE, callbacktype : SE_IMAGE_VERIFICATION_CALLBACK_TYPE, callbackfunction : PSE_IMAGE_VERIFICATION_CALLBACK_FUNCTION, callbackcontext : *const ::core::ffi::c_void, token : *const ::core::ffi::c_void, callbackhandle : *mut *mut ::core::ffi::c_void) -> super::super::super::Win32::Foundation:: NTSTATUS);
SeRegisterImageVerificationCallback(imagetype, callbacktype, callbackfunction, ::core::mem::transmute(callbackcontext.unwrap_or(::std::ptr::null())), ::core::mem::transmute(token.unwrap_or(::std::ptr::null())), callbackhandle).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Security\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Security"))]
#[inline]
pub unsafe fn SeReleaseSubjectContext(subjectcontext: *mut super::super::Foundation::SECURITY_SUBJECT_CONTEXT) {
::windows_targets::link!("ntoskrnl.exe" "system" fn SeReleaseSubjectContext(subjectcontext : *mut super::super::Foundation:: SECURITY_SUBJECT_CONTEXT) -> ());
SeReleaseSubjectContext(subjectcontext)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Authentication_Identity\"`*"]
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Authentication_Identity"))]
#[inline]
pub unsafe fn SeReportSecurityEvent<P0>(flags: u32, sourcename: *const super::super::super::Win32::Foundation::UNICODE_STRING, usersid: P0, auditparameters: *const super::super::super::Win32::Security::Authentication::Identity::SE_ADT_PARAMETER_ARRAY) -> ::windows_core::Result<()>
where
P0: ::windows_core::IntoParam<super::super::super::Win32::Foundation::PSID>,
{
::windows_targets::link!("ntoskrnl.exe" "system" fn SeReportSecurityEvent(flags : u32, sourcename : *const super::super::super::Win32::Foundation:: UNICODE_STRING, usersid : super::super::super::Win32::Foundation:: PSID, auditparameters : *const super::super::super::Win32::Security::Authentication::Identity:: SE_ADT_PARAMETER_ARRAY) -> super::super::super::Win32::Foundation:: NTSTATUS);
SeReportSecurityEvent(flags, sourcename, usersid.into_param().abi(), auditparameters).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Authentication_Identity\"`*"]
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Authentication_Identity"))]
#[inline]
pub unsafe fn SeSetAuditParameter(auditparameters: *mut super::super::super::Win32::Security::Authentication::Identity::SE_ADT_PARAMETER_ARRAY, r#type: super::super::super::Win32::Security::Authentication::Identity::SE_ADT_PARAMETER_TYPE, index: u32, data: *const ::core::ffi::c_void) -> ::windows_core::Result<()> {
::windows_targets::link!("ntoskrnl.exe" "system" fn SeSetAuditParameter(auditparameters : *mut super::super::super::Win32::Security::Authentication::Identity:: SE_ADT_PARAMETER_ARRAY, r#type : super::super::super::Win32::Security::Authentication::Identity:: SE_ADT_PARAMETER_TYPE, index : u32, data : *const ::core::ffi::c_void) -> super::super::super::Win32::Foundation:: NTSTATUS);
SeSetAuditParameter(auditparameters, r#type, index, data).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn SeSinglePrivilegeCheck(privilegevalue: super::super::super::Win32::Foundation::LUID, previousmode: i8) -> super::super::super::Win32::Foundation::BOOLEAN {
::windows_targets::link!("ntoskrnl.exe" "system" fn SeSinglePrivilegeCheck(privilegevalue : super::super::super::Win32::Foundation:: LUID, previousmode : i8) -> super::super::super::Win32::Foundation:: BOOLEAN);
SeSinglePrivilegeCheck(::core::mem::transmute(privilegevalue), previousmode)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Security\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Security"))]
#[inline]
pub unsafe fn SeUnlockSubjectContext(subjectcontext: *const super::super::Foundation::SECURITY_SUBJECT_CONTEXT) {
::windows_targets::link!("ntoskrnl.exe" "system" fn SeUnlockSubjectContext(subjectcontext : *const super::super::Foundation:: SECURITY_SUBJECT_CONTEXT) -> ());
SeUnlockSubjectContext(subjectcontext)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[inline]
pub unsafe fn SeUnregisterImageVerificationCallback(callbackhandle: *const ::core::ffi::c_void) {
::windows_targets::link!("ntoskrnl.exe" "system" fn SeUnregisterImageVerificationCallback(callbackhandle : *const ::core::ffi::c_void) -> ());
SeUnregisterImageVerificationCallback(callbackhandle)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"]
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))]
#[inline]
pub unsafe fn SeValidSecurityDescriptor<P0>(length: u32, securitydescriptor: P0) -> super::super::super::Win32::Foundation::BOOLEAN
where
P0: ::windows_core::IntoParam<super::super::super::Win32::Security::PSECURITY_DESCRIPTOR>,
{
::windows_targets::link!("ntoskrnl.exe" "system" fn SeValidSecurityDescriptor(length : u32, securitydescriptor : super::super::super::Win32::Security:: PSECURITY_DESCRIPTOR) -> super::super::super::Win32::Foundation:: BOOLEAN);
SeValidSecurityDescriptor(length, securitydescriptor.into_param().abi())
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))]
#[inline]
pub unsafe fn TmCommitComplete(enlistment: *const super::super::Foundation::KENLISTMENT, tmvirtualclock: ::core::option::Option<*const i64>) -> ::windows_core::Result<()> {
::windows_targets::link!("ntoskrnl.exe" "system" fn TmCommitComplete(enlistment : *const super::super::Foundation:: KENLISTMENT, tmvirtualclock : *const i64) -> super::super::super::Win32::Foundation:: NTSTATUS);
TmCommitComplete(enlistment, ::core::mem::transmute(tmvirtualclock.unwrap_or(::std::ptr::null()))).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))]
#[inline]
pub unsafe fn TmCommitEnlistment(enlistment: *const super::super::Foundation::KENLISTMENT, tmvirtualclock: *const i64) -> ::windows_core::Result<()> {
::windows_targets::link!("ntoskrnl.exe" "system" fn TmCommitEnlistment(enlistment : *const super::super::Foundation:: KENLISTMENT, tmvirtualclock : *const i64) -> super::super::super::Win32::Foundation:: NTSTATUS);
TmCommitEnlistment(enlistment, tmvirtualclock).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))]
#[inline]
pub unsafe fn TmCommitTransaction<P0>(transaction: *const super::super::Foundation::KTRANSACTION, wait: P0) -> ::windows_core::Result<()>
where
P0: ::windows_core::IntoParam<super::super::super::Win32::Foundation::BOOLEAN>,
{
::windows_targets::link!("ntoskrnl.exe" "system" fn TmCommitTransaction(transaction : *const super::super::Foundation:: KTRANSACTION, wait : super::super::super::Win32::Foundation:: BOOLEAN) -> super::super::super::Win32::Foundation:: NTSTATUS);
TmCommitTransaction(transaction, wait.into_param().abi()).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))]
#[inline]
pub unsafe fn TmCreateEnlistment(enlistmenthandle: *mut super::super::super::Win32::Foundation::HANDLE, previousmode: i8, desiredaccess: u32, objectattributes: *const super::super::Foundation::OBJECT_ATTRIBUTES, resourcemanager: *const isize, transaction: *const super::super::Foundation::KTRANSACTION, createoptions: u32, notificationmask: u32, enlistmentkey: ::core::option::Option<*const ::core::ffi::c_void>) -> ::windows_core::Result<()> {
::windows_targets::link!("ntoskrnl.exe" "system" fn TmCreateEnlistment(enlistmenthandle : *mut super::super::super::Win32::Foundation:: HANDLE, previousmode : i8, desiredaccess : u32, objectattributes : *const super::super::Foundation:: OBJECT_ATTRIBUTES, resourcemanager : *const isize, transaction : *const super::super::Foundation:: KTRANSACTION, createoptions : u32, notificationmask : u32, enlistmentkey : *const ::core::ffi::c_void) -> super::super::super::Win32::Foundation:: NTSTATUS);
TmCreateEnlistment(enlistmenthandle, previousmode, desiredaccess, objectattributes, resourcemanager, transaction, createoptions, notificationmask, ::core::mem::transmute(enlistmentkey.unwrap_or(::std::ptr::null()))).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))]
#[inline]
pub unsafe fn TmDereferenceEnlistmentKey(enlistment: *const super::super::Foundation::KENLISTMENT, lastreference: ::core::option::Option<*mut super::super::super::Win32::Foundation::BOOLEAN>) -> ::windows_core::Result<()> {
::windows_targets::link!("ntoskrnl.exe" "system" fn TmDereferenceEnlistmentKey(enlistment : *const super::super::Foundation:: KENLISTMENT, lastreference : *mut super::super::super::Win32::Foundation:: BOOLEAN) -> super::super::super::Win32::Foundation:: NTSTATUS);
TmDereferenceEnlistmentKey(enlistment, ::core::mem::transmute(lastreference.unwrap_or(::std::ptr::null_mut()))).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))]
#[inline]
pub unsafe fn TmEnableCallbacks(resourcemanager: *const super::super::Foundation::KRESOURCEMANAGER, callbackroutine: PTM_RM_NOTIFICATION, rmkey: ::core::option::Option<*const ::core::ffi::c_void>) -> ::windows_core::Result<()> {
::windows_targets::link!("ntoskrnl.exe" "system" fn TmEnableCallbacks(resourcemanager : *const super::super::Foundation:: KRESOURCEMANAGER, callbackroutine : PTM_RM_NOTIFICATION, rmkey : *const ::core::ffi::c_void) -> super::super::super::Win32::Foundation:: NTSTATUS);
TmEnableCallbacks(resourcemanager, callbackroutine, ::core::mem::transmute(rmkey.unwrap_or(::std::ptr::null()))).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`*"]
#[cfg(feature = "Wdk_Foundation")]
#[inline]
pub unsafe fn TmGetTransactionId(transaction: *const super::super::Foundation::KTRANSACTION) -> ::windows_core::GUID {
::windows_targets::link!("ntoskrnl.exe" "system" fn TmGetTransactionId(transaction : *const super::super::Foundation:: KTRANSACTION, transactionid : *mut ::windows_core::GUID) -> ());
let mut result__ = ::std::mem::zeroed();
TmGetTransactionId(transaction, &mut result__);
::std::mem::transmute(result__)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn TmInitializeTransactionManager(transactionmanager: *const isize, logfilename: ::core::option::Option<*const super::super::super::Win32::Foundation::UNICODE_STRING>, tmid: ::core::option::Option<*const ::windows_core::GUID>, createoptions: u32) -> ::windows_core::Result<()> {
::windows_targets::link!("ntoskrnl.exe" "system" fn TmInitializeTransactionManager(transactionmanager : *const isize, logfilename : *const super::super::super::Win32::Foundation:: UNICODE_STRING, tmid : *const ::windows_core::GUID, createoptions : u32) -> super::super::super::Win32::Foundation:: NTSTATUS);
TmInitializeTransactionManager(transactionmanager, ::core::mem::transmute(logfilename.unwrap_or(::std::ptr::null())), ::core::mem::transmute(tmid.unwrap_or(::std::ptr::null())), createoptions).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))]
#[inline]
pub unsafe fn TmIsTransactionActive(transaction: *const super::super::Foundation::KTRANSACTION) -> super::super::super::Win32::Foundation::BOOLEAN {
::windows_targets::link!("ntoskrnl.exe" "system" fn TmIsTransactionActive(transaction : *const super::super::Foundation:: KTRANSACTION) -> super::super::super::Win32::Foundation:: BOOLEAN);
TmIsTransactionActive(transaction)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))]
#[inline]
pub unsafe fn TmPrePrepareComplete(enlistment: *const super::super::Foundation::KENLISTMENT, tmvirtualclock: *const i64) -> ::windows_core::Result<()> {
::windows_targets::link!("ntoskrnl.exe" "system" fn TmPrePrepareComplete(enlistment : *const super::super::Foundation:: KENLISTMENT, tmvirtualclock : *const i64) -> super::super::super::Win32::Foundation:: NTSTATUS);
TmPrePrepareComplete(enlistment, tmvirtualclock).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))]
#[inline]
pub unsafe fn TmPrePrepareEnlistment(enlistment: *const super::super::Foundation::KENLISTMENT, tmvirtualclock: *const i64) -> ::windows_core::Result<()> {
::windows_targets::link!("ntoskrnl.exe" "system" fn TmPrePrepareEnlistment(enlistment : *const super::super::Foundation:: KENLISTMENT, tmvirtualclock : *const i64) -> super::super::super::Win32::Foundation:: NTSTATUS);
TmPrePrepareEnlistment(enlistment, tmvirtualclock).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))]
#[inline]
pub unsafe fn TmPrepareComplete(enlistment: *const super::super::Foundation::KENLISTMENT, tmvirtualclock: ::core::option::Option<*const i64>) -> ::windows_core::Result<()> {
::windows_targets::link!("ntoskrnl.exe" "system" fn TmPrepareComplete(enlistment : *const super::super::Foundation:: KENLISTMENT, tmvirtualclock : *const i64) -> super::super::super::Win32::Foundation:: NTSTATUS);
TmPrepareComplete(enlistment, ::core::mem::transmute(tmvirtualclock.unwrap_or(::std::ptr::null()))).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))]
#[inline]
pub unsafe fn TmPrepareEnlistment(enlistment: *const super::super::Foundation::KENLISTMENT, tmvirtualclock: *const i64) -> ::windows_core::Result<()> {
::windows_targets::link!("ntoskrnl.exe" "system" fn TmPrepareEnlistment(enlistment : *const super::super::Foundation:: KENLISTMENT, tmvirtualclock : *const i64) -> super::super::super::Win32::Foundation:: NTSTATUS);
TmPrepareEnlistment(enlistment, tmvirtualclock).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))]
#[inline]
pub unsafe fn TmPropagationComplete(resourcemanager: *const super::super::Foundation::KRESOURCEMANAGER, requestcookie: u32, bufferlength: u32, buffer: *const ::core::ffi::c_void) -> ::windows_core::Result<()> {
::windows_targets::link!("ntoskrnl.exe" "system" fn TmPropagationComplete(resourcemanager : *const super::super::Foundation:: KRESOURCEMANAGER, requestcookie : u32, bufferlength : u32, buffer : *const ::core::ffi::c_void) -> super::super::super::Win32::Foundation:: NTSTATUS);
TmPropagationComplete(resourcemanager, requestcookie, bufferlength, buffer).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))]
#[inline]
pub unsafe fn TmPropagationFailed<P0>(resourcemanager: *const super::super::Foundation::KRESOURCEMANAGER, requestcookie: u32, status: P0) -> ::windows_core::Result<()>
where
P0: ::windows_core::IntoParam<super::super::super::Win32::Foundation::NTSTATUS>,
{
::windows_targets::link!("ntoskrnl.exe" "system" fn TmPropagationFailed(resourcemanager : *const super::super::Foundation:: KRESOURCEMANAGER, requestcookie : u32, status : super::super::super::Win32::Foundation:: NTSTATUS) -> super::super::super::Win32::Foundation:: NTSTATUS);
TmPropagationFailed(resourcemanager, requestcookie, status.into_param().abi()).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))]
#[inline]
pub unsafe fn TmReadOnlyEnlistment(enlistment: *const super::super::Foundation::KENLISTMENT, tmvirtualclock: ::core::option::Option<*const i64>) -> ::windows_core::Result<()> {
::windows_targets::link!("ntoskrnl.exe" "system" fn TmReadOnlyEnlistment(enlistment : *const super::super::Foundation:: KENLISTMENT, tmvirtualclock : *const i64) -> super::super::super::Win32::Foundation:: NTSTATUS);
TmReadOnlyEnlistment(enlistment, ::core::mem::transmute(tmvirtualclock.unwrap_or(::std::ptr::null()))).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))]
#[inline]
pub unsafe fn TmRecoverEnlistment(enlistment: *const super::super::Foundation::KENLISTMENT, enlistmentkey: *const ::core::ffi::c_void) -> ::windows_core::Result<()> {
::windows_targets::link!("ntoskrnl.exe" "system" fn TmRecoverEnlistment(enlistment : *const super::super::Foundation:: KENLISTMENT, enlistmentkey : *const ::core::ffi::c_void) -> super::super::super::Win32::Foundation:: NTSTATUS);
TmRecoverEnlistment(enlistment, enlistmentkey).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))]
#[inline]
pub unsafe fn TmRecoverResourceManager(resourcemanager: *const super::super::Foundation::KRESOURCEMANAGER) -> ::windows_core::Result<()> {
::windows_targets::link!("ntoskrnl.exe" "system" fn TmRecoverResourceManager(resourcemanager : *const super::super::Foundation:: KRESOURCEMANAGER) -> super::super::super::Win32::Foundation:: NTSTATUS);
TmRecoverResourceManager(resourcemanager).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))]
#[inline]
pub unsafe fn TmRecoverTransactionManager(tm: *const super::super::Foundation::KTM, targetvirtualclock: *const i64) -> ::windows_core::Result<()> {
::windows_targets::link!("ntoskrnl.exe" "system" fn TmRecoverTransactionManager(tm : *const super::super::Foundation:: KTM, targetvirtualclock : *const i64) -> super::super::super::Win32::Foundation:: NTSTATUS);
TmRecoverTransactionManager(tm, targetvirtualclock).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))]
#[inline]
pub unsafe fn TmReferenceEnlistmentKey(enlistment: *const super::super::Foundation::KENLISTMENT, key: *mut *mut ::core::ffi::c_void) -> ::windows_core::Result<()> {
::windows_targets::link!("ntoskrnl.exe" "system" fn TmReferenceEnlistmentKey(enlistment : *const super::super::Foundation:: KENLISTMENT, key : *mut *mut ::core::ffi::c_void) -> super::super::super::Win32::Foundation:: NTSTATUS);
TmReferenceEnlistmentKey(enlistment, key).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn TmRenameTransactionManager(logfilename: *const super::super::super::Win32::Foundation::UNICODE_STRING, existingtransactionmanagerguid: *const ::windows_core::GUID) -> ::windows_core::Result<()> {
::windows_targets::link!("ntoskrnl.exe" "system" fn TmRenameTransactionManager(logfilename : *const super::super::super::Win32::Foundation:: UNICODE_STRING, existingtransactionmanagerguid : *const ::windows_core::GUID) -> super::super::super::Win32::Foundation:: NTSTATUS);
TmRenameTransactionManager(logfilename, existingtransactionmanagerguid).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))]
#[inline]
pub unsafe fn TmRequestOutcomeEnlistment(enlistment: *const super::super::Foundation::KENLISTMENT, tmvirtualclock: *const i64) -> ::windows_core::Result<()> {
::windows_targets::link!("ntoskrnl.exe" "system" fn TmRequestOutcomeEnlistment(enlistment : *const super::super::Foundation:: KENLISTMENT, tmvirtualclock : *const i64) -> super::super::super::Win32::Foundation:: NTSTATUS);
TmRequestOutcomeEnlistment(enlistment, tmvirtualclock).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))]
#[inline]
pub unsafe fn TmRollbackComplete(enlistment: *const super::super::Foundation::KENLISTMENT, tmvirtualclock: ::core::option::Option<*const i64>) -> ::windows_core::Result<()> {
::windows_targets::link!("ntoskrnl.exe" "system" fn TmRollbackComplete(enlistment : *const super::super::Foundation:: KENLISTMENT, tmvirtualclock : *const i64) -> super::super::super::Win32::Foundation:: NTSTATUS);
TmRollbackComplete(enlistment, ::core::mem::transmute(tmvirtualclock.unwrap_or(::std::ptr::null()))).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))]
#[inline]
pub unsafe fn TmRollbackEnlistment(enlistment: *const super::super::Foundation::KENLISTMENT, tmvirtualclock: ::core::option::Option<*const i64>) -> ::windows_core::Result<()> {
::windows_targets::link!("ntoskrnl.exe" "system" fn TmRollbackEnlistment(enlistment : *const super::super::Foundation:: KENLISTMENT, tmvirtualclock : *const i64) -> super::super::super::Win32::Foundation:: NTSTATUS);
TmRollbackEnlistment(enlistment, ::core::mem::transmute(tmvirtualclock.unwrap_or(::std::ptr::null()))).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))]
#[inline]
pub unsafe fn TmRollbackTransaction<P0>(transaction: *const super::super::Foundation::KTRANSACTION, wait: P0) -> ::windows_core::Result<()>
where
P0: ::windows_core::IntoParam<super::super::super::Win32::Foundation::BOOLEAN>,
{
::windows_targets::link!("ntoskrnl.exe" "system" fn TmRollbackTransaction(transaction : *const super::super::Foundation:: KTRANSACTION, wait : super::super::super::Win32::Foundation:: BOOLEAN) -> super::super::super::Win32::Foundation:: NTSTATUS);
TmRollbackTransaction(transaction, wait.into_param().abi()).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))]
#[inline]
pub unsafe fn TmSinglePhaseReject(enlistment: *const super::super::Foundation::KENLISTMENT, tmvirtualclock: *const i64) -> ::windows_core::Result<()> {
::windows_targets::link!("ntoskrnl.exe" "system" fn TmSinglePhaseReject(enlistment : *const super::super::Foundation:: KENLISTMENT, tmvirtualclock : *const i64) -> super::super::super::Win32::Foundation:: NTSTATUS);
TmSinglePhaseReject(enlistment, tmvirtualclock).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))]
#[inline]
pub unsafe fn VslCreateSecureSection<P0>(handle: *mut super::super::super::Win32::Foundation::HANDLE, targetprocess: P0, mdl: *const super::super::Foundation::MDL, devicepageprotection: u32, attributes: u32) -> ::windows_core::Result<()>
where
P0: ::windows_core::IntoParam<super::super::Foundation::PEPROCESS>,
{
::windows_targets::link!("ntoskrnl.exe" "system" fn VslCreateSecureSection(handle : *mut super::super::super::Win32::Foundation:: HANDLE, targetprocess : super::super::Foundation:: PEPROCESS, mdl : *const super::super::Foundation:: MDL, devicepageprotection : u32, attributes : u32) -> super::super::super::Win32::Foundation:: NTSTATUS);
VslCreateSecureSection(handle, targetprocess.into_param().abi(), mdl, devicepageprotection, attributes).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn VslDeleteSecureSection<P0>(globalhandle: P0) -> ::windows_core::Result<()>
where
P0: ::windows_core::IntoParam<super::super::super::Win32::Foundation::HANDLE>,
{
::windows_targets::link!("ntoskrnl.exe" "system" fn VslDeleteSecureSection(globalhandle : super::super::super::Win32::Foundation:: HANDLE) -> super::super::super::Win32::Foundation:: NTSTATUS);
VslDeleteSecureSection(globalhandle.into_param().abi()).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Diagnostics_Debug\"`*"]
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Diagnostics_Debug"))]
#[inline]
pub unsafe fn WheaAddErrorSource(errorsource: *const super::super::super::Win32::System::Diagnostics::Debug::WHEA_ERROR_SOURCE_DESCRIPTOR, context: ::core::option::Option<*const ::core::ffi::c_void>) -> ::windows_core::Result<()> {
::windows_targets::link!("ntoskrnl.exe" "system" fn WheaAddErrorSource(errorsource : *const super::super::super::Win32::System::Diagnostics::Debug:: WHEA_ERROR_SOURCE_DESCRIPTOR, context : *const ::core::ffi::c_void) -> super::super::super::Win32::Foundation:: NTSTATUS);
WheaAddErrorSource(errorsource, ::core::mem::transmute(context.unwrap_or(::std::ptr::null()))).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Diagnostics_Debug\"`*"]
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Diagnostics_Debug"))]
#[inline]
pub unsafe fn WheaAddErrorSourceDeviceDriver(context: ::core::option::Option<*mut ::core::ffi::c_void>, configuration: *const super::super::super::Win32::System::Diagnostics::Debug::WHEA_ERROR_SOURCE_CONFIGURATION_DEVICE_DRIVER, numberpreallocatederrorreports: u32) -> ::windows_core::Result<()> {
::windows_targets::link!("ntoskrnl.exe" "system" fn WheaAddErrorSourceDeviceDriver(context : *mut ::core::ffi::c_void, configuration : *const super::super::super::Win32::System::Diagnostics::Debug:: WHEA_ERROR_SOURCE_CONFIGURATION_DEVICE_DRIVER, numberpreallocatederrorreports : u32) -> super::super::super::Win32::Foundation:: NTSTATUS);
WheaAddErrorSourceDeviceDriver(::core::mem::transmute(context.unwrap_or(::std::ptr::null_mut())), configuration, numberpreallocatederrorreports).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Diagnostics_Debug\"`*"]
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Diagnostics_Debug"))]
#[inline]
pub unsafe fn WheaAddErrorSourceDeviceDriverV1(context: ::core::option::Option<*mut ::core::ffi::c_void>, configuration: *const super::super::super::Win32::System::Diagnostics::Debug::WHEA_ERROR_SOURCE_CONFIGURATION_DEVICE_DRIVER, numbufferstopreallocate: u32, maxdatalength: u32) -> ::windows_core::Result<()> {
::windows_targets::link!("ntoskrnl.exe" "system" fn WheaAddErrorSourceDeviceDriverV1(context : *mut ::core::ffi::c_void, configuration : *const super::super::super::Win32::System::Diagnostics::Debug:: WHEA_ERROR_SOURCE_CONFIGURATION_DEVICE_DRIVER, numbufferstopreallocate : u32, maxdatalength : u32) -> super::super::super::Win32::Foundation:: NTSTATUS);
WheaAddErrorSourceDeviceDriverV1(::core::mem::transmute(context.unwrap_or(::std::ptr::null_mut())), configuration, numbufferstopreallocate, maxdatalength).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Diagnostics_Debug\"`*"]
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Diagnostics_Debug"))]
#[inline]
pub unsafe fn WheaAddHwErrorReportSectionDeviceDriver(errorhandle: *const ::core::ffi::c_void, sectiondatalength: u32, bufferset: *mut super::super::super::Win32::System::Diagnostics::Debug::WHEA_DRIVER_BUFFER_SET) -> ::windows_core::Result<()> {
::windows_targets::link!("ntoskrnl.exe" "system" fn WheaAddHwErrorReportSectionDeviceDriver(errorhandle : *const ::core::ffi::c_void, sectiondatalength : u32, bufferset : *mut super::super::super::Win32::System::Diagnostics::Debug:: WHEA_DRIVER_BUFFER_SET) -> super::super::super::Win32::Foundation:: NTSTATUS);
WheaAddHwErrorReportSectionDeviceDriver(errorhandle, sectiondatalength, bufferset).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Diagnostics_Debug\"`*"]
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Diagnostics_Debug"))]
#[inline]
pub unsafe fn WheaConfigureErrorSource(sourcetype: super::super::super::Win32::System::Diagnostics::Debug::WHEA_ERROR_SOURCE_TYPE, configuration: *const WHEA_ERROR_SOURCE_CONFIGURATION) -> ::windows_core::Result<()> {
::windows_targets::link!("ntoskrnl.exe" "system" fn WheaConfigureErrorSource(sourcetype : super::super::super::Win32::System::Diagnostics::Debug:: WHEA_ERROR_SOURCE_TYPE, configuration : *const WHEA_ERROR_SOURCE_CONFIGURATION) -> super::super::super::Win32::Foundation:: NTSTATUS);
WheaConfigureErrorSource(sourcetype, configuration).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
#[inline]
pub unsafe fn WheaCreateHwErrorReportDeviceDriver(errorsourceid: u32, deviceobject: *const super::super::Foundation::DEVICE_OBJECT) -> *mut ::core::ffi::c_void {
::windows_targets::link!("ntoskrnl.exe" "system" fn WheaCreateHwErrorReportDeviceDriver(errorsourceid : u32, deviceobject : *const super::super::Foundation:: DEVICE_OBJECT) -> *mut ::core::ffi::c_void);
WheaCreateHwErrorReportDeviceDriver(errorsourceid, deviceobject)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_System_Diagnostics_Debug\"`*"]
#[cfg(feature = "Win32_System_Diagnostics_Debug")]
#[inline]
pub unsafe fn WheaErrorSourceGetState(errorsourceid: u32) -> super::super::super::Win32::System::Diagnostics::Debug::WHEA_ERROR_SOURCE_STATE {
::windows_targets::link!("ntoskrnl.exe" "system" fn WheaErrorSourceGetState(errorsourceid : u32) -> super::super::super::Win32::System::Diagnostics::Debug:: WHEA_ERROR_SOURCE_STATE);
WheaErrorSourceGetState(errorsourceid)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn WheaGetNotifyAllOfflinesPolicy() -> super::super::super::Win32::Foundation::BOOLEAN {
::windows_targets::link!("ntoskrnl.exe" "system" fn WheaGetNotifyAllOfflinesPolicy() -> super::super::super::Win32::Foundation:: BOOLEAN);
WheaGetNotifyAllOfflinesPolicy()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Diagnostics_Debug\"`*"]
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Diagnostics_Debug"))]
#[inline]
pub unsafe fn WheaHighIrqlLogSelEventHandlerRegister(handler: PFN_WHEA_HIGH_IRQL_LOG_SEL_EVENT_HANDLER, context: *const ::core::ffi::c_void) -> super::super::super::Win32::Foundation::BOOLEAN {
::windows_targets::link!("ntoskrnl.exe" "system" fn WheaHighIrqlLogSelEventHandlerRegister(handler : PFN_WHEA_HIGH_IRQL_LOG_SEL_EVENT_HANDLER, context : *const ::core::ffi::c_void) -> super::super::super::Win32::Foundation:: BOOLEAN);
WheaHighIrqlLogSelEventHandlerRegister(handler, context)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[inline]
pub unsafe fn WheaHighIrqlLogSelEventHandlerUnregister() {
::windows_targets::link!("ntoskrnl.exe" "system" fn WheaHighIrqlLogSelEventHandlerUnregister() -> ());
WheaHighIrqlLogSelEventHandlerUnregister()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn WheaHwErrorReportAbandonDeviceDriver(errorhandle: *const ::core::ffi::c_void) -> ::windows_core::Result<()> {
::windows_targets::link!("ntoskrnl.exe" "system" fn WheaHwErrorReportAbandonDeviceDriver(errorhandle : *const ::core::ffi::c_void) -> super::super::super::Win32::Foundation:: NTSTATUS);
WheaHwErrorReportAbandonDeviceDriver(errorhandle).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Diagnostics_Debug\"`*"]
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Diagnostics_Debug"))]
#[inline]
pub unsafe fn WheaHwErrorReportSetSectionNameDeviceDriver(bufferset: *const super::super::super::Win32::System::Diagnostics::Debug::WHEA_DRIVER_BUFFER_SET, name: &[u8]) -> ::windows_core::Result<()> {
::windows_targets::link!("ntoskrnl.exe" "system" fn WheaHwErrorReportSetSectionNameDeviceDriver(bufferset : *const super::super::super::Win32::System::Diagnostics::Debug:: WHEA_DRIVER_BUFFER_SET, namelength : u32, name : *const u8) -> super::super::super::Win32::Foundation:: NTSTATUS);
WheaHwErrorReportSetSectionNameDeviceDriver(bufferset, name.len() as _, ::core::mem::transmute(name.as_ptr())).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn WheaHwErrorReportSetSeverityDeviceDriver(errorhandle: *const ::core::ffi::c_void, errorseverity: WHEA_ERROR_SEVERITY) -> ::windows_core::Result<()> {
::windows_targets::link!("ntoskrnl.exe" "system" fn WheaHwErrorReportSetSeverityDeviceDriver(errorhandle : *const ::core::ffi::c_void, errorseverity : WHEA_ERROR_SEVERITY) -> super::super::super::Win32::Foundation:: NTSTATUS);
WheaHwErrorReportSetSeverityDeviceDriver(errorhandle, errorseverity).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn WheaHwErrorReportSubmitDeviceDriver(errorhandle: *const ::core::ffi::c_void) -> ::windows_core::Result<()> {
::windows_targets::link!("ntoskrnl.exe" "system" fn WheaHwErrorReportSubmitDeviceDriver(errorhandle : *const ::core::ffi::c_void) -> super::super::super::Win32::Foundation:: NTSTATUS);
WheaHwErrorReportSubmitDeviceDriver(errorhandle).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn WheaInitializeRecordHeader(header: *mut WHEA_ERROR_RECORD_HEADER) -> ::windows_core::Result<()> {
::windows_targets::link!("ntoskrnl.exe" "system" fn WheaInitializeRecordHeader(header : *mut WHEA_ERROR_RECORD_HEADER) -> super::super::super::Win32::Foundation:: NTSTATUS);
WheaInitializeRecordHeader(header).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn WheaIsCriticalState() -> super::super::super::Win32::Foundation::BOOLEAN {
::windows_targets::link!("ntoskrnl.exe" "system" fn WheaIsCriticalState() -> super::super::super::Win32::Foundation:: BOOLEAN);
WheaIsCriticalState()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[inline]
pub unsafe fn WheaLogInternalEvent(entry: *const WHEA_EVENT_LOG_ENTRY) {
::windows_targets::link!("ntoskrnl.exe" "system" fn WheaLogInternalEvent(entry : *const WHEA_EVENT_LOG_ENTRY) -> ());
WheaLogInternalEvent(entry)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn WheaRegisterInUsePageOfflineNotification(callback: PFN_IN_USE_PAGE_OFFLINE_NOTIFY, context: ::core::option::Option<*const ::core::ffi::c_void>) -> ::windows_core::Result<()> {
::windows_targets::link!("ntoskrnl.exe" "system" fn WheaRegisterInUsePageOfflineNotification(callback : PFN_IN_USE_PAGE_OFFLINE_NOTIFY, context : *const ::core::ffi::c_void) -> super::super::super::Win32::Foundation:: NTSTATUS);
WheaRegisterInUsePageOfflineNotification(callback, ::core::mem::transmute(context.unwrap_or(::std::ptr::null()))).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[inline]
pub unsafe fn WheaRemoveErrorSource(errorsourceid: u32) {
::windows_targets::link!("ntoskrnl.exe" "system" fn WheaRemoveErrorSource(errorsourceid : u32) -> ());
WheaRemoveErrorSource(errorsourceid)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn WheaRemoveErrorSourceDeviceDriver(errorsourceid: u32) -> ::windows_core::Result<()> {
::windows_targets::link!("ntoskrnl.exe" "system" fn WheaRemoveErrorSourceDeviceDriver(errorsourceid : u32) -> super::super::super::Win32::Foundation:: NTSTATUS);
WheaRemoveErrorSourceDeviceDriver(errorsourceid).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Diagnostics_Debug\"`*"]
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Diagnostics_Debug"))]
#[inline]
pub unsafe fn WheaReportHwError(errorpacket: *mut WHEA_ERROR_PACKET_V2) -> ::windows_core::Result<()> {
::windows_targets::link!("ntoskrnl.exe" "system" fn WheaReportHwError(errorpacket : *mut WHEA_ERROR_PACKET_V2) -> super::super::super::Win32::Foundation:: NTSTATUS);
WheaReportHwError(errorpacket).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
#[inline]
pub unsafe fn WheaReportHwErrorDeviceDriver<P0>(errorsourceid: u32, deviceobject: *const super::super::Foundation::DEVICE_OBJECT, errordata: &[u8], sectiontypeguid: *const ::windows_core::GUID, errorseverity: WHEA_ERROR_SEVERITY, devicefriendlyname: P0) -> ::windows_core::Result<()>
where
P0: ::windows_core::IntoParam<::windows_core::PCSTR>,
{
::windows_targets::link!("ntoskrnl.exe" "system" fn WheaReportHwErrorDeviceDriver(errorsourceid : u32, deviceobject : *const super::super::Foundation:: DEVICE_OBJECT, errordata : *const u8, errordatalength : u32, sectiontypeguid : *const ::windows_core::GUID, errorseverity : WHEA_ERROR_SEVERITY, devicefriendlyname : ::windows_core::PCSTR) -> super::super::super::Win32::Foundation:: NTSTATUS);
WheaReportHwErrorDeviceDriver(errorsourceid, deviceobject, ::core::mem::transmute(errordata.as_ptr()), errordata.len() as _, sectiontypeguid, errorseverity, devicefriendlyname.into_param().abi()).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Diagnostics_Debug\"`*"]
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Diagnostics_Debug"))]
#[inline]
pub unsafe fn WheaUnconfigureErrorSource(sourcetype: super::super::super::Win32::System::Diagnostics::Debug::WHEA_ERROR_SOURCE_TYPE) -> ::windows_core::Result<()> {
::windows_targets::link!("ntoskrnl.exe" "system" fn WheaUnconfigureErrorSource(sourcetype : super::super::super::Win32::System::Diagnostics::Debug:: WHEA_ERROR_SOURCE_TYPE) -> super::super::super::Win32::Foundation:: NTSTATUS);
WheaUnconfigureErrorSource(sourcetype).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn WheaUnregisterInUsePageOfflineNotification(callback: PFN_IN_USE_PAGE_OFFLINE_NOTIFY) -> ::windows_core::Result<()> {
::windows_targets::link!("ntoskrnl.exe" "system" fn WheaUnregisterInUsePageOfflineNotification(callback : PFN_IN_USE_PAGE_OFFLINE_NOTIFY) -> super::super::super::Win32::Foundation:: NTSTATUS);
WheaUnregisterInUsePageOfflineNotification(callback).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn WmiQueryTraceInformation(traceinformationclass: TRACE_INFORMATION_CLASS, traceinformation: *mut ::core::ffi::c_void, traceinformationlength: u32, requiredlength: ::core::option::Option<*mut u32>, buffer: ::core::option::Option<*const ::core::ffi::c_void>) -> ::windows_core::Result<()> {
::windows_targets::link!("ntoskrnl.exe" "system" fn WmiQueryTraceInformation(traceinformationclass : TRACE_INFORMATION_CLASS, traceinformation : *mut ::core::ffi::c_void, traceinformationlength : u32, requiredlength : *mut u32, buffer : *const ::core::ffi::c_void) -> super::super::super::Win32::Foundation:: NTSTATUS);
WmiQueryTraceInformation(traceinformationclass, traceinformation, traceinformationlength, ::core::mem::transmute(requiredlength.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(buffer.unwrap_or(::std::ptr::null()))).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn ZwAllocateLocallyUniqueId(luid: *mut super::super::super::Win32::Foundation::LUID) -> ::windows_core::Result<()> {
::windows_targets::link!("ntdll.dll" "system" fn ZwAllocateLocallyUniqueId(luid : *mut super::super::super::Win32::Foundation:: LUID) -> super::super::super::Win32::Foundation:: NTSTATUS);
ZwAllocateLocallyUniqueId(luid).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn ZwCancelTimer<P0>(timerhandle: P0, currentstate: ::core::option::Option<*mut super::super::super::Win32::Foundation::BOOLEAN>) -> ::windows_core::Result<()>
where
P0: ::windows_core::IntoParam<super::super::super::Win32::Foundation::HANDLE>,
{
::windows_targets::link!("ntdll.dll" "system" fn ZwCancelTimer(timerhandle : super::super::super::Win32::Foundation:: HANDLE, currentstate : *mut super::super::super::Win32::Foundation:: BOOLEAN) -> super::super::super::Win32::Foundation:: NTSTATUS);
ZwCancelTimer(timerhandle.into_param().abi(), ::core::mem::transmute(currentstate.unwrap_or(::std::ptr::null_mut()))).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn ZwClose<P0>(handle: P0) -> ::windows_core::Result<()>
where
P0: ::windows_core::IntoParam<super::super::super::Win32::Foundation::HANDLE>,
{
::windows_targets::link!("ntdll.dll" "system" fn ZwClose(handle : super::super::super::Win32::Foundation:: HANDLE) -> super::super::super::Win32::Foundation:: NTSTATUS);
ZwClose(handle.into_param().abi()).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn ZwCommitComplete<P0>(enlistmenthandle: P0, tmvirtualclock: ::core::option::Option<*const i64>) -> ::windows_core::Result<()>
where
P0: ::windows_core::IntoParam<super::super::super::Win32::Foundation::HANDLE>,
{
::windows_targets::link!("ntdll.dll" "system" fn ZwCommitComplete(enlistmenthandle : super::super::super::Win32::Foundation:: HANDLE, tmvirtualclock : *const i64) -> super::super::super::Win32::Foundation:: NTSTATUS);
ZwCommitComplete(enlistmenthandle.into_param().abi(), ::core::mem::transmute(tmvirtualclock.unwrap_or(::std::ptr::null()))).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn ZwCommitEnlistment<P0>(enlistmenthandle: P0, tmvirtualclock: ::core::option::Option<*const i64>) -> ::windows_core::Result<()>
where
P0: ::windows_core::IntoParam<super::super::super::Win32::Foundation::HANDLE>,
{
::windows_targets::link!("ntdll.dll" "system" fn ZwCommitEnlistment(enlistmenthandle : super::super::super::Win32::Foundation:: HANDLE, tmvirtualclock : *const i64) -> super::super::super::Win32::Foundation:: NTSTATUS);
ZwCommitEnlistment(enlistmenthandle.into_param().abi(), ::core::mem::transmute(tmvirtualclock.unwrap_or(::std::ptr::null()))).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn ZwCommitRegistryTransaction<P0>(transactionhandle: P0, flags: u32) -> ::windows_core::Result<()>
where
P0: ::windows_core::IntoParam<super::super::super::Win32::Foundation::HANDLE>,
{
::windows_targets::link!("ntdll.dll" "system" fn ZwCommitRegistryTransaction(transactionhandle : super::super::super::Win32::Foundation:: HANDLE, flags : u32) -> super::super::super::Win32::Foundation:: NTSTATUS);
ZwCommitRegistryTransaction(transactionhandle.into_param().abi(), flags).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn ZwCommitTransaction<P0, P1>(transactionhandle: P0, wait: P1) -> ::windows_core::Result<()>
where
P0: ::windows_core::IntoParam<super::super::super::Win32::Foundation::HANDLE>,
P1: ::windows_core::IntoParam<super::super::super::Win32::Foundation::BOOLEAN>,
{
::windows_targets::link!("ntdll.dll" "system" fn ZwCommitTransaction(transactionhandle : super::super::super::Win32::Foundation:: HANDLE, wait : super::super::super::Win32::Foundation:: BOOLEAN) -> super::super::super::Win32::Foundation:: NTSTATUS);
ZwCommitTransaction(transactionhandle.into_param().abi(), wait.into_param().abi()).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))]
#[inline]
pub unsafe fn ZwCreateDirectoryObject(directoryhandle: *mut super::super::super::Win32::Foundation::HANDLE, desiredaccess: u32, objectattributes: *const super::super::Foundation::OBJECT_ATTRIBUTES) -> ::windows_core::Result<()> {
::windows_targets::link!("ntdll.dll" "system" fn ZwCreateDirectoryObject(directoryhandle : *mut super::super::super::Win32::Foundation:: HANDLE, desiredaccess : u32, objectattributes : *const super::super::Foundation:: OBJECT_ATTRIBUTES) -> super::super::super::Win32::Foundation:: NTSTATUS);
ZwCreateDirectoryObject(directoryhandle, desiredaccess, objectattributes).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))]
#[inline]
pub unsafe fn ZwCreateEnlistment<P0, P1>(enlistmenthandle: *mut super::super::super::Win32::Foundation::HANDLE, desiredaccess: u32, resourcemanagerhandle: P0, transactionhandle: P1, objectattributes: ::core::option::Option<*const super::super::Foundation::OBJECT_ATTRIBUTES>, createoptions: u32, notificationmask: u32, enlistmentkey: ::core::option::Option<*const ::core::ffi::c_void>) -> ::windows_core::Result<()>
where
P0: ::windows_core::IntoParam<super::super::super::Win32::Foundation::HANDLE>,
P1: ::windows_core::IntoParam<super::super::super::Win32::Foundation::HANDLE>,
{
::windows_targets::link!("ntdll.dll" "system" fn ZwCreateEnlistment(enlistmenthandle : *mut super::super::super::Win32::Foundation:: HANDLE, desiredaccess : u32, resourcemanagerhandle : super::super::super::Win32::Foundation:: HANDLE, transactionhandle : super::super::super::Win32::Foundation:: HANDLE, objectattributes : *const super::super::Foundation:: OBJECT_ATTRIBUTES, createoptions : u32, notificationmask : u32, enlistmentkey : *const ::core::ffi::c_void) -> super::super::super::Win32::Foundation:: NTSTATUS);
ZwCreateEnlistment(enlistmenthandle, desiredaccess, resourcemanagerhandle.into_param().abi(), transactionhandle.into_param().abi(), ::core::mem::transmute(objectattributes.unwrap_or(::std::ptr::null())), createoptions, notificationmask, ::core::mem::transmute(enlistmentkey.unwrap_or(::std::ptr::null()))).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation", feature = "Win32_System_IO"))]
#[inline]
pub unsafe fn ZwCreateFile(filehandle: *mut super::super::super::Win32::Foundation::HANDLE, desiredaccess: u32, objectattributes: *const super::super::Foundation::OBJECT_ATTRIBUTES, iostatusblock: *mut super::super::super::Win32::System::IO::IO_STATUS_BLOCK, allocationsize: ::core::option::Option<*const i64>, fileattributes: u32, shareaccess: u32, createdisposition: u32, createoptions: u32, eabuffer: ::core::option::Option<*const ::core::ffi::c_void>, ealength: u32) -> ::windows_core::Result<()> {
::windows_targets::link!("ntdll.dll" "system" fn ZwCreateFile(filehandle : *mut super::super::super::Win32::Foundation:: HANDLE, desiredaccess : u32, objectattributes : *const super::super::Foundation:: OBJECT_ATTRIBUTES, iostatusblock : *mut super::super::super::Win32::System::IO:: IO_STATUS_BLOCK, allocationsize : *const i64, fileattributes : u32, shareaccess : u32, createdisposition : u32, createoptions : u32, eabuffer : *const ::core::ffi::c_void, ealength : u32) -> super::super::super::Win32::Foundation:: NTSTATUS);
ZwCreateFile(filehandle, desiredaccess, objectattributes, iostatusblock, ::core::mem::transmute(allocationsize.unwrap_or(::std::ptr::null())), fileattributes, shareaccess, createdisposition, createoptions, ::core::mem::transmute(eabuffer.unwrap_or(::std::ptr::null())), ealength).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))]
#[inline]
pub unsafe fn ZwCreateKey(keyhandle: *mut super::super::super::Win32::Foundation::HANDLE, desiredaccess: u32, objectattributes: *const super::super::Foundation::OBJECT_ATTRIBUTES, titleindex: u32, class: ::core::option::Option<*const super::super::super::Win32::Foundation::UNICODE_STRING>, createoptions: u32, disposition: ::core::option::Option<*mut u32>) -> ::windows_core::Result<()> {
::windows_targets::link!("ntdll.dll" "system" fn ZwCreateKey(keyhandle : *mut super::super::super::Win32::Foundation:: HANDLE, desiredaccess : u32, objectattributes : *const super::super::Foundation:: OBJECT_ATTRIBUTES, titleindex : u32, class : *const super::super::super::Win32::Foundation:: UNICODE_STRING, createoptions : u32, disposition : *mut u32) -> super::super::super::Win32::Foundation:: NTSTATUS);
ZwCreateKey(keyhandle, desiredaccess, objectattributes, titleindex, ::core::mem::transmute(class.unwrap_or(::std::ptr::null())), createoptions, ::core::mem::transmute(disposition.unwrap_or(::std::ptr::null_mut()))).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))]
#[inline]
pub unsafe fn ZwCreateKeyTransacted<P0>(keyhandle: *mut super::super::super::Win32::Foundation::HANDLE, desiredaccess: u32, objectattributes: *const super::super::Foundation::OBJECT_ATTRIBUTES, titleindex: u32, class: ::core::option::Option<*const super::super::super::Win32::Foundation::UNICODE_STRING>, createoptions: u32, transactionhandle: P0, disposition: ::core::option::Option<*mut u32>) -> ::windows_core::Result<()>
where
P0: ::windows_core::IntoParam<super::super::super::Win32::Foundation::HANDLE>,
{
::windows_targets::link!("ntdll.dll" "system" fn ZwCreateKeyTransacted(keyhandle : *mut super::super::super::Win32::Foundation:: HANDLE, desiredaccess : u32, objectattributes : *const super::super::Foundation:: OBJECT_ATTRIBUTES, titleindex : u32, class : *const super::super::super::Win32::Foundation:: UNICODE_STRING, createoptions : u32, transactionhandle : super::super::super::Win32::Foundation:: HANDLE, disposition : *mut u32) -> super::super::super::Win32::Foundation:: NTSTATUS);
ZwCreateKeyTransacted(keyhandle, desiredaccess, objectattributes, titleindex, ::core::mem::transmute(class.unwrap_or(::std::ptr::null())), createoptions, transactionhandle.into_param().abi(), ::core::mem::transmute(disposition.unwrap_or(::std::ptr::null_mut()))).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))]
#[inline]
pub unsafe fn ZwCreateRegistryTransaction(transactionhandle: *mut super::super::super::Win32::Foundation::HANDLE, desiredaccess: u32, objectattributes: ::core::option::Option<*const super::super::Foundation::OBJECT_ATTRIBUTES>, createoptions: u32) -> ::windows_core::Result<()> {
::windows_targets::link!("ntdll.dll" "system" fn ZwCreateRegistryTransaction(transactionhandle : *mut super::super::super::Win32::Foundation:: HANDLE, desiredaccess : u32, objectattributes : *const super::super::Foundation:: OBJECT_ATTRIBUTES, createoptions : u32) -> super::super::super::Win32::Foundation:: NTSTATUS);
ZwCreateRegistryTransaction(transactionhandle, desiredaccess, ::core::mem::transmute(objectattributes.unwrap_or(::std::ptr::null())), createoptions).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))]
#[inline]
pub unsafe fn ZwCreateResourceManager<P0>(resourcemanagerhandle: *mut super::super::super::Win32::Foundation::HANDLE, desiredaccess: u32, tmhandle: P0, resourcemanagerguid: ::core::option::Option<*const ::windows_core::GUID>, objectattributes: ::core::option::Option<*const super::super::Foundation::OBJECT_ATTRIBUTES>, createoptions: u32, description: ::core::option::Option<*const super::super::super::Win32::Foundation::UNICODE_STRING>) -> ::windows_core::Result<()>
where
P0: ::windows_core::IntoParam<super::super::super::Win32::Foundation::HANDLE>,
{
::windows_targets::link!("ntdll.dll" "system" fn ZwCreateResourceManager(resourcemanagerhandle : *mut super::super::super::Win32::Foundation:: HANDLE, desiredaccess : u32, tmhandle : super::super::super::Win32::Foundation:: HANDLE, resourcemanagerguid : *const ::windows_core::GUID, objectattributes : *const super::super::Foundation:: OBJECT_ATTRIBUTES, createoptions : u32, description : *const super::super::super::Win32::Foundation:: UNICODE_STRING) -> super::super::super::Win32::Foundation:: NTSTATUS);
ZwCreateResourceManager(resourcemanagerhandle, desiredaccess, tmhandle.into_param().abi(), ::core::mem::transmute(resourcemanagerguid.unwrap_or(::std::ptr::null())), ::core::mem::transmute(objectattributes.unwrap_or(::std::ptr::null())), createoptions, ::core::mem::transmute(description.unwrap_or(::std::ptr::null()))).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))]
#[inline]
pub unsafe fn ZwCreateSection<P0>(sectionhandle: *mut super::super::super::Win32::Foundation::HANDLE, desiredaccess: u32, objectattributes: ::core::option::Option<*const super::super::Foundation::OBJECT_ATTRIBUTES>, maximumsize: ::core::option::Option<*const i64>, sectionpageprotection: u32, allocationattributes: u32, filehandle: P0) -> ::windows_core::Result<()>
where
P0: ::windows_core::IntoParam<super::super::super::Win32::Foundation::HANDLE>,
{
::windows_targets::link!("ntdll.dll" "system" fn ZwCreateSection(sectionhandle : *mut super::super::super::Win32::Foundation:: HANDLE, desiredaccess : u32, objectattributes : *const super::super::Foundation:: OBJECT_ATTRIBUTES, maximumsize : *const i64, sectionpageprotection : u32, allocationattributes : u32, filehandle : super::super::super::Win32::Foundation:: HANDLE) -> super::super::super::Win32::Foundation:: NTSTATUS);
ZwCreateSection(sectionhandle, desiredaccess, ::core::mem::transmute(objectattributes.unwrap_or(::std::ptr::null())), ::core::mem::transmute(maximumsize.unwrap_or(::std::ptr::null())), sectionpageprotection, allocationattributes, filehandle.into_param().abi()).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
#[inline]
pub unsafe fn ZwCreateTimer(timerhandle: *mut super::super::super::Win32::Foundation::HANDLE, desiredaccess: u32, objectattributes: ::core::option::Option<*const super::super::Foundation::OBJECT_ATTRIBUTES>, timertype: super::super::super::Win32::System::Kernel::TIMER_TYPE) -> ::windows_core::Result<()> {
::windows_targets::link!("ntdll.dll" "system" fn ZwCreateTimer(timerhandle : *mut super::super::super::Win32::Foundation:: HANDLE, desiredaccess : u32, objectattributes : *const super::super::Foundation:: OBJECT_ATTRIBUTES, timertype : super::super::super::Win32::System::Kernel:: TIMER_TYPE) -> super::super::super::Win32::Foundation:: NTSTATUS);
ZwCreateTimer(timerhandle, desiredaccess, ::core::mem::transmute(objectattributes.unwrap_or(::std::ptr::null())), timertype).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))]
#[inline]
pub unsafe fn ZwCreateTransaction<P0>(transactionhandle: *mut super::super::super::Win32::Foundation::HANDLE, desiredaccess: u32, objectattributes: ::core::option::Option<*const super::super::Foundation::OBJECT_ATTRIBUTES>, uow: ::core::option::Option<*const ::windows_core::GUID>, tmhandle: P0, createoptions: u32, isolationlevel: u32, isolationflags: u32, timeout: ::core::option::Option<*const i64>, description: ::core::option::Option<*const super::super::super::Win32::Foundation::UNICODE_STRING>) -> ::windows_core::Result<()>
where
P0: ::windows_core::IntoParam<super::super::super::Win32::Foundation::HANDLE>,
{
::windows_targets::link!("ntdll.dll" "system" fn ZwCreateTransaction(transactionhandle : *mut super::super::super::Win32::Foundation:: HANDLE, desiredaccess : u32, objectattributes : *const super::super::Foundation:: OBJECT_ATTRIBUTES, uow : *const ::windows_core::GUID, tmhandle : super::super::super::Win32::Foundation:: HANDLE, createoptions : u32, isolationlevel : u32, isolationflags : u32, timeout : *const i64, description : *const super::super::super::Win32::Foundation:: UNICODE_STRING) -> super::super::super::Win32::Foundation:: NTSTATUS);
ZwCreateTransaction(transactionhandle, desiredaccess, ::core::mem::transmute(objectattributes.unwrap_or(::std::ptr::null())), ::core::mem::transmute(uow.unwrap_or(::std::ptr::null())), tmhandle.into_param().abi(), createoptions, isolationlevel, isolationflags, ::core::mem::transmute(timeout.unwrap_or(::std::ptr::null())), ::core::mem::transmute(description.unwrap_or(::std::ptr::null()))).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))]
#[inline]
pub unsafe fn ZwCreateTransactionManager(tmhandle: *mut super::super::super::Win32::Foundation::HANDLE, desiredaccess: u32, objectattributes: ::core::option::Option<*const super::super::Foundation::OBJECT_ATTRIBUTES>, logfilename: ::core::option::Option<*const super::super::super::Win32::Foundation::UNICODE_STRING>, createoptions: u32, commitstrength: u32) -> ::windows_core::Result<()> {
::windows_targets::link!("ntdll.dll" "system" fn ZwCreateTransactionManager(tmhandle : *mut super::super::super::Win32::Foundation:: HANDLE, desiredaccess : u32, objectattributes : *const super::super::Foundation:: OBJECT_ATTRIBUTES, logfilename : *const super::super::super::Win32::Foundation:: UNICODE_STRING, createoptions : u32, commitstrength : u32) -> super::super::super::Win32::Foundation:: NTSTATUS);
ZwCreateTransactionManager(tmhandle, desiredaccess, ::core::mem::transmute(objectattributes.unwrap_or(::std::ptr::null())), ::core::mem::transmute(logfilename.unwrap_or(::std::ptr::null())), createoptions, commitstrength).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn ZwDeleteKey<P0>(keyhandle: P0) -> ::windows_core::Result<()>
where
P0: ::windows_core::IntoParam<super::super::super::Win32::Foundation::HANDLE>,
{
::windows_targets::link!("ntdll.dll" "system" fn ZwDeleteKey(keyhandle : super::super::super::Win32::Foundation:: HANDLE) -> super::super::super::Win32::Foundation:: NTSTATUS);
ZwDeleteKey(keyhandle.into_param().abi()).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn ZwDeleteValueKey<P0>(keyhandle: P0, valuename: *const super::super::super::Win32::Foundation::UNICODE_STRING) -> ::windows_core::Result<()>
where
P0: ::windows_core::IntoParam<super::super::super::Win32::Foundation::HANDLE>,
{
::windows_targets::link!("ntdll.dll" "system" fn ZwDeleteValueKey(keyhandle : super::super::super::Win32::Foundation:: HANDLE, valuename : *const super::super::super::Win32::Foundation:: UNICODE_STRING) -> super::super::super::Win32::Foundation:: NTSTATUS);
ZwDeleteValueKey(keyhandle.into_param().abi(), valuename).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"]
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))]
#[inline]
pub unsafe fn ZwDeviceIoControlFile<P0, P1>(filehandle: P0, event: P1, apcroutine: super::super::super::Win32::System::IO::PIO_APC_ROUTINE, apccontext: ::core::option::Option<*const ::core::ffi::c_void>, iostatusblock: *mut super::super::super::Win32::System::IO::IO_STATUS_BLOCK, iocontrolcode: u32, inputbuffer: ::core::option::Option<*const ::core::ffi::c_void>, inputbufferlength: u32, outputbuffer: ::core::option::Option<*mut ::core::ffi::c_void>, outputbufferlength: u32) -> ::windows_core::Result<()>
where
P0: ::windows_core::IntoParam<super::super::super::Win32::Foundation::HANDLE>,
P1: ::windows_core::IntoParam<super::super::super::Win32::Foundation::HANDLE>,
{
::windows_targets::link!("ntdll.dll" "system" fn ZwDeviceIoControlFile(filehandle : super::super::super::Win32::Foundation:: HANDLE, event : super::super::super::Win32::Foundation:: HANDLE, apcroutine : super::super::super::Win32::System::IO:: PIO_APC_ROUTINE, apccontext : *const ::core::ffi::c_void, iostatusblock : *mut super::super::super::Win32::System::IO:: IO_STATUS_BLOCK, iocontrolcode : u32, inputbuffer : *const ::core::ffi::c_void, inputbufferlength : u32, outputbuffer : *mut ::core::ffi::c_void, outputbufferlength : u32) -> super::super::super::Win32::Foundation:: NTSTATUS);
ZwDeviceIoControlFile(filehandle.into_param().abi(), event.into_param().abi(), apcroutine, ::core::mem::transmute(apccontext.unwrap_or(::std::ptr::null())), iostatusblock, iocontrolcode, ::core::mem::transmute(inputbuffer.unwrap_or(::std::ptr::null())), inputbufferlength, ::core::mem::transmute(outputbuffer.unwrap_or(::std::ptr::null_mut())), outputbufferlength).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn ZwDisplayString(string: *const super::super::super::Win32::Foundation::UNICODE_STRING) -> ::windows_core::Result<()> {
::windows_targets::link!("ntdll.dll" "system" fn ZwDisplayString(string : *const super::super::super::Win32::Foundation:: UNICODE_STRING) -> super::super::super::Win32::Foundation:: NTSTATUS);
ZwDisplayString(string).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn ZwEnumerateKey<P0>(keyhandle: P0, index: u32, keyinformationclass: KEY_INFORMATION_CLASS, keyinformation: ::core::option::Option<*mut ::core::ffi::c_void>, length: u32, resultlength: *mut u32) -> ::windows_core::Result<()>
where
P0: ::windows_core::IntoParam<super::super::super::Win32::Foundation::HANDLE>,
{
::windows_targets::link!("ntdll.dll" "system" fn ZwEnumerateKey(keyhandle : super::super::super::Win32::Foundation:: HANDLE, index : u32, keyinformationclass : KEY_INFORMATION_CLASS, keyinformation : *mut ::core::ffi::c_void, length : u32, resultlength : *mut u32) -> super::super::super::Win32::Foundation:: NTSTATUS);
ZwEnumerateKey(keyhandle.into_param().abi(), index, keyinformationclass, ::core::mem::transmute(keyinformation.unwrap_or(::std::ptr::null_mut())), length, resultlength).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_SystemServices\"`*"]
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_SystemServices"))]
#[inline]
pub unsafe fn ZwEnumerateTransactionObject<P0>(rootobjecthandle: P0, querytype: super::super::super::Win32::System::SystemServices::KTMOBJECT_TYPE, objectcursor: *mut super::super::super::Win32::System::SystemServices::KTMOBJECT_CURSOR, objectcursorlength: u32, returnlength: *mut u32) -> ::windows_core::Result<()>
where
P0: ::windows_core::IntoParam<super::super::super::Win32::Foundation::HANDLE>,
{
::windows_targets::link!("ntdll.dll" "system" fn ZwEnumerateTransactionObject(rootobjecthandle : super::super::super::Win32::Foundation:: HANDLE, querytype : super::super::super::Win32::System::SystemServices:: KTMOBJECT_TYPE, objectcursor : *mut super::super::super::Win32::System::SystemServices:: KTMOBJECT_CURSOR, objectcursorlength : u32, returnlength : *mut u32) -> super::super::super::Win32::Foundation:: NTSTATUS);
ZwEnumerateTransactionObject(rootobjecthandle.into_param().abi(), querytype, objectcursor, objectcursorlength, returnlength).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn ZwEnumerateValueKey<P0>(keyhandle: P0, index: u32, keyvalueinformationclass: KEY_VALUE_INFORMATION_CLASS, keyvalueinformation: ::core::option::Option<*mut ::core::ffi::c_void>, length: u32, resultlength: *mut u32) -> ::windows_core::Result<()>
where
P0: ::windows_core::IntoParam<super::super::super::Win32::Foundation::HANDLE>,
{
::windows_targets::link!("ntdll.dll" "system" fn ZwEnumerateValueKey(keyhandle : super::super::super::Win32::Foundation:: HANDLE, index : u32, keyvalueinformationclass : KEY_VALUE_INFORMATION_CLASS, keyvalueinformation : *mut ::core::ffi::c_void, length : u32, resultlength : *mut u32) -> super::super::super::Win32::Foundation:: NTSTATUS);
ZwEnumerateValueKey(keyhandle.into_param().abi(), index, keyvalueinformationclass, ::core::mem::transmute(keyvalueinformation.unwrap_or(::std::ptr::null_mut())), length, resultlength).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn ZwFlushKey<P0>(keyhandle: P0) -> ::windows_core::Result<()>
where
P0: ::windows_core::IntoParam<super::super::super::Win32::Foundation::HANDLE>,
{
::windows_targets::link!("ntdll.dll" "system" fn ZwFlushKey(keyhandle : super::super::super::Win32::Foundation:: HANDLE) -> super::super::super::Win32::Foundation:: NTSTATUS);
ZwFlushKey(keyhandle.into_param().abi()).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Storage_FileSystem\"`*"]
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_FileSystem"))]
#[inline]
pub unsafe fn ZwGetNotificationResourceManager<P0>(resourcemanagerhandle: P0, transactionnotification: *mut super::super::super::Win32::Storage::FileSystem::TRANSACTION_NOTIFICATION, notificationlength: u32, timeout: *const i64, returnlength: ::core::option::Option<*mut u32>, asynchronous: u32, asynchronouscontext: usize) -> ::windows_core::Result<()>
where
P0: ::windows_core::IntoParam<super::super::super::Win32::Foundation::HANDLE>,
{
::windows_targets::link!("ntdll.dll" "system" fn ZwGetNotificationResourceManager(resourcemanagerhandle : super::super::super::Win32::Foundation:: HANDLE, transactionnotification : *mut super::super::super::Win32::Storage::FileSystem:: TRANSACTION_NOTIFICATION, notificationlength : u32, timeout : *const i64, returnlength : *mut u32, asynchronous : u32, asynchronouscontext : usize) -> super::super::super::Win32::Foundation:: NTSTATUS);
ZwGetNotificationResourceManager(resourcemanagerhandle.into_param().abi(), transactionnotification, notificationlength, timeout, ::core::mem::transmute(returnlength.unwrap_or(::std::ptr::null_mut())), asynchronous, asynchronouscontext).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn ZwLoadDriver(driverservicename: *const super::super::super::Win32::Foundation::UNICODE_STRING) -> ::windows_core::Result<()> {
::windows_targets::link!("ntdll.dll" "system" fn ZwLoadDriver(driverservicename : *const super::super::super::Win32::Foundation:: UNICODE_STRING) -> super::super::super::Win32::Foundation:: NTSTATUS);
ZwLoadDriver(driverservicename).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn ZwMakeTemporaryObject<P0>(handle: P0) -> ::windows_core::Result<()>
where
P0: ::windows_core::IntoParam<super::super::super::Win32::Foundation::HANDLE>,
{
::windows_targets::link!("ntdll.dll" "system" fn ZwMakeTemporaryObject(handle : super::super::super::Win32::Foundation:: HANDLE) -> super::super::super::Win32::Foundation:: NTSTATUS);
ZwMakeTemporaryObject(handle.into_param().abi()).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn ZwMapViewOfSection<P0, P1>(sectionhandle: P0, processhandle: P1, baseaddress: *mut *mut ::core::ffi::c_void, zerobits: usize, commitsize: usize, sectionoffset: ::core::option::Option<*mut i64>, viewsize: *mut usize, inheritdisposition: SECTION_INHERIT, allocationtype: u32, win32protect: u32) -> ::windows_core::Result<()>
where
P0: ::windows_core::IntoParam<super::super::super::Win32::Foundation::HANDLE>,
P1: ::windows_core::IntoParam<super::super::super::Win32::Foundation::HANDLE>,
{
::windows_targets::link!("ntdll.dll" "system" fn ZwMapViewOfSection(sectionhandle : super::super::super::Win32::Foundation:: HANDLE, processhandle : super::super::super::Win32::Foundation:: HANDLE, baseaddress : *mut *mut ::core::ffi::c_void, zerobits : usize, commitsize : usize, sectionoffset : *mut i64, viewsize : *mut usize, inheritdisposition : SECTION_INHERIT, allocationtype : u32, win32protect : u32) -> super::super::super::Win32::Foundation:: NTSTATUS);
ZwMapViewOfSection(sectionhandle.into_param().abi(), processhandle.into_param().abi(), baseaddress, zerobits, commitsize, ::core::mem::transmute(sectionoffset.unwrap_or(::std::ptr::null_mut())), viewsize, inheritdisposition, allocationtype, win32protect).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))]
#[inline]
pub unsafe fn ZwOpenEnlistment<P0>(enlistmenthandle: *mut super::super::super::Win32::Foundation::HANDLE, desiredaccess: u32, rmhandle: P0, enlistmentguid: *const ::windows_core::GUID, objectattributes: ::core::option::Option<*const super::super::Foundation::OBJECT_ATTRIBUTES>) -> ::windows_core::Result<()>
where
P0: ::windows_core::IntoParam<super::super::super::Win32::Foundation::HANDLE>,
{
::windows_targets::link!("ntdll.dll" "system" fn ZwOpenEnlistment(enlistmenthandle : *mut super::super::super::Win32::Foundation:: HANDLE, desiredaccess : u32, rmhandle : super::super::super::Win32::Foundation:: HANDLE, enlistmentguid : *const ::windows_core::GUID, objectattributes : *const super::super::Foundation:: OBJECT_ATTRIBUTES) -> super::super::super::Win32::Foundation:: NTSTATUS);
ZwOpenEnlistment(enlistmenthandle, desiredaccess, rmhandle.into_param().abi(), enlistmentguid, ::core::mem::transmute(objectattributes.unwrap_or(::std::ptr::null()))).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))]
#[inline]
pub unsafe fn ZwOpenEvent(eventhandle: *mut super::super::super::Win32::Foundation::HANDLE, desiredaccess: u32, objectattributes: *const super::super::Foundation::OBJECT_ATTRIBUTES) -> ::windows_core::Result<()> {
::windows_targets::link!("ntdll.dll" "system" fn ZwOpenEvent(eventhandle : *mut super::super::super::Win32::Foundation:: HANDLE, desiredaccess : u32, objectattributes : *const super::super::Foundation:: OBJECT_ATTRIBUTES) -> super::super::super::Win32::Foundation:: NTSTATUS);
ZwOpenEvent(eventhandle, desiredaccess, objectattributes).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation", feature = "Win32_System_IO"))]
#[inline]
pub unsafe fn ZwOpenFile(filehandle: *mut super::super::super::Win32::Foundation::HANDLE, desiredaccess: u32, objectattributes: *const super::super::Foundation::OBJECT_ATTRIBUTES, iostatusblock: *mut super::super::super::Win32::System::IO::IO_STATUS_BLOCK, shareaccess: u32, openoptions: u32) -> ::windows_core::Result<()> {
::windows_targets::link!("ntdll.dll" "system" fn ZwOpenFile(filehandle : *mut super::super::super::Win32::Foundation:: HANDLE, desiredaccess : u32, objectattributes : *const super::super::Foundation:: OBJECT_ATTRIBUTES, iostatusblock : *mut super::super::super::Win32::System::IO:: IO_STATUS_BLOCK, shareaccess : u32, openoptions : u32) -> super::super::super::Win32::Foundation:: NTSTATUS);
ZwOpenFile(filehandle, desiredaccess, objectattributes, iostatusblock, shareaccess, openoptions).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))]
#[inline]
pub unsafe fn ZwOpenKey(keyhandle: *mut super::super::super::Win32::Foundation::HANDLE, desiredaccess: u32, objectattributes: *const super::super::Foundation::OBJECT_ATTRIBUTES) -> ::windows_core::Result<()> {
::windows_targets::link!("ntdll.dll" "system" fn ZwOpenKey(keyhandle : *mut super::super::super::Win32::Foundation:: HANDLE, desiredaccess : u32, objectattributes : *const super::super::Foundation:: OBJECT_ATTRIBUTES) -> super::super::super::Win32::Foundation:: NTSTATUS);
ZwOpenKey(keyhandle, desiredaccess, objectattributes).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))]
#[inline]
pub unsafe fn ZwOpenKeyEx(keyhandle: *mut super::super::super::Win32::Foundation::HANDLE, desiredaccess: u32, objectattributes: *const super::super::Foundation::OBJECT_ATTRIBUTES, openoptions: u32) -> ::windows_core::Result<()> {
::windows_targets::link!("ntdll.dll" "system" fn ZwOpenKeyEx(keyhandle : *mut super::super::super::Win32::Foundation:: HANDLE, desiredaccess : u32, objectattributes : *const super::super::Foundation:: OBJECT_ATTRIBUTES, openoptions : u32) -> super::super::super::Win32::Foundation:: NTSTATUS);
ZwOpenKeyEx(keyhandle, desiredaccess, objectattributes, openoptions).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))]
#[inline]
pub unsafe fn ZwOpenKeyTransacted<P0>(keyhandle: *mut super::super::super::Win32::Foundation::HANDLE, desiredaccess: u32, objectattributes: *const super::super::Foundation::OBJECT_ATTRIBUTES, transactionhandle: P0) -> ::windows_core::Result<()>
where
P0: ::windows_core::IntoParam<super::super::super::Win32::Foundation::HANDLE>,
{
::windows_targets::link!("ntdll.dll" "system" fn ZwOpenKeyTransacted(keyhandle : *mut super::super::super::Win32::Foundation:: HANDLE, desiredaccess : u32, objectattributes : *const super::super::Foundation:: OBJECT_ATTRIBUTES, transactionhandle : super::super::super::Win32::Foundation:: HANDLE) -> super::super::super::Win32::Foundation:: NTSTATUS);
ZwOpenKeyTransacted(keyhandle, desiredaccess, objectattributes, transactionhandle.into_param().abi()).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))]
#[inline]
pub unsafe fn ZwOpenKeyTransactedEx<P0>(keyhandle: *mut super::super::super::Win32::Foundation::HANDLE, desiredaccess: u32, objectattributes: *const super::super::Foundation::OBJECT_ATTRIBUTES, openoptions: u32, transactionhandle: P0) -> ::windows_core::Result<()>
where
P0: ::windows_core::IntoParam<super::super::super::Win32::Foundation::HANDLE>,
{
::windows_targets::link!("ntdll.dll" "system" fn ZwOpenKeyTransactedEx(keyhandle : *mut super::super::super::Win32::Foundation:: HANDLE, desiredaccess : u32, objectattributes : *const super::super::Foundation:: OBJECT_ATTRIBUTES, openoptions : u32, transactionhandle : super::super::super::Win32::Foundation:: HANDLE) -> super::super::super::Win32::Foundation:: NTSTATUS);
ZwOpenKeyTransactedEx(keyhandle, desiredaccess, objectattributes, openoptions, transactionhandle.into_param().abi()).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation", feature = "Win32_System_WindowsProgramming"))]
#[inline]
pub unsafe fn ZwOpenProcess(processhandle: *mut super::super::super::Win32::Foundation::HANDLE, desiredaccess: u32, objectattributes: *const super::super::Foundation::OBJECT_ATTRIBUTES, clientid: ::core::option::Option<*const super::super::super::Win32::System::WindowsProgramming::CLIENT_ID>) -> ::windows_core::Result<()> {
::windows_targets::link!("ntdll.dll" "system" fn ZwOpenProcess(processhandle : *mut super::super::super::Win32::Foundation:: HANDLE, desiredaccess : u32, objectattributes : *const super::super::Foundation:: OBJECT_ATTRIBUTES, clientid : *const super::super::super::Win32::System::WindowsProgramming:: CLIENT_ID) -> super::super::super::Win32::Foundation:: NTSTATUS);
ZwOpenProcess(processhandle, desiredaccess, objectattributes, ::core::mem::transmute(clientid.unwrap_or(::std::ptr::null()))).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))]
#[inline]
pub unsafe fn ZwOpenResourceManager<P0>(resourcemanagerhandle: *mut super::super::super::Win32::Foundation::HANDLE, desiredaccess: u32, tmhandle: P0, resourcemanagerguid: *const ::windows_core::GUID, objectattributes: ::core::option::Option<*const super::super::Foundation::OBJECT_ATTRIBUTES>) -> ::windows_core::Result<()>
where
P0: ::windows_core::IntoParam<super::super::super::Win32::Foundation::HANDLE>,
{
::windows_targets::link!("ntdll.dll" "system" fn ZwOpenResourceManager(resourcemanagerhandle : *mut super::super::super::Win32::Foundation:: HANDLE, desiredaccess : u32, tmhandle : super::super::super::Win32::Foundation:: HANDLE, resourcemanagerguid : *const ::windows_core::GUID, objectattributes : *const super::super::Foundation:: OBJECT_ATTRIBUTES) -> super::super::super::Win32::Foundation:: NTSTATUS);
ZwOpenResourceManager(resourcemanagerhandle, desiredaccess, tmhandle.into_param().abi(), resourcemanagerguid, ::core::mem::transmute(objectattributes.unwrap_or(::std::ptr::null()))).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))]
#[inline]
pub unsafe fn ZwOpenSection(sectionhandle: *mut super::super::super::Win32::Foundation::HANDLE, desiredaccess: u32, objectattributes: *const super::super::Foundation::OBJECT_ATTRIBUTES) -> ::windows_core::Result<()> {
::windows_targets::link!("ntdll.dll" "system" fn ZwOpenSection(sectionhandle : *mut super::super::super::Win32::Foundation:: HANDLE, desiredaccess : u32, objectattributes : *const super::super::Foundation:: OBJECT_ATTRIBUTES) -> super::super::super::Win32::Foundation:: NTSTATUS);
ZwOpenSection(sectionhandle, desiredaccess, objectattributes).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))]
#[inline]
pub unsafe fn ZwOpenSymbolicLinkObject(linkhandle: *mut super::super::super::Win32::Foundation::HANDLE, desiredaccess: u32, objectattributes: *const super::super::Foundation::OBJECT_ATTRIBUTES) -> ::windows_core::Result<()> {
::windows_targets::link!("ntdll.dll" "system" fn ZwOpenSymbolicLinkObject(linkhandle : *mut super::super::super::Win32::Foundation:: HANDLE, desiredaccess : u32, objectattributes : *const super::super::Foundation:: OBJECT_ATTRIBUTES) -> super::super::super::Win32::Foundation:: NTSTATUS);
ZwOpenSymbolicLinkObject(linkhandle, desiredaccess, objectattributes).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))]
#[inline]
pub unsafe fn ZwOpenTimer(timerhandle: *mut super::super::super::Win32::Foundation::HANDLE, desiredaccess: u32, objectattributes: *const super::super::Foundation::OBJECT_ATTRIBUTES) -> ::windows_core::Result<()> {
::windows_targets::link!("ntdll.dll" "system" fn ZwOpenTimer(timerhandle : *mut super::super::super::Win32::Foundation:: HANDLE, desiredaccess : u32, objectattributes : *const super::super::Foundation:: OBJECT_ATTRIBUTES) -> super::super::super::Win32::Foundation:: NTSTATUS);
ZwOpenTimer(timerhandle, desiredaccess, objectattributes).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))]
#[inline]
pub unsafe fn ZwOpenTransaction<P0>(transactionhandle: *mut super::super::super::Win32::Foundation::HANDLE, desiredaccess: u32, objectattributes: ::core::option::Option<*const super::super::Foundation::OBJECT_ATTRIBUTES>, uow: *const ::windows_core::GUID, tmhandle: P0) -> ::windows_core::Result<()>
where
P0: ::windows_core::IntoParam<super::super::super::Win32::Foundation::HANDLE>,
{
::windows_targets::link!("ntdll.dll" "system" fn ZwOpenTransaction(transactionhandle : *mut super::super::super::Win32::Foundation:: HANDLE, desiredaccess : u32, objectattributes : *const super::super::Foundation:: OBJECT_ATTRIBUTES, uow : *const ::windows_core::GUID, tmhandle : super::super::super::Win32::Foundation:: HANDLE) -> super::super::super::Win32::Foundation:: NTSTATUS);
ZwOpenTransaction(transactionhandle, desiredaccess, ::core::mem::transmute(objectattributes.unwrap_or(::std::ptr::null())), uow, tmhandle.into_param().abi()).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))]
#[inline]
pub unsafe fn ZwOpenTransactionManager(tmhandle: *mut super::super::super::Win32::Foundation::HANDLE, desiredaccess: u32, objectattributes: ::core::option::Option<*const super::super::Foundation::OBJECT_ATTRIBUTES>, logfilename: ::core::option::Option<*const super::super::super::Win32::Foundation::UNICODE_STRING>, tmidentity: ::core::option::Option<*const ::windows_core::GUID>, openoptions: u32) -> ::windows_core::Result<()> {
::windows_targets::link!("ntdll.dll" "system" fn ZwOpenTransactionManager(tmhandle : *mut super::super::super::Win32::Foundation:: HANDLE, desiredaccess : u32, objectattributes : *const super::super::Foundation:: OBJECT_ATTRIBUTES, logfilename : *const super::super::super::Win32::Foundation:: UNICODE_STRING, tmidentity : *const ::windows_core::GUID, openoptions : u32) -> super::super::super::Win32::Foundation:: NTSTATUS);
ZwOpenTransactionManager(tmhandle, desiredaccess, ::core::mem::transmute(objectattributes.unwrap_or(::std::ptr::null())), ::core::mem::transmute(logfilename.unwrap_or(::std::ptr::null())), ::core::mem::transmute(tmidentity.unwrap_or(::std::ptr::null())), openoptions).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Power\"`*"]
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Power"))]
#[inline]
pub unsafe fn ZwPowerInformation(informationlevel: super::super::super::Win32::System::Power::POWER_INFORMATION_LEVEL, inputbuffer: ::core::option::Option<*const ::core::ffi::c_void>, inputbufferlength: u32, outputbuffer: ::core::option::Option<*mut ::core::ffi::c_void>, outputbufferlength: u32) -> ::windows_core::Result<()> {
::windows_targets::link!("ntdll.dll" "system" fn ZwPowerInformation(informationlevel : super::super::super::Win32::System::Power:: POWER_INFORMATION_LEVEL, inputbuffer : *const ::core::ffi::c_void, inputbufferlength : u32, outputbuffer : *mut ::core::ffi::c_void, outputbufferlength : u32) -> super::super::super::Win32::Foundation:: NTSTATUS);
ZwPowerInformation(informationlevel, ::core::mem::transmute(inputbuffer.unwrap_or(::std::ptr::null())), inputbufferlength, ::core::mem::transmute(outputbuffer.unwrap_or(::std::ptr::null_mut())), outputbufferlength).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn ZwPrePrepareComplete<P0>(enlistmenthandle: P0, tmvirtualclock: ::core::option::Option<*const i64>) -> ::windows_core::Result<()>
where
P0: ::windows_core::IntoParam<super::super::super::Win32::Foundation::HANDLE>,
{
::windows_targets::link!("ntdll.dll" "system" fn ZwPrePrepareComplete(enlistmenthandle : super::super::super::Win32::Foundation:: HANDLE, tmvirtualclock : *const i64) -> super::super::super::Win32::Foundation:: NTSTATUS);
ZwPrePrepareComplete(enlistmenthandle.into_param().abi(), ::core::mem::transmute(tmvirtualclock.unwrap_or(::std::ptr::null()))).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn ZwPrePrepareEnlistment<P0>(enlistmenthandle: P0, tmvirtualclock: ::core::option::Option<*const i64>) -> ::windows_core::Result<()>
where
P0: ::windows_core::IntoParam<super::super::super::Win32::Foundation::HANDLE>,
{
::windows_targets::link!("ntdll.dll" "system" fn ZwPrePrepareEnlistment(enlistmenthandle : super::super::super::Win32::Foundation:: HANDLE, tmvirtualclock : *const i64) -> super::super::super::Win32::Foundation:: NTSTATUS);
ZwPrePrepareEnlistment(enlistmenthandle.into_param().abi(), ::core::mem::transmute(tmvirtualclock.unwrap_or(::std::ptr::null()))).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn ZwPrepareComplete<P0>(enlistmenthandle: P0, tmvirtualclock: ::core::option::Option<*const i64>) -> ::windows_core::Result<()>
where
P0: ::windows_core::IntoParam<super::super::super::Win32::Foundation::HANDLE>,
{
::windows_targets::link!("ntdll.dll" "system" fn ZwPrepareComplete(enlistmenthandle : super::super::super::Win32::Foundation:: HANDLE, tmvirtualclock : *const i64) -> super::super::super::Win32::Foundation:: NTSTATUS);
ZwPrepareComplete(enlistmenthandle.into_param().abi(), ::core::mem::transmute(tmvirtualclock.unwrap_or(::std::ptr::null()))).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn ZwPrepareEnlistment<P0>(enlistmenthandle: P0, tmvirtualclock: ::core::option::Option<*const i64>) -> ::windows_core::Result<()>
where
P0: ::windows_core::IntoParam<super::super::super::Win32::Foundation::HANDLE>,
{
::windows_targets::link!("ntdll.dll" "system" fn ZwPrepareEnlistment(enlistmenthandle : super::super::super::Win32::Foundation:: HANDLE, tmvirtualclock : *const i64) -> super::super::super::Win32::Foundation:: NTSTATUS);
ZwPrepareEnlistment(enlistmenthandle.into_param().abi(), ::core::mem::transmute(tmvirtualclock.unwrap_or(::std::ptr::null()))).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation", feature = "Win32_System_IO", feature = "Win32_System_WindowsProgramming"))]
#[inline]
pub unsafe fn ZwQueryInformationByName(objectattributes: *const super::super::Foundation::OBJECT_ATTRIBUTES, iostatusblock: *mut super::super::super::Win32::System::IO::IO_STATUS_BLOCK, fileinformation: *mut ::core::ffi::c_void, length: u32, fileinformationclass: super::super::super::Win32::System::WindowsProgramming::FILE_INFORMATION_CLASS) -> ::windows_core::Result<()> {
::windows_targets::link!("ntdll.dll" "system" fn ZwQueryInformationByName(objectattributes : *const super::super::Foundation:: OBJECT_ATTRIBUTES, iostatusblock : *mut super::super::super::Win32::System::IO:: IO_STATUS_BLOCK, fileinformation : *mut ::core::ffi::c_void, length : u32, fileinformationclass : super::super::super::Win32::System::WindowsProgramming:: FILE_INFORMATION_CLASS) -> super::super::super::Win32::Foundation:: NTSTATUS);
ZwQueryInformationByName(objectattributes, iostatusblock, fileinformation, length, fileinformationclass).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_SystemServices\"`*"]
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_SystemServices"))]
#[inline]
pub unsafe fn ZwQueryInformationEnlistment<P0>(enlistmenthandle: P0, enlistmentinformationclass: super::super::super::Win32::System::SystemServices::ENLISTMENT_INFORMATION_CLASS, enlistmentinformation: *mut ::core::ffi::c_void, enlistmentinformationlength: u32, returnlength: ::core::option::Option<*mut u32>) -> ::windows_core::Result<()>
where
P0: ::windows_core::IntoParam<super::super::super::Win32::Foundation::HANDLE>,
{
::windows_targets::link!("ntdll.dll" "system" fn ZwQueryInformationEnlistment(enlistmenthandle : super::super::super::Win32::Foundation:: HANDLE, enlistmentinformationclass : super::super::super::Win32::System::SystemServices:: ENLISTMENT_INFORMATION_CLASS, enlistmentinformation : *mut ::core::ffi::c_void, enlistmentinformationlength : u32, returnlength : *mut u32) -> super::super::super::Win32::Foundation:: NTSTATUS);
ZwQueryInformationEnlistment(enlistmenthandle.into_param().abi(), enlistmentinformationclass, enlistmentinformation, enlistmentinformationlength, ::core::mem::transmute(returnlength.unwrap_or(::std::ptr::null_mut()))).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO", feature = "Win32_System_WindowsProgramming"))]
#[inline]
pub unsafe fn ZwQueryInformationFile<P0>(filehandle: P0, iostatusblock: *mut super::super::super::Win32::System::IO::IO_STATUS_BLOCK, fileinformation: *mut ::core::ffi::c_void, length: u32, fileinformationclass: super::super::super::Win32::System::WindowsProgramming::FILE_INFORMATION_CLASS) -> ::windows_core::Result<()>
where
P0: ::windows_core::IntoParam<super::super::super::Win32::Foundation::HANDLE>,
{
::windows_targets::link!("ntdll.dll" "system" fn ZwQueryInformationFile(filehandle : super::super::super::Win32::Foundation:: HANDLE, iostatusblock : *mut super::super::super::Win32::System::IO:: IO_STATUS_BLOCK, fileinformation : *mut ::core::ffi::c_void, length : u32, fileinformationclass : super::super::super::Win32::System::WindowsProgramming:: FILE_INFORMATION_CLASS) -> super::super::super::Win32::Foundation:: NTSTATUS);
ZwQueryInformationFile(filehandle.into_param().abi(), iostatusblock, fileinformation, length, fileinformationclass).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_SystemServices\"`*"]
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_SystemServices"))]
#[inline]
pub unsafe fn ZwQueryInformationResourceManager<P0>(resourcemanagerhandle: P0, resourcemanagerinformationclass: super::super::super::Win32::System::SystemServices::RESOURCEMANAGER_INFORMATION_CLASS, resourcemanagerinformation: *mut ::core::ffi::c_void, resourcemanagerinformationlength: u32, returnlength: ::core::option::Option<*mut u32>) -> ::windows_core::Result<()>
where
P0: ::windows_core::IntoParam<super::super::super::Win32::Foundation::HANDLE>,
{
::windows_targets::link!("ntdll.dll" "system" fn ZwQueryInformationResourceManager(resourcemanagerhandle : super::super::super::Win32::Foundation:: HANDLE, resourcemanagerinformationclass : super::super::super::Win32::System::SystemServices:: RESOURCEMANAGER_INFORMATION_CLASS, resourcemanagerinformation : *mut ::core::ffi::c_void, resourcemanagerinformationlength : u32, returnlength : *mut u32) -> super::super::super::Win32::Foundation:: NTSTATUS);
ZwQueryInformationResourceManager(resourcemanagerhandle.into_param().abi(), resourcemanagerinformationclass, resourcemanagerinformation, resourcemanagerinformationlength, ::core::mem::transmute(returnlength.unwrap_or(::std::ptr::null_mut()))).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_SystemServices\"`*"]
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_SystemServices"))]
#[inline]
pub unsafe fn ZwQueryInformationTransaction<P0>(transactionhandle: P0, transactioninformationclass: super::super::super::Win32::System::SystemServices::TRANSACTION_INFORMATION_CLASS, transactioninformation: *mut ::core::ffi::c_void, transactioninformationlength: u32, returnlength: ::core::option::Option<*mut u32>) -> ::windows_core::Result<()>
where
P0: ::windows_core::IntoParam<super::super::super::Win32::Foundation::HANDLE>,
{
::windows_targets::link!("ntdll.dll" "system" fn ZwQueryInformationTransaction(transactionhandle : super::super::super::Win32::Foundation:: HANDLE, transactioninformationclass : super::super::super::Win32::System::SystemServices:: TRANSACTION_INFORMATION_CLASS, transactioninformation : *mut ::core::ffi::c_void, transactioninformationlength : u32, returnlength : *mut u32) -> super::super::super::Win32::Foundation:: NTSTATUS);
ZwQueryInformationTransaction(transactionhandle.into_param().abi(), transactioninformationclass, transactioninformation, transactioninformationlength, ::core::mem::transmute(returnlength.unwrap_or(::std::ptr::null_mut()))).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_SystemServices\"`*"]
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_SystemServices"))]
#[inline]
pub unsafe fn ZwQueryInformationTransactionManager<P0>(transactionmanagerhandle: P0, transactionmanagerinformationclass: super::super::super::Win32::System::SystemServices::TRANSACTIONMANAGER_INFORMATION_CLASS, transactionmanagerinformation: *mut ::core::ffi::c_void, transactionmanagerinformationlength: u32, returnlength: ::core::option::Option<*mut u32>) -> ::windows_core::Result<()>
where
P0: ::windows_core::IntoParam<super::super::super::Win32::Foundation::HANDLE>,
{
::windows_targets::link!("ntdll.dll" "system" fn ZwQueryInformationTransactionManager(transactionmanagerhandle : super::super::super::Win32::Foundation:: HANDLE, transactionmanagerinformationclass : super::super::super::Win32::System::SystemServices:: TRANSACTIONMANAGER_INFORMATION_CLASS, transactionmanagerinformation : *mut ::core::ffi::c_void, transactionmanagerinformationlength : u32, returnlength : *mut u32) -> super::super::super::Win32::Foundation:: NTSTATUS);
ZwQueryInformationTransactionManager(transactionmanagerhandle.into_param().abi(), transactionmanagerinformationclass, transactionmanagerinformation, transactionmanagerinformationlength, ::core::mem::transmute(returnlength.unwrap_or(::std::ptr::null_mut()))).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn ZwQueryKey<P0>(keyhandle: P0, keyinformationclass: KEY_INFORMATION_CLASS, keyinformation: ::core::option::Option<*mut ::core::ffi::c_void>, length: u32, resultlength: *mut u32) -> ::windows_core::Result<()>
where
P0: ::windows_core::IntoParam<super::super::super::Win32::Foundation::HANDLE>,
{
::windows_targets::link!("ntdll.dll" "system" fn ZwQueryKey(keyhandle : super::super::super::Win32::Foundation:: HANDLE, keyinformationclass : KEY_INFORMATION_CLASS, keyinformation : *mut ::core::ffi::c_void, length : u32, resultlength : *mut u32) -> super::super::super::Win32::Foundation:: NTSTATUS);
ZwQueryKey(keyhandle.into_param().abi(), keyinformationclass, ::core::mem::transmute(keyinformation.unwrap_or(::std::ptr::null_mut())), length, resultlength).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn ZwQuerySymbolicLinkObject<P0>(linkhandle: P0, linktarget: *mut super::super::super::Win32::Foundation::UNICODE_STRING, returnedlength: ::core::option::Option<*mut u32>) -> ::windows_core::Result<()>
where
P0: ::windows_core::IntoParam<super::super::super::Win32::Foundation::HANDLE>,
{
::windows_targets::link!("ntdll.dll" "system" fn ZwQuerySymbolicLinkObject(linkhandle : super::super::super::Win32::Foundation:: HANDLE, linktarget : *mut super::super::super::Win32::Foundation:: UNICODE_STRING, returnedlength : *mut u32) -> super::super::super::Win32::Foundation:: NTSTATUS);
ZwQuerySymbolicLinkObject(linkhandle.into_param().abi(), linktarget, ::core::mem::transmute(returnedlength.unwrap_or(::std::ptr::null_mut()))).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn ZwQueryValueKey<P0>(keyhandle: P0, valuename: *const super::super::super::Win32::Foundation::UNICODE_STRING, keyvalueinformationclass: KEY_VALUE_INFORMATION_CLASS, keyvalueinformation: ::core::option::Option<*mut ::core::ffi::c_void>, length: u32, resultlength: *mut u32) -> ::windows_core::Result<()>
where
P0: ::windows_core::IntoParam<super::super::super::Win32::Foundation::HANDLE>,
{
::windows_targets::link!("ntdll.dll" "system" fn ZwQueryValueKey(keyhandle : super::super::super::Win32::Foundation:: HANDLE, valuename : *const super::super::super::Win32::Foundation:: UNICODE_STRING, keyvalueinformationclass : KEY_VALUE_INFORMATION_CLASS, keyvalueinformation : *mut ::core::ffi::c_void, length : u32, resultlength : *mut u32) -> super::super::super::Win32::Foundation:: NTSTATUS);
ZwQueryValueKey(keyhandle.into_param().abi(), valuename, keyvalueinformationclass, ::core::mem::transmute(keyvalueinformation.unwrap_or(::std::ptr::null_mut())), length, resultlength).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"]
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))]
#[inline]
pub unsafe fn ZwReadFile<P0, P1>(filehandle: P0, event: P1, apcroutine: super::super::super::Win32::System::IO::PIO_APC_ROUTINE, apccontext: ::core::option::Option<*const ::core::ffi::c_void>, iostatusblock: *mut super::super::super::Win32::System::IO::IO_STATUS_BLOCK, buffer: *mut ::core::ffi::c_void, length: u32, byteoffset: ::core::option::Option<*const i64>, key: ::core::option::Option<*const u32>) -> ::windows_core::Result<()>
where
P0: ::windows_core::IntoParam<super::super::super::Win32::Foundation::HANDLE>,
P1: ::windows_core::IntoParam<super::super::super::Win32::Foundation::HANDLE>,
{
::windows_targets::link!("ntdll.dll" "system" fn ZwReadFile(filehandle : super::super::super::Win32::Foundation:: HANDLE, event : super::super::super::Win32::Foundation:: HANDLE, apcroutine : super::super::super::Win32::System::IO:: PIO_APC_ROUTINE, apccontext : *const ::core::ffi::c_void, iostatusblock : *mut super::super::super::Win32::System::IO:: IO_STATUS_BLOCK, buffer : *mut ::core::ffi::c_void, length : u32, byteoffset : *const i64, key : *const u32) -> super::super::super::Win32::Foundation:: NTSTATUS);
ZwReadFile(filehandle.into_param().abi(), event.into_param().abi(), apcroutine, ::core::mem::transmute(apccontext.unwrap_or(::std::ptr::null())), iostatusblock, buffer, length, ::core::mem::transmute(byteoffset.unwrap_or(::std::ptr::null())), ::core::mem::transmute(key.unwrap_or(::std::ptr::null()))).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn ZwReadOnlyEnlistment<P0>(enlistmenthandle: P0, tmvirtualclock: ::core::option::Option<*const i64>) -> ::windows_core::Result<()>
where
P0: ::windows_core::IntoParam<super::super::super::Win32::Foundation::HANDLE>,
{
::windows_targets::link!("ntdll.dll" "system" fn ZwReadOnlyEnlistment(enlistmenthandle : super::super::super::Win32::Foundation:: HANDLE, tmvirtualclock : *const i64) -> super::super::super::Win32::Foundation:: NTSTATUS);
ZwReadOnlyEnlistment(enlistmenthandle.into_param().abi(), ::core::mem::transmute(tmvirtualclock.unwrap_or(::std::ptr::null()))).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn ZwRecoverEnlistment<P0>(enlistmenthandle: P0, enlistmentkey: ::core::option::Option<*const ::core::ffi::c_void>) -> ::windows_core::Result<()>
where
P0: ::windows_core::IntoParam<super::super::super::Win32::Foundation::HANDLE>,
{
::windows_targets::link!("ntdll.dll" "system" fn ZwRecoverEnlistment(enlistmenthandle : super::super::super::Win32::Foundation:: HANDLE, enlistmentkey : *const ::core::ffi::c_void) -> super::super::super::Win32::Foundation:: NTSTATUS);
ZwRecoverEnlistment(enlistmenthandle.into_param().abi(), ::core::mem::transmute(enlistmentkey.unwrap_or(::std::ptr::null()))).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn ZwRecoverResourceManager<P0>(resourcemanagerhandle: P0) -> ::windows_core::Result<()>
where
P0: ::windows_core::IntoParam<super::super::super::Win32::Foundation::HANDLE>,
{
::windows_targets::link!("ntdll.dll" "system" fn ZwRecoverResourceManager(resourcemanagerhandle : super::super::super::Win32::Foundation:: HANDLE) -> super::super::super::Win32::Foundation:: NTSTATUS);
ZwRecoverResourceManager(resourcemanagerhandle.into_param().abi()).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn ZwRecoverTransactionManager<P0>(transactionmanagerhandle: P0) -> ::windows_core::Result<()>
where
P0: ::windows_core::IntoParam<super::super::super::Win32::Foundation::HANDLE>,
{
::windows_targets::link!("ntdll.dll" "system" fn ZwRecoverTransactionManager(transactionmanagerhandle : super::super::super::Win32::Foundation:: HANDLE) -> super::super::super::Win32::Foundation:: NTSTATUS);
ZwRecoverTransactionManager(transactionmanagerhandle.into_param().abi()).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn ZwRenameKey<P0>(keyhandle: P0, newname: *const super::super::super::Win32::Foundation::UNICODE_STRING) -> ::windows_core::Result<()>
where
P0: ::windows_core::IntoParam<super::super::super::Win32::Foundation::HANDLE>,
{
::windows_targets::link!("ntdll.dll" "system" fn ZwRenameKey(keyhandle : super::super::super::Win32::Foundation:: HANDLE, newname : *const super::super::super::Win32::Foundation:: UNICODE_STRING) -> super::super::super::Win32::Foundation:: NTSTATUS);
ZwRenameKey(keyhandle.into_param().abi(), newname).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn ZwRestoreKey<P0, P1>(keyhandle: P0, filehandle: P1, flags: u32) -> ::windows_core::Result<()>
where
P0: ::windows_core::IntoParam<super::super::super::Win32::Foundation::HANDLE>,
P1: ::windows_core::IntoParam<super::super::super::Win32::Foundation::HANDLE>,
{
::windows_targets::link!("ntdll.dll" "system" fn ZwRestoreKey(keyhandle : super::super::super::Win32::Foundation:: HANDLE, filehandle : super::super::super::Win32::Foundation:: HANDLE, flags : u32) -> super::super::super::Win32::Foundation:: NTSTATUS);
ZwRestoreKey(keyhandle.into_param().abi(), filehandle.into_param().abi(), flags).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn ZwRollbackComplete<P0>(enlistmenthandle: P0, tmvirtualclock: ::core::option::Option<*const i64>) -> ::windows_core::Result<()>
where
P0: ::windows_core::IntoParam<super::super::super::Win32::Foundation::HANDLE>,
{
::windows_targets::link!("ntdll.dll" "system" fn ZwRollbackComplete(enlistmenthandle : super::super::super::Win32::Foundation:: HANDLE, tmvirtualclock : *const i64) -> super::super::super::Win32::Foundation:: NTSTATUS);
ZwRollbackComplete(enlistmenthandle.into_param().abi(), ::core::mem::transmute(tmvirtualclock.unwrap_or(::std::ptr::null()))).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn ZwRollbackEnlistment<P0>(enlistmenthandle: P0, tmvirtualclock: ::core::option::Option<*const i64>) -> ::windows_core::Result<()>
where
P0: ::windows_core::IntoParam<super::super::super::Win32::Foundation::HANDLE>,
{
::windows_targets::link!("ntdll.dll" "system" fn ZwRollbackEnlistment(enlistmenthandle : super::super::super::Win32::Foundation:: HANDLE, tmvirtualclock : *const i64) -> super::super::super::Win32::Foundation:: NTSTATUS);
ZwRollbackEnlistment(enlistmenthandle.into_param().abi(), ::core::mem::transmute(tmvirtualclock.unwrap_or(::std::ptr::null()))).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn ZwRollbackTransaction<P0, P1>(transactionhandle: P0, wait: P1) -> ::windows_core::Result<()>
where
P0: ::windows_core::IntoParam<super::super::super::Win32::Foundation::HANDLE>,
P1: ::windows_core::IntoParam<super::super::super::Win32::Foundation::BOOLEAN>,
{
::windows_targets::link!("ntdll.dll" "system" fn ZwRollbackTransaction(transactionhandle : super::super::super::Win32::Foundation:: HANDLE, wait : super::super::super::Win32::Foundation:: BOOLEAN) -> super::super::super::Win32::Foundation:: NTSTATUS);
ZwRollbackTransaction(transactionhandle.into_param().abi(), wait.into_param().abi()).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn ZwRollforwardTransactionManager<P0>(transactionmanagerhandle: P0, tmvirtualclock: ::core::option::Option<*const i64>) -> ::windows_core::Result<()>
where
P0: ::windows_core::IntoParam<super::super::super::Win32::Foundation::HANDLE>,
{
::windows_targets::link!("ntdll.dll" "system" fn ZwRollforwardTransactionManager(transactionmanagerhandle : super::super::super::Win32::Foundation:: HANDLE, tmvirtualclock : *const i64) -> super::super::super::Win32::Foundation:: NTSTATUS);
ZwRollforwardTransactionManager(transactionmanagerhandle.into_param().abi(), ::core::mem::transmute(tmvirtualclock.unwrap_or(::std::ptr::null()))).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn ZwSaveKey<P0, P1>(keyhandle: P0, filehandle: P1) -> ::windows_core::Result<()>
where
P0: ::windows_core::IntoParam<super::super::super::Win32::Foundation::HANDLE>,
P1: ::windows_core::IntoParam<super::super::super::Win32::Foundation::HANDLE>,
{
::windows_targets::link!("ntdll.dll" "system" fn ZwSaveKey(keyhandle : super::super::super::Win32::Foundation:: HANDLE, filehandle : super::super::super::Win32::Foundation:: HANDLE) -> super::super::super::Win32::Foundation:: NTSTATUS);
ZwSaveKey(keyhandle.into_param().abi(), filehandle.into_param().abi()).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn ZwSaveKeyEx<P0, P1>(keyhandle: P0, filehandle: P1, format: u32) -> ::windows_core::Result<()>
where
P0: ::windows_core::IntoParam<super::super::super::Win32::Foundation::HANDLE>,
P1: ::windows_core::IntoParam<super::super::super::Win32::Foundation::HANDLE>,
{
::windows_targets::link!("ntdll.dll" "system" fn ZwSaveKeyEx(keyhandle : super::super::super::Win32::Foundation:: HANDLE, filehandle : super::super::super::Win32::Foundation:: HANDLE, format : u32) -> super::super::super::Win32::Foundation:: NTSTATUS);
ZwSaveKeyEx(keyhandle.into_param().abi(), filehandle.into_param().abi(), format).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_SystemServices\"`*"]
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_SystemServices"))]
#[inline]
pub unsafe fn ZwSetInformationEnlistment<P0>(enlistmenthandle: P0, enlistmentinformationclass: super::super::super::Win32::System::SystemServices::ENLISTMENT_INFORMATION_CLASS, enlistmentinformation: *const ::core::ffi::c_void, enlistmentinformationlength: u32) -> ::windows_core::Result<()>
where
P0: ::windows_core::IntoParam<super::super::super::Win32::Foundation::HANDLE>,
{
::windows_targets::link!("ntdll.dll" "system" fn ZwSetInformationEnlistment(enlistmenthandle : super::super::super::Win32::Foundation:: HANDLE, enlistmentinformationclass : super::super::super::Win32::System::SystemServices:: ENLISTMENT_INFORMATION_CLASS, enlistmentinformation : *const ::core::ffi::c_void, enlistmentinformationlength : u32) -> super::super::super::Win32::Foundation:: NTSTATUS);
ZwSetInformationEnlistment(enlistmenthandle.into_param().abi(), enlistmentinformationclass, enlistmentinformation, enlistmentinformationlength).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO", feature = "Win32_System_WindowsProgramming"))]
#[inline]
pub unsafe fn ZwSetInformationFile<P0>(filehandle: P0, iostatusblock: *mut super::super::super::Win32::System::IO::IO_STATUS_BLOCK, fileinformation: *const ::core::ffi::c_void, length: u32, fileinformationclass: super::super::super::Win32::System::WindowsProgramming::FILE_INFORMATION_CLASS) -> ::windows_core::Result<()>
where
P0: ::windows_core::IntoParam<super::super::super::Win32::Foundation::HANDLE>,
{
::windows_targets::link!("ntdll.dll" "system" fn ZwSetInformationFile(filehandle : super::super::super::Win32::Foundation:: HANDLE, iostatusblock : *mut super::super::super::Win32::System::IO:: IO_STATUS_BLOCK, fileinformation : *const ::core::ffi::c_void, length : u32, fileinformationclass : super::super::super::Win32::System::WindowsProgramming:: FILE_INFORMATION_CLASS) -> super::super::super::Win32::Foundation:: NTSTATUS);
ZwSetInformationFile(filehandle.into_param().abi(), iostatusblock, fileinformation, length, fileinformationclass).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_SystemServices\"`*"]
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_SystemServices"))]
#[inline]
pub unsafe fn ZwSetInformationResourceManager<P0>(resourcemanagerhandle: P0, resourcemanagerinformationclass: super::super::super::Win32::System::SystemServices::RESOURCEMANAGER_INFORMATION_CLASS, resourcemanagerinformation: *const ::core::ffi::c_void, resourcemanagerinformationlength: u32) -> ::windows_core::Result<()>
where
P0: ::windows_core::IntoParam<super::super::super::Win32::Foundation::HANDLE>,
{
::windows_targets::link!("ntdll.dll" "system" fn ZwSetInformationResourceManager(resourcemanagerhandle : super::super::super::Win32::Foundation:: HANDLE, resourcemanagerinformationclass : super::super::super::Win32::System::SystemServices:: RESOURCEMANAGER_INFORMATION_CLASS, resourcemanagerinformation : *const ::core::ffi::c_void, resourcemanagerinformationlength : u32) -> super::super::super::Win32::Foundation:: NTSTATUS);
ZwSetInformationResourceManager(resourcemanagerhandle.into_param().abi(), resourcemanagerinformationclass, resourcemanagerinformation, resourcemanagerinformationlength).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_SystemServices\"`*"]
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_SystemServices"))]
#[inline]
pub unsafe fn ZwSetInformationTransaction<P0>(transactionhandle: P0, transactioninformationclass: super::super::super::Win32::System::SystemServices::TRANSACTION_INFORMATION_CLASS, transactioninformation: *const ::core::ffi::c_void, transactioninformationlength: u32) -> ::windows_core::Result<()>
where
P0: ::windows_core::IntoParam<super::super::super::Win32::Foundation::HANDLE>,
{
::windows_targets::link!("ntdll.dll" "system" fn ZwSetInformationTransaction(transactionhandle : super::super::super::Win32::Foundation:: HANDLE, transactioninformationclass : super::super::super::Win32::System::SystemServices:: TRANSACTION_INFORMATION_CLASS, transactioninformation : *const ::core::ffi::c_void, transactioninformationlength : u32) -> super::super::super::Win32::Foundation:: NTSTATUS);
ZwSetInformationTransaction(transactionhandle.into_param().abi(), transactioninformationclass, transactioninformation, transactioninformationlength).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_SystemServices\"`*"]
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_SystemServices"))]
#[inline]
pub unsafe fn ZwSetInformationTransactionManager<P0>(tmhandle: P0, transactionmanagerinformationclass: super::super::super::Win32::System::SystemServices::TRANSACTIONMANAGER_INFORMATION_CLASS, transactionmanagerinformation: *const ::core::ffi::c_void, transactionmanagerinformationlength: u32) -> ::windows_core::Result<()>
where
P0: ::windows_core::IntoParam<super::super::super::Win32::Foundation::HANDLE>,
{
::windows_targets::link!("ntdll.dll" "system" fn ZwSetInformationTransactionManager(tmhandle : super::super::super::Win32::Foundation:: HANDLE, transactionmanagerinformationclass : super::super::super::Win32::System::SystemServices:: TRANSACTIONMANAGER_INFORMATION_CLASS, transactionmanagerinformation : *const ::core::ffi::c_void, transactionmanagerinformationlength : u32) -> super::super::super::Win32::Foundation:: NTSTATUS);
ZwSetInformationTransactionManager(tmhandle.into_param().abi(), transactionmanagerinformationclass, transactionmanagerinformation, transactionmanagerinformationlength).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn ZwSetTimer<P0, P1>(timerhandle: P0, duetime: *const i64, timerapcroutine: PTIMER_APC_ROUTINE, timercontext: ::core::option::Option<*const ::core::ffi::c_void>, resumetimer: P1, period: i32, previousstate: ::core::option::Option<*mut super::super::super::Win32::Foundation::BOOLEAN>) -> ::windows_core::Result<()>
where
P0: ::windows_core::IntoParam<super::super::super::Win32::Foundation::HANDLE>,
P1: ::windows_core::IntoParam<super::super::super::Win32::Foundation::BOOLEAN>,
{
::windows_targets::link!("ntdll.dll" "system" fn ZwSetTimer(timerhandle : super::super::super::Win32::Foundation:: HANDLE, duetime : *const i64, timerapcroutine : PTIMER_APC_ROUTINE, timercontext : *const ::core::ffi::c_void, resumetimer : super::super::super::Win32::Foundation:: BOOLEAN, period : i32, previousstate : *mut super::super::super::Win32::Foundation:: BOOLEAN) -> super::super::super::Win32::Foundation:: NTSTATUS);
ZwSetTimer(timerhandle.into_param().abi(), duetime, timerapcroutine, ::core::mem::transmute(timercontext.unwrap_or(::std::ptr::null())), resumetimer.into_param().abi(), period, ::core::mem::transmute(previousstate.unwrap_or(::std::ptr::null_mut()))).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn ZwSetTimerEx<P0>(timerhandle: P0, timersetinformationclass: TIMER_SET_INFORMATION_CLASS, timersetinformation: ::core::option::Option<*mut ::core::ffi::c_void>, timersetinformationlength: u32) -> ::windows_core::Result<()>
where
P0: ::windows_core::IntoParam<super::super::super::Win32::Foundation::HANDLE>,
{
::windows_targets::link!("ntdll.dll" "system" fn ZwSetTimerEx(timerhandle : super::super::super::Win32::Foundation:: HANDLE, timersetinformationclass : TIMER_SET_INFORMATION_CLASS, timersetinformation : *mut ::core::ffi::c_void, timersetinformationlength : u32) -> super::super::super::Win32::Foundation:: NTSTATUS);
ZwSetTimerEx(timerhandle.into_param().abi(), timersetinformationclass, ::core::mem::transmute(timersetinformation.unwrap_or(::std::ptr::null_mut())), timersetinformationlength).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn ZwSetValueKey<P0>(keyhandle: P0, valuename: *const super::super::super::Win32::Foundation::UNICODE_STRING, titleindex: u32, r#type: u32, data: ::core::option::Option<*const ::core::ffi::c_void>, datasize: u32) -> ::windows_core::Result<()>
where
P0: ::windows_core::IntoParam<super::super::super::Win32::Foundation::HANDLE>,
{
::windows_targets::link!("ntdll.dll" "system" fn ZwSetValueKey(keyhandle : super::super::super::Win32::Foundation:: HANDLE, valuename : *const super::super::super::Win32::Foundation:: UNICODE_STRING, titleindex : u32, r#type : u32, data : *const ::core::ffi::c_void, datasize : u32) -> super::super::super::Win32::Foundation:: NTSTATUS);
ZwSetValueKey(keyhandle.into_param().abi(), valuename, titleindex, r#type, ::core::mem::transmute(data.unwrap_or(::std::ptr::null())), datasize).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn ZwSinglePhaseReject<P0>(enlistmenthandle: P0, tmvirtualclock: ::core::option::Option<*const i64>) -> ::windows_core::Result<()>
where
P0: ::windows_core::IntoParam<super::super::super::Win32::Foundation::HANDLE>,
{
::windows_targets::link!("ntdll.dll" "system" fn ZwSinglePhaseReject(enlistmenthandle : super::super::super::Win32::Foundation:: HANDLE, tmvirtualclock : *const i64) -> super::super::super::Win32::Foundation:: NTSTATUS);
ZwSinglePhaseReject(enlistmenthandle.into_param().abi(), ::core::mem::transmute(tmvirtualclock.unwrap_or(::std::ptr::null()))).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn ZwTerminateProcess<P0, P1>(processhandle: P0, exitstatus: P1) -> ::windows_core::Result<()>
where
P0: ::windows_core::IntoParam<super::super::super::Win32::Foundation::HANDLE>,
P1: ::windows_core::IntoParam<super::super::super::Win32::Foundation::NTSTATUS>,
{
::windows_targets::link!("ntdll.dll" "system" fn ZwTerminateProcess(processhandle : super::super::super::Win32::Foundation:: HANDLE, exitstatus : super::super::super::Win32::Foundation:: NTSTATUS) -> super::super::super::Win32::Foundation:: NTSTATUS);
ZwTerminateProcess(processhandle.into_param().abi(), exitstatus.into_param().abi()).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn ZwUnloadDriver(driverservicename: *const super::super::super::Win32::Foundation::UNICODE_STRING) -> ::windows_core::Result<()> {
::windows_targets::link!("ntdll.dll" "system" fn ZwUnloadDriver(driverservicename : *const super::super::super::Win32::Foundation:: UNICODE_STRING) -> super::super::super::Win32::Foundation:: NTSTATUS);
ZwUnloadDriver(driverservicename).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
#[inline]
pub unsafe fn ZwUnmapViewOfSection<P0>(processhandle: P0, baseaddress: ::core::option::Option<*const ::core::ffi::c_void>) -> ::windows_core::Result<()>
where
P0: ::windows_core::IntoParam<super::super::super::Win32::Foundation::HANDLE>,
{
::windows_targets::link!("ntdll.dll" "system" fn ZwUnmapViewOfSection(processhandle : super::super::super::Win32::Foundation:: HANDLE, baseaddress : *const ::core::ffi::c_void) -> super::super::super::Win32::Foundation:: NTSTATUS);
ZwUnmapViewOfSection(processhandle.into_param().abi(), ::core::mem::transmute(baseaddress.unwrap_or(::std::ptr::null()))).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"]
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))]
#[inline]
pub unsafe fn ZwWriteFile<P0, P1>(filehandle: P0, event: P1, apcroutine: super::super::super::Win32::System::IO::PIO_APC_ROUTINE, apccontext: ::core::option::Option<*const ::core::ffi::c_void>, iostatusblock: *mut super::super::super::Win32::System::IO::IO_STATUS_BLOCK, buffer: *const ::core::ffi::c_void, length: u32, byteoffset: ::core::option::Option<*const i64>, key: ::core::option::Option<*const u32>) -> ::windows_core::Result<()>
where
P0: ::windows_core::IntoParam<super::super::super::Win32::Foundation::HANDLE>,
P1: ::windows_core::IntoParam<super::super::super::Win32::Foundation::HANDLE>,
{
::windows_targets::link!("ntdll.dll" "system" fn ZwWriteFile(filehandle : super::super::super::Win32::Foundation:: HANDLE, event : super::super::super::Win32::Foundation:: HANDLE, apcroutine : super::super::super::Win32::System::IO:: PIO_APC_ROUTINE, apccontext : *const ::core::ffi::c_void, iostatusblock : *mut super::super::super::Win32::System::IO:: IO_STATUS_BLOCK, buffer : *const ::core::ffi::c_void, length : u32, byteoffset : *const i64, key : *const u32) -> super::super::super::Win32::Foundation:: NTSTATUS);
ZwWriteFile(filehandle.into_param().abi(), event.into_param().abi(), apcroutine, ::core::mem::transmute(apccontext.unwrap_or(::std::ptr::null())), iostatusblock, buffer, length, ::core::mem::transmute(byteoffset.unwrap_or(::std::ptr::null())), ::core::mem::transmute(key.unwrap_or(::std::ptr::null()))).ok()
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[inline]
pub unsafe fn vDbgPrintEx<P0>(componentid: u32, level: u32, format: P0, arglist: *const i8) -> u32
where
P0: ::windows_core::IntoParam<::windows_core::PCSTR>,
{
::windows_targets::link!("ntdll.dll" "system" fn vDbgPrintEx(componentid : u32, level : u32, format : ::windows_core::PCSTR, arglist : *const i8) -> u32);
vDbgPrintEx(componentid, level, format.into_param().abi(), arglist)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[inline]
pub unsafe fn vDbgPrintExWithPrefix<P0, P1>(prefix: P0, componentid: u32, level: u32, format: P1, arglist: *const i8) -> u32
where
P0: ::windows_core::IntoParam<::windows_core::PCSTR>,
P1: ::windows_core::IntoParam<::windows_core::PCSTR>,
{
::windows_targets::link!("ntdll.dll" "system" fn vDbgPrintExWithPrefix(prefix : ::windows_core::PCSTR, componentid : u32, level : u32, format : ::windows_core::PCSTR, arglist : *const i8) -> u32);
vDbgPrintExWithPrefix(prefix.into_param().abi(), componentid, level, format.into_param().abi(), arglist)
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const ACPIBus: INTERFACE_TYPE = INTERFACE_TYPE(17i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const ADAPTER_INFO_API_BYPASS: u32 = 2u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const ADAPTER_INFO_SYNCHRONOUS_CALLBACK: u32 = 1u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const ALLOC_DATA_PRAGMA: u32 = 1u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const ALLOC_PRAGMA: u32 = 1u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const ANY_SIZE: u32 = 1u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const APC_LEVEL: u32 = 1u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const ARBITER_FLAG_BOOT_CONFIG: u32 = 1u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const ARBITER_FLAG_OTHER_ENUM: u32 = 4u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const ARBITER_FLAG_ROOT_ENUM: u32 = 2u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const ARBITER_PARTIAL: u32 = 1u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const ARM64_PCR_RESERVED_MASK: u32 = 4095u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const ARM_PROCESSOR_ERROR_SECTION_GUID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe19e3d16_bc11_11e4_9caa_c2051d5d46b0);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const ATS_DEVICE_SVM_OPTOUT: u32 = 1u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const AccessFlagFault: FAULT_INFORMATION_ARM64_TYPE = FAULT_INFORMATION_ARM64_TYPE(5i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const AddressSizeFault: FAULT_INFORMATION_ARM64_TYPE = FAULT_INFORMATION_ARM64_TYPE(1i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const AgpControl: EXTENDED_AGP_REGISTER = EXTENDED_AGP_REGISTER(1i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const AllLoggerHandlesClass: TRACE_INFORMATION_CLASS = TRACE_INFORMATION_CLASS(6i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const AperturePageSize: EXTENDED_AGP_REGISTER = EXTENDED_AGP_REGISTER(3i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const ApertureSize: EXTENDED_AGP_REGISTER = EXTENDED_AGP_REGISTER(2i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const ApicDestinationModeLogicalClustered: HAL_APIC_DESTINATION_MODE = HAL_APIC_DESTINATION_MODE(3i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const ApicDestinationModeLogicalFlat: HAL_APIC_DESTINATION_MODE = HAL_APIC_DESTINATION_MODE(2i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const ApicDestinationModePhysical: HAL_APIC_DESTINATION_MODE = HAL_APIC_DESTINATION_MODE(1i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const ApicDestinationModeUnknown: HAL_APIC_DESTINATION_MODE = HAL_APIC_DESTINATION_MODE(4i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const ArbiterActionAddReserved: ARBITER_ACTION = ARBITER_ACTION(8i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const ArbiterActionBootAllocation: ARBITER_ACTION = ARBITER_ACTION(9i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const ArbiterActionCommitAllocation: ARBITER_ACTION = ARBITER_ACTION(2i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const ArbiterActionQueryAllocatedResources: ARBITER_ACTION = ARBITER_ACTION(4i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const ArbiterActionQueryArbitrate: ARBITER_ACTION = ARBITER_ACTION(7i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const ArbiterActionQueryConflict: ARBITER_ACTION = ARBITER_ACTION(6i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const ArbiterActionRetestAllocation: ARBITER_ACTION = ARBITER_ACTION(1i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const ArbiterActionRollbackAllocation: ARBITER_ACTION = ARBITER_ACTION(3i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const ArbiterActionTestAllocation: ARBITER_ACTION = ARBITER_ACTION(0i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const ArbiterActionWriteReservedResources: ARBITER_ACTION = ARBITER_ACTION(5i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const ArbiterRequestHalReported: ARBITER_REQUEST_SOURCE = ARBITER_REQUEST_SOURCE(1i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const ArbiterRequestLegacyAssigned: ARBITER_REQUEST_SOURCE = ARBITER_REQUEST_SOURCE(2i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const ArbiterRequestLegacyReported: ARBITER_REQUEST_SOURCE = ARBITER_REQUEST_SOURCE(0i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const ArbiterRequestPnpDetected: ARBITER_REQUEST_SOURCE = ARBITER_REQUEST_SOURCE(3i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const ArbiterRequestPnpEnumerated: ARBITER_REQUEST_SOURCE = ARBITER_REQUEST_SOURCE(4i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const ArbiterRequestUndefined: ARBITER_REQUEST_SOURCE = ARBITER_REQUEST_SOURCE(-1i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const ArbiterResultExternalConflict: ARBITER_RESULT = ARBITER_RESULT(1i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const ArbiterResultNullRequest: ARBITER_RESULT = ARBITER_RESULT(2i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const ArbiterResultSuccess: ARBITER_RESULT = ARBITER_RESULT(0i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const ArbiterResultUndefined: ARBITER_RESULT = ARBITER_RESULT(-1i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const ArcSystem: CONFIGURATION_TYPE = CONFIGURATION_TYPE(0i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const AssignSecurityDescriptor: SECURITY_OPERATION_CODE = SECURITY_OPERATION_CODE(3i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const AudioController: CONFIGURATION_TYPE = CONFIGURATION_TYPE(23i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const BMC_NOTIFY_TYPE_GUID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x487565ba_6494_4367_95ca_4eff893522f6);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const BOOT_NOTIFY_TYPE_GUID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3d61a466_ab40_409a_a698_f362d464b38f);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const BackgroundWorkQueue: WORK_QUEUE_TYPE = WORK_QUEUE_TYPE(4i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const BdCbClassificationEnd: BDCB_CLASSIFICATION = BDCB_CLASSIFICATION(4i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const BdCbClassificationKnownBadImage: BDCB_CLASSIFICATION = BDCB_CLASSIFICATION(2i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const BdCbClassificationKnownBadImageBootCritical: BDCB_CLASSIFICATION = BDCB_CLASSIFICATION(3i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const BdCbClassificationKnownGoodImage: BDCB_CLASSIFICATION = BDCB_CLASSIFICATION(1i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const BdCbClassificationUnknownImage: BDCB_CLASSIFICATION = BDCB_CLASSIFICATION(0i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const BdCbInitializeImage: BDCB_CALLBACK_TYPE = BDCB_CALLBACK_TYPE(1i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const BdCbStatusPrepareForDependencyLoad: BDCB_STATUS_UPDATE_TYPE = BDCB_STATUS_UPDATE_TYPE(0i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const BdCbStatusPrepareForDriverLoad: BDCB_STATUS_UPDATE_TYPE = BDCB_STATUS_UPDATE_TYPE(1i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const BdCbStatusPrepareForUnload: BDCB_STATUS_UPDATE_TYPE = BDCB_STATUS_UPDATE_TYPE(2i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const BdCbStatusUpdate: BDCB_CALLBACK_TYPE = BDCB_CALLBACK_TYPE(0i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const BoundExceptionContinueSearch: BOUND_CALLBACK_STATUS = BOUND_CALLBACK_STATUS(0i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const BoundExceptionError: BOUND_CALLBACK_STATUS = BOUND_CALLBACK_STATUS(2i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const BoundExceptionHandled: BOUND_CALLBACK_STATUS = BOUND_CALLBACK_STATUS(1i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const BoundExceptionMaximum: BOUND_CALLBACK_STATUS = BOUND_CALLBACK_STATUS(3i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const BufferEmpty: KBUGCHECK_BUFFER_DUMP_STATE = KBUGCHECK_BUFFER_DUMP_STATE(0i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const BufferFinished: KBUGCHECK_BUFFER_DUMP_STATE = KBUGCHECK_BUFFER_DUMP_STATE(3i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const BufferIncomplete: KBUGCHECK_BUFFER_DUMP_STATE = KBUGCHECK_BUFFER_DUMP_STATE(4i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const BufferInserted: KBUGCHECK_BUFFER_DUMP_STATE = KBUGCHECK_BUFFER_DUMP_STATE(1i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const BufferStarted: KBUGCHECK_BUFFER_DUMP_STATE = KBUGCHECK_BUFFER_DUMP_STATE(2i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const BusQueryCompatibleIDs: BUS_QUERY_ID_TYPE = BUS_QUERY_ID_TYPE(2i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const BusQueryContainerID: BUS_QUERY_ID_TYPE = BUS_QUERY_ID_TYPE(5i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const BusQueryDeviceID: BUS_QUERY_ID_TYPE = BUS_QUERY_ID_TYPE(0i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const BusQueryDeviceSerialNumber: BUS_QUERY_ID_TYPE = BUS_QUERY_ID_TYPE(4i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const BusQueryHardwareIDs: BUS_QUERY_ID_TYPE = BUS_QUERY_ID_TYPE(1i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const BusQueryInstanceID: BUS_QUERY_ID_TYPE = BUS_QUERY_ID_TYPE(3i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const BusRelations: DEVICE_RELATION_TYPE = DEVICE_RELATION_TYPE(0i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const BusWidth32Bits: PCI_BUS_WIDTH = PCI_BUS_WIDTH(0i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const BusWidth64Bits: PCI_BUS_WIDTH = PCI_BUS_WIDTH(1i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const CBus: INTERFACE_TYPE = INTERFACE_TYPE(9i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const CLFS_MAX_CONTAINER_INFO: u32 = 256u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const CLFS_SCAN_BACKWARD: u8 = 4u8;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const CLFS_SCAN_BUFFERED: u8 = 32u8;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const CLFS_SCAN_CLOSE: u8 = 8u8;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const CLFS_SCAN_FORWARD: u8 = 2u8;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const CLFS_SCAN_INIT: u8 = 1u8;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const CLFS_SCAN_INITIALIZED: u8 = 16u8;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const CLOCK1_LEVEL: u32 = 28u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const CLOCK2_LEVEL: u32 = 28u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const CLOCK_LEVEL: u32 = 28u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const CMCI_LEVEL: u32 = 5u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const CMCI_NOTIFY_TYPE_GUID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x919448b2_3739_4b7f_a8f1_e0062805c2a3);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const CMC_NOTIFY_TYPE_GUID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x2dce8bb1_bdd7_450e_b9ad_9cf4ebd4f890);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const CM_RESOURCE_CONNECTION_CLASS_FUNCTION_CONFIG: u32 = 3u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const CM_RESOURCE_CONNECTION_CLASS_GPIO: u32 = 1u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const CM_RESOURCE_CONNECTION_CLASS_SERIAL: u32 = 2u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const CM_RESOURCE_CONNECTION_TYPE_FUNCTION_CONFIG: u32 = 1u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const CM_RESOURCE_CONNECTION_TYPE_GPIO_IO: u32 = 2u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const CM_RESOURCE_CONNECTION_TYPE_SERIAL_I2C: u32 = 1u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const CM_RESOURCE_CONNECTION_TYPE_SERIAL_SPI: u32 = 2u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const CM_RESOURCE_CONNECTION_TYPE_SERIAL_UART: u32 = 3u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const CM_RESOURCE_DMA_16: u32 = 1u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const CM_RESOURCE_DMA_32: u32 = 2u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const CM_RESOURCE_DMA_8: u32 = 0u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const CM_RESOURCE_DMA_8_AND_16: u32 = 4u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const CM_RESOURCE_DMA_BUS_MASTER: u32 = 8u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const CM_RESOURCE_DMA_TYPE_A: u32 = 16u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const CM_RESOURCE_DMA_TYPE_B: u32 = 32u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const CM_RESOURCE_DMA_TYPE_F: u32 = 64u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const CM_RESOURCE_DMA_V3: u32 = 128u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const CM_RESOURCE_INTERRUPT_LATCHED: u32 = 1u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const CM_RESOURCE_INTERRUPT_LEVEL_LATCHED_BITS: u32 = 1u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const CM_RESOURCE_INTERRUPT_LEVEL_SENSITIVE: u32 = 0u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const CM_RESOURCE_INTERRUPT_MESSAGE: u32 = 2u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const CM_RESOURCE_INTERRUPT_POLICY_INCLUDED: u32 = 4u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const CM_RESOURCE_INTERRUPT_SECONDARY_INTERRUPT: u32 = 16u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const CM_RESOURCE_INTERRUPT_WAKE_HINT: u32 = 32u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const CM_RESOURCE_MEMORY_24: u32 = 16u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const CM_RESOURCE_MEMORY_BAR: u32 = 128u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const CM_RESOURCE_MEMORY_CACHEABLE: u32 = 32u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const CM_RESOURCE_MEMORY_COMBINEDWRITE: u32 = 8u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const CM_RESOURCE_MEMORY_COMPAT_FOR_INACCESSIBLE_RANGE: u32 = 256u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const CM_RESOURCE_MEMORY_LARGE: u32 = 3584u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const CM_RESOURCE_MEMORY_LARGE_40: u32 = 512u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const CM_RESOURCE_MEMORY_LARGE_40_MAXLEN: u64 = 1099511627520u64;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const CM_RESOURCE_MEMORY_LARGE_48: u32 = 1024u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const CM_RESOURCE_MEMORY_LARGE_48_MAXLEN: u64 = 281474976645120u64;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const CM_RESOURCE_MEMORY_LARGE_64: u32 = 2048u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const CM_RESOURCE_MEMORY_LARGE_64_MAXLEN: u64 = 18446744069414584320u64;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const CM_RESOURCE_MEMORY_PREFETCHABLE: u32 = 4u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const CM_RESOURCE_MEMORY_READ_ONLY: u32 = 1u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const CM_RESOURCE_MEMORY_READ_WRITE: u32 = 0u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const CM_RESOURCE_MEMORY_WINDOW_DECODE: u32 = 64u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const CM_RESOURCE_MEMORY_WRITEABILITY_MASK: u32 = 3u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const CM_RESOURCE_MEMORY_WRITE_ONLY: u32 = 2u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const CM_RESOURCE_PORT_10_BIT_DECODE: u32 = 4u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const CM_RESOURCE_PORT_12_BIT_DECODE: u32 = 8u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const CM_RESOURCE_PORT_16_BIT_DECODE: u32 = 16u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const CM_RESOURCE_PORT_BAR: u32 = 256u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const CM_RESOURCE_PORT_IO: u32 = 1u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const CM_RESOURCE_PORT_MEMORY: u32 = 0u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const CM_RESOURCE_PORT_PASSIVE_DECODE: u32 = 64u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const CM_RESOURCE_PORT_POSITIVE_DECODE: u32 = 32u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const CM_RESOURCE_PORT_WINDOW_DECODE: u32 = 128u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const CM_SERVICE_MEASURED_BOOT_LOAD: u32 = 32u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const CONNECT_CURRENT_VERSION: u32 = 5u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const CONNECT_FULLY_SPECIFIED: u32 = 1u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const CONNECT_FULLY_SPECIFIED_GROUP: u32 = 4u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const CONNECT_LINE_BASED: u32 = 2u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const CONNECT_MESSAGE_BASED: u32 = 3u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const CONNECT_MESSAGE_BASED_PASSIVE: u32 = 5u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const CP15_PCR_RESERVED_MASK: u32 = 4095u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const CPER_EMPTY_GUID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x00000000_0000_0000_0000_000000000000);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const CPE_NOTIFY_TYPE_GUID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x4e292f96_d843_4a55_a8c2_d481f27ebeee);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const CP_GET_ERROR: u32 = 2u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const CP_GET_NODATA: u32 = 1u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const CP_GET_SUCCESS: u32 = 0u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const CardPresent: PCI_EXPRESS_CARD_PRESENCE = PCI_EXPRESS_CARD_PRESENCE(1i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const CbusConfiguration: BUS_DATA_TYPE = BUS_DATA_TYPE(3i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const CdromController: CONFIGURATION_TYPE = CONFIGURATION_TYPE(15i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const CentralProcessor: CONFIGURATION_TYPE = CONFIGURATION_TYPE(1i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const ClfsClientRecord: u8 = 3u8;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const ClfsContainerActive: u32 = 4u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const ClfsContainerActivePendingDelete: u32 = 8u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const ClfsContainerInactive: u32 = 2u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const ClfsContainerInitializing: u32 = 1u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const ClfsContainerPendingArchive: u32 = 16u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const ClfsContainerPendingArchiveAndDelete: u32 = 32u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const ClfsDataRecord: u8 = 1u8;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const ClfsNullRecord: u8 = 0u8;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const ClfsRestartRecord: u8 = 2u8;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const ClsContainerActive: u32 = 4u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const ClsContainerActivePendingDelete: u32 = 8u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const ClsContainerInactive: u32 = 2u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const ClsContainerInitializing: u32 = 1u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const ClsContainerPendingArchive: u32 = 16u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const ClsContainerPendingArchiveAndDelete: u32 = 32u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const CmResourceShareDeviceExclusive: CM_SHARE_DISPOSITION = CM_SHARE_DISPOSITION(1i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const CmResourceShareDriverExclusive: CM_SHARE_DISPOSITION = CM_SHARE_DISPOSITION(2i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const CmResourceShareShared: CM_SHARE_DISPOSITION = CM_SHARE_DISPOSITION(3i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const CmResourceShareUndetermined: CM_SHARE_DISPOSITION = CM_SHARE_DISPOSITION(0i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const CmResourceTypeBusNumber: u32 = 6u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const CmResourceTypeConfigData: u32 = 128u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const CmResourceTypeConnection: u32 = 132u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const CmResourceTypeDevicePrivate: u32 = 129u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const CmResourceTypeDeviceSpecific: u32 = 5u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const CmResourceTypeDma: u32 = 4u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const CmResourceTypeInterrupt: u32 = 2u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const CmResourceTypeMaximum: u32 = 8u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const CmResourceTypeMemory: u32 = 3u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const CmResourceTypeMemoryLarge: u32 = 7u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const CmResourceTypeMfCardConfig: u32 = 131u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const CmResourceTypeNonArbitrated: u32 = 128u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const CmResourceTypeNull: u32 = 0u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const CmResourceTypePcCardConfig: u32 = 130u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const CmResourceTypePort: u32 = 1u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const Cmos: BUS_DATA_TYPE = BUS_DATA_TYPE(0i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const CommonBufferConfigTypeHardwareAccessPermissions: DMA_COMMON_BUFFER_EXTENDED_CONFIGURATION_TYPE = DMA_COMMON_BUFFER_EXTENDED_CONFIGURATION_TYPE(2i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const CommonBufferConfigTypeLogicalAddressLimits: DMA_COMMON_BUFFER_EXTENDED_CONFIGURATION_TYPE = DMA_COMMON_BUFFER_EXTENDED_CONFIGURATION_TYPE(0i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const CommonBufferConfigTypeMax: DMA_COMMON_BUFFER_EXTENDED_CONFIGURATION_TYPE = DMA_COMMON_BUFFER_EXTENDED_CONFIGURATION_TYPE(3i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const CommonBufferConfigTypeSubSection: DMA_COMMON_BUFFER_EXTENDED_CONFIGURATION_TYPE = DMA_COMMON_BUFFER_EXTENDED_CONFIGURATION_TYPE(1i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const CommonBufferHardwareAccessMax: DMA_COMMON_BUFFER_EXTENDED_CONFIGURATION_ACCESS_TYPE = DMA_COMMON_BUFFER_EXTENDED_CONFIGURATION_ACCESS_TYPE(3i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const CommonBufferHardwareAccessReadOnly: DMA_COMMON_BUFFER_EXTENDED_CONFIGURATION_ACCESS_TYPE = DMA_COMMON_BUFFER_EXTENDED_CONFIGURATION_ACCESS_TYPE(0i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const CommonBufferHardwareAccessReadWrite: DMA_COMMON_BUFFER_EXTENDED_CONFIGURATION_ACCESS_TYPE = DMA_COMMON_BUFFER_EXTENDED_CONFIGURATION_ACCESS_TYPE(2i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const CommonBufferHardwareAccessWriteOnly: DMA_COMMON_BUFFER_EXTENDED_CONFIGURATION_ACCESS_TYPE = DMA_COMMON_BUFFER_EXTENDED_CONFIGURATION_ACCESS_TYPE(1i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const Compatible: DMA_SPEED = DMA_SPEED(0i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const ConfigurationSpaceUndefined: BUS_DATA_TYPE = BUS_DATA_TYPE(-1i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const ContinueCompletion: IO_COMPLETION_ROUTINE_RESULT = IO_COMPLETION_ROUTINE_RESULT(0i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const CreateFileTypeMailslot: CREATE_FILE_TYPE = CREATE_FILE_TYPE(2i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const CreateFileTypeNamedPipe: CREATE_FILE_TYPE = CREATE_FILE_TYPE(1i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const CreateFileTypeNone: CREATE_FILE_TYPE = CREATE_FILE_TYPE(0i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const CriticalWorkQueue: WORK_QUEUE_TYPE = WORK_QUEUE_TYPE(0i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const CustomPriorityWorkQueue: WORK_QUEUE_TYPE = WORK_QUEUE_TYPE(32i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const D3COLD_SUPPORT_INTERFACE_VERSION: u32 = 1u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const DBG_DEVICE_FLAG_BARS_MAPPED: u32 = 2u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const DBG_DEVICE_FLAG_HAL_SCRATCH_ALLOCATED: u32 = 1u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const DBG_DEVICE_FLAG_HOST_VISIBLE_ALLOCATED: u32 = 32u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const DBG_DEVICE_FLAG_SCRATCH_ALLOCATED: u32 = 4u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const DBG_DEVICE_FLAG_SYNTHETIC: u32 = 16u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const DBG_DEVICE_FLAG_UNCACHED_MEMORY: u32 = 8u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const DBG_STATUS_BUGCHECK_FIRST: u32 = 3u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const DBG_STATUS_BUGCHECK_SECOND: u32 = 4u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const DBG_STATUS_CONTROL_C: u32 = 1u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const DBG_STATUS_DEBUG_CONTROL: u32 = 6u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const DBG_STATUS_FATAL: u32 = 5u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const DBG_STATUS_SYSRQ: u32 = 2u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const DBG_STATUS_WORKER: u32 = 7u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const DEFAULT_DEVICE_DRIVER_CREATOR_GUID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x57217c8d_5e66_44fb_8033_9b74cacedf5b);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const DEVICE_DESCRIPTION_VERSION: u32 = 0u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const DEVICE_DESCRIPTION_VERSION1: u32 = 1u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const DEVICE_DESCRIPTION_VERSION2: u32 = 2u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const DEVICE_DESCRIPTION_VERSION3: u32 = 3u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const DEVICE_DRIVER_NOTIFY_TYPE_GUID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0033f803_2e70_4e88_992c_6f26daf3db7a);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const DEVICE_INTERFACE_INCLUDE_NONACTIVE: u32 = 1u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const DEVICE_RESET_INTERFACE_VERSION: u32 = 1u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const DEVICE_RESET_INTERFACE_VERSION_1: u32 = 1u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const DEVICE_RESET_INTERFACE_VERSION_2: u32 = 2u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const DEVICE_RESET_INTERFACE_VERSION_3: u32 = 3u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const DIRECTORY_CREATE_OBJECT: u32 = 4u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const DIRECTORY_CREATE_SUBDIRECTORY: u32 = 8u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const DIRECTORY_QUERY: u32 = 1u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const DIRECTORY_TRAVERSE: u32 = 2u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const DISPATCH_LEVEL: u32 = 2u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const DMAV3_TRANFER_WIDTH_128: u32 = 4u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const DMAV3_TRANFER_WIDTH_16: u32 = 1u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const DMAV3_TRANFER_WIDTH_256: u32 = 5u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const DMAV3_TRANFER_WIDTH_32: u32 = 2u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const DMAV3_TRANFER_WIDTH_64: u32 = 3u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const DMAV3_TRANFER_WIDTH_8: u32 = 0u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const DMA_ADAPTER_INFO_VERSION1: u32 = 1u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const DMA_FAIL_ON_BOUNCE: u32 = 4u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const DMA_IOMMU_INTERFACE_EX_VERSION: u32 = 1u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const DMA_IOMMU_INTERFACE_EX_VERSION_1: u32 = 1u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const DMA_IOMMU_INTERFACE_EX_VERSION_2: u32 = 2u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const DMA_IOMMU_INTERFACE_EX_VERSION_MAX: u32 = 2u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const DMA_IOMMU_INTERFACE_EX_VERSION_MIN: u32 = 1u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const DMA_IOMMU_INTERFACE_VERSION: u32 = 1u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const DMA_IOMMU_INTERFACE_VERSION_1: u32 = 1u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const DMA_SYNCHRONOUS_CALLBACK: u32 = 1u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const DMA_TRANSFER_CONTEXT_SIZE_V1: u32 = 128u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const DMA_TRANSFER_CONTEXT_VERSION1: u32 = 1u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const DMA_TRANSFER_INFO_VERSION1: u32 = 1u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const DMA_TRANSFER_INFO_VERSION2: u32 = 2u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const DMA_ZERO_BUFFERS: u32 = 2u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const DOMAIN_COMMON_BUFFER_LARGE_PAGE: u32 = 1u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const DPC_NORMAL: u32 = 0u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const DPC_THREADED: u32 = 1u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const DPC_WATCHDOG_GLOBAL_TRIAGE_BLOCK_REVISION_1: u32 = 1u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const DPC_WATCHDOG_GLOBAL_TRIAGE_BLOCK_SIGNATURE: u32 = 2931740382u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const DRIVER_VERIFIER_FORCE_IRQL_CHECKING: u32 = 2u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const DRIVER_VERIFIER_INJECT_ALLOCATION_FAILURES: u32 = 4u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const DRIVER_VERIFIER_IO_CHECKING: u32 = 16u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const DRIVER_VERIFIER_SPECIAL_POOLING: u32 = 1u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const DRIVER_VERIFIER_TRACK_POOL_ALLOCATIONS: u32 = 8u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const DRS_LEVEL: u32 = 14u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const DRVO_BOOTREINIT_REGISTERED: u32 = 32u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const DRVO_BUILTIN_DRIVER: u32 = 4u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const DRVO_INITIALIZED: u32 = 16u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const DRVO_LEGACY_DRIVER: u32 = 2u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const DRVO_LEGACY_RESOURCES: u32 = 64u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const DRVO_REINIT_REGISTERED: u32 = 8u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const DRVO_UNLOAD_INVOKED: u32 = 1u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const DUPLICATE_SAME_ATTRIBUTES: u32 = 4u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const DeallocateObject: IO_ALLOCATION_ACTION = IO_ALLOCATION_ACTION(2i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const DeallocateObjectKeepRegisters: IO_ALLOCATION_ACTION = IO_ALLOCATION_ACTION(3i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const DelayExecution: KWAIT_REASON = KWAIT_REASON(4i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const DelayedWorkQueue: WORK_QUEUE_TYPE = WORK_QUEUE_TYPE(1i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const DeleteSecurityDescriptor: SECURITY_OPERATION_CODE = SECURITY_OPERATION_CODE(2i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const DeviceDirectoryData: DEVICE_DIRECTORY_TYPE = DEVICE_DIRECTORY_TYPE(0i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const DevicePowerState: POWER_STATE_TYPE = POWER_STATE_TYPE(1i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const DevicePropertyAddress: DEVICE_REGISTRY_PROPERTY = DEVICE_REGISTRY_PROPERTY(16i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const DevicePropertyAllocatedResources: DEVICE_REGISTRY_PROPERTY = DEVICE_REGISTRY_PROPERTY(21i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const DevicePropertyBootConfiguration: DEVICE_REGISTRY_PROPERTY = DEVICE_REGISTRY_PROPERTY(3i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const DevicePropertyBootConfigurationTranslated: DEVICE_REGISTRY_PROPERTY = DEVICE_REGISTRY_PROPERTY(4i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const DevicePropertyBusNumber: DEVICE_REGISTRY_PROPERTY = DEVICE_REGISTRY_PROPERTY(14i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const DevicePropertyBusTypeGuid: DEVICE_REGISTRY_PROPERTY = DEVICE_REGISTRY_PROPERTY(8204i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const DevicePropertyClassGuid: DEVICE_REGISTRY_PROPERTY = DEVICE_REGISTRY_PROPERTY(4102i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const DevicePropertyClassName: DEVICE_REGISTRY_PROPERTY = DEVICE_REGISTRY_PROPERTY(4101i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const DevicePropertyCompatibleIDs: DEVICE_REGISTRY_PROPERTY = DEVICE_REGISTRY_PROPERTY(16386i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const DevicePropertyContainerID: DEVICE_REGISTRY_PROPERTY = DEVICE_REGISTRY_PROPERTY(4118i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const DevicePropertyDeviceDescription: DEVICE_REGISTRY_PROPERTY = DEVICE_REGISTRY_PROPERTY(4096i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const DevicePropertyDriverKeyName: DEVICE_REGISTRY_PROPERTY = DEVICE_REGISTRY_PROPERTY(4103i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const DevicePropertyEnumeratorName: DEVICE_REGISTRY_PROPERTY = DEVICE_REGISTRY_PROPERTY(4111i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const DevicePropertyFriendlyName: DEVICE_REGISTRY_PROPERTY = DEVICE_REGISTRY_PROPERTY(4105i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const DevicePropertyHardwareID: DEVICE_REGISTRY_PROPERTY = DEVICE_REGISTRY_PROPERTY(16385i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const DevicePropertyInstallState: DEVICE_REGISTRY_PROPERTY = DEVICE_REGISTRY_PROPERTY(18i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const DevicePropertyLegacyBusType: DEVICE_REGISTRY_PROPERTY = DEVICE_REGISTRY_PROPERTY(13i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const DevicePropertyLocationInformation: DEVICE_REGISTRY_PROPERTY = DEVICE_REGISTRY_PROPERTY(4106i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const DevicePropertyManufacturer: DEVICE_REGISTRY_PROPERTY = DEVICE_REGISTRY_PROPERTY(4104i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const DevicePropertyPhysicalDeviceObjectName: DEVICE_REGISTRY_PROPERTY = DEVICE_REGISTRY_PROPERTY(4107i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const DevicePropertyRemovalPolicy: DEVICE_REGISTRY_PROPERTY = DEVICE_REGISTRY_PROPERTY(19i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const DevicePropertyResourceRequirements: DEVICE_REGISTRY_PROPERTY = DEVICE_REGISTRY_PROPERTY(20i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const DevicePropertyUINumber: DEVICE_REGISTRY_PROPERTY = DEVICE_REGISTRY_PROPERTY(17i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const DeviceTextDescription: DEVICE_TEXT_TYPE = DEVICE_TEXT_TYPE(0i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const DeviceTextLocationInformation: DEVICE_TEXT_TYPE = DEVICE_TEXT_TYPE(1i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const DeviceUsageTypeBoot: DEVICE_USAGE_NOTIFICATION_TYPE = DEVICE_USAGE_NOTIFICATION_TYPE(4i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const DeviceUsageTypeDumpFile: DEVICE_USAGE_NOTIFICATION_TYPE = DEVICE_USAGE_NOTIFICATION_TYPE(3i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const DeviceUsageTypeGuestAssigned: DEVICE_USAGE_NOTIFICATION_TYPE = DEVICE_USAGE_NOTIFICATION_TYPE(6i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const DeviceUsageTypeHibernation: DEVICE_USAGE_NOTIFICATION_TYPE = DEVICE_USAGE_NOTIFICATION_TYPE(2i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const DeviceUsageTypePaging: DEVICE_USAGE_NOTIFICATION_TYPE = DEVICE_USAGE_NOTIFICATION_TYPE(1i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const DeviceUsageTypePostDisplay: DEVICE_USAGE_NOTIFICATION_TYPE = DEVICE_USAGE_NOTIFICATION_TYPE(5i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const DeviceUsageTypeUndefined: DEVICE_USAGE_NOTIFICATION_TYPE = DEVICE_USAGE_NOTIFICATION_TYPE(0i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const DeviceWakeDepthD0: DEVICE_WAKE_DEPTH = DEVICE_WAKE_DEPTH(1i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const DeviceWakeDepthD1: DEVICE_WAKE_DEPTH = DEVICE_WAKE_DEPTH(2i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const DeviceWakeDepthD2: DEVICE_WAKE_DEPTH = DEVICE_WAKE_DEPTH(3i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const DeviceWakeDepthD3cold: DEVICE_WAKE_DEPTH = DEVICE_WAKE_DEPTH(5i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const DeviceWakeDepthD3hot: DEVICE_WAKE_DEPTH = DEVICE_WAKE_DEPTH(4i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const DeviceWakeDepthMaximum: DEVICE_WAKE_DEPTH = DEVICE_WAKE_DEPTH(6i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const DeviceWakeDepthNotWakeable: DEVICE_WAKE_DEPTH = DEVICE_WAKE_DEPTH(0i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const DirectoryNotifyExtendedInformation: DIRECTORY_NOTIFY_INFORMATION_CLASS = DIRECTORY_NOTIFY_INFORMATION_CLASS(2i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const DirectoryNotifyFullInformation: DIRECTORY_NOTIFY_INFORMATION_CLASS = DIRECTORY_NOTIFY_INFORMATION_CLASS(3i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const DirectoryNotifyInformation: DIRECTORY_NOTIFY_INFORMATION_CLASS = DIRECTORY_NOTIFY_INFORMATION_CLASS(1i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const DirectoryNotifyMaximumInformation: DIRECTORY_NOTIFY_INFORMATION_CLASS = DIRECTORY_NOTIFY_INFORMATION_CLASS(4i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const DisabledControl: NPEM_CONTROL_STANDARD_CONTROL_BIT = NPEM_CONTROL_STANDARD_CONTROL_BIT(11i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const DiskController: CONFIGURATION_TYPE = CONFIGURATION_TYPE(13i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const DiskIoNotifyRoutinesClass: TRACE_INFORMATION_CLASS = TRACE_INFORMATION_CLASS(11i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const DiskPeripheral: CONFIGURATION_TYPE = CONFIGURATION_TYPE(25i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const DisplayController: CONFIGURATION_TYPE = CONFIGURATION_TYPE(19i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const DmaAborted: DMA_COMPLETION_STATUS = DMA_COMPLETION_STATUS(1i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const DmaCancelled: DMA_COMPLETION_STATUS = DMA_COMPLETION_STATUS(3i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const DmaComplete: DMA_COMPLETION_STATUS = DMA_COMPLETION_STATUS(0i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const DmaError: DMA_COMPLETION_STATUS = DMA_COMPLETION_STATUS(2i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const DockingInformation: CONFIGURATION_TYPE = CONFIGURATION_TYPE(38i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const DomainConfigurationArm64: DOMAIN_CONFIGURATION_ARCH = DOMAIN_CONFIGURATION_ARCH(0i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const DomainConfigurationInvalid: DOMAIN_CONFIGURATION_ARCH = DOMAIN_CONFIGURATION_ARCH(2i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const DomainConfigurationX64: DOMAIN_CONFIGURATION_ARCH = DOMAIN_CONFIGURATION_ARCH(1i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const DomainTypeMax: IOMMU_DMA_DOMAIN_TYPE = IOMMU_DMA_DOMAIN_TYPE(3i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const DomainTypePassThrough: IOMMU_DMA_DOMAIN_TYPE = IOMMU_DMA_DOMAIN_TYPE(1i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const DomainTypeTranslate: IOMMU_DMA_DOMAIN_TYPE = IOMMU_DMA_DOMAIN_TYPE(0i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const DomainTypeUnmanaged: IOMMU_DMA_DOMAIN_TYPE = IOMMU_DMA_DOMAIN_TYPE(2i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const DriverDirectoryData: DRIVER_DIRECTORY_TYPE = DRIVER_DIRECTORY_TYPE(1i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const DriverDirectoryImage: DRIVER_DIRECTORY_TYPE = DRIVER_DIRECTORY_TYPE(0i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const DriverDirectorySharedData: DRIVER_DIRECTORY_TYPE = DRIVER_DIRECTORY_TYPE(2i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const DriverRegKeyParameters: DRIVER_REGKEY_TYPE = DRIVER_REGKEY_TYPE(0i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const DriverRegKeyPersistentState: DRIVER_REGKEY_TYPE = DRIVER_REGKEY_TYPE(1i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const DriverRegKeySharedPersistentState: DRIVER_REGKEY_TYPE = DRIVER_REGKEY_TYPE(2i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const DrvRtPoolNxOptIn: DRIVER_RUNTIME_INIT_FLAGS = DRIVER_RUNTIME_INIT_FLAGS(1i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const DtiAdapter: CONFIGURATION_TYPE = CONFIGURATION_TYPE(11i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const EFLAG_SIGN: u32 = 32768u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const EFLAG_ZERO: u32 = 16384u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const EISA_EMPTY_SLOT: u32 = 131u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const EISA_FREE_FORM_DATA: u32 = 64u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const EISA_FUNCTION_ENABLED: u32 = 128u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const EISA_HAS_DMA_ENTRY: u32 = 8u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const EISA_HAS_IRQ_ENTRY: u32 = 4u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const EISA_HAS_MEMORY_ENTRY: u32 = 2u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const EISA_HAS_PORT_INIT_ENTRY: u32 = 32u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const EISA_HAS_PORT_RANGE: u32 = 16u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const EISA_HAS_TYPE_ENTRY: u32 = 1u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const EISA_INVALID_BIOS_CALL: u32 = 134u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const EISA_INVALID_CONFIGURATION: u32 = 130u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const EISA_INVALID_FUNCTION: u32 = 129u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const EISA_INVALID_SLOT: u32 = 128u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const EISA_MEMORY_TYPE_RAM: u32 = 1u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const EISA_MORE_ENTRIES: u32 = 128u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const EISA_SYSTEM_MEMORY: u32 = 0u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const ERROR_LOG_LIMIT_SIZE: u32 = 240u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const ERROR_MAJOR_REVISION_SAL_03_00: u32 = 0u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const ERROR_MEMORY_GUID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe429faf2_3cb7_11d4_bca7_0080c73c8881);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const ERROR_MINOR_REVISION_SAL_03_00: u32 = 2u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const ERROR_PCI_BUS_GUID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe429faf4_3cb7_11d4_bca7_0080c73c8881);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const ERROR_PCI_COMPONENT_GUID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe429faf6_3cb7_11d4_bca7_0080c73c8881);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const ERROR_PLATFORM_BUS_GUID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe429faf9_3cb7_11d4_bca7_0080c73c8881);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const ERROR_PLATFORM_HOST_CONTROLLER_GUID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe429faf8_3cb7_11d4_bca7_0080c73c8881);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const ERROR_PLATFORM_SPECIFIC_GUID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe429faf7_3cb7_11d4_bca7_0080c73c8881);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const ERROR_PROCESSOR_STATE_PARAMETER_BUS_CHECK_MASK: u32 = 1u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const ERROR_PROCESSOR_STATE_PARAMETER_BUS_CHECK_SHIFT: u32 = 61u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const ERROR_PROCESSOR_STATE_PARAMETER_CACHE_CHECK_MASK: u32 = 1u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const ERROR_PROCESSOR_STATE_PARAMETER_CACHE_CHECK_SHIFT: u32 = 59u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const ERROR_PROCESSOR_STATE_PARAMETER_MICROARCH_CHECK_MASK: u32 = 1u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const ERROR_PROCESSOR_STATE_PARAMETER_MICROARCH_CHECK_SHIFT: u32 = 63u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const ERROR_PROCESSOR_STATE_PARAMETER_REG_CHECK_MASK: u32 = 1u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const ERROR_PROCESSOR_STATE_PARAMETER_REG_CHECK_SHIFT: u32 = 62u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const ERROR_PROCESSOR_STATE_PARAMETER_TLB_CHECK_MASK: u32 = 1u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const ERROR_PROCESSOR_STATE_PARAMETER_TLB_CHECK_SHIFT: u32 = 60u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const ERROR_PROCESSOR_STATE_PARAMETER_UNKNOWN_CHECK_MASK: u32 = 1u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const ERROR_PROCESSOR_STATE_PARAMETER_UNKNOWN_CHECK_SHIFT: u32 = 63u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const ERROR_SMBIOS_GUID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe429faf5_3cb7_11d4_bca7_0080c73c8881);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const ERROR_SYSTEM_EVENT_LOG_GUID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe429faf3_3cb7_11d4_bca7_0080c73c8881);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const ERRTYP_BUS: u32 = 16u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const ERRTYP_CACHE: u32 = 6u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const ERRTYP_FLOW: u32 = 9u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const ERRTYP_FUNCTION: u32 = 7u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const ERRTYP_IMPROPER: u32 = 18u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const ERRTYP_INTERNAL: u32 = 1u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const ERRTYP_LOSSOFLOCKSTEP: u32 = 20u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const ERRTYP_MAP: u32 = 17u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const ERRTYP_MEM: u32 = 4u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const ERRTYP_PARITY: u32 = 22u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const ERRTYP_PATHERROR: u32 = 24u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const ERRTYP_POISONED: u32 = 26u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const ERRTYP_PROTOCOL: u32 = 23u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const ERRTYP_RESPONSE: u32 = 21u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const ERRTYP_SELFTEST: u32 = 8u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const ERRTYP_TIMEOUT: u32 = 25u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const ERRTYP_TLB: u32 = 5u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const ERRTYP_UNIMPL: u32 = 19u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const EVENT_QUERY_STATE: u32 = 1u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const EXCEPTION_ALIGNMENT_CHECK: u32 = 17u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const EXCEPTION_BOUND_CHECK: u32 = 5u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const EXCEPTION_CP_FAULT: u32 = 21u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const EXCEPTION_DEBUG: u32 = 1u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const EXCEPTION_DIVIDED_BY_ZERO: u32 = 0u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const EXCEPTION_DOUBLE_FAULT: u32 = 8u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const EXCEPTION_GP_FAULT: u32 = 13u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const EXCEPTION_INT3: u32 = 3u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const EXCEPTION_INVALID_OPCODE: u32 = 6u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const EXCEPTION_INVALID_TSS: u32 = 10u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const EXCEPTION_NMI: u32 = 2u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const EXCEPTION_NPX_ERROR: u32 = 16u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const EXCEPTION_NPX_NOT_AVAILABLE: u32 = 7u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const EXCEPTION_NPX_OVERRUN: u32 = 9u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const EXCEPTION_RESERVED_TRAP: u32 = 15u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const EXCEPTION_SEGMENT_NOT_PRESENT: u32 = 11u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const EXCEPTION_SE_FAULT: u32 = 23u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const EXCEPTION_SOFTWARE_ORIGINATE: u32 = 128u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const EXCEPTION_STACK_FAULT: u32 = 12u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const EXCEPTION_VIRTUALIZATION_FAULT: u32 = 32u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const EXTINT_NOTIFY_TYPE_GUID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xfe84086e_b557_43cf_ac1b_17982e078470);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const EX_CARR_ALLOCATE_NONPAGED_POOL: u32 = 1u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const EX_CARR_ALLOCATE_PAGED_POOL: u32 = 0u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const EX_CARR_DISABLE_EXPANSION: u32 = 2u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const EX_CREATE_FLAG_FILE_DEST_OPEN_FOR_COPY: u32 = 2u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const EX_CREATE_FLAG_FILE_SOURCE_OPEN_FOR_COPY: u32 = 1u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const EX_DEFAULT_PUSH_LOCK_FLAGS: u32 = 0u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const EX_LOOKASIDE_LIST_EX_FLAGS_FAIL_NO_RAISE: u32 = 2u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const EX_LOOKASIDE_LIST_EX_FLAGS_RAISE_ON_FAIL: u32 = 1u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const EX_MAXIMUM_LOOKASIDE_DEPTH_BASE: u32 = 256u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const EX_MAXIMUM_LOOKASIDE_DEPTH_LIMIT: u32 = 1024u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const EX_RUNDOWN_ACTIVE: u32 = 1u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const EX_RUNDOWN_COUNT_SHIFT: u32 = 1u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const EX_TIMER_HIGH_RESOLUTION: u32 = 4u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const EX_TIMER_NO_WAKE: u32 = 8u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const Eisa: INTERFACE_TYPE = INTERFACE_TYPE(2i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const EisaAdapter: CONFIGURATION_TYPE = CONFIGURATION_TYPE(8i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const EisaConfiguration: BUS_DATA_TYPE = BUS_DATA_TYPE(1i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const EjectionRelations: DEVICE_RELATION_TYPE = DEVICE_RELATION_TYPE(1i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const EndAlternatives: ALTERNATIVE_ARCHITECTURE_TYPE = ALTERNATIVE_ARCHITECTURE_TYPE(2i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const EventCategoryDeviceInterfaceChange: IO_NOTIFICATION_EVENT_CATEGORY = IO_NOTIFICATION_EVENT_CATEGORY(2i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const EventCategoryHardwareProfileChange: IO_NOTIFICATION_EVENT_CATEGORY = IO_NOTIFICATION_EVENT_CATEGORY(1i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const EventCategoryKernelSoftRestart: IO_NOTIFICATION_EVENT_CATEGORY = IO_NOTIFICATION_EVENT_CATEGORY(4i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const EventCategoryReserved: IO_NOTIFICATION_EVENT_CATEGORY = IO_NOTIFICATION_EVENT_CATEGORY(0i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const EventCategoryTargetDeviceChange: IO_NOTIFICATION_EVENT_CATEGORY = IO_NOTIFICATION_EVENT_CATEGORY(3i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const EventLoggerHandleClass: TRACE_INFORMATION_CLASS = TRACE_INFORMATION_CLASS(5i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const Executive: KWAIT_REASON = KWAIT_REASON(0i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const ExternalFault: FAULT_INFORMATION_ARM64_TYPE = FAULT_INFORMATION_ARM64_TYPE(3i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const FILE_128_BYTE_ALIGNMENT: u32 = 127u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const FILE_256_BYTE_ALIGNMENT: u32 = 255u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const FILE_32_BYTE_ALIGNMENT: u32 = 31u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const FILE_512_BYTE_ALIGNMENT: u32 = 511u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const FILE_64_BYTE_ALIGNMENT: u32 = 63u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const FILE_ATTRIBUTE_VALID_FLAGS: u32 = 32695u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const FILE_ATTRIBUTE_VALID_KERNEL_SET_FLAGS: u32 = 5910951u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const FILE_ATTRIBUTE_VALID_SET_FLAGS: u32 = 12711u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const FILE_AUTOGENERATED_DEVICE_NAME: u32 = 128u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const FILE_BYTE_ALIGNMENT: u32 = 0u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const FILE_CHARACTERISTICS_EXPECT_ORDERLY_REMOVAL: u32 = 512u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const FILE_CHARACTERISTICS_EXPECT_ORDERLY_REMOVAL_DEPRECATED: u32 = 512u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const FILE_CHARACTERISTICS_EXPECT_ORDERLY_REMOVAL_EX: u32 = 16384u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const FILE_CHARACTERISTICS_EXPECT_SURPRISE_REMOVAL: u32 = 768u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const FILE_CHARACTERISTICS_EXPECT_SURPRISE_REMOVAL_DEPRECATED: u32 = 768u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const FILE_CHARACTERISTICS_EXPECT_SURPRISE_REMOVAL_EX: u32 = 32768u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const FILE_CHARACTERISTICS_REMOVAL_POLICY_MASK: u32 = 768u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const FILE_CHARACTERISTICS_REMOVAL_POLICY_MASK_DEPRECATED: u32 = 768u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const FILE_CHARACTERISTICS_REMOVAL_POLICY_MASK_EX: u32 = 768u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const FILE_CHARACTERISTIC_CSV: u32 = 65536u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const FILE_CHARACTERISTIC_PNP_DEVICE: u32 = 2048u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const FILE_CHARACTERISTIC_TS_DEVICE: u32 = 4096u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const FILE_CHARACTERISTIC_WEBDAV_DEVICE: u32 = 8192u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const FILE_DEVICE_ALLOW_APPCONTAINER_TRAVERSAL: u32 = 131072u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const FILE_DEVICE_IS_MOUNTED: u32 = 32u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const FILE_DEVICE_REQUIRE_SECURITY_CHECK: u32 = 1048576u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const FILE_DEVICE_SECURE_OPEN: u32 = 256u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const FILE_FLOPPY_DISKETTE: u32 = 4u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const FILE_LONG_ALIGNMENT: u32 = 3u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const FILE_OCTA_ALIGNMENT: u32 = 15u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const FILE_PORTABLE_DEVICE: u32 = 262144u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const FILE_QUAD_ALIGNMENT: u32 = 7u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const FILE_QUERY_INDEX_SPECIFIED: u32 = 4u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const FILE_QUERY_NO_CURSOR_UPDATE: u32 = 16u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const FILE_QUERY_RESTART_SCAN: u32 = 1u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const FILE_QUERY_RETURN_ON_DISK_ENTRIES_ONLY: u32 = 8u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const FILE_QUERY_RETURN_SINGLE_ENTRY: u32 = 2u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const FILE_READ_ONLY_DEVICE: u32 = 2u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const FILE_REMOTE_DEVICE: u32 = 16u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const FILE_REMOTE_DEVICE_VSMB: u32 = 524288u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const FILE_REMOVABLE_MEDIA: u32 = 1u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const FILE_SHARE_VALID_FLAGS: u32 = 7u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const FILE_SKIP_SET_USER_EVENT_ON_FAST_IO: u32 = 4u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const FILE_USE_FILE_POINTER_POSITION: u32 = 4294967294u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const FILE_VALID_EXTENDED_OPTION_FLAGS: u32 = 268435456u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const FILE_VIRTUAL_VOLUME: u32 = 64u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const FILE_WORD_ALIGNMENT: u32 = 1u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const FILE_WRITE_ONCE_MEDIA: u32 = 8u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const FILE_WRITE_TO_END_OF_FILE: u32 = 4294967295u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const FIRMWARE_ERROR_RECORD_REFERENCE_GUID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x81212a96_09ed_4996_9471_8d729c8e69ed);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const FLAG_OWNER_POINTER_IS_THREAD: u32 = 1u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const FLUSH_MULTIPLE_MAXIMUM: u32 = 32u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const FM_LOCK_BIT: u32 = 1u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const FM_LOCK_BIT_V: u32 = 0u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const FO_ALERTABLE_IO: u32 = 4u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const FO_BYPASS_IO_ENABLED: u32 = 8388608u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const FO_CACHE_SUPPORTED: u32 = 64u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const FO_CLEANUP_COMPLETE: u32 = 16384u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const FO_DELETE_ON_CLOSE: u32 = 65536u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const FO_DIRECT_DEVICE_OPEN: u32 = 2048u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const FO_DISALLOW_EXCLUSIVE: u32 = 33554432u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const FO_FILE_FAST_IO_READ: u32 = 524288u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const FO_FILE_MODIFIED: u32 = 4096u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const FO_FILE_OPEN: u32 = 1u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const FO_FILE_OPEN_CANCELLED: u32 = 2097152u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const FO_FILE_SIZE_CHANGED: u32 = 8192u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const FO_FLAGS_VALID_ONLY_DURING_CREATE: u32 = 33554432u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const FO_GENERATE_AUDIT_ON_CLOSE: u32 = 1024u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const FO_HANDLE_CREATED: u32 = 262144u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const FO_INDIRECT_WAIT_OBJECT: u32 = 268435456u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const FO_MAILSLOT: u32 = 512u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const FO_NAMED_PIPE: u32 = 128u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const FO_NO_INTERMEDIATE_BUFFERING: u32 = 8u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const FO_OPENED_CASE_SENSITIVE: u32 = 131072u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const FO_QUEUE_IRP_TO_THREAD: u32 = 1024u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const FO_RANDOM_ACCESS: u32 = 1048576u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const FO_REMOTE_ORIGIN: u32 = 16777216u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const FO_SECTION_MINSTORE_TREATMENT: u32 = 536870912u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const FO_SEQUENTIAL_ONLY: u32 = 32u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const FO_SKIP_COMPLETION_PORT: u32 = 33554432u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const FO_SKIP_SET_EVENT: u32 = 67108864u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const FO_SKIP_SET_FAST_IO: u32 = 134217728u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const FO_STREAM_FILE: u32 = 256u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const FO_SYNCHRONOUS_IO: u32 = 2u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const FO_TEMPORARY_FILE: u32 = 32768u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const FO_VOLUME_OPEN: u32 = 4194304u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const FO_WRITE_THROUGH: u32 = 16u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const FPB_MEM_HIGH_VECTOR_GRANULARITY_16GB: u32 = 6u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const FPB_MEM_HIGH_VECTOR_GRANULARITY_1GB: u32 = 2u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const FPB_MEM_HIGH_VECTOR_GRANULARITY_1MB: u32 = 9u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const FPB_MEM_HIGH_VECTOR_GRANULARITY_256MB: u32 = 0u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const FPB_MEM_HIGH_VECTOR_GRANULARITY_2GB: u32 = 3u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const FPB_MEM_HIGH_VECTOR_GRANULARITY_32GB: u32 = 7u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const FPB_MEM_HIGH_VECTOR_GRANULARITY_4GB: u32 = 4u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const FPB_MEM_HIGH_VECTOR_GRANULARITY_512MB: u32 = 1u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const FPB_MEM_HIGH_VECTOR_GRANULARITY_8GB: u32 = 5u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const FPB_MEM_LOW_VECTOR_GRANULARITY_16MB: u32 = 4u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const FPB_MEM_LOW_VECTOR_GRANULARITY_1MB: u32 = 0u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const FPB_MEM_LOW_VECTOR_GRANULARITY_2MB: u32 = 1u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const FPB_MEM_LOW_VECTOR_GRANULARITY_4MB: u32 = 2u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const FPB_MEM_LOW_VECTOR_GRANULARITY_8MB: u32 = 3u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const FPB_MEM_VECTOR_GRANULARITY_1B: u32 = 8u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const FPB_RID_VECTOR_GRANULARITY_256RIDS: u32 = 5u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const FPB_RID_VECTOR_GRANULARITY_64RIDS: u32 = 3u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const FPB_RID_VECTOR_GRANULARITY_8RIDS: u32 = 0u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const FPB_VECTOR_SELECT_MEM_HIGH: u32 = 2u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const FPB_VECTOR_SELECT_MEM_LOW: u32 = 1u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const FPB_VECTOR_SELECT_RID: u32 = 0u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const FPB_VECTOR_SIZE_SUPPORTED_1KBITS: u32 = 2u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const FPB_VECTOR_SIZE_SUPPORTED_256BITS: u32 = 0u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const FPB_VECTOR_SIZE_SUPPORTED_2KBITS: u32 = 3u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const FPB_VECTOR_SIZE_SUPPORTED_4KBITS: u32 = 4u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const FPB_VECTOR_SIZE_SUPPORTED_512BITS: u32 = 1u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const FPB_VECTOR_SIZE_SUPPORTED_8KBITS: u32 = 5u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const FailControl: NPEM_CONTROL_STANDARD_CONTROL_BIT = NPEM_CONTROL_STANDARD_CONTROL_BIT(4i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const FaultInformationArm64: FAULT_INFORMATION_ARCH = FAULT_INFORMATION_ARCH(1i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const FaultInformationInvalid: FAULT_INFORMATION_ARCH = FAULT_INFORMATION_ARCH(0i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const FaultInformationX64: FAULT_INFORMATION_ARCH = FAULT_INFORMATION_ARCH(2i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const FloatingPointProcessor: CONFIGURATION_TYPE = CONFIGURATION_TYPE(2i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const FloppyDiskPeripheral: CONFIGURATION_TYPE = CONFIGURATION_TYPE(26i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const FltIoNotifyRoutinesClass: TRACE_INFORMATION_CLASS = TRACE_INFORMATION_CLASS(13i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const FreePage: KWAIT_REASON = KWAIT_REASON(1i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const FunctionLevelDeviceReset: DEVICE_RESET_TYPE = DEVICE_RESET_TYPE(0i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const GENERIC_NOTIFY_TYPE_GUID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x3e62a467_ab40_409a_a698_f362d464b38f);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const GENERIC_SECTION_GUID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe71254e8_c1b9_4940_ab76_909703a4320f);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const GENPROC_FLAGS_CORRECTED: u32 = 8u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const GENPROC_FLAGS_OVERFLOW: u32 = 4u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const GENPROC_FLAGS_PRECISEIP: u32 = 2u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const GENPROC_FLAGS_RESTARTABLE: u32 = 1u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const GENPROC_OP_DATAREAD: u32 = 1u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const GENPROC_OP_DATAWRITE: u32 = 2u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const GENPROC_OP_GENERIC: u32 = 0u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const GENPROC_OP_INSTRUCTIONEXE: u32 = 3u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const GENPROC_PROCERRTYPE_BUS: u32 = 4u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const GENPROC_PROCERRTYPE_CACHE: u32 = 1u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const GENPROC_PROCERRTYPE_MAE: u32 = 8u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const GENPROC_PROCERRTYPE_TLB: u32 = 2u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const GENPROC_PROCERRTYPE_UNKNOWN: u32 = 0u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const GENPROC_PROCISA_ARM32: u32 = 4u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const GENPROC_PROCISA_ARM64: u32 = 8u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const GENPROC_PROCISA_IPF: u32 = 1u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const GENPROC_PROCISA_X64: u32 = 2u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const GENPROC_PROCISA_X86: u32 = 0u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const GENPROC_PROCTYPE_ARM: u32 = 2u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const GENPROC_PROCTYPE_IPF: u32 = 1u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const GENPROC_PROCTYPE_XPF: u32 = 0u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const GUID_ECP_CREATE_USER_PROCESS: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe0e429ff_6ddc_4e65_aab6_45d05a038a08);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const GartHigh: EXTENDED_AGP_REGISTER = EXTENDED_AGP_REGISTER(5i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const GartLow: EXTENDED_AGP_REGISTER = EXTENDED_AGP_REGISTER(4i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const GenericEqual: RTL_GENERIC_COMPARE_RESULTS = RTL_GENERIC_COMPARE_RESULTS(2i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const GenericGreaterThan: RTL_GENERIC_COMPARE_RESULTS = RTL_GENERIC_COMPARE_RESULTS(1i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const GenericLessThan: RTL_GENERIC_COMPARE_RESULTS = RTL_GENERIC_COMPARE_RESULTS(0i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const GlobalLoggerHandleClass: TRACE_INFORMATION_CLASS = TRACE_INFORMATION_CLASS(4i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const GroupAffinityAllGroupZero: IRQ_GROUP_POLICY = IRQ_GROUP_POLICY(0i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const GroupAffinityDontCare: IRQ_GROUP_POLICY = IRQ_GROUP_POLICY(1i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const HAL_DISPATCH_VERSION: u32 = 5u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const HAL_DMA_ADAPTER_VERSION_1: u32 = 1u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const HAL_MASK_UNMASK_FLAGS_NONE: u32 = 0u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const HAL_MASK_UNMASK_FLAGS_SERVICING_COMPLETE: u32 = 2u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const HAL_MASK_UNMASK_FLAGS_SERVICING_DEFERRED: u32 = 1u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const HAL_MCA_RECORD: MCA_EXCEPTION_TYPE = MCA_EXCEPTION_TYPE(1i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const HAL_MCE_RECORD: MCA_EXCEPTION_TYPE = MCA_EXCEPTION_TYPE(0i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const HAL_PLATFORM_ACPI_TABLES_CACHED: i32 = 32i32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const HAL_PLATFORM_DISABLE_PTCG: i32 = 4i32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const HAL_PLATFORM_DISABLE_UC_MAIN_MEMORY: i32 = 8i32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const HAL_PLATFORM_DISABLE_WRITE_COMBINING: i32 = 1i32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const HAL_PLATFORM_ENABLE_WRITE_COMBINING_MMIO: i32 = 16i32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const HASH_STRING_ALGORITHM_DEFAULT: u32 = 0u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const HASH_STRING_ALGORITHM_INVALID: u32 = 4294967295u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const HASH_STRING_ALGORITHM_X65599: u32 = 1u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const HIGH_LEVEL: u32 = 31u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const HIGH_PRIORITY: u32 = 31u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const HalAcpiAuditInformation: HAL_QUERY_INFORMATION_CLASS = HAL_QUERY_INFORMATION_CLASS(26i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const HalCallbackInformation: HAL_QUERY_INFORMATION_CLASS = HAL_QUERY_INFORMATION_CLASS(5i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const HalChannelTopologyInformation: HAL_QUERY_INFORMATION_CLASS = HAL_QUERY_INFORMATION_CLASS(31i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const HalCmcLog: HAL_SET_INFORMATION_CLASS = HAL_SET_INFORMATION_CLASS(7i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const HalCmcLogInformation: HAL_QUERY_INFORMATION_CLASS = HAL_QUERY_INFORMATION_CLASS(13i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const HalCmcRegisterDriver: HAL_SET_INFORMATION_CLASS = HAL_SET_INFORMATION_CLASS(4i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const HalCpeLog: HAL_SET_INFORMATION_CLASS = HAL_SET_INFORMATION_CLASS(8i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const HalCpeLogInformation: HAL_QUERY_INFORMATION_CLASS = HAL_QUERY_INFORMATION_CLASS(14i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const HalCpeRegisterDriver: HAL_SET_INFORMATION_CLASS = HAL_SET_INFORMATION_CLASS(5i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const HalDisplayBiosInformation: HAL_QUERY_INFORMATION_CLASS = HAL_QUERY_INFORMATION_CLASS(9i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const HalDisplayEmulatedBios: HAL_DISPLAY_BIOS_INFORMATION = HAL_DISPLAY_BIOS_INFORMATION(1i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const HalDisplayInt10Bios: HAL_DISPLAY_BIOS_INFORMATION = HAL_DISPLAY_BIOS_INFORMATION(0i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const HalDisplayNoBios: HAL_DISPLAY_BIOS_INFORMATION = HAL_DISPLAY_BIOS_INFORMATION(2i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const HalDmaCrashDumpRegisterSet1: HAL_DMA_CRASH_DUMP_REGISTER_TYPE = HAL_DMA_CRASH_DUMP_REGISTER_TYPE(0i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const HalDmaCrashDumpRegisterSet2: HAL_DMA_CRASH_DUMP_REGISTER_TYPE = HAL_DMA_CRASH_DUMP_REGISTER_TYPE(1i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const HalDmaCrashDumpRegisterSetMax: HAL_DMA_CRASH_DUMP_REGISTER_TYPE = HAL_DMA_CRASH_DUMP_REGISTER_TYPE(2i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const HalDmaRemappingInformation: HAL_QUERY_INFORMATION_CLASS = HAL_QUERY_INFORMATION_CLASS(47i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const HalEnlightenment: HAL_SET_INFORMATION_CLASS = HAL_SET_INFORMATION_CLASS(11i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const HalErrorInformation: HAL_QUERY_INFORMATION_CLASS = HAL_QUERY_INFORMATION_CLASS(12i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const HalExternalCacheInformation: HAL_QUERY_INFORMATION_CLASS = HAL_QUERY_INFORMATION_CLASS(32i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const HalFrameBufferCachingInformation: HAL_QUERY_INFORMATION_CLASS = HAL_QUERY_INFORMATION_CLASS(8i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const HalFrequencyInformation: HAL_QUERY_INFORMATION_CLASS = HAL_QUERY_INFORMATION_CLASS(22i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const HalFwBootPerformanceInformation: HAL_QUERY_INFORMATION_CLASS = HAL_QUERY_INFORMATION_CLASS(34i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const HalFwS3PerformanceInformation: HAL_QUERY_INFORMATION_CLASS = HAL_QUERY_INFORMATION_CLASS(35i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const HalGenerateCmcInterrupt: HAL_SET_INFORMATION_CLASS = HAL_SET_INFORMATION_CLASS(9i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const HalGetChannelPowerInformation: HAL_QUERY_INFORMATION_CLASS = HAL_QUERY_INFORMATION_CLASS(36i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const HalHardwareWatchdogInformation: HAL_QUERY_INFORMATION_CLASS = HAL_QUERY_INFORMATION_CLASS(46i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const HalHeterogeneousMemoryAttributesInterface: HAL_QUERY_INFORMATION_CLASS = HAL_QUERY_INFORMATION_CLASS(49i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const HalHypervisorInformation: HAL_QUERY_INFORMATION_CLASS = HAL_QUERY_INFORMATION_CLASS(24i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const HalI386ExceptionChainTerminatorInformation: HAL_SET_INFORMATION_CLASS = HAL_SET_INFORMATION_CLASS(15i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const HalInformationClassUnused1: HAL_QUERY_INFORMATION_CLASS = HAL_QUERY_INFORMATION_CLASS(2i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const HalInitLogInformation: HAL_QUERY_INFORMATION_CLASS = HAL_QUERY_INFORMATION_CLASS(21i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const HalInstalledBusInformation: HAL_QUERY_INFORMATION_CLASS = HAL_QUERY_INFORMATION_CLASS(0i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const HalInterruptControllerInformation: HAL_QUERY_INFORMATION_CLASS = HAL_QUERY_INFORMATION_CLASS(39i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const HalIrtInformation: HAL_QUERY_INFORMATION_CLASS = HAL_QUERY_INFORMATION_CLASS(27i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const HalKernelErrorHandler: HAL_SET_INFORMATION_CLASS = HAL_SET_INFORMATION_CLASS(3i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const HalMapRegisterInformation: HAL_QUERY_INFORMATION_CLASS = HAL_QUERY_INFORMATION_CLASS(6i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const HalMcaLog: HAL_SET_INFORMATION_CLASS = HAL_SET_INFORMATION_CLASS(6i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const HalMcaLogInformation: HAL_QUERY_INFORMATION_CLASS = HAL_QUERY_INFORMATION_CLASS(7i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const HalMcaRegisterDriver: HAL_SET_INFORMATION_CLASS = HAL_SET_INFORMATION_CLASS(2i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const HalNumaRangeTableInformation: HAL_QUERY_INFORMATION_CLASS = HAL_QUERY_INFORMATION_CLASS(30i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const HalNumaTopologyInterface: HAL_QUERY_INFORMATION_CLASS = HAL_QUERY_INFORMATION_CLASS(11i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const HalParkingPageInformation: HAL_QUERY_INFORMATION_CLASS = HAL_QUERY_INFORMATION_CLASS(29i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const HalPartitionIpiInterface: HAL_QUERY_INFORMATION_CLASS = HAL_QUERY_INFORMATION_CLASS(18i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const HalPlatformInformation: HAL_QUERY_INFORMATION_CLASS = HAL_QUERY_INFORMATION_CLASS(19i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const HalPlatformTimerInformation: HAL_QUERY_INFORMATION_CLASS = HAL_QUERY_INFORMATION_CLASS(25i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const HalPowerInformation: HAL_QUERY_INFORMATION_CLASS = HAL_QUERY_INFORMATION_CLASS(3i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const HalProcessorBrandString: HAL_QUERY_INFORMATION_CLASS = HAL_QUERY_INFORMATION_CLASS(23i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const HalProcessorFeatureInformation: HAL_QUERY_INFORMATION_CLASS = HAL_QUERY_INFORMATION_CLASS(10i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const HalProcessorSpeedInformation: HAL_QUERY_INFORMATION_CLASS = HAL_QUERY_INFORMATION_CLASS(4i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const HalProfileDpgoSourceInterruptHandler: HAL_SET_INFORMATION_CLASS = HAL_SET_INFORMATION_CLASS(12i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const HalProfileSourceAdd: HAL_SET_INFORMATION_CLASS = HAL_SET_INFORMATION_CLASS(20i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const HalProfileSourceInformation: HAL_QUERY_INFORMATION_CLASS = HAL_QUERY_INFORMATION_CLASS(1i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const HalProfileSourceInterruptHandler: HAL_SET_INFORMATION_CLASS = HAL_SET_INFORMATION_CLASS(1i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const HalProfileSourceInterval: HAL_SET_INFORMATION_CLASS = HAL_SET_INFORMATION_CLASS(0i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const HalProfileSourceRemove: HAL_SET_INFORMATION_CLASS = HAL_SET_INFORMATION_CLASS(21i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const HalProfileSourceTimerHandler: HAL_SET_INFORMATION_CLASS = HAL_SET_INFORMATION_CLASS(10i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const HalPsciInformation: HAL_QUERY_INFORMATION_CLASS = HAL_QUERY_INFORMATION_CLASS(38i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const HalQueryAMLIIllegalIOPortAddresses: HAL_QUERY_INFORMATION_CLASS = HAL_QUERY_INFORMATION_CLASS(16i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const HalQueryAcpiWakeAlarmSystemPowerStateInformation: HAL_QUERY_INFORMATION_CLASS = HAL_QUERY_INFORMATION_CLASS(43i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const HalQueryArmErrataInformation: HAL_QUERY_INFORMATION_CLASS = HAL_QUERY_INFORMATION_CLASS(41i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const HalQueryDebuggerInformation: HAL_QUERY_INFORMATION_CLASS = HAL_QUERY_INFORMATION_CLASS(33i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const HalQueryHyperlaunchEntrypoint: HAL_QUERY_INFORMATION_CLASS = HAL_QUERY_INFORMATION_CLASS(45i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const HalQueryIommuReservedRegionInformation: HAL_QUERY_INFORMATION_CLASS = HAL_QUERY_INFORMATION_CLASS(40i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const HalQueryMaxHotPlugMemoryAddress: HAL_QUERY_INFORMATION_CLASS = HAL_QUERY_INFORMATION_CLASS(17i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const HalQueryMcaInterface: HAL_QUERY_INFORMATION_CLASS = HAL_QUERY_INFORMATION_CLASS(15i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const HalQueryPerDeviceMsiLimitInformation: HAL_QUERY_INFORMATION_CLASS = HAL_QUERY_INFORMATION_CLASS(50i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const HalQueryProcessorEfficiencyInformation: HAL_QUERY_INFORMATION_CLASS = HAL_QUERY_INFORMATION_CLASS(42i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const HalQueryProfileCorruptionStatus: HAL_QUERY_INFORMATION_CLASS = HAL_QUERY_INFORMATION_CLASS(51i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const HalQueryProfileCounterOwnership: HAL_QUERY_INFORMATION_CLASS = HAL_QUERY_INFORMATION_CLASS(52i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const HalQueryProfileNumberOfCounters: HAL_QUERY_INFORMATION_CLASS = HAL_QUERY_INFORMATION_CLASS(44i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const HalQueryProfileSourceList: HAL_QUERY_INFORMATION_CLASS = HAL_QUERY_INFORMATION_CLASS(20i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const HalQueryStateElementInformation: HAL_QUERY_INFORMATION_CLASS = HAL_QUERY_INFORMATION_CLASS(37i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const HalQueryUnused0001: HAL_QUERY_INFORMATION_CLASS = HAL_QUERY_INFORMATION_CLASS(48i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const HalRegisterSecondaryInterruptInterface: HAL_SET_INFORMATION_CLASS = HAL_SET_INFORMATION_CLASS(13i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const HalSecondaryInterruptInformation: HAL_QUERY_INFORMATION_CLASS = HAL_QUERY_INFORMATION_CLASS(28i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const HalSetChannelPowerInformation: HAL_SET_INFORMATION_CLASS = HAL_SET_INFORMATION_CLASS(14i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const HalSetClockTimerMinimumInterval: HAL_SET_INFORMATION_CLASS = HAL_SET_INFORMATION_CLASS(23i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const HalSetHvciEnabled: HAL_SET_INFORMATION_CLASS = HAL_SET_INFORMATION_CLASS(18i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const HalSetProcessorTraceInterruptHandler: HAL_SET_INFORMATION_CLASS = HAL_SET_INFORMATION_CLASS(19i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const HalSetPsciSuspendMode: HAL_SET_INFORMATION_CLASS = HAL_SET_INFORMATION_CLASS(17i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const HalSetResetParkDisposition: HAL_SET_INFORMATION_CLASS = HAL_SET_INFORMATION_CLASS(16i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const HalSetSwInterruptHandler: HAL_SET_INFORMATION_CLASS = HAL_SET_INFORMATION_CLASS(22i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const HighImportance: KDPC_IMPORTANCE = KDPC_IMPORTANCE(2i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const HighPagePriority: MM_PAGE_PRIORITY = MM_PAGE_PRIORITY(32i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const HighPoolPriority: EX_POOL_PRIORITY = EX_POOL_PRIORITY(32i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const HighPoolPrioritySpecialPoolOverrun: EX_POOL_PRIORITY = EX_POOL_PRIORITY(40i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const HighPoolPrioritySpecialPoolUnderrun: EX_POOL_PRIORITY = EX_POOL_PRIORITY(41i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const HotSpareControl: NPEM_CONTROL_STANDARD_CONTROL_BIT = NPEM_CONTROL_STANDARD_CONTROL_BIT(7i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const HyperCriticalWorkQueue: WORK_QUEUE_TYPE = WORK_QUEUE_TYPE(2i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const IMAGE_ADDRESSING_MODE_32BIT: u32 = 3u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const INITIAL_PRIVILEGE_COUNT: u32 = 3u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const INIT_NOTIFY_TYPE_GUID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xcc5263e8_9308_454a_89d0_340bd39bc98e);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const INJECT_ERRTYPE_MEMORY_CORRECTABLE: u32 = 8u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const INJECT_ERRTYPE_MEMORY_UNCORRECTABLEFATAL: u32 = 32u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const INJECT_ERRTYPE_MEMORY_UNCORRECTABLENONFATAL: u32 = 16u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const INJECT_ERRTYPE_PCIEXPRESS_CORRECTABLE: u32 = 64u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const INJECT_ERRTYPE_PCIEXPRESS_UNCORRECTABLEFATAL: u32 = 256u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const INJECT_ERRTYPE_PCIEXPRESS_UNCORRECTABLENONFATAL: u32 = 128u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const INJECT_ERRTYPE_PLATFORM_CORRECTABLE: u32 = 512u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const INJECT_ERRTYPE_PLATFORM_UNCORRECTABLEFATAL: u32 = 2048u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const INJECT_ERRTYPE_PLATFORM_UNCORRECTABLENONFATAL: u32 = 1024u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const INJECT_ERRTYPE_PROCESSOR_CORRECTABLE: u32 = 1u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const INJECT_ERRTYPE_PROCESSOR_UNCORRECTABLEFATAL: u32 = 4u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const INJECT_ERRTYPE_PROCESSOR_UNCORRECTABLENONFATAL: u32 = 2u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const IOCTL_CANCEL_DEVICE_WAKE: u32 = 2719752u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const IOCTL_QUERY_DEVICE_POWER_STATE: u32 = 2703360u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const IOCTL_SET_DEVICE_WAKE: u32 = 2719748u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const IOMMU_ACCESS_NONE: u32 = 0u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const IOMMU_ACCESS_READ: u32 = 1u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const IOMMU_ACCESS_WRITE: u32 = 2u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const IO_ATTACH_DEVICE: u32 = 1024u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const IO_ATTRIBUTION_INFO_V1: u32 = 1u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const IO_CHECK_CREATE_PARAMETERS: u32 = 512u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const IO_CHECK_SHARE_ACCESS_DONT_CHECK_DELETE: u32 = 16u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const IO_CHECK_SHARE_ACCESS_DONT_CHECK_READ: u32 = 4u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const IO_CHECK_SHARE_ACCESS_DONT_CHECK_WRITE: u32 = 8u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const IO_CHECK_SHARE_ACCESS_DONT_UPDATE_FILE_OBJECT: u32 = 2u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const IO_CHECK_SHARE_ACCESS_FORCE_CHECK: u32 = 32u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const IO_CHECK_SHARE_ACCESS_FORCE_USING_SCB: u32 = 64u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const IO_CHECK_SHARE_ACCESS_UPDATE_SHARE_ACCESS: u32 = 1u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const IO_FORCE_ACCESS_CHECK: u32 = 1u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const IO_IGNORE_SHARE_ACCESS_CHECK: u32 = 2048u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const IO_KEYBOARD_INCREMENT: u32 = 6u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const IO_MOUSE_INCREMENT: u32 = 6u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const IO_NO_PARAMETER_CHECKING: u32 = 256u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const IO_PARALLEL_INCREMENT: u32 = 1u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const IO_REMOUNT: u32 = 1u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const IO_REPARSE: u32 = 0u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const IO_REPARSE_GLOBAL: u32 = 2u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const IO_RESOURCE_ALTERNATIVE: u32 = 8u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const IO_RESOURCE_DEFAULT: u32 = 2u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const IO_RESOURCE_PREFERRED: u32 = 1u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const IO_SERIAL_INCREMENT: u32 = 2u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const IO_SESSION_MAX_PAYLOAD_SIZE: i32 = 256i32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const IO_SESSION_STATE_ALL_EVENTS: u32 = 4294967295u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const IO_SESSION_STATE_CONNECT_EVENT: u32 = 4u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const IO_SESSION_STATE_CREATION_EVENT: u32 = 1u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const IO_SESSION_STATE_DISCONNECT_EVENT: u32 = 8u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const IO_SESSION_STATE_LOGOFF_EVENT: u32 = 32u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const IO_SESSION_STATE_LOGON_EVENT: u32 = 16u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const IO_SESSION_STATE_TERMINATION_EVENT: u32 = 2u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const IO_SESSION_STATE_VALID_EVENT_MASK: u32 = 63u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const IO_SET_IRP_IO_ATTRIBUTION_FLAGS_MASK: u32 = 3u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const IO_SET_IRP_IO_ATTRIBUTION_FROM_PROCESS: u32 = 2u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const IO_SET_IRP_IO_ATTRIBUTION_FROM_THREAD: u32 = 1u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const IO_SHARE_ACCESS_NON_PRIMARY_STREAM: u32 = 128u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const IO_SHARE_ACCESS_NO_WRITE_PERMISSION: u32 = 2147483648u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const IO_SOUND_INCREMENT: u32 = 8u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const IO_TYPE_ADAPTER: u32 = 1u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const IO_TYPE_CONTROLLER: u32 = 2u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const IO_TYPE_CSQ: u32 = 2u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const IO_TYPE_CSQ_EX: u32 = 3u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const IO_TYPE_CSQ_IRP_CONTEXT: u32 = 1u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const IO_TYPE_DEVICE: u32 = 3u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const IO_TYPE_DEVICE_OBJECT_EXTENSION: u32 = 13u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const IO_TYPE_DRIVER: u32 = 4u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const IO_TYPE_ERROR_LOG: u32 = 11u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const IO_TYPE_ERROR_MESSAGE: u32 = 12u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const IO_TYPE_FILE: u32 = 5u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const IO_TYPE_IORING: u32 = 14u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const IO_TYPE_IRP: u32 = 6u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const IO_TYPE_MASTER_ADAPTER: u32 = 7u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const IO_TYPE_OPEN_PACKET: u32 = 8u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const IO_TYPE_TIMER: u32 = 9u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const IO_TYPE_VPB: u32 = 10u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const IO_VIDEO_INCREMENT: u32 = 1u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const IPF_SAL_RECORD_SECTION_GUID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x6f3380d1_6eb0_497f_a578_4d4c65a71617);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const IPI_LEVEL: u32 = 29u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const IPMI_MSR_DUMP_SECTION_GUID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1c15b445_9b06_4667_ac25_33c056b88803);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const IRP_ALLOCATED_FIXED_SIZE: u32 = 4u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const IRP_ALLOCATED_MUST_SUCCEED: u32 = 2u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const IRP_ASSOCIATED_IRP: u32 = 8u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const IRP_BUFFERED_IO: u32 = 16u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const IRP_CLOSE_OPERATION: u32 = 1024u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const IRP_CREATE_OPERATION: u32 = 128u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const IRP_DEALLOCATE_BUFFER: u32 = 32u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const IRP_DEFER_IO_COMPLETION: u32 = 2048u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const IRP_HOLD_DEVICE_QUEUE: u32 = 8192u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const IRP_INPUT_OPERATION: u32 = 64u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const IRP_LOOKASIDE_ALLOCATION: u32 = 8u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const IRP_MJ_CLEANUP: u32 = 18u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const IRP_MJ_CLOSE: u32 = 2u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const IRP_MJ_CREATE: u32 = 0u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const IRP_MJ_CREATE_MAILSLOT: u32 = 19u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const IRP_MJ_CREATE_NAMED_PIPE: u32 = 1u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const IRP_MJ_DEVICE_CHANGE: u32 = 24u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const IRP_MJ_DEVICE_CONTROL: u32 = 14u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const IRP_MJ_DIRECTORY_CONTROL: u32 = 12u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const IRP_MJ_FILE_SYSTEM_CONTROL: u32 = 13u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const IRP_MJ_FLUSH_BUFFERS: u32 = 9u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const IRP_MJ_INTERNAL_DEVICE_CONTROL: u32 = 15u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const IRP_MJ_LOCK_CONTROL: u32 = 17u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const IRP_MJ_MAXIMUM_FUNCTION: u32 = 27u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const IRP_MJ_PNP: u32 = 27u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const IRP_MJ_PNP_POWER: u32 = 27u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const IRP_MJ_POWER: u32 = 22u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const IRP_MJ_QUERY_EA: u32 = 7u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const IRP_MJ_QUERY_INFORMATION: u32 = 5u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const IRP_MJ_QUERY_QUOTA: u32 = 25u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const IRP_MJ_QUERY_SECURITY: u32 = 20u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const IRP_MJ_QUERY_VOLUME_INFORMATION: u32 = 10u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const IRP_MJ_READ: u32 = 3u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const IRP_MJ_SCSI: u32 = 15u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const IRP_MJ_SET_EA: u32 = 8u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const IRP_MJ_SET_INFORMATION: u32 = 6u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const IRP_MJ_SET_QUOTA: u32 = 26u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const IRP_MJ_SET_SECURITY: u32 = 21u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const IRP_MJ_SET_VOLUME_INFORMATION: u32 = 11u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const IRP_MJ_SHUTDOWN: u32 = 16u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const IRP_MJ_SYSTEM_CONTROL: u32 = 23u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const IRP_MJ_WRITE: u32 = 4u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const IRP_MN_CANCEL_REMOVE_DEVICE: u32 = 3u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const IRP_MN_CANCEL_STOP_DEVICE: u32 = 6u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const IRP_MN_CHANGE_SINGLE_INSTANCE: u32 = 2u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const IRP_MN_CHANGE_SINGLE_ITEM: u32 = 3u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const IRP_MN_COMPLETE: u32 = 4u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const IRP_MN_COMPRESSED: u32 = 8u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const IRP_MN_DEVICE_ENUMERATED: u32 = 25u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const IRP_MN_DEVICE_USAGE_NOTIFICATION: u32 = 22u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const IRP_MN_DISABLE_COLLECTION: u32 = 7u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const IRP_MN_DISABLE_EVENTS: u32 = 5u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const IRP_MN_DPC: u32 = 1u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const IRP_MN_EJECT: u32 = 17u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const IRP_MN_ENABLE_COLLECTION: u32 = 6u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const IRP_MN_ENABLE_EVENTS: u32 = 4u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const IRP_MN_EXECUTE_METHOD: u32 = 9u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const IRP_MN_FILTER_RESOURCE_REQUIREMENTS: u32 = 13u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const IRP_MN_FLUSH_AND_PURGE: u32 = 1u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const IRP_MN_FLUSH_DATA_ONLY: u32 = 2u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const IRP_MN_FLUSH_DATA_SYNC_ONLY: u32 = 4u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const IRP_MN_FLUSH_NO_SYNC: u32 = 3u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const IRP_MN_KERNEL_CALL: u32 = 4u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const IRP_MN_LOAD_FILE_SYSTEM: u32 = 3u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const IRP_MN_LOCK: u32 = 1u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const IRP_MN_MDL: u32 = 2u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const IRP_MN_MOUNT_VOLUME: u32 = 1u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const IRP_MN_NORMAL: u32 = 0u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const IRP_MN_NOTIFY_CHANGE_DIRECTORY: u32 = 2u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const IRP_MN_NOTIFY_CHANGE_DIRECTORY_EX: u32 = 3u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const IRP_MN_POWER_SEQUENCE: u32 = 1u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const IRP_MN_QUERY_ALL_DATA: u32 = 0u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const IRP_MN_QUERY_BUS_INFORMATION: u32 = 21u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const IRP_MN_QUERY_CAPABILITIES: u32 = 9u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const IRP_MN_QUERY_DEVICE_RELATIONS: u32 = 7u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const IRP_MN_QUERY_DEVICE_TEXT: u32 = 12u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const IRP_MN_QUERY_DIRECTORY: u32 = 1u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const IRP_MN_QUERY_ID: u32 = 19u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const IRP_MN_QUERY_INTERFACE: u32 = 8u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const IRP_MN_QUERY_LEGACY_BUS_INFORMATION: u32 = 24u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const IRP_MN_QUERY_PNP_DEVICE_STATE: u32 = 20u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const IRP_MN_QUERY_POWER: u32 = 3u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const IRP_MN_QUERY_REMOVE_DEVICE: u32 = 1u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const IRP_MN_QUERY_RESOURCES: u32 = 10u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const IRP_MN_QUERY_RESOURCE_REQUIREMENTS: u32 = 11u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const IRP_MN_QUERY_SINGLE_INSTANCE: u32 = 1u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const IRP_MN_QUERY_STOP_DEVICE: u32 = 5u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const IRP_MN_READ_CONFIG: u32 = 15u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const IRP_MN_REGINFO: u32 = 8u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const IRP_MN_REGINFO_EX: u32 = 11u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const IRP_MN_REMOVE_DEVICE: u32 = 2u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const IRP_MN_SCSI_CLASS: u32 = 1u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const IRP_MN_SET_LOCK: u32 = 18u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const IRP_MN_SET_POWER: u32 = 2u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const IRP_MN_START_DEVICE: u32 = 0u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const IRP_MN_STOP_DEVICE: u32 = 4u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const IRP_MN_SURPRISE_REMOVAL: u32 = 23u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const IRP_MN_TRACK_LINK: u32 = 4u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const IRP_MN_UNLOCK_ALL: u32 = 3u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const IRP_MN_UNLOCK_ALL_BY_KEY: u32 = 4u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const IRP_MN_UNLOCK_SINGLE: u32 = 2u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const IRP_MN_USER_FS_REQUEST: u32 = 0u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const IRP_MN_VERIFY_VOLUME: u32 = 2u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const IRP_MN_WAIT_WAKE: u32 = 0u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const IRP_MN_WRITE_CONFIG: u32 = 16u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const IRP_MOUNT_COMPLETION: u32 = 2u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const IRP_NOCACHE: u32 = 1u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const IRP_OB_QUERY_NAME: u32 = 4096u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const IRP_PAGING_IO: u32 = 2u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const IRP_QUOTA_CHARGED: u32 = 1u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const IRP_READ_OPERATION: u32 = 256u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const IRP_SYNCHRONOUS_API: u32 = 4u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const IRP_SYNCHRONOUS_PAGING_IO: u32 = 64u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const IRP_UM_DRIVER_INITIATED_IO: u32 = 4194304u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const IRP_WRITE_OPERATION: u32 = 512u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const InACriticalArrayControl: NPEM_CONTROL_STANDARD_CONTROL_BIT = NPEM_CONTROL_STANDARD_CONTROL_BIT(8i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const InAFailedArrayControl: NPEM_CONTROL_STANDARD_CONTROL_BIT = NPEM_CONTROL_STANDARD_CONTROL_BIT(9i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const IndicatorBlink: PCI_EXPRESS_INDICATOR_STATE = PCI_EXPRESS_INDICATOR_STATE(2i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const IndicatorOff: PCI_EXPRESS_INDICATOR_STATE = PCI_EXPRESS_INDICATOR_STATE(3i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const IndicatorOn: PCI_EXPRESS_INDICATOR_STATE = PCI_EXPRESS_INDICATOR_STATE(1i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const InitiateReset: NPEM_CONTROL_STANDARD_CONTROL_BIT = NPEM_CONTROL_STANDARD_CONTROL_BIT(1i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const InstallStateFailedInstall: DEVICE_INSTALL_STATE = DEVICE_INSTALL_STATE(2i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const InstallStateFinishInstall: DEVICE_INSTALL_STATE = DEVICE_INSTALL_STATE(3i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const InstallStateInstalled: DEVICE_INSTALL_STATE = DEVICE_INSTALL_STATE(0i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const InstallStateNeedsReinstall: DEVICE_INSTALL_STATE = DEVICE_INSTALL_STATE(1i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const IntelCacheData: INTEL_CACHE_TYPE = INTEL_CACHE_TYPE(1i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const IntelCacheInstruction: INTEL_CACHE_TYPE = INTEL_CACHE_TYPE(2i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const IntelCacheNull: INTEL_CACHE_TYPE = INTEL_CACHE_TYPE(0i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const IntelCacheRam: INTEL_CACHE_TYPE = INTEL_CACHE_TYPE(4i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const IntelCacheTrace: INTEL_CACHE_TYPE = INTEL_CACHE_TYPE(5i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const IntelCacheUnified: INTEL_CACHE_TYPE = INTEL_CACHE_TYPE(3i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const InterfaceTypeUndefined: INTERFACE_TYPE = INTERFACE_TYPE(-1i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const Internal: INTERFACE_TYPE = INTERFACE_TYPE(0i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const InternalPowerBus: INTERFACE_TYPE = INTERFACE_TYPE(13i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const InterruptActiveBoth: KINTERRUPT_POLARITY = KINTERRUPT_POLARITY(3i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const InterruptActiveBothTriggerHigh: KINTERRUPT_POLARITY = KINTERRUPT_POLARITY(4i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const InterruptActiveBothTriggerLow: KINTERRUPT_POLARITY = KINTERRUPT_POLARITY(3i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const InterruptActiveHigh: KINTERRUPT_POLARITY = KINTERRUPT_POLARITY(1i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const InterruptActiveLow: KINTERRUPT_POLARITY = KINTERRUPT_POLARITY(2i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const InterruptFallingEdge: KINTERRUPT_POLARITY = KINTERRUPT_POLARITY(2i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const InterruptPolarityUnknown: KINTERRUPT_POLARITY = KINTERRUPT_POLARITY(0i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const InterruptRisingEdge: KINTERRUPT_POLARITY = KINTERRUPT_POLARITY(1i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const InvalidDeviceTypeControl: NPEM_CONTROL_STANDARD_CONTROL_BIT = NPEM_CONTROL_STANDARD_CONTROL_BIT(10i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const IoMaxContainerInformationClass: IO_CONTAINER_INFORMATION_CLASS = IO_CONTAINER_INFORMATION_CLASS(1i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const IoMaxContainerNotificationClass: IO_CONTAINER_NOTIFICATION_CLASS = IO_CONTAINER_NOTIFICATION_CLASS(1i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const IoModifyAccess: LOCK_OPERATION = LOCK_OPERATION(2i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const IoPagingPriorityHigh: IO_PAGING_PRIORITY = IO_PAGING_PRIORITY(2i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const IoPagingPriorityInvalid: IO_PAGING_PRIORITY = IO_PAGING_PRIORITY(0i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const IoPagingPriorityNormal: IO_PAGING_PRIORITY = IO_PAGING_PRIORITY(1i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const IoPagingPriorityReserved1: IO_PAGING_PRIORITY = IO_PAGING_PRIORITY(3i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const IoPagingPriorityReserved2: IO_PAGING_PRIORITY = IO_PAGING_PRIORITY(4i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const IoQueryDeviceComponentInformation: IO_QUERY_DEVICE_DATA_FORMAT = IO_QUERY_DEVICE_DATA_FORMAT(2i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const IoQueryDeviceConfigurationData: IO_QUERY_DEVICE_DATA_FORMAT = IO_QUERY_DEVICE_DATA_FORMAT(1i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const IoQueryDeviceIdentifier: IO_QUERY_DEVICE_DATA_FORMAT = IO_QUERY_DEVICE_DATA_FORMAT(0i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const IoQueryDeviceMaxData: IO_QUERY_DEVICE_DATA_FORMAT = IO_QUERY_DEVICE_DATA_FORMAT(3i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const IoReadAccess: LOCK_OPERATION = LOCK_OPERATION(0i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const IoSessionEventConnected: IO_SESSION_EVENT = IO_SESSION_EVENT(3i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const IoSessionEventCreated: IO_SESSION_EVENT = IO_SESSION_EVENT(1i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const IoSessionEventDisconnected: IO_SESSION_EVENT = IO_SESSION_EVENT(4i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const IoSessionEventIgnore: IO_SESSION_EVENT = IO_SESSION_EVENT(0i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const IoSessionEventLogoff: IO_SESSION_EVENT = IO_SESSION_EVENT(6i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const IoSessionEventLogon: IO_SESSION_EVENT = IO_SESSION_EVENT(5i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const IoSessionEventMax: IO_SESSION_EVENT = IO_SESSION_EVENT(7i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const IoSessionEventTerminated: IO_SESSION_EVENT = IO_SESSION_EVENT(2i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const IoSessionStateConnected: IO_SESSION_STATE = IO_SESSION_STATE(3i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const IoSessionStateCreated: IO_SESSION_STATE = IO_SESSION_STATE(1i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const IoSessionStateDisconnected: IO_SESSION_STATE = IO_SESSION_STATE(4i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const IoSessionStateDisconnectedLoggedOn: IO_SESSION_STATE = IO_SESSION_STATE(5i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const IoSessionStateInformation: IO_CONTAINER_INFORMATION_CLASS = IO_CONTAINER_INFORMATION_CLASS(0i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const IoSessionStateInitialized: IO_SESSION_STATE = IO_SESSION_STATE(2i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const IoSessionStateLoggedOff: IO_SESSION_STATE = IO_SESSION_STATE(7i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const IoSessionStateLoggedOn: IO_SESSION_STATE = IO_SESSION_STATE(6i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const IoSessionStateMax: IO_SESSION_STATE = IO_SESSION_STATE(9i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const IoSessionStateNotification: IO_CONTAINER_NOTIFICATION_CLASS = IO_CONTAINER_NOTIFICATION_CLASS(0i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const IoSessionStateTerminated: IO_SESSION_STATE = IO_SESSION_STATE(8i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const IoWriteAccess: LOCK_OPERATION = LOCK_OPERATION(1i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const IommuDeviceCreationConfigTypeAcpi: IOMMU_DEVICE_CREATION_CONFIGURATION_TYPE = IOMMU_DEVICE_CREATION_CONFIGURATION_TYPE(1i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const IommuDeviceCreationConfigTypeDeviceId: IOMMU_DEVICE_CREATION_CONFIGURATION_TYPE = IOMMU_DEVICE_CREATION_CONFIGURATION_TYPE(2i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const IommuDeviceCreationConfigTypeMax: IOMMU_DEVICE_CREATION_CONFIGURATION_TYPE = IOMMU_DEVICE_CREATION_CONFIGURATION_TYPE(3i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const IommuDeviceCreationConfigTypeNone: IOMMU_DEVICE_CREATION_CONFIGURATION_TYPE = IOMMU_DEVICE_CREATION_CONFIGURATION_TYPE(0i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const IommuDmaLogicalAllocatorBuddy: IOMMU_DMA_LOGICAL_ALLOCATOR_TYPE = IOMMU_DMA_LOGICAL_ALLOCATOR_TYPE(1i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const IommuDmaLogicalAllocatorMax: IOMMU_DMA_LOGICAL_ALLOCATOR_TYPE = IOMMU_DMA_LOGICAL_ALLOCATOR_TYPE(2i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const IommuDmaLogicalAllocatorNone: IOMMU_DMA_LOGICAL_ALLOCATOR_TYPE = IOMMU_DMA_LOGICAL_ALLOCATOR_TYPE(0i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const IrqPolicyAllCloseProcessors: IRQ_DEVICE_POLICY = IRQ_DEVICE_POLICY(1i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const IrqPolicyAllProcessorsInMachine: IRQ_DEVICE_POLICY = IRQ_DEVICE_POLICY(3i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const IrqPolicyAllProcessorsInMachineWhenSteered: IRQ_DEVICE_POLICY = IRQ_DEVICE_POLICY(6i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const IrqPolicyMachineDefault: IRQ_DEVICE_POLICY = IRQ_DEVICE_POLICY(0i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const IrqPolicyOneCloseProcessor: IRQ_DEVICE_POLICY = IRQ_DEVICE_POLICY(2i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const IrqPolicySpecifiedProcessors: IRQ_DEVICE_POLICY = IRQ_DEVICE_POLICY(4i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const IrqPolicySpreadMessagesAcrossAllProcessors: IRQ_DEVICE_POLICY = IRQ_DEVICE_POLICY(5i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const IrqPriorityHigh: IRQ_PRIORITY = IRQ_PRIORITY(3i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const IrqPriorityLow: IRQ_PRIORITY = IRQ_PRIORITY(1i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const IrqPriorityNormal: IRQ_PRIORITY = IRQ_PRIORITY(2i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const IrqPriorityUndefined: IRQ_PRIORITY = IRQ_PRIORITY(0i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const Isa: INTERFACE_TYPE = INTERFACE_TYPE(1i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const IsochCommand: EXTENDED_AGP_REGISTER = EXTENDED_AGP_REGISTER(6i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const IsochStatus: EXTENDED_AGP_REGISTER = EXTENDED_AGP_REGISTER(0i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const KADDRESS_BASE: u32 = 0u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const KB_ADD_PAGES_FLAG_ADDITIONAL_RANGES_EXIST: u32 = 2147483648u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const KB_ADD_PAGES_FLAG_PHYSICAL_ADDRESS: u32 = 2u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const KB_ADD_PAGES_FLAG_VIRTUAL_ADDRESS: u32 = 1u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const KB_REMOVE_PAGES_FLAG_ADDITIONAL_RANGES_EXIST: u32 = 2147483648u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const KB_REMOVE_PAGES_FLAG_PHYSICAL_ADDRESS: u32 = 2u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const KB_REMOVE_PAGES_FLAG_VIRTUAL_ADDRESS: u32 = 1u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const KB_SECONDARY_DATA_FLAG_ADDITIONAL_DATA: u32 = 1u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const KB_SECONDARY_DATA_FLAG_NO_DEVICE_ACCESS: u32 = 2u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const KB_TRIAGE_DUMP_DATA_FLAG_BUGCHECK_ACTIVE: u32 = 1u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const KD_OPTION_SET_BLOCK_ENABLE: KD_OPTION = KD_OPTION(0i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const KENCODED_TIMER_PROCESSOR: u32 = 1u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const KERNEL_LARGE_STACK_COMMIT: u32 = 12288u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const KERNEL_LARGE_STACK_SIZE: u32 = 61440u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const KERNEL_MCA_EXCEPTION_STACK_SIZE: u32 = 8192u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const KERNEL_SOFT_RESTART_NOTIFICATION_VERSION: u32 = 1u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const KERNEL_STACK_SIZE: u32 = 12288u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const KE_MAX_TRIAGE_DUMP_DATA_MEMORY_SIZE: u32 = 33554432u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const KE_PROCESSOR_CHANGE_ADD_EXISTING: u32 = 1u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const KI_USER_SHARED_DATA: u32 = 4292804608u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const KUMS_UCH_VOLATILE_BIT: u32 = 0u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const KbCallbackAddPages: KBUGCHECK_CALLBACK_REASON = KBUGCHECK_CALLBACK_REASON(4i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const KbCallbackDumpIo: KBUGCHECK_CALLBACK_REASON = KBUGCHECK_CALLBACK_REASON(3i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const KbCallbackInvalid: KBUGCHECK_CALLBACK_REASON = KBUGCHECK_CALLBACK_REASON(0i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const KbCallbackRemovePages: KBUGCHECK_CALLBACK_REASON = KBUGCHECK_CALLBACK_REASON(6i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const KbCallbackReserved1: KBUGCHECK_CALLBACK_REASON = KBUGCHECK_CALLBACK_REASON(1i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const KbCallbackReserved2: KBUGCHECK_CALLBACK_REASON = KBUGCHECK_CALLBACK_REASON(8i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const KbCallbackSecondaryDumpData: KBUGCHECK_CALLBACK_REASON = KBUGCHECK_CALLBACK_REASON(2i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const KbCallbackSecondaryMultiPartDumpData: KBUGCHECK_CALLBACK_REASON = KBUGCHECK_CALLBACK_REASON(5i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const KbCallbackTriageDumpData: KBUGCHECK_CALLBACK_REASON = KBUGCHECK_CALLBACK_REASON(7i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const KbDumpIoBody: KBUGCHECK_DUMP_IO_TYPE = KBUGCHECK_DUMP_IO_TYPE(2i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const KbDumpIoComplete: KBUGCHECK_DUMP_IO_TYPE = KBUGCHECK_DUMP_IO_TYPE(4i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const KbDumpIoHeader: KBUGCHECK_DUMP_IO_TYPE = KBUGCHECK_DUMP_IO_TYPE(1i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const KbDumpIoInvalid: KBUGCHECK_DUMP_IO_TYPE = KBUGCHECK_DUMP_IO_TYPE(0i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const KbDumpIoSecondaryData: KBUGCHECK_DUMP_IO_TYPE = KBUGCHECK_DUMP_IO_TYPE(3i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const KdConfigureDeviceAndContinue: KD_CALLBACK_ACTION = KD_CALLBACK_ACTION(0i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const KdConfigureDeviceAndStop: KD_CALLBACK_ACTION = KD_CALLBACK_ACTION(2i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const KdNameSpaceACPI: KD_NAMESPACE_ENUM = KD_NAMESPACE_ENUM(1i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const KdNameSpaceAny: KD_NAMESPACE_ENUM = KD_NAMESPACE_ENUM(2i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const KdNameSpaceMax: KD_NAMESPACE_ENUM = KD_NAMESPACE_ENUM(4i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const KdNameSpaceNone: KD_NAMESPACE_ENUM = KD_NAMESPACE_ENUM(3i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const KdNameSpacePCI: KD_NAMESPACE_ENUM = KD_NAMESPACE_ENUM(0i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const KdSkipDeviceAndContinue: KD_CALLBACK_ACTION = KD_CALLBACK_ACTION(1i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const KdSkipDeviceAndStop: KD_CALLBACK_ACTION = KD_CALLBACK_ACTION(3i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const KeProcessorAddCompleteNotify: KE_PROCESSOR_CHANGE_NOTIFY_STATE = KE_PROCESSOR_CHANGE_NOTIFY_STATE(1i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const KeProcessorAddFailureNotify: KE_PROCESSOR_CHANGE_NOTIFY_STATE = KE_PROCESSOR_CHANGE_NOTIFY_STATE(2i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const KeProcessorAddStartNotify: KE_PROCESSOR_CHANGE_NOTIFY_STATE = KE_PROCESSOR_CHANGE_NOTIFY_STATE(0i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const KeepObject: IO_ALLOCATION_ACTION = IO_ALLOCATION_ACTION(1i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const KernelMode: MODE = MODE(0i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const KeyBasicInformation: KEY_INFORMATION_CLASS = KEY_INFORMATION_CLASS(0i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const KeyCachedInformation: KEY_INFORMATION_CLASS = KEY_INFORMATION_CLASS(4i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const KeyFlagsInformation: KEY_INFORMATION_CLASS = KEY_INFORMATION_CLASS(5i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const KeyFullInformation: KEY_INFORMATION_CLASS = KEY_INFORMATION_CLASS(2i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const KeyHandleTagsInformation: KEY_INFORMATION_CLASS = KEY_INFORMATION_CLASS(7i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const KeyLayerInformation: KEY_INFORMATION_CLASS = KEY_INFORMATION_CLASS(9i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const KeyNameInformation: KEY_INFORMATION_CLASS = KEY_INFORMATION_CLASS(3i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const KeyNodeInformation: KEY_INFORMATION_CLASS = KEY_INFORMATION_CLASS(1i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const KeyTrustInformation: KEY_INFORMATION_CLASS = KEY_INFORMATION_CLASS(8i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const KeyValueBasicInformation: KEY_VALUE_INFORMATION_CLASS = KEY_VALUE_INFORMATION_CLASS(0i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const KeyValueFullInformation: KEY_VALUE_INFORMATION_CLASS = KEY_VALUE_INFORMATION_CLASS(1i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const KeyValueFullInformationAlign64: KEY_VALUE_INFORMATION_CLASS = KEY_VALUE_INFORMATION_CLASS(3i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const KeyValueLayerInformation: KEY_VALUE_INFORMATION_CLASS = KEY_VALUE_INFORMATION_CLASS(5i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const KeyValuePartialInformation: KEY_VALUE_INFORMATION_CLASS = KEY_VALUE_INFORMATION_CLASS(2i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const KeyValuePartialInformationAlign64: KEY_VALUE_INFORMATION_CLASS = KEY_VALUE_INFORMATION_CLASS(4i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const KeyVirtualizationInformation: KEY_INFORMATION_CLASS = KEY_INFORMATION_CLASS(6i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const KeyboardController: CONFIGURATION_TYPE = CONFIGURATION_TYPE(22i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const KeyboardPeripheral: CONFIGURATION_TYPE = CONFIGURATION_TYPE(32i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const L0sAndL1EntryDisabled: PCI_EXPRESS_ASPM_CONTROL = PCI_EXPRESS_ASPM_CONTROL(0i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const L0sAndL1EntryEnabled: PCI_EXPRESS_ASPM_CONTROL = PCI_EXPRESS_ASPM_CONTROL(3i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const L0sAndL1EntrySupport: PCI_EXPRESS_ASPM_SUPPORT = PCI_EXPRESS_ASPM_SUPPORT(3i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const L0sEntryEnabled: PCI_EXPRESS_ASPM_CONTROL = PCI_EXPRESS_ASPM_CONTROL(1i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const L0sEntrySupport: PCI_EXPRESS_ASPM_SUPPORT = PCI_EXPRESS_ASPM_SUPPORT(1i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const L0s_128ns_256ns: PCI_EXPRESS_L0s_EXIT_LATENCY = PCI_EXPRESS_L0s_EXIT_LATENCY(2i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const L0s_1us_2us: PCI_EXPRESS_L0s_EXIT_LATENCY = PCI_EXPRESS_L0s_EXIT_LATENCY(5i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const L0s_256ns_512ns: PCI_EXPRESS_L0s_EXIT_LATENCY = PCI_EXPRESS_L0s_EXIT_LATENCY(3i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const L0s_2us_4us: PCI_EXPRESS_L0s_EXIT_LATENCY = PCI_EXPRESS_L0s_EXIT_LATENCY(6i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const L0s_512ns_1us: PCI_EXPRESS_L0s_EXIT_LATENCY = PCI_EXPRESS_L0s_EXIT_LATENCY(4i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const L0s_64ns_128ns: PCI_EXPRESS_L0s_EXIT_LATENCY = PCI_EXPRESS_L0s_EXIT_LATENCY(1i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const L0s_Above4us: PCI_EXPRESS_L0s_EXIT_LATENCY = PCI_EXPRESS_L0s_EXIT_LATENCY(7i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const L0s_Below64ns: PCI_EXPRESS_L0s_EXIT_LATENCY = PCI_EXPRESS_L0s_EXIT_LATENCY(0i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const L1EntryEnabled: PCI_EXPRESS_ASPM_CONTROL = PCI_EXPRESS_ASPM_CONTROL(2i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const L1EntrySupport: PCI_EXPRESS_ASPM_SUPPORT = PCI_EXPRESS_ASPM_SUPPORT(2i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const L1_16us_32us: PCI_EXPRESS_L1_EXIT_LATENCY = PCI_EXPRESS_L1_EXIT_LATENCY(5i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const L1_1us_2us: PCI_EXPRESS_L1_EXIT_LATENCY = PCI_EXPRESS_L1_EXIT_LATENCY(1i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const L1_2us_4us: PCI_EXPRESS_L1_EXIT_LATENCY = PCI_EXPRESS_L1_EXIT_LATENCY(2i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const L1_32us_64us: PCI_EXPRESS_L1_EXIT_LATENCY = PCI_EXPRESS_L1_EXIT_LATENCY(6i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const L1_4us_8us: PCI_EXPRESS_L1_EXIT_LATENCY = PCI_EXPRESS_L1_EXIT_LATENCY(3i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const L1_8us_16us: PCI_EXPRESS_L1_EXIT_LATENCY = PCI_EXPRESS_L1_EXIT_LATENCY(4i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const L1_Above64us: PCI_EXPRESS_L1_EXIT_LATENCY = PCI_EXPRESS_L1_EXIT_LATENCY(7i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const L1_Below1us: PCI_EXPRESS_L1_EXIT_LATENCY = PCI_EXPRESS_L1_EXIT_LATENCY(0i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const LOCK_QUEUE_HALTED: u32 = 4u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const LOCK_QUEUE_HALTED_BIT: u32 = 2u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const LOCK_QUEUE_OWNER: u32 = 2u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const LOCK_QUEUE_OWNER_BIT: u32 = 1u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const LOCK_QUEUE_WAIT: u32 = 1u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const LOCK_QUEUE_WAIT_BIT: u32 = 0u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const LONG_2ND_MOST_SIGNIFICANT_BIT: u32 = 2u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const LONG_3RD_MOST_SIGNIFICANT_BIT: u32 = 1u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const LONG_LEAST_SIGNIFICANT_BIT: u32 = 0u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const LONG_MOST_SIGNIFICANT_BIT: u32 = 3u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const LOWBYTE_MASK: u32 = 255u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const LOW_LEVEL: u32 = 0u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const LOW_PRIORITY: u32 = 0u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const LOW_REALTIME_PRIORITY: u32 = 16u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const LastDStateTransitionD3cold: D3COLD_LAST_TRANSITION_STATUS = D3COLD_LAST_TRANSITION_STATUS(2i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const LastDStateTransitionD3hot: D3COLD_LAST_TRANSITION_STATUS = D3COLD_LAST_TRANSITION_STATUS(1i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const LastDStateTransitionStatusUnknown: D3COLD_LAST_TRANSITION_STATUS = D3COLD_LAST_TRANSITION_STATUS(0i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const LastDrvRtFlag: DRIVER_RUNTIME_INIT_FLAGS = DRIVER_RUNTIME_INIT_FLAGS(2i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const Latched: KINTERRUPT_MODE = KINTERRUPT_MODE(1i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const LevelSensitive: KINTERRUPT_MODE = KINTERRUPT_MODE(0i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const LinePeripheral: CONFIGURATION_TYPE = CONFIGURATION_TYPE(35i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const LocateControl: NPEM_CONTROL_STANDARD_CONTROL_BIT = NPEM_CONTROL_STANDARD_CONTROL_BIT(3i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const LocationTypeFileSystem: STATE_LOCATION_TYPE = STATE_LOCATION_TYPE(1i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const LocationTypeMaximum: STATE_LOCATION_TYPE = STATE_LOCATION_TYPE(2i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const LocationTypeRegistry: STATE_LOCATION_TYPE = STATE_LOCATION_TYPE(0i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const LoggerEventsLoggedClass: TRACE_INFORMATION_CLASS = TRACE_INFORMATION_CLASS(10i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const LoggerEventsLostClass: TRACE_INFORMATION_CLASS = TRACE_INFORMATION_CLASS(8i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const LowImportance: KDPC_IMPORTANCE = KDPC_IMPORTANCE(0i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const LowPagePriority: MM_PAGE_PRIORITY = MM_PAGE_PRIORITY(0i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const LowPoolPriority: EX_POOL_PRIORITY = EX_POOL_PRIORITY(0i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const LowPoolPrioritySpecialPoolOverrun: EX_POOL_PRIORITY = EX_POOL_PRIORITY(8i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const LowPoolPrioritySpecialPoolUnderrun: EX_POOL_PRIORITY = EX_POOL_PRIORITY(9i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const MAXIMUM_DEBUG_BARS: u32 = 6u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const MAXIMUM_FILENAME_LENGTH: u32 = 256u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const MAXIMUM_PRIORITY: u32 = 32u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const MAX_EVENT_COUNTERS: u32 = 31u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const MCA_EXTREG_V2MAX: u32 = 24u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const MCE_NOTIFY_TYPE_GUID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe8f56ffe_919c_4cc5_ba88_65abe14913bb);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const MDL_ALLOCATED_FIXED_SIZE: u32 = 8u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const MDL_DESCRIBES_AWE: u32 = 1024u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const MDL_FREE_EXTRA_PTES: u32 = 512u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const MDL_INTERNAL: u32 = 32768u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const MDL_LOCKED_PAGE_TABLES: u32 = 256u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const MDL_PAGE_CONTENTS_INVARIANT: u32 = 16384u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const MEMORY_CORRECTABLE_ERROR_SUMMARY_SECTION_GUID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x0e36c93e_ca15_4a83_ba8a_cbe80f7f0017);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const MEMORY_ERROR_SECTION_GUID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa5bc1114_6f64_4ede_b863_3e83ed7c83b1);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const MEM_COMMIT: u32 = 4096u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const MEM_DECOMMIT: u32 = 16384u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const MEM_EXTENDED_PARAMETER_EC_CODE: u32 = 64u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const MEM_EXTENDED_PARAMETER_TYPE_BITS: u32 = 8u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const MEM_LARGE_PAGES: u32 = 536870912u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const MEM_MAPPED: u32 = 262144u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const MEM_PRIVATE: u32 = 131072u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const MEM_RELEASE: u32 = 32768u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const MEM_RESERVE: u32 = 8192u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const MEM_RESET: u32 = 524288u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const MEM_RESET_UNDO: u32 = 16777216u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const MEM_TOP_DOWN: u32 = 1048576u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const MM_ADD_PHYSICAL_MEMORY_ALREADY_ZEROED: u32 = 1u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const MM_ADD_PHYSICAL_MEMORY_HUGE_PAGES_ONLY: u32 = 4u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const MM_ADD_PHYSICAL_MEMORY_LARGE_PAGES_ONLY: u32 = 2u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const MM_ALLOCATE_AND_HOT_REMOVE: u32 = 256u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const MM_ALLOCATE_CONTIGUOUS_MEMORY_FAST_ONLY: u32 = 1u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const MM_ALLOCATE_FAST_LARGE_PAGES: u32 = 64u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const MM_ALLOCATE_FROM_LOCAL_NODE_ONLY: u32 = 2u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const MM_ALLOCATE_FULLY_REQUIRED: u32 = 4u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const MM_ALLOCATE_NO_WAIT: u32 = 8u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const MM_ALLOCATE_PREFER_CONTIGUOUS: u32 = 16u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const MM_ALLOCATE_REQUIRE_CONTIGUOUS_CHUNKS: u32 = 32u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const MM_ALLOCATE_TRIM_IF_NECESSARY: u32 = 128u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const MM_ANY_NODE_OK: u32 = 2147483648u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const MM_COPY_MEMORY_PHYSICAL: u32 = 1u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const MM_COPY_MEMORY_VIRTUAL: u32 = 2u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const MM_DONT_ZERO_ALLOCATION: u32 = 1u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const MM_DUMP_MAP_CACHED: u32 = 1u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const MM_DUMP_MAP_INVALIDATE: u32 = 2u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const MM_FREE_MDL_PAGES_ZERO: u32 = 1u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const MM_GET_CACHE_ATTRIBUTE_IO_SPACE: u32 = 1u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const MM_GET_PHYSICAL_MEMORY_RANGES_INCLUDE_ALL_PARTITIONS: u32 = 2u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const MM_GET_PHYSICAL_MEMORY_RANGES_INCLUDE_FILE_ONLY: u32 = 1u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const MM_MAPPING_ADDRESS_DIVISIBLE: u32 = 1u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const MM_MAXIMUM_DISK_IO_SIZE: u32 = 65536u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const MM_PERMANENT_ADDRESS_IS_IO_SPACE: u32 = 1u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const MM_PROTECT_DRIVER_SECTION_ALLOW_UNLOAD: u32 = 1u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const MM_PROTECT_DRIVER_SECTION_VALID_FLAGS: u32 = 1u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const MM_REMOVE_PHYSICAL_MEMORY_BAD_ONLY: u32 = 1u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const MM_SECURE_EXCLUSIVE: u32 = 1u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const MM_SECURE_NO_CHANGE: u32 = 2u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const MM_SECURE_NO_INHERIT: u32 = 8u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const MM_SECURE_USER_MODE_ONLY: u32 = 4u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const MM_SYSTEM_SPACE_END: u32 = 4294967295u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const MM_SYSTEM_VIEW_EXCEPTIONS_FOR_INPAGE_ERRORS: u32 = 1u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const MPIBus: INTERFACE_TYPE = INTERFACE_TYPE(10i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const MPIConfiguration: BUS_DATA_TYPE = BUS_DATA_TYPE(8i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const MPSABus: INTERFACE_TYPE = INTERFACE_TYPE(11i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const MPSAConfiguration: BUS_DATA_TYPE = BUS_DATA_TYPE(9i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const MRLClosed: PCI_EXPRESS_MRL_STATE = PCI_EXPRESS_MRL_STATE(0i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const MRLOpen: PCI_EXPRESS_MRL_STATE = PCI_EXPRESS_MRL_STATE(1i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const MU_TELEMETRY_SECTION_GUID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x85183a8b_9c41_429c_939c_5c3c087ca280);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const MapPhysicalAddressTypeContiguousRange: IOMMU_MAP_PHYSICAL_ADDRESS_TYPE = IOMMU_MAP_PHYSICAL_ADDRESS_TYPE(1i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const MapPhysicalAddressTypeMax: IOMMU_MAP_PHYSICAL_ADDRESS_TYPE = IOMMU_MAP_PHYSICAL_ADDRESS_TYPE(3i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const MapPhysicalAddressTypeMdl: IOMMU_MAP_PHYSICAL_ADDRESS_TYPE = IOMMU_MAP_PHYSICAL_ADDRESS_TYPE(0i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const MapPhysicalAddressTypePfn: IOMMU_MAP_PHYSICAL_ADDRESS_TYPE = IOMMU_MAP_PHYSICAL_ADDRESS_TYPE(2i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const MaxFaultType: FAULT_INFORMATION_ARM64_TYPE = FAULT_INFORMATION_ARM64_TYPE(7i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const MaxHardwareCounterType: HARDWARE_COUNTER_TYPE = HARDWARE_COUNTER_TYPE(1i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const MaxKeyInfoClass: KEY_INFORMATION_CLASS = KEY_INFORMATION_CLASS(10i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const MaxKeyValueInfoClass: KEY_VALUE_INFORMATION_CLASS = KEY_VALUE_INFORMATION_CLASS(6i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const MaxPayload1024Bytes: PCI_EXPRESS_MAX_PAYLOAD_SIZE = PCI_EXPRESS_MAX_PAYLOAD_SIZE(3i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const MaxPayload128Bytes: PCI_EXPRESS_MAX_PAYLOAD_SIZE = PCI_EXPRESS_MAX_PAYLOAD_SIZE(0i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const MaxPayload2048Bytes: PCI_EXPRESS_MAX_PAYLOAD_SIZE = PCI_EXPRESS_MAX_PAYLOAD_SIZE(4i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const MaxPayload256Bytes: PCI_EXPRESS_MAX_PAYLOAD_SIZE = PCI_EXPRESS_MAX_PAYLOAD_SIZE(1i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const MaxPayload4096Bytes: PCI_EXPRESS_MAX_PAYLOAD_SIZE = PCI_EXPRESS_MAX_PAYLOAD_SIZE(5i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const MaxPayload512Bytes: PCI_EXPRESS_MAX_PAYLOAD_SIZE = PCI_EXPRESS_MAX_PAYLOAD_SIZE(2i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const MaxRegNtNotifyClass: REG_NOTIFY_CLASS = REG_NOTIFY_CLASS(51i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const MaxSubsystemInformationType: SUBSYSTEM_INFORMATION_TYPE = SUBSYSTEM_INFORMATION_TYPE(2i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const MaxTimerInfoClass: TIMER_SET_INFORMATION_CLASS = TIMER_SET_INFORMATION_CLASS(1i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const MaxTraceInformationClass: TRACE_INFORMATION_CLASS = TRACE_INFORMATION_CLASS(16i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const MaximumBusDataType: BUS_DATA_TYPE = BUS_DATA_TYPE(12i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const MaximumDmaSpeed: DMA_SPEED = DMA_SPEED(5i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const MaximumDmaWidth: DMA_WIDTH = DMA_WIDTH(5i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const MaximumInterfaceType: INTERFACE_TYPE = INTERFACE_TYPE(18i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const MaximumMode: MODE = MODE(2i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const MaximumType: CONFIGURATION_TYPE = CONFIGURATION_TYPE(41i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const MaximumWaitReason: KWAIT_REASON = KWAIT_REASON(42i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const MaximumWorkQueue: WORK_QUEUE_TYPE = WORK_QUEUE_TYPE(7i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const MdlMappingNoExecute: u32 = 1073741824u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const MdlMappingNoWrite: u32 = 2147483648u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const MdlMappingWithGuardPtes: u32 = 536870912u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const MediumHighImportance: KDPC_IMPORTANCE = KDPC_IMPORTANCE(3i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const MediumImportance: KDPC_IMPORTANCE = KDPC_IMPORTANCE(1i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const MemDedicatedAttributeMax: MEM_DEDICATED_ATTRIBUTE_TYPE = MEM_DEDICATED_ATTRIBUTE_TYPE(4i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const MemDedicatedAttributeReadBandwidth: MEM_DEDICATED_ATTRIBUTE_TYPE = MEM_DEDICATED_ATTRIBUTE_TYPE(0i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const MemDedicatedAttributeReadLatency: MEM_DEDICATED_ATTRIBUTE_TYPE = MEM_DEDICATED_ATTRIBUTE_TYPE(1i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const MemDedicatedAttributeWriteBandwidth: MEM_DEDICATED_ATTRIBUTE_TYPE = MEM_DEDICATED_ATTRIBUTE_TYPE(2i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const MemDedicatedAttributeWriteLatency: MEM_DEDICATED_ATTRIBUTE_TYPE = MEM_DEDICATED_ATTRIBUTE_TYPE(3i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const MemSectionExtendedParameterInvalidType: MEM_SECTION_EXTENDED_PARAMETER_TYPE = MEM_SECTION_EXTENDED_PARAMETER_TYPE(0i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const MemSectionExtendedParameterMax: MEM_SECTION_EXTENDED_PARAMETER_TYPE = MEM_SECTION_EXTENDED_PARAMETER_TYPE(4i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const MemSectionExtendedParameterNumaNode: MEM_SECTION_EXTENDED_PARAMETER_TYPE = MEM_SECTION_EXTENDED_PARAMETER_TYPE(2i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const MemSectionExtendedParameterSigningLevel: MEM_SECTION_EXTENDED_PARAMETER_TYPE = MEM_SECTION_EXTENDED_PARAMETER_TYPE(3i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const MemSectionExtendedParameterUserPhysicalFlags: MEM_SECTION_EXTENDED_PARAMETER_TYPE = MEM_SECTION_EXTENDED_PARAMETER_TYPE(1i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const MicroChannel: INTERFACE_TYPE = INTERFACE_TYPE(3i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const MmCached: MEMORY_CACHING_TYPE = MEMORY_CACHING_TYPE(1i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const MmFrameBufferCached: MEMORY_CACHING_TYPE_ORIG = MEMORY_CACHING_TYPE_ORIG(2i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const MmHardwareCoherentCached: MEMORY_CACHING_TYPE = MEMORY_CACHING_TYPE(3i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const MmLargeSystem: MM_SYSTEMSIZE = MM_SYSTEMSIZE(2i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const MmMaximumCacheType: MEMORY_CACHING_TYPE = MEMORY_CACHING_TYPE(6i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const MmMaximumRotateDirection: MM_ROTATE_DIRECTION = MM_ROTATE_DIRECTION(4i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const MmMdlPageContentsDynamic: MM_MDL_PAGE_CONTENTS_STATE = MM_MDL_PAGE_CONTENTS_STATE(0i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const MmMdlPageContentsInvariant: MM_MDL_PAGE_CONTENTS_STATE = MM_MDL_PAGE_CONTENTS_STATE(1i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const MmMdlPageContentsQuery: MM_MDL_PAGE_CONTENTS_STATE = MM_MDL_PAGE_CONTENTS_STATE(2i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const MmMediumSystem: MM_SYSTEMSIZE = MM_SYSTEMSIZE(1i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const MmNonCached: MEMORY_CACHING_TYPE = MEMORY_CACHING_TYPE(0i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const MmNonCachedUnordered: MEMORY_CACHING_TYPE = MEMORY_CACHING_TYPE(4i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const MmNotMapped: MEMORY_CACHING_TYPE = MEMORY_CACHING_TYPE(-1i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const MmSmallSystem: MM_SYSTEMSIZE = MM_SYSTEMSIZE(0i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const MmToFrameBuffer: MM_ROTATE_DIRECTION = MM_ROTATE_DIRECTION(0i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const MmToFrameBufferNoCopy: MM_ROTATE_DIRECTION = MM_ROTATE_DIRECTION(1i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const MmToRegularMemory: MM_ROTATE_DIRECTION = MM_ROTATE_DIRECTION(2i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const MmToRegularMemoryNoCopy: MM_ROTATE_DIRECTION = MM_ROTATE_DIRECTION(3i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const MmUSWCCached: MEMORY_CACHING_TYPE = MEMORY_CACHING_TYPE(5i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const MmWriteCombined: MEMORY_CACHING_TYPE = MEMORY_CACHING_TYPE(2i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const ModemPeripheral: CONFIGURATION_TYPE = CONFIGURATION_TYPE(28i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const ModifyAccess: IO_ACCESS_TYPE = IO_ACCESS_TYPE(2i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const MonitorPeripheral: CONFIGURATION_TYPE = CONFIGURATION_TYPE(29i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const MonitorRequestReasonAcDcDisplayBurst: POWER_MONITOR_REQUEST_REASON = POWER_MONITOR_REQUEST_REASON(5i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const MonitorRequestReasonAcDcDisplayBurstSuppressed: POWER_MONITOR_REQUEST_REASON = POWER_MONITOR_REQUEST_REASON(28i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const MonitorRequestReasonBatteryCountChange: POWER_MONITOR_REQUEST_REASON = POWER_MONITOR_REQUEST_REASON(16i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const MonitorRequestReasonBatteryCountChangeSuppressed: POWER_MONITOR_REQUEST_REASON = POWER_MONITOR_REQUEST_REASON(49i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const MonitorRequestReasonBatteryPreCritical: POWER_MONITOR_REQUEST_REASON = POWER_MONITOR_REQUEST_REASON(53i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const MonitorRequestReasonBuiltinPanel: POWER_MONITOR_REQUEST_REASON = POWER_MONITOR_REQUEST_REASON(47i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const MonitorRequestReasonDP: POWER_MONITOR_REQUEST_REASON = POWER_MONITOR_REQUEST_REASON(19i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const MonitorRequestReasonDim: POWER_MONITOR_REQUEST_REASON = POWER_MONITOR_REQUEST_REASON(46i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const MonitorRequestReasonDirectedDrips: POWER_MONITOR_REQUEST_REASON = POWER_MONITOR_REQUEST_REASON(45i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const MonitorRequestReasonDisplayRequiredUnDim: POWER_MONITOR_REQUEST_REASON = POWER_MONITOR_REQUEST_REASON(48i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const MonitorRequestReasonFullWake: POWER_MONITOR_REQUEST_REASON = POWER_MONITOR_REQUEST_REASON(9i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const MonitorRequestReasonGracePeriod: POWER_MONITOR_REQUEST_REASON = POWER_MONITOR_REQUEST_REASON(17i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const MonitorRequestReasonIdleTimeout: POWER_MONITOR_REQUEST_REASON = POWER_MONITOR_REQUEST_REASON(12i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const MonitorRequestReasonLid: POWER_MONITOR_REQUEST_REASON = POWER_MONITOR_REQUEST_REASON(15i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const MonitorRequestReasonMax: POWER_MONITOR_REQUEST_REASON = POWER_MONITOR_REQUEST_REASON(55i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const MonitorRequestReasonNearProximity: POWER_MONITOR_REQUEST_REASON = POWER_MONITOR_REQUEST_REASON(22i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const MonitorRequestReasonPdcSignal: POWER_MONITOR_REQUEST_REASON = POWER_MONITOR_REQUEST_REASON(27i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const MonitorRequestReasonPdcSignalFingerprint: POWER_MONITOR_REQUEST_REASON = POWER_MONITOR_REQUEST_REASON(44i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const MonitorRequestReasonPdcSignalHeyCortana: POWER_MONITOR_REQUEST_REASON = POWER_MONITOR_REQUEST_REASON(42i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const MonitorRequestReasonPdcSignalHolographicShell: POWER_MONITOR_REQUEST_REASON = POWER_MONITOR_REQUEST_REASON(43i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const MonitorRequestReasonPdcSignalSensorsHumanPresence: POWER_MONITOR_REQUEST_REASON = POWER_MONITOR_REQUEST_REASON(52i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const MonitorRequestReasonPdcSignalWindowsMobilePwrNotif: POWER_MONITOR_REQUEST_REASON = POWER_MONITOR_REQUEST_REASON(40i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const MonitorRequestReasonPdcSignalWindowsMobileShell: POWER_MONITOR_REQUEST_REASON = POWER_MONITOR_REQUEST_REASON(41i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const MonitorRequestReasonPnP: POWER_MONITOR_REQUEST_REASON = POWER_MONITOR_REQUEST_REASON(18i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const MonitorRequestReasonPoSetSystemState: POWER_MONITOR_REQUEST_REASON = POWER_MONITOR_REQUEST_REASON(7i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const MonitorRequestReasonPolicyChange: POWER_MONITOR_REQUEST_REASON = POWER_MONITOR_REQUEST_REASON(13i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const MonitorRequestReasonPowerButton: POWER_MONITOR_REQUEST_REASON = POWER_MONITOR_REQUEST_REASON(1i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const MonitorRequestReasonRemoteConnection: POWER_MONITOR_REQUEST_REASON = POWER_MONITOR_REQUEST_REASON(2i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const MonitorRequestReasonResumeModernStandby: POWER_MONITOR_REQUEST_REASON = POWER_MONITOR_REQUEST_REASON(50i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const MonitorRequestReasonResumePdc: POWER_MONITOR_REQUEST_REASON = POWER_MONITOR_REQUEST_REASON(24i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const MonitorRequestReasonResumeS4: POWER_MONITOR_REQUEST_REASON = POWER_MONITOR_REQUEST_REASON(25i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const MonitorRequestReasonScMonitorpower: POWER_MONITOR_REQUEST_REASON = POWER_MONITOR_REQUEST_REASON(3i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const MonitorRequestReasonScreenOffRequest: POWER_MONITOR_REQUEST_REASON = POWER_MONITOR_REQUEST_REASON(11i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const MonitorRequestReasonSessionUnlock: POWER_MONITOR_REQUEST_REASON = POWER_MONITOR_REQUEST_REASON(10i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const MonitorRequestReasonSetThreadExecutionState: POWER_MONITOR_REQUEST_REASON = POWER_MONITOR_REQUEST_REASON(8i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const MonitorRequestReasonSleepButton: POWER_MONITOR_REQUEST_REASON = POWER_MONITOR_REQUEST_REASON(14i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const MonitorRequestReasonSxTransition: POWER_MONITOR_REQUEST_REASON = POWER_MONITOR_REQUEST_REASON(20i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const MonitorRequestReasonSystemIdle: POWER_MONITOR_REQUEST_REASON = POWER_MONITOR_REQUEST_REASON(21i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const MonitorRequestReasonSystemStateEntered: POWER_MONITOR_REQUEST_REASON = POWER_MONITOR_REQUEST_REASON(29i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const MonitorRequestReasonTerminal: POWER_MONITOR_REQUEST_REASON = POWER_MONITOR_REQUEST_REASON(26i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const MonitorRequestReasonTerminalInit: POWER_MONITOR_REQUEST_REASON = POWER_MONITOR_REQUEST_REASON(51i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const MonitorRequestReasonThermalStandby: POWER_MONITOR_REQUEST_REASON = POWER_MONITOR_REQUEST_REASON(23i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const MonitorRequestReasonUnknown: POWER_MONITOR_REQUEST_REASON = POWER_MONITOR_REQUEST_REASON(0i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const MonitorRequestReasonUserDisplayBurst: POWER_MONITOR_REQUEST_REASON = POWER_MONITOR_REQUEST_REASON(6i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const MonitorRequestReasonUserInput: POWER_MONITOR_REQUEST_REASON = POWER_MONITOR_REQUEST_REASON(4i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const MonitorRequestReasonUserInputAccelerometer: POWER_MONITOR_REQUEST_REASON = POWER_MONITOR_REQUEST_REASON(35i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const MonitorRequestReasonUserInputHid: POWER_MONITOR_REQUEST_REASON = POWER_MONITOR_REQUEST_REASON(36i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const MonitorRequestReasonUserInputInitialization: POWER_MONITOR_REQUEST_REASON = POWER_MONITOR_REQUEST_REASON(39i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const MonitorRequestReasonUserInputKeyboard: POWER_MONITOR_REQUEST_REASON = POWER_MONITOR_REQUEST_REASON(31i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const MonitorRequestReasonUserInputMouse: POWER_MONITOR_REQUEST_REASON = POWER_MONITOR_REQUEST_REASON(32i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const MonitorRequestReasonUserInputPen: POWER_MONITOR_REQUEST_REASON = POWER_MONITOR_REQUEST_REASON(34i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const MonitorRequestReasonUserInputPoUserPresent: POWER_MONITOR_REQUEST_REASON = POWER_MONITOR_REQUEST_REASON(37i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const MonitorRequestReasonUserInputSessionSwitch: POWER_MONITOR_REQUEST_REASON = POWER_MONITOR_REQUEST_REASON(38i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const MonitorRequestReasonUserInputTouch: POWER_MONITOR_REQUEST_REASON = POWER_MONITOR_REQUEST_REASON(54i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const MonitorRequestReasonUserInputTouchpad: POWER_MONITOR_REQUEST_REASON = POWER_MONITOR_REQUEST_REASON(33i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const MonitorRequestReasonWinrt: POWER_MONITOR_REQUEST_REASON = POWER_MONITOR_REQUEST_REASON(30i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const MonitorRequestTypeOff: POWER_MONITOR_REQUEST_TYPE = POWER_MONITOR_REQUEST_TYPE(0i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const MonitorRequestTypeOnAndPresent: POWER_MONITOR_REQUEST_TYPE = POWER_MONITOR_REQUEST_TYPE(1i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const MonitorRequestTypeToggleOn: POWER_MONITOR_REQUEST_TYPE = POWER_MONITOR_REQUEST_TYPE(2i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const MultiFunctionAdapter: CONFIGURATION_TYPE = CONFIGURATION_TYPE(12i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const NEC98x86: ALTERNATIVE_ARCHITECTURE_TYPE = ALTERNATIVE_ARCHITECTURE_TYPE(1i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const NMI_NOTIFY_TYPE_GUID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5bad89ff_b7e6_42c9_814a_cf2485d6e98a);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const NMI_SECTION_GUID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe71254e7_c1b9_4940_ab76_909703a4320f);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const NPEM_CONTROL_INTERFACE_CURRENT_VERSION: u32 = 2u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const NPEM_CONTROL_INTERFACE_VERSION1: u32 = 1u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const NPEM_CONTROL_INTERFACE_VERSION2: u32 = 2u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const NT_PAGING_LEVELS: u32 = 2u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const NX_SUPPORT_POLICY_ALWAYSOFF: u32 = 0u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const NX_SUPPORT_POLICY_ALWAYSON: u32 = 1u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const NX_SUPPORT_POLICY_OPTIN: u32 = 2u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const NX_SUPPORT_POLICY_OPTOUT: u32 = 3u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const NetworkController: CONFIGURATION_TYPE = CONFIGURATION_TYPE(18i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const NetworkPeripheral: CONFIGURATION_TYPE = CONFIGURATION_TYPE(36i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const NoAspmSupport: PCI_EXPRESS_ASPM_SUPPORT = PCI_EXPRESS_ASPM_SUPPORT(0i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const NormalPagePriority: MM_PAGE_PRIORITY = MM_PAGE_PRIORITY(16i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const NormalPoolPriority: EX_POOL_PRIORITY = EX_POOL_PRIORITY(16i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const NormalPoolPrioritySpecialPoolOverrun: EX_POOL_PRIORITY = EX_POOL_PRIORITY(24i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const NormalPoolPrioritySpecialPoolUnderrun: EX_POOL_PRIORITY = EX_POOL_PRIORITY(25i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const NormalWorkQueue: WORK_QUEUE_TYPE = WORK_QUEUE_TYPE(3i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const NuBus: INTERFACE_TYPE = INTERFACE_TYPE(7i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const NuBusConfiguration: BUS_DATA_TYPE = BUS_DATA_TYPE(6i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const OBJECT_TYPE_CREATE: u32 = 1u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const OB_FLT_REGISTRATION_VERSION: u32 = 256u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const OB_FLT_REGISTRATION_VERSION_0100: u32 = 256u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const OB_OPERATION_HANDLE_CREATE: u32 = 1u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const OB_OPERATION_HANDLE_DUPLICATE: u32 = 2u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const OB_PREOP_SUCCESS: OB_PREOP_CALLBACK_STATUS = OB_PREOP_CALLBACK_STATUS(0i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const OPLOCK_KEY_FLAG_PARENT_KEY: u32 = 1u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const OPLOCK_KEY_FLAG_TARGET_KEY: u32 = 2u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const OPLOCK_KEY_VERSION_WIN7: u32 = 1u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const OPLOCK_KEY_VERSION_WIN8: u32 = 2u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const OSC_CAPABILITIES_MASKED: u32 = 16u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const OSC_FIRMWARE_FAILURE: u32 = 2u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const OSC_UNRECOGNIZED_REVISION: u32 = 8u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const OSC_UNRECOGNIZED_UUID: u32 = 4u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const OkControl: NPEM_CONTROL_STANDARD_CONTROL_BIT = NPEM_CONTROL_STANDARD_CONTROL_BIT(2i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const OtherController: CONFIGURATION_TYPE = CONFIGURATION_TYPE(24i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const OtherPeripheral: CONFIGURATION_TYPE = CONFIGURATION_TYPE(34i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PAGE_ENCLAVE_NO_CHANGE: u32 = 536870912u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PAGE_ENCLAVE_THREAD_CONTROL: u32 = 2147483648u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PAGE_ENCLAVE_UNVALIDATED: u32 = 536870912u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PAGE_EXECUTE: u32 = 16u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PAGE_EXECUTE_READ: u32 = 32u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PAGE_EXECUTE_READWRITE: u32 = 64u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PAGE_EXECUTE_WRITECOPY: u32 = 128u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PAGE_GRAPHICS_COHERENT: u32 = 131072u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PAGE_GRAPHICS_EXECUTE: u32 = 16384u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PAGE_GRAPHICS_EXECUTE_READ: u32 = 32768u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PAGE_GRAPHICS_EXECUTE_READWRITE: u32 = 65536u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PAGE_GRAPHICS_NOACCESS: u32 = 2048u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PAGE_GRAPHICS_NOCACHE: u32 = 262144u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PAGE_GRAPHICS_READONLY: u32 = 4096u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PAGE_GRAPHICS_READWRITE: u32 = 8192u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PAGE_GUARD: u32 = 256u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PAGE_NOACCESS: u32 = 1u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PAGE_NOCACHE: u32 = 512u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PAGE_READONLY: u32 = 2u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PAGE_READWRITE: u32 = 4u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PAGE_REVERT_TO_FILE_MAP: u32 = 2147483648u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PAGE_SHIFT: i32 = 12i32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PAGE_SIZE: u32 = 4096u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PAGE_TARGETS_INVALID: u32 = 1073741824u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PAGE_TARGETS_NO_UPDATE: u32 = 1073741824u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PAGE_WRITECOMBINE: u32 = 1024u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PAGE_WRITECOPY: u32 = 8u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PARKING_TOPOLOGY_POLICY_DISABLED: u32 = 0u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PASSIVE_LEVEL: u32 = 0u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCCARD_DEVICE_PCI: u32 = 16u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCCARD_DUP_LEGACY_BASE: u32 = 6u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCCARD_MAP_ERROR: u32 = 1u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCCARD_MAP_ZERO: u32 = 2u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCCARD_NO_CONTROLLERS: u32 = 7u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCCARD_NO_LEGACY_BASE: u32 = 5u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCCARD_NO_PIC: u32 = 4u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCCARD_NO_TIMER: u32 = 3u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCCARD_SCAN_DISABLED: u32 = 1u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCIBus: INTERFACE_TYPE = INTERFACE_TYPE(5i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCIConfiguration: BUS_DATA_TYPE = BUS_DATA_TYPE(4i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCIEXPRESS_ERROR_SECTION_GUID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xd995e954_bbc1_430f_ad91_b44dcb3c6f35);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCIE_CORRECTABLE_ERROR_SUMMARY_SECTION_GUID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe96eca99_53e2_4f52_9be7_d2dbe9508ed0);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCIXBUS_ERROR_SECTION_GUID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc5753963_3b84_4095_bf78_eddad3f9c9dd);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCIXBUS_ERRTYPE_ADDRESSPARITY: u32 = 6u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCIXBUS_ERRTYPE_BUSTIMEOUT: u32 = 4u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCIXBUS_ERRTYPE_COMMANDPARITY: u32 = 7u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCIXBUS_ERRTYPE_DATAPARITY: u32 = 1u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCIXBUS_ERRTYPE_MASTERABORT: u32 = 3u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCIXBUS_ERRTYPE_MASTERDATAPARITY: u32 = 5u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCIXBUS_ERRTYPE_SYSTEM: u32 = 2u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCIXBUS_ERRTYPE_UNKNOWN: u32 = 0u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCIXDEVICE_ERROR_SECTION_GUID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xeb5e4685_ca66_4769_b6a2_26068b001326);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCIX_MODE1_100MHZ: u32 = 2u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCIX_MODE1_133MHZ: u32 = 3u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCIX_MODE1_66MHZ: u32 = 1u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCIX_MODE2_266_100MHZ: u32 = 10u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCIX_MODE2_266_133MHZ: u32 = 11u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCIX_MODE2_266_66MHZ: u32 = 9u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCIX_MODE2_533_100MHZ: u32 = 14u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCIX_MODE2_533_133MHZ: u32 = 15u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCIX_MODE2_533_66MHZ: u32 = 13u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCIX_MODE_CONVENTIONAL_PCI: u32 = 0u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCIX_VERSION_DUAL_MODE_ECC: u32 = 2u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCIX_VERSION_MODE1_ONLY: u32 = 0u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCIX_VERSION_MODE2_ECC: u32 = 1u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCI_ACS_ALLOWED: u32 = 0u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCI_ACS_BLOCKED: u32 = 1u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCI_ACS_REDIRECTED: u32 = 2u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCI_ADDRESS_IO_ADDRESS_MASK: u32 = 4294967292u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCI_ADDRESS_IO_SPACE: u32 = 1u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCI_ADDRESS_MEMORY_ADDRESS_MASK: u32 = 4294967280u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCI_ADDRESS_MEMORY_PREFETCHABLE: u32 = 8u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCI_ADDRESS_MEMORY_TYPE_MASK: u32 = 6u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCI_ADDRESS_ROM_ADDRESS_MASK: u32 = 4294965248u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCI_AGP_RATE_1X: u32 = 1u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCI_AGP_RATE_2X: u32 = 2u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCI_AGP_RATE_4X: u32 = 4u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCI_ATS_INTERFACE_VERSION: u32 = 1u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCI_BRIDGE_TYPE: u32 = 1u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCI_BUS_INTERFACE_STANDARD_VERSION: u32 = 2u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCI_CAPABILITY_ID_ADVANCED_FEATURES: u32 = 19u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCI_CAPABILITY_ID_AGP: u32 = 2u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCI_CAPABILITY_ID_AGP_TARGET: u32 = 14u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCI_CAPABILITY_ID_CPCI_HOTSWAP: u32 = 6u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCI_CAPABILITY_ID_CPCI_RES_CTRL: u32 = 11u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCI_CAPABILITY_ID_DEBUG_PORT: u32 = 10u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCI_CAPABILITY_ID_FPB: u32 = 21u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCI_CAPABILITY_ID_HYPERTRANSPORT: u32 = 8u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCI_CAPABILITY_ID_MSI: u32 = 5u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCI_CAPABILITY_ID_MSIX: u32 = 17u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCI_CAPABILITY_ID_P2P_SSID: u32 = 13u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCI_CAPABILITY_ID_PCIX: u32 = 7u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCI_CAPABILITY_ID_PCI_EXPRESS: u32 = 16u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCI_CAPABILITY_ID_POWER_MANAGEMENT: u32 = 1u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCI_CAPABILITY_ID_SATA_CONFIG: u32 = 18u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCI_CAPABILITY_ID_SECURE: u32 = 15u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCI_CAPABILITY_ID_SHPC: u32 = 12u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCI_CAPABILITY_ID_SLOT_ID: u32 = 4u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCI_CAPABILITY_ID_VENDOR_SPECIFIC: u32 = 9u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCI_CAPABILITY_ID_VPD: u32 = 3u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCI_CARDBUS_BRIDGE_TYPE: u32 = 2u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCI_CLASS_BASE_SYSTEM_DEV: u32 = 8u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCI_CLASS_BRIDGE_DEV: u32 = 6u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCI_CLASS_DATA_ACQ_SIGNAL_PROC: u32 = 17u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCI_CLASS_DISPLAY_CTLR: u32 = 3u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCI_CLASS_DOCKING_STATION: u32 = 10u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCI_CLASS_ENCRYPTION_DECRYPTION: u32 = 16u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCI_CLASS_INPUT_DEV: u32 = 9u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCI_CLASS_INTELLIGENT_IO_CTLR: u32 = 14u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCI_CLASS_MASS_STORAGE_CTLR: u32 = 1u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCI_CLASS_MEMORY_CTLR: u32 = 5u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCI_CLASS_MULTIMEDIA_DEV: u32 = 4u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCI_CLASS_NETWORK_CTLR: u32 = 2u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCI_CLASS_NOT_DEFINED: u32 = 255u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCI_CLASS_PRE_20: u32 = 0u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCI_CLASS_PROCESSOR: u32 = 11u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCI_CLASS_SATELLITE_COMMS_CTLR: u32 = 15u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCI_CLASS_SERIAL_BUS_CTLR: u32 = 12u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCI_CLASS_SIMPLE_COMMS_CTLR: u32 = 7u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCI_CLASS_WIRELESS_CTLR: u32 = 13u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCI_DATA_VERSION: u32 = 1u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCI_DEVICE_PRESENT_INTERFACE_VERSION: u32 = 1u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCI_DEVICE_TYPE: u32 = 0u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCI_DISABLE_LEVEL_INTERRUPT: u32 = 1024u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCI_ENABLE_BUS_MASTER: u32 = 4u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCI_ENABLE_FAST_BACK_TO_BACK: u32 = 512u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCI_ENABLE_IO_SPACE: u32 = 1u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCI_ENABLE_MEMORY_SPACE: u32 = 2u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCI_ENABLE_PARITY: u32 = 64u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCI_ENABLE_SERR: u32 = 256u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCI_ENABLE_SPECIAL_CYCLES: u32 = 8u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCI_ENABLE_VGA_COMPATIBLE_PALETTE: u32 = 32u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCI_ENABLE_WAIT_CYCLE: u32 = 128u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCI_ENABLE_WRITE_AND_INVALIDATE: u32 = 16u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCI_EXPRESS_ACCESS_CONTROL_SERVICES_CAP_ID: u32 = 13u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCI_EXPRESS_ADVANCED_ERROR_REPORTING_CAP_ID: u32 = 1u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCI_EXPRESS_ARI_CAP_ID: u32 = 14u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCI_EXPRESS_ATS_CAP_ID: u32 = 15u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCI_EXPRESS_CONFIGURATION_ACCESS_CORRELATION_CAP_ID: u32 = 12u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCI_EXPRESS_DESIGNATED_VENDOR_SPECIFIC_CAP_ID: u32 = 35u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCI_EXPRESS_DEVICE_SERIAL_NUMBER_CAP_ID: u32 = 3u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCI_EXPRESS_DPA_CAP_ID: u32 = 22u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCI_EXPRESS_DPC_CAP_ID: u32 = 29u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCI_EXPRESS_FRS_QUEUEING_CAP_ID: u32 = 33u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCI_EXPRESS_L1_PM_SS_CAP_ID: u32 = 30u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCI_EXPRESS_LINK_QUIESCENT_INTERFACE_VERSION: u32 = 1u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCI_EXPRESS_LN_REQUESTER_CAP_ID: u32 = 28u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCI_EXPRESS_LTR_CAP_ID: u32 = 24u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCI_EXPRESS_MFVC_CAP_ID: u32 = 8u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCI_EXPRESS_MPCIE_CAP_ID: u32 = 32u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCI_EXPRESS_MULTICAST_CAP_ID: u32 = 18u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCI_EXPRESS_MULTI_ROOT_IO_VIRTUALIZATION_CAP_ID: u32 = 17u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCI_EXPRESS_NPEM_CAP_ID: u32 = 41u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCI_EXPRESS_PAGE_REQUEST_CAP_ID: u32 = 19u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCI_EXPRESS_PASID_CAP_ID: u32 = 27u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCI_EXPRESS_PMUX_CAP_ID: u32 = 26u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCI_EXPRESS_POWER_BUDGETING_CAP_ID: u32 = 4u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCI_EXPRESS_PTM_CAP_ID: u32 = 31u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCI_EXPRESS_RCRB_HEADER_CAP_ID: u32 = 10u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCI_EXPRESS_RC_EVENT_COLLECTOR_ENDPOINT_ASSOCIATION_CAP_ID: u32 = 7u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCI_EXPRESS_RC_INTERNAL_LINK_CONTROL_CAP_ID: u32 = 6u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCI_EXPRESS_RC_LINK_DECLARATION_CAP_ID: u32 = 5u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCI_EXPRESS_READINESS_TIME_REPORTING_CAP_ID: u32 = 34u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCI_EXPRESS_RESERVED_FOR_AMD_CAP_ID: u32 = 20u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCI_EXPRESS_RESIZABLE_BAR_CAP_ID: u32 = 21u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCI_EXPRESS_ROOT_PORT_INTERFACE_VERSION: u32 = 1u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCI_EXPRESS_SECONDARY_PCI_EXPRESS_CAP_ID: u32 = 25u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCI_EXPRESS_SINGLE_ROOT_IO_VIRTUALIZATION_CAP_ID: u32 = 16u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCI_EXPRESS_TPH_REQUESTER_CAP_ID: u32 = 23u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCI_EXPRESS_TPH_ST_LOCATION_MSIX_TABLE: u32 = 2u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCI_EXPRESS_TPH_ST_LOCATION_NONE: u32 = 0u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCI_EXPRESS_TPH_ST_LOCATION_RESERVED: u32 = 3u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCI_EXPRESS_TPH_ST_LOCATION_TPH_CAPABILITY: u32 = 1u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCI_EXPRESS_VC_AND_MFVC_CAP_ID: u32 = 9u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCI_EXPRESS_VENDOR_SPECIFIC_CAP_ID: u32 = 11u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCI_EXPRESS_VIRTUAL_CHANNEL_CAP_ID: u32 = 2u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCI_EXTENDED_CONFIG_LENGTH: u32 = 4096u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCI_INVALID_ALTERNATE_FUNCTION_NUMBER: u32 = 255u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCI_INVALID_VENDORID: u32 = 65535u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCI_MAX_BRIDGE_NUMBER: u32 = 255u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCI_MAX_DEVICES: u32 = 32u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCI_MAX_FUNCTION: u32 = 8u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCI_MAX_SEGMENT_NUMBER: u32 = 65535u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCI_MSIX_TABLE_CONFIG_INTERFACE_VERSION: u32 = 1u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCI_MULTIFUNCTION: u32 = 128u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCI_PROGRAMMING_INTERFACE_MSC_NVM_EXPRESS: u32 = 2u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCI_PTM_TIME_SOURCE_AUX: u32 = 4294967295u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCI_RECOVERY_SECTION_GUID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xdd060800_f6e1_4204_ac27_c4bca9568402);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCI_ROMADDRESS_ENABLED: u32 = 1u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCI_ROOT_BUS_OSC_METHOD_CAPABILITY_REVISION: u32 = 1u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCI_SECURITY_DIRECT_TRANSLATED_P2P: u32 = 4u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCI_SECURITY_ENHANCED: u32 = 2u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCI_SECURITY_FULLY_SUPPORTED: u32 = 1u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCI_SECURITY_GUEST_ASSIGNED: u32 = 1u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCI_SECURITY_INTERFACE_VERSION: u32 = 1u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCI_SECURITY_INTERFACE_VERSION2: u32 = 2u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCI_SECURITY_SRIOV_DIRECT_TRANSLATED_P2P: u32 = 262144u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCI_STATUS_66MHZ_CAPABLE: u32 = 32u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCI_STATUS_CAPABILITIES_LIST: u32 = 16u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCI_STATUS_DATA_PARITY_DETECTED: u32 = 256u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCI_STATUS_DETECTED_PARITY_ERROR: u32 = 32768u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCI_STATUS_DEVSEL: u32 = 1536u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCI_STATUS_FAST_BACK_TO_BACK: u32 = 128u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCI_STATUS_IMMEDIATE_READINESS: u32 = 1u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCI_STATUS_INTERRUPT_PENDING: u32 = 8u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCI_STATUS_RECEIVED_MASTER_ABORT: u32 = 8192u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCI_STATUS_RECEIVED_TARGET_ABORT: u32 = 4096u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCI_STATUS_SIGNALED_SYSTEM_ERROR: u32 = 16384u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCI_STATUS_SIGNALED_TARGET_ABORT: u32 = 2048u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCI_STATUS_UDF_SUPPORTED: u32 = 64u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCI_SUBCLASS_BR_CARDBUS: u32 = 7u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCI_SUBCLASS_BR_EISA: u32 = 2u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCI_SUBCLASS_BR_HOST: u32 = 0u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCI_SUBCLASS_BR_ISA: u32 = 1u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCI_SUBCLASS_BR_MCA: u32 = 3u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCI_SUBCLASS_BR_NUBUS: u32 = 6u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCI_SUBCLASS_BR_OTHER: u32 = 128u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCI_SUBCLASS_BR_PCI_TO_PCI: u32 = 4u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCI_SUBCLASS_BR_PCMCIA: u32 = 5u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCI_SUBCLASS_BR_RACEWAY: u32 = 8u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCI_SUBCLASS_COM_MODEM: u32 = 3u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCI_SUBCLASS_COM_MULTIPORT: u32 = 2u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCI_SUBCLASS_COM_OTHER: u32 = 128u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCI_SUBCLASS_COM_PARALLEL: u32 = 1u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCI_SUBCLASS_COM_SERIAL: u32 = 0u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCI_SUBCLASS_CRYPTO_ENTERTAINMENT: u32 = 16u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCI_SUBCLASS_CRYPTO_NET_COMP: u32 = 0u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCI_SUBCLASS_CRYPTO_OTHER: u32 = 128u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCI_SUBCLASS_DASP_DPIO: u32 = 0u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCI_SUBCLASS_DASP_OTHER: u32 = 128u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCI_SUBCLASS_DOC_GENERIC: u32 = 0u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCI_SUBCLASS_DOC_OTHER: u32 = 128u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCI_SUBCLASS_INP_DIGITIZER: u32 = 1u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCI_SUBCLASS_INP_GAMEPORT: u32 = 4u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCI_SUBCLASS_INP_KEYBOARD: u32 = 0u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCI_SUBCLASS_INP_MOUSE: u32 = 2u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCI_SUBCLASS_INP_OTHER: u32 = 128u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCI_SUBCLASS_INP_SCANNER: u32 = 3u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCI_SUBCLASS_INTIO_I2O: u32 = 0u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCI_SUBCLASS_MEM_FLASH: u32 = 1u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCI_SUBCLASS_MEM_OTHER: u32 = 128u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCI_SUBCLASS_MEM_RAM: u32 = 0u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCI_SUBCLASS_MM_AUDIO_DEV: u32 = 1u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCI_SUBCLASS_MM_OTHER: u32 = 128u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCI_SUBCLASS_MM_TELEPHONY_DEV: u32 = 2u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCI_SUBCLASS_MM_VIDEO_DEV: u32 = 0u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCI_SUBCLASS_MSC_AHCI_CTLR: u32 = 6u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCI_SUBCLASS_MSC_FLOPPY_CTLR: u32 = 2u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCI_SUBCLASS_MSC_IDE_CTLR: u32 = 1u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCI_SUBCLASS_MSC_IPI_CTLR: u32 = 3u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCI_SUBCLASS_MSC_NVM_CTLR: u32 = 8u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCI_SUBCLASS_MSC_OTHER: u32 = 128u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCI_SUBCLASS_MSC_RAID_CTLR: u32 = 4u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCI_SUBCLASS_MSC_SCSI_BUS_CTLR: u32 = 0u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCI_SUBCLASS_NET_ATM_CTLR: u32 = 3u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCI_SUBCLASS_NET_ETHERNET_CTLR: u32 = 0u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCI_SUBCLASS_NET_FDDI_CTLR: u32 = 2u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCI_SUBCLASS_NET_ISDN_CTLR: u32 = 4u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCI_SUBCLASS_NET_OTHER: u32 = 128u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCI_SUBCLASS_NET_TOKEN_RING_CTLR: u32 = 1u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCI_SUBCLASS_PRE_20_NON_VGA: u32 = 0u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCI_SUBCLASS_PRE_20_VGA: u32 = 1u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCI_SUBCLASS_PROC_386: u32 = 0u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCI_SUBCLASS_PROC_486: u32 = 1u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCI_SUBCLASS_PROC_ALPHA: u32 = 16u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCI_SUBCLASS_PROC_COPROCESSOR: u32 = 64u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCI_SUBCLASS_PROC_PENTIUM: u32 = 2u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCI_SUBCLASS_PROC_POWERPC: u32 = 32u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCI_SUBCLASS_SAT_AUDIO: u32 = 2u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCI_SUBCLASS_SAT_DATA: u32 = 4u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCI_SUBCLASS_SAT_TV: u32 = 1u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCI_SUBCLASS_SAT_VOICE: u32 = 3u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCI_SUBCLASS_SB_ACCESS: u32 = 1u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCI_SUBCLASS_SB_FIBRE_CHANNEL: u32 = 4u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCI_SUBCLASS_SB_IEEE1394: u32 = 0u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCI_SUBCLASS_SB_SMBUS: u32 = 5u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCI_SUBCLASS_SB_SSA: u32 = 2u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCI_SUBCLASS_SB_THUNDERBOLT: u32 = 10u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCI_SUBCLASS_SB_USB: u32 = 3u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCI_SUBCLASS_SYS_DMA_CTLR: u32 = 1u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCI_SUBCLASS_SYS_GEN_HOTPLUG_CTLR: u32 = 4u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCI_SUBCLASS_SYS_INTERRUPT_CTLR: u32 = 0u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCI_SUBCLASS_SYS_OTHER: u32 = 128u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCI_SUBCLASS_SYS_RCEC: u32 = 7u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCI_SUBCLASS_SYS_REAL_TIME_CLOCK: u32 = 3u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCI_SUBCLASS_SYS_SDIO_CTRL: u32 = 5u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCI_SUBCLASS_SYS_SYSTEM_TIMER: u32 = 2u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCI_SUBCLASS_VID_OTHER: u32 = 128u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCI_SUBCLASS_VID_VGA_CTLR: u32 = 0u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCI_SUBCLASS_VID_XGA_CTLR: u32 = 1u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCI_SUBCLASS_WIRELESS_CON_IR: u32 = 1u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCI_SUBCLASS_WIRELESS_IRDA: u32 = 0u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCI_SUBCLASS_WIRELESS_OTHER: u32 = 128u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCI_SUBCLASS_WIRELESS_RF: u32 = 16u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCI_SUBLCASS_VID_3D_CTLR: u32 = 2u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCI_TYPE0_ADDRESSES: u32 = 6u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCI_TYPE1_ADDRESSES: u32 = 2u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCI_TYPE2_ADDRESSES: u32 = 5u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCI_TYPE_20BIT: u32 = 2u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCI_TYPE_32BIT: u32 = 0u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCI_TYPE_64BIT: u32 = 4u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCI_USE_CLASS_SUBCLASS: u32 = 8u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCI_USE_LOCAL_BUS: u32 = 32u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCI_USE_LOCAL_DEVICE: u32 = 64u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCI_USE_PROGIF: u32 = 16u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCI_USE_REVISION: u32 = 2u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCI_USE_SUBSYSTEM_IDS: u32 = 1u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCI_USE_VENDEV_IDS: u32 = 4u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCI_WHICHSPACE_CONFIG: u32 = 0u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCI_WHICHSPACE_ROM: u32 = 1382638416u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCIe_NOTIFY_TYPE_GUID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xcf93c01f_1a16_4dfc_b8bc_9c4daf67c104);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCMCIABus: INTERFACE_TYPE = INTERFACE_TYPE(8i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCMCIAConfiguration: BUS_DATA_TYPE = BUS_DATA_TYPE(7i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCR_BTI_MITIGATION_CSWAP_HVC: u32 = 16u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCR_BTI_MITIGATION_CSWAP_SMC: u32 = 32u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCR_BTI_MITIGATION_NONE: u32 = 0u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCR_BTI_MITIGATION_VBAR_MASK: u32 = 15u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCR_MAJOR_VERSION: u32 = 1u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCR_MINOR_VERSION: u32 = 1u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCW_CURRENT_VERSION: u32 = 512u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCW_VERSION_1: u32 = 256u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PCW_VERSION_2: u32 = 512u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PDE_BASE: u32 = 3224371200u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PDE_PER_PAGE: u32 = 512u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PDE_TOP: u32 = 3224375295u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PDI_SHIFT: u32 = 21u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PEI_NOTIFY_TYPE_GUID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x09a9d5ac_5204_4214_96e5_94992e752bcd);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PFAControl: NPEM_CONTROL_STANDARD_CONTROL_BIT = NPEM_CONTROL_STANDARD_CONTROL_BIT(6i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PLUGPLAY_PROPERTY_PERSISTENT: u32 = 1u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PLUGPLAY_REGKEY_CURRENT_HWPROFILE: u32 = 4u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PLUGPLAY_REGKEY_DEVICE: u32 = 1u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PLUGPLAY_REGKEY_DRIVER: u32 = 2u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PMCCounter: HARDWARE_COUNTER_TYPE = HARDWARE_COUNTER_TYPE(0i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PMEM_ERROR_SECTION_GUID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x81687003_dbfd_4728_9ffd_f0904f97597d);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PNPBus: INTERFACE_TYPE = INTERFACE_TYPE(15i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PNPISABus: INTERFACE_TYPE = INTERFACE_TYPE(14i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PNPISAConfiguration: BUS_DATA_TYPE = BUS_DATA_TYPE(10i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PNPNOTIFY_DEVICE_INTERFACE_INCLUDE_EXISTING_INTERFACES: u32 = 1u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PNP_DEVICE_ASSIGNED_TO_GUEST: u32 = 256u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PNP_DEVICE_DISABLED: u32 = 1u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PNP_DEVICE_DISCONNECTED: u32 = 64u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PNP_DEVICE_DONT_DISPLAY_IN_UI: u32 = 2u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PNP_DEVICE_FAILED: u32 = 4u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PNP_DEVICE_NOT_DISABLEABLE: u32 = 32u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PNP_DEVICE_REMOVED: u32 = 8u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PNP_DEVICE_RESOURCE_REQUIREMENTS_CHANGED: u32 = 16u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PNP_DEVICE_RESOURCE_UPDATED: u32 = 128u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PNP_EXTENDED_ADDRESS_INTERFACE_VERSION: u32 = 1u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PNP_REPLACE_DRIVER_INTERFACE_VERSION: u32 = 1u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PNP_REPLACE_HARDWARE_MEMORY_MIRRORING: u32 = 4u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PNP_REPLACE_HARDWARE_PAGE_COPY: u32 = 8u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PNP_REPLACE_HARDWARE_QUIESCE: u32 = 16u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PNP_REPLACE_MEMORY_SUPPORTED: u32 = 1u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PNP_REPLACE_PARAMETERS_VERSION: u32 = 2u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PNP_REPLACE_PROCESSOR_SUPPORTED: u32 = 2u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const POOL_COLD_ALLOCATION: u32 = 256u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const POOL_CREATE_FLG_SECURE_POOL: u32 = 1u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const POOL_CREATE_FLG_USE_GLOBAL_POOL: u32 = 2u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const POOL_CREATE_PARAMS_VERSION: u32 = 1u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const POOL_EXTENDED_PARAMETER_REQUIRED_FIELD_BITS: u32 = 1u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const POOL_EXTENDED_PARAMETER_TYPE_BITS: u32 = 8u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const POOL_NX_ALLOCATION: u32 = 512u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const POOL_NX_OPTIN_AUTO: u32 = 1u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const POOL_QUOTA_FAIL_INSTEAD_OF_RAISE: u32 = 8u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const POOL_RAISE_IF_ALLOCATION_FAILURE: u32 = 16u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const POOL_TAGGING: u32 = 1u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const POOL_ZEROING_INFORMATION: u32 = 227u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const POOL_ZERO_ALLOCATION: u32 = 1024u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PORT_MAXIMUM_MESSAGE_LENGTH: u32 = 512u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const POWER_LEVEL: u32 = 30u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const POWER_PLATFORM_ROLE_V1: u32 = 1u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const POWER_PLATFORM_ROLE_V2: u32 = 2u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const POWER_PLATFORM_ROLE_VERSION: u32 = 2u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const POWER_SETTING_VALUE_VERSION: u32 = 1u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const POWER_THROTTLING_PROCESS_CURRENT_VERSION: u32 = 1u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const POWER_THROTTLING_PROCESS_DELAYTIMERS: u32 = 2u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const POWER_THROTTLING_PROCESS_EXECUTION_SPEED: u32 = 1u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const POWER_THROTTLING_PROCESS_IGNORE_TIMER_RESOLUTION: u32 = 4u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const POWER_THROTTLING_THREAD_CURRENT_VERSION: u32 = 1u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const POWER_THROTTLING_THREAD_EXECUTION_SPEED: u32 = 1u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const POWER_THROTTLING_THREAD_VALID_FLAGS: u32 = 1u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PO_FX_COMPONENT_FLAG_F0_ON_DX: u64 = 1u64;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PO_FX_COMPONENT_FLAG_NO_DEBOUNCE: u64 = 2u64;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PO_FX_DIRECTED_FX_DEFAULT_IDLE_TIMEOUT: u32 = 0u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PO_FX_FLAG_ASYNC_ONLY: u32 = 2u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PO_FX_FLAG_BLOCKING: u32 = 1u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PO_FX_FLAG_PERF_PEP_OPTIONAL: u32 = 1u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PO_FX_FLAG_PERF_QUERY_ON_ALL_IDLE_STATES: u32 = 4u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PO_FX_FLAG_PERF_QUERY_ON_F0: u32 = 2u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PO_FX_UNKNOWN_POWER: u32 = 4294967295u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PO_FX_UNKNOWN_TIME: u64 = 18446744073709551615u64;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PO_FX_VERSION: u32 = 1u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PO_FX_VERSION_V1: u32 = 1u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PO_FX_VERSION_V2: u32 = 2u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PO_FX_VERSION_V3: u32 = 3u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PO_MEM_BOOT_PHASE: u32 = 65536u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PO_MEM_CLONE: u32 = 2u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PO_MEM_CL_OR_NCHK: u32 = 4u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PO_MEM_DISCARD: u32 = 32768u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PO_MEM_PAGE_ADDRESS: u32 = 16384u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PO_MEM_PRESERVE: u32 = 1u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PPI_SHIFT: u32 = 30u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PRIVILEGE_SET_ALL_NECESSARY: u32 = 1u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PROCESSOR_FEATURE_MAX: u32 = 64u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PROCESSOR_GENERIC_ERROR_SECTION_GUID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9876ccad_47b4_4bdb_b65e_16f193c4f3db);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PROCESS_EXCEPTION_PORT_ALL_STATE_BITS: u32 = 3u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PROCESS_HANDLE_EXCEPTIONS_ENABLED: u32 = 1u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PROCESS_HANDLE_RAISE_UM_EXCEPTION_ON_INVALID_HANDLE_CLOSE_DISABLED: u32 = 0u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PROCESS_HANDLE_RAISE_UM_EXCEPTION_ON_INVALID_HANDLE_CLOSE_ENABLED: u32 = 1u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PROCESS_HANDLE_TRACING_MAX_STACKS: u32 = 16u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PROCESS_LUID_DOSDEVICES_ONLY: u32 = 1u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PROFILE_LEVEL: u32 = 27u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PROTECTED_POOL: u32 = 0u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PS_IMAGE_NOTIFY_CONFLICTING_ARCHITECTURE: u32 = 1u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PS_INVALID_SILO_CONTEXT_SLOT: u32 = 4294967295u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PTE_BASE: u32 = 3221225472u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PTE_PER_PAGE: u32 = 512u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PTE_TOP: u32 = 3225419775u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PTI_SHIFT: u32 = 12u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PageIn: KWAIT_REASON = KWAIT_REASON(2i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const ParallelController: CONFIGURATION_TYPE = CONFIGURATION_TYPE(20i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PciAcsBitDisable: PCI_ACS_BIT = PCI_ACS_BIT(2i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PciAcsBitDontCare: PCI_ACS_BIT = PCI_ACS_BIT(3i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PciAcsBitEnable: PCI_ACS_BIT = PCI_ACS_BIT(1i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PciAcsReserved: PCI_ACS_BIT = PCI_ACS_BIT(0i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PciConventional: PCI_HARDWARE_INTERFACE = PCI_HARDWARE_INTERFACE(0i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PciDeviceD3Cold_Reason_Default_State_BitIndex: PCI_DEVICE_D3COLD_STATE_REASON = PCI_DEVICE_D3COLD_STATE_REASON(8i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PciDeviceD3Cold_Reason_INF_BitIndex: PCI_DEVICE_D3COLD_STATE_REASON = PCI_DEVICE_D3COLD_STATE_REASON(9i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PciDeviceD3Cold_Reason_Interface_Api_BitIndex: PCI_DEVICE_D3COLD_STATE_REASON = PCI_DEVICE_D3COLD_STATE_REASON(10i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PciDeviceD3Cold_State_Disabled_BitIndex: PCI_DEVICE_D3COLD_STATE_REASON = PCI_DEVICE_D3COLD_STATE_REASON(1i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PciDeviceD3Cold_State_Disabled_Bridge_HackFlags_BitIndex: PCI_DEVICE_D3COLD_STATE_REASON = PCI_DEVICE_D3COLD_STATE_REASON(4i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PciDeviceD3Cold_State_Enabled_BitIndex: PCI_DEVICE_D3COLD_STATE_REASON = PCI_DEVICE_D3COLD_STATE_REASON(2i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PciDeviceD3Cold_State_ParentRootPortS0WakeSupported_BitIndex: PCI_DEVICE_D3COLD_STATE_REASON = PCI_DEVICE_D3COLD_STATE_REASON(3i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PciExpress: PCI_HARDWARE_INTERFACE = PCI_HARDWARE_INTERFACE(3i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PciExpressASPMLinkSubState_L11_BitIndex: PCI_EXPRESS_LINK_SUBSTATE = PCI_EXPRESS_LINK_SUBSTATE(2i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PciExpressASPMLinkSubState_L12_BitIndex: PCI_EXPRESS_LINK_SUBSTATE = PCI_EXPRESS_LINK_SUBSTATE(3i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PciExpressDownstreamSwitchPort: PCI_EXPRESS_DEVICE_TYPE = PCI_EXPRESS_DEVICE_TYPE(6i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PciExpressEndpoint: PCI_EXPRESS_DEVICE_TYPE = PCI_EXPRESS_DEVICE_TYPE(0i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PciExpressLegacyEndpoint: PCI_EXPRESS_DEVICE_TYPE = PCI_EXPRESS_DEVICE_TYPE(1i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PciExpressPciPmLinkSubState_L11_BitIndex: PCI_EXPRESS_LINK_SUBSTATE = PCI_EXPRESS_LINK_SUBSTATE(0i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PciExpressPciPmLinkSubState_L12_BitIndex: PCI_EXPRESS_LINK_SUBSTATE = PCI_EXPRESS_LINK_SUBSTATE(1i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PciExpressRootComplexEventCollector: PCI_EXPRESS_DEVICE_TYPE = PCI_EXPRESS_DEVICE_TYPE(10i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PciExpressRootComplexIntegratedEndpoint: PCI_EXPRESS_DEVICE_TYPE = PCI_EXPRESS_DEVICE_TYPE(9i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PciExpressRootPort: PCI_EXPRESS_DEVICE_TYPE = PCI_EXPRESS_DEVICE_TYPE(4i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PciExpressToPciXBridge: PCI_EXPRESS_DEVICE_TYPE = PCI_EXPRESS_DEVICE_TYPE(7i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PciExpressUpstreamSwitchPort: PCI_EXPRESS_DEVICE_TYPE = PCI_EXPRESS_DEVICE_TYPE(5i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PciXMode1: PCI_HARDWARE_INTERFACE = PCI_HARDWARE_INTERFACE(1i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PciXMode2: PCI_HARDWARE_INTERFACE = PCI_HARDWARE_INTERFACE(2i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PciXToExpressBridge: PCI_EXPRESS_DEVICE_TYPE = PCI_EXPRESS_DEVICE_TYPE(8i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PcwCallbackAddCounter: PCW_CALLBACK_TYPE = PCW_CALLBACK_TYPE(0i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PcwCallbackCollectData: PCW_CALLBACK_TYPE = PCW_CALLBACK_TYPE(3i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PcwCallbackEnumerateInstances: PCW_CALLBACK_TYPE = PCW_CALLBACK_TYPE(2i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PcwCallbackRemoveCounter: PCW_CALLBACK_TYPE = PCW_CALLBACK_TYPE(1i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PcwRegistrationNone: PCW_REGISTRATION_FLAGS = PCW_REGISTRATION_FLAGS(0i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PcwRegistrationSiloNeutral: PCW_REGISTRATION_FLAGS = PCW_REGISTRATION_FLAGS(1i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PermissionFault: FAULT_INFORMATION_ARM64_TYPE = FAULT_INFORMATION_ARM64_TYPE(4i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PlatformLevelDeviceReset: DEVICE_RESET_TYPE = DEVICE_RESET_TYPE(1i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PlatformRoleAppliancePC: POWER_PLATFORM_ROLE = POWER_PLATFORM_ROLE(6i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PlatformRoleDesktop: POWER_PLATFORM_ROLE = POWER_PLATFORM_ROLE(1i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PlatformRoleEnterpriseServer: POWER_PLATFORM_ROLE = POWER_PLATFORM_ROLE(4i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PlatformRoleMaximum: POWER_PLATFORM_ROLE = POWER_PLATFORM_ROLE(9i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PlatformRoleMobile: POWER_PLATFORM_ROLE = POWER_PLATFORM_ROLE(2i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PlatformRolePerformanceServer: POWER_PLATFORM_ROLE = POWER_PLATFORM_ROLE(7i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PlatformRoleSOHOServer: POWER_PLATFORM_ROLE = POWER_PLATFORM_ROLE(5i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PlatformRoleSlate: POWER_PLATFORM_ROLE = POWER_PLATFORM_ROLE(8i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PlatformRoleUnspecified: POWER_PLATFORM_ROLE = POWER_PLATFORM_ROLE(0i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PlatformRoleWorkstation: POWER_PLATFORM_ROLE = POWER_PLATFORM_ROLE(3i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PoAc: SYSTEM_POWER_CONDITION = SYSTEM_POWER_CONDITION(0i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PoConditionMaximum: SYSTEM_POWER_CONDITION = SYSTEM_POWER_CONDITION(3i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PoDc: SYSTEM_POWER_CONDITION = SYSTEM_POWER_CONDITION(1i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PoFxPerfStateTypeDiscrete: PO_FX_PERF_STATE_TYPE = PO_FX_PERF_STATE_TYPE(0i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PoFxPerfStateTypeMaximum: PO_FX_PERF_STATE_TYPE = PO_FX_PERF_STATE_TYPE(2i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PoFxPerfStateTypeRange: PO_FX_PERF_STATE_TYPE = PO_FX_PERF_STATE_TYPE(1i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PoFxPerfStateUnitBandwidth: PO_FX_PERF_STATE_UNIT = PO_FX_PERF_STATE_UNIT(2i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PoFxPerfStateUnitFrequency: PO_FX_PERF_STATE_UNIT = PO_FX_PERF_STATE_UNIT(1i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PoFxPerfStateUnitMaximum: PO_FX_PERF_STATE_UNIT = PO_FX_PERF_STATE_UNIT(3i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PoFxPerfStateUnitOther: PO_FX_PERF_STATE_UNIT = PO_FX_PERF_STATE_UNIT(0i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PoHot: SYSTEM_POWER_CONDITION = SYSTEM_POWER_CONDITION(2i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PoThermalRequestActive: PO_THERMAL_REQUEST_TYPE = PO_THERMAL_REQUEST_TYPE(1i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PoThermalRequestPassive: PO_THERMAL_REQUEST_TYPE = PO_THERMAL_REQUEST_TYPE(0i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PointerController: CONFIGURATION_TYPE = CONFIGURATION_TYPE(21i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PointerPeripheral: CONFIGURATION_TYPE = CONFIGURATION_TYPE(31i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PoolAllocation: KWAIT_REASON = KWAIT_REASON(3i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PoolExtendedParameterInvalidType: POOL_EXTENDED_PARAMETER_TYPE = POOL_EXTENDED_PARAMETER_TYPE(0i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PoolExtendedParameterMax: POOL_EXTENDED_PARAMETER_TYPE = POOL_EXTENDED_PARAMETER_TYPE(4i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PoolExtendedParameterNumaNode: POOL_EXTENDED_PARAMETER_TYPE = POOL_EXTENDED_PARAMETER_TYPE(3i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PoolExtendedParameterPriority: POOL_EXTENDED_PARAMETER_TYPE = POOL_EXTENDED_PARAMETER_TYPE(1i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PoolExtendedParameterSecurePool: POOL_EXTENDED_PARAMETER_TYPE = POOL_EXTENDED_PARAMETER_TYPE(2i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const Pos: BUS_DATA_TYPE = BUS_DATA_TYPE(2i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PowerOff: PCI_EXPRESS_POWER_STATE = PCI_EXPRESS_POWER_STATE(1i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PowerOn: PCI_EXPRESS_POWER_STATE = PCI_EXPRESS_POWER_STATE(0i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PowerRelations: DEVICE_RELATION_TYPE = DEVICE_RELATION_TYPE(2i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PrimaryDcache: CONFIGURATION_TYPE = CONFIGURATION_TYPE(4i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PrimaryIcache: CONFIGURATION_TYPE = CONFIGURATION_TYPE(3i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PrinterPeripheral: CONFIGURATION_TYPE = CONFIGURATION_TYPE(30i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const ProcessorInternal: INTERFACE_TYPE = INTERFACE_TYPE(12i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const Profile2Issue: KPROFILE_SOURCE = KPROFILE_SOURCE(15i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const Profile3Issue: KPROFILE_SOURCE = KPROFILE_SOURCE(16i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const Profile4Issue: KPROFILE_SOURCE = KPROFILE_SOURCE(17i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const ProfileAlignmentFixup: KPROFILE_SOURCE = KPROFILE_SOURCE(1i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const ProfileBranchInstructions: KPROFILE_SOURCE = KPROFILE_SOURCE(6i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const ProfileBranchMispredictions: KPROFILE_SOURCE = KPROFILE_SOURCE(11i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const ProfileCacheMisses: KPROFILE_SOURCE = KPROFILE_SOURCE(10i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const ProfileDcacheAccesses: KPROFILE_SOURCE = KPROFILE_SOURCE(21i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const ProfileDcacheMisses: KPROFILE_SOURCE = KPROFILE_SOURCE(8i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const ProfileFpInstructions: KPROFILE_SOURCE = KPROFILE_SOURCE(13i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const ProfileIcacheIssues: KPROFILE_SOURCE = KPROFILE_SOURCE(20i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const ProfileIcacheMisses: KPROFILE_SOURCE = KPROFILE_SOURCE(9i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const ProfileIntegerInstructions: KPROFILE_SOURCE = KPROFILE_SOURCE(14i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const ProfileLoadInstructions: KPROFILE_SOURCE = KPROFILE_SOURCE(4i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const ProfileLoadLinkedIssues: KPROFILE_SOURCE = KPROFILE_SOURCE(23i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const ProfileMaximum: KPROFILE_SOURCE = KPROFILE_SOURCE(24i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const ProfileMemoryBarrierCycles: KPROFILE_SOURCE = KPROFILE_SOURCE(22i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const ProfilePipelineDry: KPROFILE_SOURCE = KPROFILE_SOURCE(3i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const ProfilePipelineFrozen: KPROFILE_SOURCE = KPROFILE_SOURCE(5i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const ProfileSpecialInstructions: KPROFILE_SOURCE = KPROFILE_SOURCE(18i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const ProfileStoreInstructions: KPROFILE_SOURCE = KPROFILE_SOURCE(12i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const ProfileTime: KPROFILE_SOURCE = KPROFILE_SOURCE(0i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const ProfileTotalCycles: KPROFILE_SOURCE = KPROFILE_SOURCE(19i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const ProfileTotalIssues: KPROFILE_SOURCE = KPROFILE_SOURCE(2i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const ProfileTotalNonissues: KPROFILE_SOURCE = KPROFILE_SOURCE(7i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PsCreateProcessNotifySubsystems: PSCREATEPROCESSNOTIFYTYPE = PSCREATEPROCESSNOTIFYTYPE(0i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PsCreateThreadNotifyNonSystem: PSCREATETHREADNOTIFYTYPE = PSCREATETHREADNOTIFYTYPE(0i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PsCreateThreadNotifySubsystems: PSCREATETHREADNOTIFYTYPE = PSCREATETHREADNOTIFYTYPE(1i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PshedFADiscovery: u32 = 1u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PshedFAErrorInfoRetrieval: u32 = 8u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PshedFAErrorInjection: u32 = 32u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PshedFAErrorRecordPersistence: u32 = 4u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PshedFAErrorRecovery: u32 = 16u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PshedFAErrorSourceControl: u32 = 2u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PshedPiEnableNotifyErrorCreateNotifyEvent: WHEA_PSHED_PLUGIN_ENABLE_NOTIFY_ERRORS = WHEA_PSHED_PLUGIN_ENABLE_NOTIFY_ERRORS(1i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PshedPiEnableNotifyErrorCreateSystemThread: WHEA_PSHED_PLUGIN_ENABLE_NOTIFY_ERRORS = WHEA_PSHED_PLUGIN_ENABLE_NOTIFY_ERRORS(2i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PshedPiEnableNotifyErrorMax: WHEA_PSHED_PLUGIN_ENABLE_NOTIFY_ERRORS = WHEA_PSHED_PLUGIN_ENABLE_NOTIFY_ERRORS(3i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PshedPiErrReadingPcieOverridesBadSignature: PSHED_PI_ERR_READING_PCIE_OVERRIDES = PSHED_PI_ERR_READING_PCIE_OVERRIDES(4i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PshedPiErrReadingPcieOverridesBadSize: PSHED_PI_ERR_READING_PCIE_OVERRIDES = PSHED_PI_ERR_READING_PCIE_OVERRIDES(3i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PshedPiErrReadingPcieOverridesNoCapOffset: PSHED_PI_ERR_READING_PCIE_OVERRIDES = PSHED_PI_ERR_READING_PCIE_OVERRIDES(5i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PshedPiErrReadingPcieOverridesNoErr: PSHED_PI_ERR_READING_PCIE_OVERRIDES = PSHED_PI_ERR_READING_PCIE_OVERRIDES(0i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PshedPiErrReadingPcieOverridesNoMemory: PSHED_PI_ERR_READING_PCIE_OVERRIDES = PSHED_PI_ERR_READING_PCIE_OVERRIDES(1i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PshedPiErrReadingPcieOverridesNotBinary: PSHED_PI_ERR_READING_PCIE_OVERRIDES = PSHED_PI_ERR_READING_PCIE_OVERRIDES(6i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const PshedPiErrReadingPcieOverridesQueryErr: PSHED_PI_ERR_READING_PCIE_OVERRIDES = PSHED_PI_ERR_READING_PCIE_OVERRIDES(2i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const QuerySecurityDescriptor: SECURITY_OPERATION_CODE = SECURITY_OPERATION_CODE(1i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const RCB128Bytes: PCI_EXPRESS_RCB = PCI_EXPRESS_RCB(1i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const RCB64Bytes: PCI_EXPRESS_RCB = PCI_EXPRESS_RCB(0i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const RECOVERY_INFO_SECTION_GUID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xc34832a1_02c3_4c52_a9f1_9f1d5d7723fc);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const RESOURCE_HASH_TABLE_SIZE: u32 = 64u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const RESULT_NEGATIVE: u32 = 1u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const RESULT_POSITIVE: u32 = 2u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const RESULT_ZERO: u32 = 0u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const ROOT_CMD_ENABLE_CORRECTABLE_ERROR_REPORTING: u32 = 1u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const ROOT_CMD_ENABLE_FATAL_ERROR_REPORTING: u32 = 4u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const ROOT_CMD_ENABLE_NONFATAL_ERROR_REPORTING: u32 = 2u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const RTL_GUID_STRING_SIZE: u32 = 38u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const RTL_HASH_ALLOCATED_HEADER: u32 = 1u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const RTL_HASH_RESERVED_SIGNATURE: u32 = 0u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const RTL_QUERY_REGISTRY_DELETE: u32 = 64u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const RTL_QUERY_REGISTRY_DIRECT: u32 = 32u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const RTL_QUERY_REGISTRY_NOEXPAND: u32 = 16u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const RTL_QUERY_REGISTRY_NOSTRING: u32 = 128u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const RTL_QUERY_REGISTRY_NOVALUE: u32 = 8u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const RTL_QUERY_REGISTRY_REQUIRED: u32 = 4u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const RTL_QUERY_REGISTRY_SUBKEY: u32 = 1u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const RTL_QUERY_REGISTRY_TOPKEY: u32 = 2u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const RTL_QUERY_REGISTRY_TYPECHECK: u32 = 256u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const RTL_QUERY_REGISTRY_TYPECHECK_SHIFT: u32 = 24u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const RTL_REGISTRY_ABSOLUTE: u32 = 0u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const RTL_REGISTRY_CONTROL: u32 = 2u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const RTL_REGISTRY_DEVICEMAP: u32 = 4u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const RTL_REGISTRY_HANDLE: u32 = 1073741824u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const RTL_REGISTRY_MAXIMUM: u32 = 6u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const RTL_REGISTRY_OPTIONAL: u32 = 2147483648u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const RTL_REGISTRY_SERVICES: u32 = 1u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const RTL_REGISTRY_USER: u32 = 5u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const RTL_REGISTRY_WINDOWS_NT: u32 = 3u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const RTL_STACK_WALKING_MODE_FRAMES_TO_SKIP_SHIFT: u32 = 8u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const RandomAccess: IO_ACCESS_MODE = IO_ACCESS_MODE(1i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const ReadAccess: IO_ACCESS_TYPE = IO_ACCESS_TYPE(0i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const RealModeIrqRoutingTable: CONFIGURATION_TYPE = CONFIGURATION_TYPE(39i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const RealModePCIEnumeration: CONFIGURATION_TYPE = CONFIGURATION_TYPE(40i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const RealTimeWorkQueue: WORK_QUEUE_TYPE = WORK_QUEUE_TYPE(5i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const RebuildControl: NPEM_CONTROL_STANDARD_CONTROL_BIT = NPEM_CONTROL_STANDARD_CONTROL_BIT(5i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const RegNtCallbackObjectContextCleanup: REG_NOTIFY_CLASS = REG_NOTIFY_CLASS(40i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const RegNtDeleteKey: REG_NOTIFY_CLASS = REG_NOTIFY_CLASS(0i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const RegNtDeleteValueKey: REG_NOTIFY_CLASS = REG_NOTIFY_CLASS(2i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const RegNtEnumerateKey: REG_NOTIFY_CLASS = REG_NOTIFY_CLASS(5i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const RegNtEnumerateValueKey: REG_NOTIFY_CLASS = REG_NOTIFY_CLASS(6i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const RegNtKeyHandleClose: REG_NOTIFY_CLASS = REG_NOTIFY_CLASS(14i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const RegNtPostCreateKey: REG_NOTIFY_CLASS = REG_NOTIFY_CLASS(11i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const RegNtPostCreateKeyEx: REG_NOTIFY_CLASS = REG_NOTIFY_CLASS(27i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const RegNtPostDeleteKey: REG_NOTIFY_CLASS = REG_NOTIFY_CLASS(15i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const RegNtPostDeleteValueKey: REG_NOTIFY_CLASS = REG_NOTIFY_CLASS(17i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const RegNtPostEnumerateKey: REG_NOTIFY_CLASS = REG_NOTIFY_CLASS(20i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const RegNtPostEnumerateValueKey: REG_NOTIFY_CLASS = REG_NOTIFY_CLASS(21i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const RegNtPostFlushKey: REG_NOTIFY_CLASS = REG_NOTIFY_CLASS(31i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const RegNtPostKeyHandleClose: REG_NOTIFY_CLASS = REG_NOTIFY_CLASS(25i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const RegNtPostLoadKey: REG_NOTIFY_CLASS = REG_NOTIFY_CLASS(33i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const RegNtPostOpenKey: REG_NOTIFY_CLASS = REG_NOTIFY_CLASS(13i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const RegNtPostOpenKeyEx: REG_NOTIFY_CLASS = REG_NOTIFY_CLASS(29i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const RegNtPostQueryKey: REG_NOTIFY_CLASS = REG_NOTIFY_CLASS(22i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const RegNtPostQueryKeyName: REG_NOTIFY_CLASS = REG_NOTIFY_CLASS(48i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const RegNtPostQueryKeySecurity: REG_NOTIFY_CLASS = REG_NOTIFY_CLASS(37i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const RegNtPostQueryMultipleValueKey: REG_NOTIFY_CLASS = REG_NOTIFY_CLASS(24i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const RegNtPostQueryValueKey: REG_NOTIFY_CLASS = REG_NOTIFY_CLASS(23i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const RegNtPostRenameKey: REG_NOTIFY_CLASS = REG_NOTIFY_CLASS(19i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const RegNtPostReplaceKey: REG_NOTIFY_CLASS = REG_NOTIFY_CLASS(46i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const RegNtPostRestoreKey: REG_NOTIFY_CLASS = REG_NOTIFY_CLASS(42i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const RegNtPostSaveKey: REG_NOTIFY_CLASS = REG_NOTIFY_CLASS(44i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const RegNtPostSaveMergedKey: REG_NOTIFY_CLASS = REG_NOTIFY_CLASS(50i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const RegNtPostSetInformationKey: REG_NOTIFY_CLASS = REG_NOTIFY_CLASS(18i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const RegNtPostSetKeySecurity: REG_NOTIFY_CLASS = REG_NOTIFY_CLASS(39i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const RegNtPostSetValueKey: REG_NOTIFY_CLASS = REG_NOTIFY_CLASS(16i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const RegNtPostUnLoadKey: REG_NOTIFY_CLASS = REG_NOTIFY_CLASS(35i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const RegNtPreCreateKey: REG_NOTIFY_CLASS = REG_NOTIFY_CLASS(10i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const RegNtPreCreateKeyEx: REG_NOTIFY_CLASS = REG_NOTIFY_CLASS(26i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const RegNtPreDeleteKey: REG_NOTIFY_CLASS = REG_NOTIFY_CLASS(0i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const RegNtPreDeleteValueKey: REG_NOTIFY_CLASS = REG_NOTIFY_CLASS(2i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const RegNtPreEnumerateKey: REG_NOTIFY_CLASS = REG_NOTIFY_CLASS(5i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const RegNtPreEnumerateValueKey: REG_NOTIFY_CLASS = REG_NOTIFY_CLASS(6i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const RegNtPreFlushKey: REG_NOTIFY_CLASS = REG_NOTIFY_CLASS(30i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const RegNtPreKeyHandleClose: REG_NOTIFY_CLASS = REG_NOTIFY_CLASS(14i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const RegNtPreLoadKey: REG_NOTIFY_CLASS = REG_NOTIFY_CLASS(32i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const RegNtPreOpenKey: REG_NOTIFY_CLASS = REG_NOTIFY_CLASS(12i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const RegNtPreOpenKeyEx: REG_NOTIFY_CLASS = REG_NOTIFY_CLASS(28i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const RegNtPreQueryKey: REG_NOTIFY_CLASS = REG_NOTIFY_CLASS(7i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const RegNtPreQueryKeyName: REG_NOTIFY_CLASS = REG_NOTIFY_CLASS(47i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const RegNtPreQueryKeySecurity: REG_NOTIFY_CLASS = REG_NOTIFY_CLASS(36i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const RegNtPreQueryMultipleValueKey: REG_NOTIFY_CLASS = REG_NOTIFY_CLASS(9i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const RegNtPreQueryValueKey: REG_NOTIFY_CLASS = REG_NOTIFY_CLASS(8i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const RegNtPreRenameKey: REG_NOTIFY_CLASS = REG_NOTIFY_CLASS(4i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const RegNtPreReplaceKey: REG_NOTIFY_CLASS = REG_NOTIFY_CLASS(45i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const RegNtPreRestoreKey: REG_NOTIFY_CLASS = REG_NOTIFY_CLASS(41i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const RegNtPreSaveKey: REG_NOTIFY_CLASS = REG_NOTIFY_CLASS(43i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const RegNtPreSaveMergedKey: REG_NOTIFY_CLASS = REG_NOTIFY_CLASS(49i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const RegNtPreSetInformationKey: REG_NOTIFY_CLASS = REG_NOTIFY_CLASS(3i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const RegNtPreSetKeySecurity: REG_NOTIFY_CLASS = REG_NOTIFY_CLASS(38i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const RegNtPreSetValueKey: REG_NOTIFY_CLASS = REG_NOTIFY_CLASS(1i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const RegNtPreUnLoadKey: REG_NOTIFY_CLASS = REG_NOTIFY_CLASS(34i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const RegNtQueryKey: REG_NOTIFY_CLASS = REG_NOTIFY_CLASS(7i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const RegNtQueryMultipleValueKey: REG_NOTIFY_CLASS = REG_NOTIFY_CLASS(9i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const RegNtQueryValueKey: REG_NOTIFY_CLASS = REG_NOTIFY_CLASS(8i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const RegNtRenameKey: REG_NOTIFY_CLASS = REG_NOTIFY_CLASS(4i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const RegNtSetInformationKey: REG_NOTIFY_CLASS = REG_NOTIFY_CLASS(3i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const RegNtSetValueKey: REG_NOTIFY_CLASS = REG_NOTIFY_CLASS(1i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const RemovalPolicyExpectNoRemoval: DEVICE_REMOVAL_POLICY = DEVICE_REMOVAL_POLICY(1i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const RemovalPolicyExpectOrderlyRemoval: DEVICE_REMOVAL_POLICY = DEVICE_REMOVAL_POLICY(2i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const RemovalPolicyExpectSurpriseRemoval: DEVICE_REMOVAL_POLICY = DEVICE_REMOVAL_POLICY(3i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const RemovalRelations: DEVICE_RELATION_TYPE = DEVICE_RELATION_TYPE(3i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const ResourceNeverExclusive: u32 = 16u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const ResourceOwnedExclusive: u32 = 128u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const ResourceReleaseByOtherThread: u32 = 32u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const ResourceTypeEventBuffer: PHYSICAL_COUNTER_RESOURCE_DESCRIPTOR_TYPE = PHYSICAL_COUNTER_RESOURCE_DESCRIPTOR_TYPE(4i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const ResourceTypeExtendedCounterConfiguration: PHYSICAL_COUNTER_RESOURCE_DESCRIPTOR_TYPE = PHYSICAL_COUNTER_RESOURCE_DESCRIPTOR_TYPE(2i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const ResourceTypeIdenitificationTag: PHYSICAL_COUNTER_RESOURCE_DESCRIPTOR_TYPE = PHYSICAL_COUNTER_RESOURCE_DESCRIPTOR_TYPE(5i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const ResourceTypeMax: PHYSICAL_COUNTER_RESOURCE_DESCRIPTOR_TYPE = PHYSICAL_COUNTER_RESOURCE_DESCRIPTOR_TYPE(6i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const ResourceTypeOverflow: PHYSICAL_COUNTER_RESOURCE_DESCRIPTOR_TYPE = PHYSICAL_COUNTER_RESOURCE_DESCRIPTOR_TYPE(3i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const ResourceTypeRange: PHYSICAL_COUNTER_RESOURCE_DESCRIPTOR_TYPE = PHYSICAL_COUNTER_RESOURCE_DESCRIPTOR_TYPE(1i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const ResourceTypeSingle: PHYSICAL_COUNTER_RESOURCE_DESCRIPTOR_TYPE = PHYSICAL_COUNTER_RESOURCE_DESCRIPTOR_TYPE(0i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const ResultNegative: INTERLOCKED_RESULT = INTERLOCKED_RESULT(32768i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const ResultPositive: INTERLOCKED_RESULT = INTERLOCKED_RESULT(0i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const ResultZero: INTERLOCKED_RESULT = INTERLOCKED_RESULT(16384i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const SCI_NOTIFY_TYPE_GUID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe9d59197_94ee_4a4f_8ad8_9b7d8bd93d2e);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const SDEV_IDENTIFIER_INTERFACE_VERSION: u32 = 1u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const SEA_NOTIFY_TYPE_GUID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x9a78788a_bbe8_11e4_809e_67611e5d46b0);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const SEA_SECTION_GUID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf5fe48a6_84ce_4c1e_aa64_20c9a53099f1);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const SECTION_MAP_EXECUTE: u32 = 8u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const SECTION_MAP_EXECUTE_EXPLICIT: u32 = 32u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const SECTION_MAP_READ: u32 = 4u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const SECTION_MAP_WRITE: u32 = 2u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const SECTION_QUERY: u32 = 1u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const SECURE_DRIVER_INTERFACE_VERSION: u32 = 1u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const SECURE_POOL_FLAGS_FREEABLE: u32 = 1u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const SECURE_POOL_FLAGS_MODIFIABLE: u32 = 2u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const SECURE_POOL_FLAGS_NONE: u32 = 0u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const SECURE_SECTION_ALLOW_PARTIAL_MDL: u32 = 1u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const SEC_LARGE_PAGES: u32 = 2147483648u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const SEH_VALIDATION_POLICY_DEFER: u32 = 3u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const SEH_VALIDATION_POLICY_OFF: u32 = 1u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const SEH_VALIDATION_POLICY_ON: u32 = 0u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const SEH_VALIDATION_POLICY_TELEMETRY: u32 = 2u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const SEI_NOTIFY_TYPE_GUID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x5c284c81_b0ae_4e87_a322_b04c85624323);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const SEI_SECTION_GUID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xf2a4a152_9c6d_4020_aecf_7695b389251b);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const SEMAPHORE_QUERY_STATE: u32 = 1u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const SE_ASSIGNPRIMARYTOKEN_PRIVILEGE: i32 = 3i32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const SE_AUDIT_PRIVILEGE: i32 = 21i32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const SE_BACKUP_PRIVILEGE: i32 = 17i32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const SE_CHANGE_NOTIFY_PRIVILEGE: i32 = 23i32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const SE_CREATE_GLOBAL_PRIVILEGE: i32 = 30i32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const SE_CREATE_PAGEFILE_PRIVILEGE: i32 = 15i32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const SE_CREATE_PERMANENT_PRIVILEGE: i32 = 16i32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const SE_CREATE_SYMBOLIC_LINK_PRIVILEGE: i32 = 35i32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const SE_CREATE_TOKEN_PRIVILEGE: i32 = 2i32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const SE_DEBUG_PRIVILEGE: i32 = 20i32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const SE_DELEGATE_SESSION_USER_IMPERSONATE_PRIVILEGE: i32 = 36i32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const SE_ENABLE_DELEGATION_PRIVILEGE: i32 = 27i32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const SE_IMPERSONATE_PRIVILEGE: i32 = 29i32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const SE_INCREASE_QUOTA_PRIVILEGE: i32 = 5i32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const SE_INC_BASE_PRIORITY_PRIVILEGE: i32 = 14i32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const SE_INC_WORKING_SET_PRIVILEGE: i32 = 33i32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const SE_LOAD_DRIVER_PRIVILEGE: i32 = 10i32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const SE_LOCK_MEMORY_PRIVILEGE: i32 = 4i32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const SE_MACHINE_ACCOUNT_PRIVILEGE: i32 = 6i32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const SE_MANAGE_VOLUME_PRIVILEGE: i32 = 28i32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const SE_MAX_WELL_KNOWN_PRIVILEGE: i32 = 36i32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const SE_MIN_WELL_KNOWN_PRIVILEGE: i32 = 2i32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const SE_PROF_SINGLE_PROCESS_PRIVILEGE: i32 = 13i32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const SE_RELABEL_PRIVILEGE: i32 = 32i32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const SE_REMOTE_SHUTDOWN_PRIVILEGE: i32 = 24i32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const SE_RESTORE_PRIVILEGE: i32 = 18i32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const SE_SECURITY_PRIVILEGE: i32 = 8i32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const SE_SHUTDOWN_PRIVILEGE: i32 = 19i32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const SE_SYNC_AGENT_PRIVILEGE: i32 = 26i32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const SE_SYSTEMTIME_PRIVILEGE: i32 = 12i32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const SE_SYSTEM_ENVIRONMENT_PRIVILEGE: i32 = 22i32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const SE_SYSTEM_PROFILE_PRIVILEGE: i32 = 11i32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const SE_TAKE_OWNERSHIP_PRIVILEGE: i32 = 9i32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const SE_TCB_PRIVILEGE: i32 = 7i32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const SE_TIME_ZONE_PRIVILEGE: i32 = 34i32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const SE_TRUSTED_CREDMAN_ACCESS_PRIVILEGE: i32 = 31i32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const SE_UNDOCK_PRIVILEGE: i32 = 25i32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const SE_UNSOLICITED_INPUT_PRIVILEGE: i32 = 6i32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const SHARED_GLOBAL_FLAGS_CLEAR_GLOBAL_DATA_FLAG: u32 = 2147483648u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const SHARED_GLOBAL_FLAGS_CONSOLE_BROKER_ENABLED_V: u32 = 6u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const SHARED_GLOBAL_FLAGS_DYNAMIC_PROC_ENABLED_V: u32 = 5u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const SHARED_GLOBAL_FLAGS_ELEVATION_ENABLED_V: u32 = 1u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const SHARED_GLOBAL_FLAGS_ERROR_PORT_V: u32 = 0u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const SHARED_GLOBAL_FLAGS_INSTALLER_DETECT_ENABLED_V: u32 = 3u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const SHARED_GLOBAL_FLAGS_LKG_ENABLED_V: u32 = 4u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const SHARED_GLOBAL_FLAGS_MULTIUSERS_IN_SESSION_SKU_V: u32 = 9u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const SHARED_GLOBAL_FLAGS_MULTI_SESSION_SKU_V: u32 = 8u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const SHARED_GLOBAL_FLAGS_QPC_BYPASS_A73_ERRATA: u32 = 64u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const SHARED_GLOBAL_FLAGS_QPC_BYPASS_DISABLE_32BIT: u32 = 4u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const SHARED_GLOBAL_FLAGS_QPC_BYPASS_ENABLED: u32 = 1u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const SHARED_GLOBAL_FLAGS_QPC_BYPASS_USE_HV_PAGE: u32 = 2u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const SHARED_GLOBAL_FLAGS_QPC_BYPASS_USE_LFENCE: u32 = 32u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const SHARED_GLOBAL_FLAGS_QPC_BYPASS_USE_MFENCE: u32 = 16u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const SHARED_GLOBAL_FLAGS_QPC_BYPASS_USE_RDTSCP: u32 = 128u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const SHARED_GLOBAL_FLAGS_SECURE_BOOT_ENABLED_V: u32 = 7u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const SHARED_GLOBAL_FLAGS_SET_GLOBAL_DATA_FLAG: u32 = 1073741824u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const SHARED_GLOBAL_FLAGS_STATE_SEPARATION_ENABLED_V: u32 = 10u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const SHARED_GLOBAL_FLAGS_VIRT_ENABLED_V: u32 = 2u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const SHORT_LEAST_SIGNIFICANT_BIT: u32 = 0u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const SHORT_MOST_SIGNIFICANT_BIT: u32 = 1u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const SILO_MONITOR_REGISTRATION_VERSION: u32 = 1u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const SINGLE_GROUP_LEGACY_API: u32 = 1u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const SL_ALLOW_RAW_MOUNT: u32 = 1u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const SL_BYPASS_ACCESS_CHECK: u32 = 1u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const SL_BYPASS_IO: u32 = 64u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const SL_CASE_SENSITIVE: u32 = 128u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const SL_ERROR_RETURNED: u32 = 2u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const SL_EXCLUSIVE_LOCK: u32 = 2u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const SL_FAIL_IMMEDIATELY: u32 = 1u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const SL_FORCE_ACCESS_CHECK: u32 = 1u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const SL_FORCE_ASYNCHRONOUS: u32 = 1u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const SL_FORCE_DIRECT_WRITE: u32 = 16u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const SL_FT_SEQUENTIAL_WRITE: u32 = 8u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const SL_IGNORE_READONLY_ATTRIBUTE: u32 = 64u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const SL_INDEX_SPECIFIED: u32 = 4u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const SL_INFO_FORCE_ACCESS_CHECK: u32 = 1u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const SL_INFO_IGNORE_READONLY_ATTRIBUTE: u32 = 64u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const SL_INVOKE_ON_CANCEL: u32 = 32u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const SL_INVOKE_ON_ERROR: u32 = 128u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const SL_INVOKE_ON_SUCCESS: u32 = 64u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const SL_KEY_SPECIFIED: u32 = 1u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const SL_NO_CURSOR_UPDATE: u32 = 16u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const SL_OPEN_PAGING_FILE: u32 = 2u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const SL_OPEN_TARGET_DIRECTORY: u32 = 4u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const SL_OVERRIDE_VERIFY_VOLUME: u32 = 2u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const SL_PENDING_RETURNED: u32 = 1u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const SL_PERSISTENT_MEMORY_FIXED_MAPPING: u32 = 32u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const SL_QUERY_DIRECTORY_MASK: u32 = 27u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const SL_READ_ACCESS_GRANTED: u32 = 1u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const SL_REALTIME_STREAM: u32 = 32u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const SL_RESTART_SCAN: u32 = 1u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const SL_RETURN_ON_DISK_ENTRIES_ONLY: u32 = 8u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const SL_RETURN_SINGLE_ENTRY: u32 = 2u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const SL_STOP_ON_SYMLINK: u32 = 8u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const SL_WATCH_TREE: u32 = 1u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const SL_WRITE_ACCESS_GRANTED: u32 = 4u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const SL_WRITE_THROUGH: u32 = 4u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const SOC_SUBSYS_AUDIO_DSP: SOC_SUBSYSTEM_TYPE = SOC_SUBSYSTEM_TYPE(1i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const SOC_SUBSYS_COMPUTE_DSP: SOC_SUBSYSTEM_TYPE = SOC_SUBSYSTEM_TYPE(4i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const SOC_SUBSYS_SECURE_PROC: SOC_SUBSYSTEM_TYPE = SOC_SUBSYSTEM_TYPE(5i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const SOC_SUBSYS_SENSORS: SOC_SUBSYSTEM_TYPE = SOC_SUBSYSTEM_TYPE(3i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const SOC_SUBSYS_VENDOR_DEFINED: SOC_SUBSYSTEM_TYPE = SOC_SUBSYSTEM_TYPE(65536i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const SOC_SUBSYS_WIRELESS_MODEM: SOC_SUBSYSTEM_TYPE = SOC_SUBSYSTEM_TYPE(0i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const SOC_SUBSYS_WIRELSS_CONNECTIVITY: SOC_SUBSYSTEM_TYPE = SOC_SUBSYSTEM_TYPE(2i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const SSINFO_FLAGS_ALIGNED_DEVICE: u32 = 1u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const SSINFO_FLAGS_BYTE_ADDRESSABLE: u32 = 16u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const SSINFO_FLAGS_NO_SEEK_PENALTY: u32 = 4u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const SSINFO_FLAGS_PARTITION_ALIGNED_ON_DEVICE: u32 = 2u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const SSINFO_FLAGS_TRIM_ENABLED: u32 = 8u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const SSINFO_OFFSET_UNKNOWN: u32 = 4294967295u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const SYMBOLIC_LINK_QUERY: u32 = 1u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const SYMBOLIC_LINK_SET: u32 = 2u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const SYSTEM_CALL_INT_2E: u32 = 1u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const SYSTEM_CALL_SYSCALL: u32 = 0u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const ScsiAdapter: CONFIGURATION_TYPE = CONFIGURATION_TYPE(10i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const SeImageTypeDriver: SE_IMAGE_TYPE = SE_IMAGE_TYPE(1i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const SeImageTypeDynamicCodeFile: SE_IMAGE_TYPE = SE_IMAGE_TYPE(3i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const SeImageTypeElamDriver: SE_IMAGE_TYPE = SE_IMAGE_TYPE(0i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const SeImageTypeMax: SE_IMAGE_TYPE = SE_IMAGE_TYPE(4i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const SeImageTypePlatformSecureFile: SE_IMAGE_TYPE = SE_IMAGE_TYPE(2i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const SeImageVerificationCallbackInformational: SE_IMAGE_VERIFICATION_CALLBACK_TYPE = SE_IMAGE_VERIFICATION_CALLBACK_TYPE(0i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const SecondaryCache: CONFIGURATION_TYPE = CONFIGURATION_TYPE(7i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const SecondaryDcache: CONFIGURATION_TYPE = CONFIGURATION_TYPE(6i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const SecondaryIcache: CONFIGURATION_TYPE = CONFIGURATION_TYPE(5i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const SequentialAccess: IO_ACCESS_MODE = IO_ACCESS_MODE(0i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const SerialController: CONFIGURATION_TYPE = CONFIGURATION_TYPE(17i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const SetSecurityDescriptor: SECURITY_OPERATION_CODE = SECURITY_OPERATION_CODE(0i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const SgiInternalConfiguration: BUS_DATA_TYPE = BUS_DATA_TYPE(11i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const SharedInterruptTime: u32 = 4292804616u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const SharedSystemTime: u32 = 4292804628u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const SharedTickCount: u32 = 4292805408u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const SingleBusRelations: DEVICE_RELATION_TYPE = DEVICE_RELATION_TYPE(5i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const SlotEmpty: PCI_EXPRESS_CARD_PRESENCE = PCI_EXPRESS_CARD_PRESENCE(0i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const StandardDesign: ALTERNATIVE_ARCHITECTURE_TYPE = ALTERNATIVE_ARCHITECTURE_TYPE(0i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const StopCompletion: IO_COMPLETION_ROUTINE_RESULT = IO_COMPLETION_ROUTINE_RESULT(-1073741802i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const SubsystemInformationTypeWSL: SUBSYSTEM_INFORMATION_TYPE = SUBSYSTEM_INFORMATION_TYPE(1i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const SubsystemInformationTypeWin32: SUBSYSTEM_INFORMATION_TYPE = SUBSYSTEM_INFORMATION_TYPE(0i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const SuperCriticalWorkQueue: WORK_QUEUE_TYPE = WORK_QUEUE_TYPE(6i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const Suspended: KWAIT_REASON = KWAIT_REASON(5i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const SystemFirmwareTable_Enumerate: SYSTEM_FIRMWARE_TABLE_ACTION = SYSTEM_FIRMWARE_TABLE_ACTION(0i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const SystemFirmwareTable_Get: SYSTEM_FIRMWARE_TABLE_ACTION = SYSTEM_FIRMWARE_TABLE_ACTION(1i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const SystemMemory: CONFIGURATION_TYPE = CONFIGURATION_TYPE(37i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const SystemMemoryPartitionDedicatedMemoryInformation: PARTITION_INFORMATION_CLASS = PARTITION_INFORMATION_CLASS(9i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const SystemMemoryPartitionInformation: PARTITION_INFORMATION_CLASS = PARTITION_INFORMATION_CLASS(0i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const SystemMemoryPartitionOpenDedicatedMemory: PARTITION_INFORMATION_CLASS = PARTITION_INFORMATION_CLASS(10i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const SystemPowerState: POWER_STATE_TYPE = POWER_STATE_TYPE(0i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const THREAD_ALERT: u32 = 4u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const THREAD_CSWITCH_PMU_DISABLE: u32 = 0u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const THREAD_CSWITCH_PMU_ENABLE: u32 = 1u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const THREAD_GET_CONTEXT: u32 = 8u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const THREAD_WAIT_OBJECTS: u32 = 3u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const TIMER_EXPIRED_INDEX_BITS: u32 = 6u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const TIMER_PROCESSOR_INDEX_BITS: u32 = 5u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const TIMER_TOLERABLE_DELAY_BITS: u32 = 6u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const TREE_CONNECT_NO_CLIENT_BUFFERING: u32 = 8u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const TREE_CONNECT_WRITE_THROUGH: u32 = 2u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const TXF_MINIVERSION_DEFAULT_VIEW: u32 = 65534u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const TableEmptyTree: TABLE_SEARCH_RESULT = TABLE_SEARCH_RESULT(0i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const TableFoundNode: TABLE_SEARCH_RESULT = TABLE_SEARCH_RESULT(1i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const TableInsertAsLeft: TABLE_SEARCH_RESULT = TABLE_SEARCH_RESULT(2i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const TableInsertAsRight: TABLE_SEARCH_RESULT = TABLE_SEARCH_RESULT(3i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const TapeController: CONFIGURATION_TYPE = CONFIGURATION_TYPE(14i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const TapePeripheral: CONFIGURATION_TYPE = CONFIGURATION_TYPE(27i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const TargetDeviceRelation: DEVICE_RELATION_TYPE = DEVICE_RELATION_TYPE(4i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const TcAdapter: CONFIGURATION_TYPE = CONFIGURATION_TYPE(9i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const TerminalPeripheral: CONFIGURATION_TYPE = CONFIGURATION_TYPE(33i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const TimerSetCoalescableTimer: TIMER_SET_INFORMATION_CLASS = TIMER_SET_INFORMATION_CLASS(0i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const TlbMatchConflict: FAULT_INFORMATION_ARM64_TYPE = FAULT_INFORMATION_ARM64_TYPE(2i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const TraceEnableFlagsClass: TRACE_INFORMATION_CLASS = TRACE_INFORMATION_CLASS(2i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const TraceEnableLevelClass: TRACE_INFORMATION_CLASS = TRACE_INFORMATION_CLASS(3i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const TraceHandleByNameClass: TRACE_INFORMATION_CLASS = TRACE_INFORMATION_CLASS(7i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const TraceHandleClass: TRACE_INFORMATION_CLASS = TRACE_INFORMATION_CLASS(1i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const TraceIdClass: TRACE_INFORMATION_CLASS = TRACE_INFORMATION_CLASS(0i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const TraceInformationClassReserved1: TRACE_INFORMATION_CLASS = TRACE_INFORMATION_CLASS(12i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const TraceInformationClassReserved2: TRACE_INFORMATION_CLASS = TRACE_INFORMATION_CLASS(14i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const TraceSessionSettingsClass: TRACE_INFORMATION_CLASS = TRACE_INFORMATION_CLASS(9i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const TranslateChildToParent: RESOURCE_TRANSLATION_DIRECTION = RESOURCE_TRANSLATION_DIRECTION(0i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const TranslateParentToChild: RESOURCE_TRANSLATION_DIRECTION = RESOURCE_TRANSLATION_DIRECTION(1i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const TranslationFault: FAULT_INFORMATION_ARM64_TYPE = FAULT_INFORMATION_ARM64_TYPE(6i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const TransportRelations: DEVICE_RELATION_TYPE = DEVICE_RELATION_TYPE(6i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const TurboChannel: INTERFACE_TYPE = INTERFACE_TYPE(4i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const TypeA: DMA_SPEED = DMA_SPEED(1i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const TypeB: DMA_SPEED = DMA_SPEED(2i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const TypeC: DMA_SPEED = DMA_SPEED(3i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const TypeF: DMA_SPEED = DMA_SPEED(4i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const UADDRESS_BASE: u32 = 0u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const UnsupportedUpstreamTransaction: FAULT_INFORMATION_ARM64_TYPE = FAULT_INFORMATION_ARM64_TYPE(0i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const UserMode: MODE = MODE(1i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const UserNotPresent: POWER_USER_PRESENCE_TYPE = POWER_USER_PRESENCE_TYPE(0i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const UserPresent: POWER_USER_PRESENCE_TYPE = POWER_USER_PRESENCE_TYPE(1i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const UserRequest: KWAIT_REASON = KWAIT_REASON(6i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const UserUnknown: POWER_USER_PRESENCE_TYPE = POWER_USER_PRESENCE_TYPE(255i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const VMEBus: INTERFACE_TYPE = INTERFACE_TYPE(6i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const VMEConfiguration: BUS_DATA_TYPE = BUS_DATA_TYPE(5i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const VPB_DIRECT_WRITES_ALLOWED: u32 = 32u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const VPB_DISMOUNTING: u32 = 128u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const VPB_FLAGS_BYPASSIO_BLOCKED: u32 = 64u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const VPB_LOCKED: u32 = 2u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const VPB_MOUNTED: u32 = 1u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const VPB_PERSISTENT: u32 = 4u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const VPB_RAW_MOUNT: u32 = 16u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const VPB_REMOVE_PENDING: u32 = 8u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const ViewShare: SECTION_INHERIT = SECTION_INHERIT(1i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const ViewUnmap: SECTION_INHERIT = SECTION_INHERIT(2i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const Vmcs: INTERFACE_TYPE = INTERFACE_TYPE(16i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WCS_RAS_REGISTER_NAME_MAX_LENGTH: u32 = 32u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WDM_MAJORVERSION: u32 = 6u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WDM_MINORVERSION: u32 = 0u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WHEA_AMD_EXT_REG_NUM: u32 = 10u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WHEA_BUSCHECK_GUID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x1cf3f8b3_c5b1_49a2_aa59_5eef92ffa63c);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WHEA_CACHECHECK_GUID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xa55701f5_e3ef_43de_ac72_249b573fad2c);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WHEA_DEVICE_ERROR_SUMMARY_GUID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x990b31e9_541a_4db0_a42f_837d344f6923);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WHEA_DPC_CAPABILITY_SECTION_GUID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xec49534b_30e7_4358_972f_eca6958fae3b);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WHEA_ERROR_LOG_ENTRY_VERSION: u32 = 1u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WHEA_ERROR_PACKET_SECTION_GUID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xe71254e9_c1b9_4940_ab76_909703a4320f);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WHEA_ERROR_PACKET_V1_VERSION: u32 = 2u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WHEA_ERROR_PACKET_V2_VERSION: u32 = 3u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WHEA_ERROR_PACKET_VERSION: u32 = 3u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WHEA_ERROR_PKT_VERSION: u32 = 3u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WHEA_ERROR_RECORD_FLAGS_DEVICE_DRIVER: u32 = 8u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WHEA_ERROR_RECORD_FLAGS_PREVIOUSERROR: u32 = 2u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WHEA_ERROR_RECORD_FLAGS_RECOVERED: u32 = 1u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WHEA_ERROR_RECORD_FLAGS_SIMULATED: u32 = 4u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WHEA_ERROR_RECORD_REVISION: u32 = 528u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WHEA_ERROR_RECORD_SECTION_DESCRIPTOR_REVISION: u32 = 768u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WHEA_ERROR_RECORD_SIGNATURE_END: u32 = 4294967295u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WHEA_ERROR_RECORD_VALID_PARTITIONID: u32 = 4u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WHEA_ERROR_RECORD_VALID_PLATFORMID: u32 = 1u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WHEA_ERROR_RECORD_VALID_TIMESTAMP: u32 = 2u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WHEA_ERROR_TEXT_LEN: u32 = 32u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WHEA_ERR_SRC_OVERRIDE_FLAG: u32 = 1u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WHEA_FIRMWARE_RECORD_TYPE_IPFSAL: u32 = 0u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WHEA_GENERIC_ENTRY_TEXT_LEN: u32 = 20u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WHEA_GENERIC_ENTRY_V2_VERSION: u32 = 768u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WHEA_GENERIC_ENTRY_VERSION: u32 = 768u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WHEA_INVALID_ERR_SRC_ID: u32 = 0u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WHEA_IN_USE_PAGE_NOTIFY_FLAG_NOTIFYALL: u32 = 64u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WHEA_IN_USE_PAGE_NOTIFY_FLAG_PAGEOFFLINED: u32 = 128u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WHEA_IN_USE_PAGE_NOTIFY_FLAG_PLATFORMDIRECTED: u32 = 1u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WHEA_MAX_LOG_DATA_LEN: u32 = 36u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WHEA_MEMERRTYPE_INVALIDADDRESS: u32 = 10u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WHEA_MEMERRTYPE_MASTERABORT: u32 = 6u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WHEA_MEMERRTYPE_MEMORYSPARING: u32 = 12u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WHEA_MEMERRTYPE_MIRRORBROKEN: u32 = 11u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WHEA_MEMERRTYPE_MULTIBITECC: u32 = 3u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WHEA_MEMERRTYPE_MULTISYMCHIPKILL: u32 = 5u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WHEA_MEMERRTYPE_NOERROR: u32 = 1u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WHEA_MEMERRTYPE_PARITYERROR: u32 = 8u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WHEA_MEMERRTYPE_SINGLEBITECC: u32 = 2u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WHEA_MEMERRTYPE_SINGLESYMCHIPKILL: u32 = 4u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WHEA_MEMERRTYPE_TARGETABORT: u32 = 7u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WHEA_MEMERRTYPE_UNKNOWN: u32 = 0u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WHEA_MEMERRTYPE_WATCHDOGTIMEOUT: u32 = 9u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WHEA_MSCHECK_GUID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x48ab7f57_dc34_4f6c_a7d3_b0b5b0a74314);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WHEA_PCIE_CORRECTABLE_ERROR_SECTION_COUNT_SIZE: u32 = 32u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WHEA_PLUGIN_REGISTRATION_PACKET_V1: u32 = 65536u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WHEA_PLUGIN_REGISTRATION_PACKET_V2: u32 = 131072u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WHEA_PLUGIN_REGISTRATION_PACKET_VERSION: u32 = 131072u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WHEA_PMEM_ERROR_SECTION_LOCATION_INFO_SIZE: u32 = 64u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WHEA_PMEM_ERROR_SECTION_MAX_PAGES: u32 = 50u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WHEA_RECORD_CREATOR_GUID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xcf07c4bd_b789_4e18_b3c4_1f732cb57131);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WHEA_SECTION_DESCRIPTOR_FLAGS_CONTAINMENTWRN: u32 = 2u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WHEA_SECTION_DESCRIPTOR_FLAGS_FRU_TEXT_BY_PLUGIN: u32 = 128u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WHEA_SECTION_DESCRIPTOR_FLAGS_LATENTERROR: u32 = 32u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WHEA_SECTION_DESCRIPTOR_FLAGS_PRIMARY: u32 = 1u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WHEA_SECTION_DESCRIPTOR_FLAGS_PROPAGATED: u32 = 64u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WHEA_SECTION_DESCRIPTOR_FLAGS_RESET: u32 = 4u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WHEA_SECTION_DESCRIPTOR_FLAGS_RESOURCENA: u32 = 16u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WHEA_SECTION_DESCRIPTOR_FLAGS_THRESHOLDEXCEEDED: u32 = 8u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WHEA_SECTION_DESCRIPTOR_REVISION: u32 = 768u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WHEA_SEL_BUGCHECK_RECOVERY_STATUS_PHASE1_VERSION: u32 = 1u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WHEA_TLBCHECK_GUID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xfc06b535_5e1f_4562_9f25_0a3b9adb63c3);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WHEA_WRITE_FLAG_DUMMY: u32 = 1u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WHEA_XPF_MCA_EXTREG_MAX_COUNT: u32 = 24u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WHEA_XPF_MCA_SECTION_VERSION: u32 = 3u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WHEA_XPF_MCA_SECTION_VERSION_2: u32 = 2u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WHEA_XPF_MCA_SECTION_VERSION_3: u32 = 3u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WMIREGISTER: u32 = 0u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WMIREG_ACTION_BLOCK_IRPS: u32 = 5u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WMIREG_ACTION_DEREGISTER: u32 = 2u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WMIREG_ACTION_REGISTER: u32 = 1u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WMIREG_ACTION_REREGISTER: u32 = 3u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WMIREG_ACTION_UPDATE_GUIDS: u32 = 4u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WMIUPDATE: u32 = 1u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WdfNotifyRoutinesClass: TRACE_INFORMATION_CLASS = TRACE_INFORMATION_CLASS(15i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WheaCpuVendorAmd: WHEA_CPU_VENDOR = WHEA_CPU_VENDOR(2i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WheaCpuVendorIntel: WHEA_CPU_VENDOR = WHEA_CPU_VENDOR(1i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WheaCpuVendorOther: WHEA_CPU_VENDOR = WHEA_CPU_VENDOR(0i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WheaDataFormatGeneric: WHEA_ERROR_PACKET_DATA_FORMAT = WHEA_ERROR_PACKET_DATA_FORMAT(7i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WheaDataFormatIPFSalRecord: WHEA_ERROR_PACKET_DATA_FORMAT = WHEA_ERROR_PACKET_DATA_FORMAT(0i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WheaDataFormatMax: WHEA_ERROR_PACKET_DATA_FORMAT = WHEA_ERROR_PACKET_DATA_FORMAT(8i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WheaDataFormatMemory: WHEA_ERROR_PACKET_DATA_FORMAT = WHEA_ERROR_PACKET_DATA_FORMAT(2i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WheaDataFormatNMIPort: WHEA_ERROR_PACKET_DATA_FORMAT = WHEA_ERROR_PACKET_DATA_FORMAT(4i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WheaDataFormatPCIExpress: WHEA_ERROR_PACKET_DATA_FORMAT = WHEA_ERROR_PACKET_DATA_FORMAT(3i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WheaDataFormatPCIXBus: WHEA_ERROR_PACKET_DATA_FORMAT = WHEA_ERROR_PACKET_DATA_FORMAT(5i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WheaDataFormatPCIXDevice: WHEA_ERROR_PACKET_DATA_FORMAT = WHEA_ERROR_PACKET_DATA_FORMAT(6i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WheaDataFormatXPFMCA: WHEA_ERROR_PACKET_DATA_FORMAT = WHEA_ERROR_PACKET_DATA_FORMAT(1i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WheaErrSevCorrected: WHEA_ERROR_SEVERITY = WHEA_ERROR_SEVERITY(2i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WheaErrSevFatal: WHEA_ERROR_SEVERITY = WHEA_ERROR_SEVERITY(1i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WheaErrSevInformational: WHEA_ERROR_SEVERITY = WHEA_ERROR_SEVERITY(3i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WheaErrSevRecoverable: WHEA_ERROR_SEVERITY = WHEA_ERROR_SEVERITY(0i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WheaErrTypeGeneric: WHEA_ERROR_TYPE = WHEA_ERROR_TYPE(6i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WheaErrTypeMemory: WHEA_ERROR_TYPE = WHEA_ERROR_TYPE(1i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WheaErrTypeNMI: WHEA_ERROR_TYPE = WHEA_ERROR_TYPE(3i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WheaErrTypePCIExpress: WHEA_ERROR_TYPE = WHEA_ERROR_TYPE(2i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WheaErrTypePCIXBus: WHEA_ERROR_TYPE = WHEA_ERROR_TYPE(4i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WheaErrTypePCIXDevice: WHEA_ERROR_TYPE = WHEA_ERROR_TYPE(5i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WheaErrTypePmem: WHEA_ERROR_TYPE = WHEA_ERROR_TYPE(7i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WheaErrTypeProcessor: WHEA_ERROR_TYPE = WHEA_ERROR_TYPE(0i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WheaEventBugCheckRecoveryEntry: WHEA_BUGCHECK_RECOVERY_LOG_TYPE = WHEA_BUGCHECK_RECOVERY_LOG_TYPE(0i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WheaEventBugCheckRecoveryMax: WHEA_BUGCHECK_RECOVERY_LOG_TYPE = WHEA_BUGCHECK_RECOVERY_LOG_TYPE(2i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WheaEventBugCheckRecoveryReturn: WHEA_BUGCHECK_RECOVERY_LOG_TYPE = WHEA_BUGCHECK_RECOVERY_LOG_TYPE(1i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WheaEventLogAzccRootBusList: WHEA_EVENT_LOG_ENTRY_ID = WHEA_EVENT_LOG_ENTRY_ID(-2147483617i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WheaEventLogAzccRootBusPoisonSet: WHEA_EVENT_LOG_ENTRY_ID = WHEA_EVENT_LOG_ENTRY_ID(-2147483602i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WheaEventLogAzccRootBusSearchErr: WHEA_EVENT_LOG_ENTRY_ID = WHEA_EVENT_LOG_ENTRY_ID(-2147483618i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WheaEventLogCmciFinalRestart: WHEA_EVENT_LOG_ENTRY_ID = WHEA_EVENT_LOG_ENTRY_ID(-2147483620i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WheaEventLogCmciRestart: WHEA_EVENT_LOG_ENTRY_ID = WHEA_EVENT_LOG_ENTRY_ID(-2147483621i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WheaEventLogEntryEarlyError: WHEA_EVENT_LOG_ENTRY_ID = WHEA_EVENT_LOG_ENTRY_ID(-2147483594i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WheaEventLogEntryEtwOverFlow: WHEA_EVENT_LOG_ENTRY_ID = WHEA_EVENT_LOG_ENTRY_ID(-2147483619i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WheaEventLogEntryIdAcpiTimeOut: WHEA_EVENT_LOG_ENTRY_ID = WHEA_EVENT_LOG_ENTRY_ID(-2147483622i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WheaEventLogEntryIdAddRemoveErrorSource: WHEA_EVENT_LOG_ENTRY_ID = WHEA_EVENT_LOG_ENTRY_ID(-2147483636i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WheaEventLogEntryIdAerNotGrantedToOs: WHEA_EVENT_LOG_ENTRY_ID = WHEA_EVENT_LOG_ENTRY_ID(-2147483624i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WheaEventLogEntryIdAttemptErrorRecovery: WHEA_EVENT_LOG_ENTRY_ID = WHEA_EVENT_LOG_ENTRY_ID(-2147483634i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WheaEventLogEntryIdBadHestNotifyData: WHEA_EVENT_LOG_ENTRY_ID = WHEA_EVENT_LOG_ENTRY_ID(-2147483565i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WheaEventLogEntryIdBadPageLimitReached: WHEA_EVENT_LOG_ENTRY_ID = WHEA_EVENT_LOG_ENTRY_ID(-2147483596i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WheaEventLogEntryIdClearedPoison: WHEA_EVENT_LOG_ENTRY_ID = WHEA_EVENT_LOG_ENTRY_ID(-2147483630i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WheaEventLogEntryIdCmcPollingTimeout: WHEA_EVENT_LOG_ENTRY_ID = WHEA_EVENT_LOG_ENTRY_ID(-2147483647i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WheaEventLogEntryIdCmcSwitchToPolling: WHEA_EVENT_LOG_ENTRY_ID = WHEA_EVENT_LOG_ENTRY_ID(-2147483645i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WheaEventLogEntryIdCmciImplPresent: WHEA_EVENT_LOG_ENTRY_ID = WHEA_EVENT_LOG_ENTRY_ID(-2147483608i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WheaEventLogEntryIdCmciInitError: WHEA_EVENT_LOG_ENTRY_ID = WHEA_EVENT_LOG_ENTRY_ID(-2147483607i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WheaEventLogEntryIdCpuBusesInitFailed: WHEA_EVENT_LOG_ENTRY_ID = WHEA_EVENT_LOG_ENTRY_ID(-2147483571i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WheaEventLogEntryIdCpusFrozen: WHEA_EVENT_LOG_ENTRY_ID = WHEA_EVENT_LOG_ENTRY_ID(-2147483552i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WheaEventLogEntryIdCpusFrozenNoCrashDump: WHEA_EVENT_LOG_ENTRY_ID = WHEA_EVENT_LOG_ENTRY_ID(-2147483551i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WheaEventLogEntryIdCreateGenericRecord: WHEA_EVENT_LOG_ENTRY_ID = WHEA_EVENT_LOG_ENTRY_ID(-2147483627i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WheaEventLogEntryIdDefectListCorrupt: WHEA_EVENT_LOG_ENTRY_ID = WHEA_EVENT_LOG_ENTRY_ID(-2147483566i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WheaEventLogEntryIdDefectListFull: WHEA_EVENT_LOG_ENTRY_ID = WHEA_EVENT_LOG_ENTRY_ID(-2147483568i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WheaEventLogEntryIdDefectListUEFIVarFailed: WHEA_EVENT_LOG_ENTRY_ID = WHEA_EVENT_LOG_ENTRY_ID(-2147483567i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WheaEventLogEntryIdDeviceDriver: WHEA_EVENT_LOG_ENTRY_ID = WHEA_EVENT_LOG_ENTRY_ID(-2147483609i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WheaEventLogEntryIdDroppedCorrectedError: WHEA_EVENT_LOG_ENTRY_ID = WHEA_EVENT_LOG_ENTRY_ID(-2147483644i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WheaEventLogEntryIdDrvErrSrcInvalid: WHEA_EVENT_LOG_ENTRY_ID = WHEA_EVENT_LOG_ENTRY_ID(-2147483605i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WheaEventLogEntryIdDrvHandleBusy: WHEA_EVENT_LOG_ENTRY_ID = WHEA_EVENT_LOG_ENTRY_ID(-2147483604i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WheaEventLogEntryIdEnableKeyNotifFailed: WHEA_EVENT_LOG_ENTRY_ID = WHEA_EVENT_LOG_ENTRY_ID(-2147483580i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WheaEventLogEntryIdErrDimmInfoMismatch: WHEA_EVENT_LOG_ENTRY_ID = WHEA_EVENT_LOG_ENTRY_ID(-2147483600i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WheaEventLogEntryIdErrSrcArrayInvalid: WHEA_EVENT_LOG_ENTRY_ID = WHEA_EVENT_LOG_ENTRY_ID(-2147483623i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WheaEventLogEntryIdErrSrcInvalid: WHEA_EVENT_LOG_ENTRY_ID = WHEA_EVENT_LOG_ENTRY_ID(-2147483616i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WheaEventLogEntryIdErrorRecord: WHEA_EVENT_LOG_ENTRY_ID = WHEA_EVENT_LOG_ENTRY_ID(-2147483626i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WheaEventLogEntryIdErrorRecordLimit: WHEA_EVENT_LOG_ENTRY_ID = WHEA_EVENT_LOG_ENTRY_ID(-2147483625i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WheaEventLogEntryIdFailedAddToDefectList: WHEA_EVENT_LOG_ENTRY_ID = WHEA_EVENT_LOG_ENTRY_ID(-2147483569i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WheaEventLogEntryIdGenericErrMemMap: WHEA_EVENT_LOG_ENTRY_ID = WHEA_EVENT_LOG_ENTRY_ID(-2147483615i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WheaEventLogEntryIdKeyNotificationFailed: WHEA_EVENT_LOG_ENTRY_ID = WHEA_EVENT_LOG_ENTRY_ID(-2147483579i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WheaEventLogEntryIdMcaErrorCleared: WHEA_EVENT_LOG_ENTRY_ID = WHEA_EVENT_LOG_ENTRY_ID(-2147483631i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WheaEventLogEntryIdMcaFoundErrorInBank: WHEA_EVENT_LOG_ENTRY_ID = WHEA_EVENT_LOG_ENTRY_ID(-2147483633i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WheaEventLogEntryIdMcaStuckErrorCheck: WHEA_EVENT_LOG_ENTRY_ID = WHEA_EVENT_LOG_ENTRY_ID(-2147483632i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WheaEventLogEntryIdMemoryAddDevice: WHEA_EVENT_LOG_ENTRY_ID = WHEA_EVENT_LOG_ENTRY_ID(-2147483575i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WheaEventLogEntryIdMemoryRemoveDevice: WHEA_EVENT_LOG_ENTRY_ID = WHEA_EVENT_LOG_ENTRY_ID(-2147483574i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WheaEventLogEntryIdMemorySummaryFailed: WHEA_EVENT_LOG_ENTRY_ID = WHEA_EVENT_LOG_ENTRY_ID(-2147483573i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WheaEventLogEntryIdOscCapabilities: WHEA_EVENT_LOG_ENTRY_ID = WHEA_EVENT_LOG_ENTRY_ID(-2147483638i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WheaEventLogEntryIdPFAMemoryOfflined: WHEA_EVENT_LOG_ENTRY_ID = WHEA_EVENT_LOG_ENTRY_ID(-2147483642i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WheaEventLogEntryIdPFAMemoryPolicy: WHEA_EVENT_LOG_ENTRY_ID = WHEA_EVENT_LOG_ENTRY_ID(-2147483640i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WheaEventLogEntryIdPFAMemoryRemoveMonitor: WHEA_EVENT_LOG_ENTRY_ID = WHEA_EVENT_LOG_ENTRY_ID(-2147483641i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WheaEventLogEntryIdPcieAddDevice: WHEA_EVENT_LOG_ENTRY_ID = WHEA_EVENT_LOG_ENTRY_ID(-2147483577i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WheaEventLogEntryIdPcieConfigInfo: WHEA_EVENT_LOG_ENTRY_ID = WHEA_EVENT_LOG_ENTRY_ID(-2147483591i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WheaEventLogEntryIdPcieDpcError: WHEA_EVENT_LOG_ENTRY_ID = WHEA_EVENT_LOG_ENTRY_ID(-2147483572i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WheaEventLogEntryIdPcieOverrideInfo: WHEA_EVENT_LOG_ENTRY_ID = WHEA_EVENT_LOG_ENTRY_ID(-2147483593i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WheaEventLogEntryIdPcieRemoveDevice: WHEA_EVENT_LOG_ENTRY_ID = WHEA_EVENT_LOG_ENTRY_ID(-2147483578i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WheaEventLogEntryIdPcieSpuriousErrSource: WHEA_EVENT_LOG_ENTRY_ID = WHEA_EVENT_LOG_ENTRY_ID(-2147483576i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WheaEventLogEntryIdPcieSummaryFailed: WHEA_EVENT_LOG_ENTRY_ID = WHEA_EVENT_LOG_ENTRY_ID(-2147483584i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WheaEventLogEntryIdProcessEINJ: WHEA_EVENT_LOG_ENTRY_ID = WHEA_EVENT_LOG_ENTRY_ID(-2147483629i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WheaEventLogEntryIdProcessHEST: WHEA_EVENT_LOG_ENTRY_ID = WHEA_EVENT_LOG_ENTRY_ID(-2147483628i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WheaEventLogEntryIdPshedCallbackCollision: WHEA_EVENT_LOG_ENTRY_ID = WHEA_EVENT_LOG_ENTRY_ID(-2147483614i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WheaEventLogEntryIdPshedInjectError: WHEA_EVENT_LOG_ENTRY_ID = WHEA_EVENT_LOG_ENTRY_ID(-2147483639i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WheaEventLogEntryIdPshedPiTraceLog: WHEA_EVENT_LOG_ENTRY_ID = WHEA_EVENT_LOG_ENTRY_ID(-2147221488i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WheaEventLogEntryIdPshedPluginInitFailed: WHEA_EVENT_LOG_ENTRY_ID = WHEA_EVENT_LOG_ENTRY_ID(-2147483570i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WheaEventLogEntryIdPshedPluginLoad: WHEA_EVENT_LOG_ENTRY_ID = WHEA_EVENT_LOG_ENTRY_ID(-2147483612i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WheaEventLogEntryIdPshedPluginRegister: WHEA_EVENT_LOG_ENTRY_ID = WHEA_EVENT_LOG_ENTRY_ID(-2147483637i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WheaEventLogEntryIdPshedPluginSupported: WHEA_EVENT_LOG_ENTRY_ID = WHEA_EVENT_LOG_ENTRY_ID(-2147483610i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WheaEventLogEntryIdPshedPluginUnload: WHEA_EVENT_LOG_ENTRY_ID = WHEA_EVENT_LOG_ENTRY_ID(-2147483611i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WheaEventLogEntryIdReadPcieOverridesErr: WHEA_EVENT_LOG_ENTRY_ID = WHEA_EVENT_LOG_ENTRY_ID(-2147483592i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WheaEventLogEntryIdRowFailure: WHEA_EVENT_LOG_ENTRY_ID = WHEA_EVENT_LOG_ENTRY_ID(-2147483561i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WheaEventLogEntryIdSELBugCheckInfo: WHEA_EVENT_LOG_ENTRY_ID = WHEA_EVENT_LOG_ENTRY_ID(-2147483601i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WheaEventLogEntryIdSELBugCheckProgress: WHEA_EVENT_LOG_ENTRY_ID = WHEA_EVENT_LOG_ENTRY_ID(-2147483613i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WheaEventLogEntryIdSELBugCheckRecovery: WHEA_EVENT_LOG_ENTRY_ID = WHEA_EVENT_LOG_ENTRY_ID(-2147483606i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WheaEventLogEntryIdSrasTableEntries: WHEA_EVENT_LOG_ENTRY_ID = WHEA_EVENT_LOG_ENTRY_ID(-2147483562i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WheaEventLogEntryIdSrasTableError: WHEA_EVENT_LOG_ENTRY_ID = WHEA_EVENT_LOG_ENTRY_ID(-2147483563i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WheaEventLogEntryIdSrasTableNotFound: WHEA_EVENT_LOG_ENTRY_ID = WHEA_EVENT_LOG_ENTRY_ID(-2147483564i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WheaEventLogEntryIdStartedReportHwError: WHEA_EVENT_LOG_ENTRY_ID = WHEA_EVENT_LOG_ENTRY_ID(-2147483643i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WheaEventLogEntryIdThrottleAddErrSrcFailed: WHEA_EVENT_LOG_ENTRY_ID = WHEA_EVENT_LOG_ENTRY_ID(-2147483582i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WheaEventLogEntryIdThrottleRegCorrupt: WHEA_EVENT_LOG_ENTRY_ID = WHEA_EVENT_LOG_ENTRY_ID(-2147483583i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WheaEventLogEntryIdThrottleRegDataIgnored: WHEA_EVENT_LOG_ENTRY_ID = WHEA_EVENT_LOG_ENTRY_ID(-2147483581i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WheaEventLogEntryIdWheaHeartbeat: WHEA_EVENT_LOG_ENTRY_ID = WHEA_EVENT_LOG_ENTRY_ID(-2147483603i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WheaEventLogEntryIdWheaInit: WHEA_EVENT_LOG_ENTRY_ID = WHEA_EVENT_LOG_ENTRY_ID(-2147483646i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WheaEventLogEntryIdWorkQueueItem: WHEA_EVENT_LOG_ENTRY_ID = WHEA_EVENT_LOG_ENTRY_ID(-2147483635i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WheaEventLogEntryIdeDpcEnabled: WHEA_EVENT_LOG_ENTRY_ID = WHEA_EVENT_LOG_ENTRY_ID(-2147483599i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WheaEventLogEntryPageOfflineDone: WHEA_EVENT_LOG_ENTRY_ID = WHEA_EVENT_LOG_ENTRY_ID(-2147483598i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WheaEventLogEntryPageOfflinePendMax: WHEA_EVENT_LOG_ENTRY_ID = WHEA_EVENT_LOG_ENTRY_ID(-2147483597i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WheaEventLogEntrySrarDetail: WHEA_EVENT_LOG_ENTRY_ID = WHEA_EVENT_LOG_ENTRY_ID(-2147483595i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WheaEventLogEntryTypeError: WHEA_EVENT_LOG_ENTRY_TYPE = WHEA_EVENT_LOG_ENTRY_TYPE(2i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WheaEventLogEntryTypeInformational: WHEA_EVENT_LOG_ENTRY_TYPE = WHEA_EVENT_LOG_ENTRY_TYPE(0i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WheaEventLogEntryTypeWarning: WHEA_EVENT_LOG_ENTRY_TYPE = WHEA_EVENT_LOG_ENTRY_TYPE(1i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WheaMemoryThrottle: WHEA_THROTTLE_TYPE = WHEA_THROTTLE_TYPE(1i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WheaPciExpressDownstreamSwitchPort: WHEA_PCIEXPRESS_DEVICE_TYPE = WHEA_PCIEXPRESS_DEVICE_TYPE(6i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WheaPciExpressEndpoint: WHEA_PCIEXPRESS_DEVICE_TYPE = WHEA_PCIEXPRESS_DEVICE_TYPE(0i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WheaPciExpressLegacyEndpoint: WHEA_PCIEXPRESS_DEVICE_TYPE = WHEA_PCIEXPRESS_DEVICE_TYPE(1i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WheaPciExpressRootComplexEventCollector: WHEA_PCIEXPRESS_DEVICE_TYPE = WHEA_PCIEXPRESS_DEVICE_TYPE(10i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WheaPciExpressRootComplexIntegratedEndpoint: WHEA_PCIEXPRESS_DEVICE_TYPE = WHEA_PCIEXPRESS_DEVICE_TYPE(9i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WheaPciExpressRootPort: WHEA_PCIEXPRESS_DEVICE_TYPE = WHEA_PCIEXPRESS_DEVICE_TYPE(4i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WheaPciExpressToPciXBridge: WHEA_PCIEXPRESS_DEVICE_TYPE = WHEA_PCIEXPRESS_DEVICE_TYPE(7i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WheaPciExpressUpstreamSwitchPort: WHEA_PCIEXPRESS_DEVICE_TYPE = WHEA_PCIEXPRESS_DEVICE_TYPE(5i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WheaPciREcoveryStatusUnknown: WHEA_PCI_RECOVERY_STATUS = WHEA_PCI_RECOVERY_STATUS(0i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WheaPciRecoverySignalAer: WHEA_PCI_RECOVERY_SIGNAL = WHEA_PCI_RECOVERY_SIGNAL(1i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WheaPciRecoverySignalDpc: WHEA_PCI_RECOVERY_SIGNAL = WHEA_PCI_RECOVERY_SIGNAL(2i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WheaPciRecoverySignalUnknown: WHEA_PCI_RECOVERY_SIGNAL = WHEA_PCI_RECOVERY_SIGNAL(0i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WheaPciRecoveryStatusBusNotFound: WHEA_PCI_RECOVERY_STATUS = WHEA_PCI_RECOVERY_STATUS(6i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WheaPciRecoveryStatusComplexTree: WHEA_PCI_RECOVERY_STATUS = WHEA_PCI_RECOVERY_STATUS(5i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WheaPciRecoveryStatusLinkDisableTimeout: WHEA_PCI_RECOVERY_STATUS = WHEA_PCI_RECOVERY_STATUS(2i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WheaPciRecoveryStatusLinkEnableTimeout: WHEA_PCI_RECOVERY_STATUS = WHEA_PCI_RECOVERY_STATUS(3i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WheaPciRecoveryStatusNoError: WHEA_PCI_RECOVERY_STATUS = WHEA_PCI_RECOVERY_STATUS(1i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WheaPciRecoveryStatusRpBusyTimeout: WHEA_PCI_RECOVERY_STATUS = WHEA_PCI_RECOVERY_STATUS(4i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WheaPciXToExpressBridge: WHEA_PCIEXPRESS_DEVICE_TYPE = WHEA_PCIEXPRESS_DEVICE_TYPE(8i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WheaPcieThrottle: WHEA_THROTTLE_TYPE = WHEA_THROTTLE_TYPE(0i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WheaPfaRemoveCapacity: WHEA_PFA_REMOVE_TRIGGER = WHEA_PFA_REMOVE_TRIGGER(3i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WheaPfaRemoveErrorThreshold: WHEA_PFA_REMOVE_TRIGGER = WHEA_PFA_REMOVE_TRIGGER(1i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WheaPfaRemoveTimeout: WHEA_PFA_REMOVE_TRIGGER = WHEA_PFA_REMOVE_TRIGGER(2i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WheaRawDataFormatAMD64MCA: WHEA_RAW_DATA_FORMAT = WHEA_RAW_DATA_FORMAT(3i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WheaRawDataFormatGeneric: WHEA_RAW_DATA_FORMAT = WHEA_RAW_DATA_FORMAT(9i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WheaRawDataFormatIA32MCA: WHEA_RAW_DATA_FORMAT = WHEA_RAW_DATA_FORMAT(1i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WheaRawDataFormatIPFSalRecord: WHEA_RAW_DATA_FORMAT = WHEA_RAW_DATA_FORMAT(0i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WheaRawDataFormatIntel64MCA: WHEA_RAW_DATA_FORMAT = WHEA_RAW_DATA_FORMAT(2i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WheaRawDataFormatMax: WHEA_RAW_DATA_FORMAT = WHEA_RAW_DATA_FORMAT(10i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WheaRawDataFormatMemory: WHEA_RAW_DATA_FORMAT = WHEA_RAW_DATA_FORMAT(4i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WheaRawDataFormatNMIPort: WHEA_RAW_DATA_FORMAT = WHEA_RAW_DATA_FORMAT(6i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WheaRawDataFormatPCIExpress: WHEA_RAW_DATA_FORMAT = WHEA_RAW_DATA_FORMAT(5i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WheaRawDataFormatPCIXBus: WHEA_RAW_DATA_FORMAT = WHEA_RAW_DATA_FORMAT(7i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WheaRawDataFormatPCIXDevice: WHEA_RAW_DATA_FORMAT = WHEA_RAW_DATA_FORMAT(8i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WheaRecoveryContextErrorTypeMax: WHEA_RECOVERY_CONTEXT_ERROR_TYPE = WHEA_RECOVERY_CONTEXT_ERROR_TYPE(3i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WheaRecoveryContextErrorTypeMemory: WHEA_RECOVERY_CONTEXT_ERROR_TYPE = WHEA_RECOVERY_CONTEXT_ERROR_TYPE(1i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WheaRecoveryContextErrorTypePmem: WHEA_RECOVERY_CONTEXT_ERROR_TYPE = WHEA_RECOVERY_CONTEXT_ERROR_TYPE(2i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WheaRecoveryFailureReasonFarNotValid: WHEA_RECOVERY_FAILURE_REASON = WHEA_RECOVERY_FAILURE_REASON(17i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WheaRecoveryFailureReasonHighIrql: WHEA_RECOVERY_FAILURE_REASON = WHEA_RECOVERY_FAILURE_REASON(10i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WheaRecoveryFailureReasonInsufficientAltContextWrappers: WHEA_RECOVERY_FAILURE_REASON = WHEA_RECOVERY_FAILURE_REASON(11i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WheaRecoveryFailureReasonInterruptsDisabled: WHEA_RECOVERY_FAILURE_REASON = WHEA_RECOVERY_FAILURE_REASON(12i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WheaRecoveryFailureReasonInvalidAddressMode: WHEA_RECOVERY_FAILURE_REASON = WHEA_RECOVERY_FAILURE_REASON(9i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WheaRecoveryFailureReasonKernelCouldNotMarkMemoryBad: WHEA_RECOVERY_FAILURE_REASON = WHEA_RECOVERY_FAILURE_REASON(1i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WheaRecoveryFailureReasonKernelMarkMemoryBadTimedOut: WHEA_RECOVERY_FAILURE_REASON = WHEA_RECOVERY_FAILURE_REASON(2i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WheaRecoveryFailureReasonKernelWillPageFaultBCAtCurrentIrql: WHEA_RECOVERY_FAILURE_REASON = WHEA_RECOVERY_FAILURE_REASON(16i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WheaRecoveryFailureReasonMax: WHEA_RECOVERY_FAILURE_REASON = WHEA_RECOVERY_FAILURE_REASON(18i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WheaRecoveryFailureReasonMiscOrAddrNotValid: WHEA_RECOVERY_FAILURE_REASON = WHEA_RECOVERY_FAILURE_REASON(8i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WheaRecoveryFailureReasonNoRecoveryContext: WHEA_RECOVERY_FAILURE_REASON = WHEA_RECOVERY_FAILURE_REASON(3i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WheaRecoveryFailureReasonNotContinuable: WHEA_RECOVERY_FAILURE_REASON = WHEA_RECOVERY_FAILURE_REASON(4i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WheaRecoveryFailureReasonNotSupported: WHEA_RECOVERY_FAILURE_REASON = WHEA_RECOVERY_FAILURE_REASON(7i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WheaRecoveryFailureReasonOverflow: WHEA_RECOVERY_FAILURE_REASON = WHEA_RECOVERY_FAILURE_REASON(6i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WheaRecoveryFailureReasonPcc: WHEA_RECOVERY_FAILURE_REASON = WHEA_RECOVERY_FAILURE_REASON(5i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WheaRecoveryFailureReasonStackOverflow: WHEA_RECOVERY_FAILURE_REASON = WHEA_RECOVERY_FAILURE_REASON(14i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WheaRecoveryFailureReasonSwapBusy: WHEA_RECOVERY_FAILURE_REASON = WHEA_RECOVERY_FAILURE_REASON(13i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WheaRecoveryFailureReasonUnexpectedFailure: WHEA_RECOVERY_FAILURE_REASON = WHEA_RECOVERY_FAILURE_REASON(15i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WheaRecoveryTypeActionOptional: WHEA_RECOVERY_TYPE = WHEA_RECOVERY_TYPE(2i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WheaRecoveryTypeActionRequired: WHEA_RECOVERY_TYPE = WHEA_RECOVERY_TYPE(1i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WheaRecoveryTypeMax: WHEA_RECOVERY_TYPE = WHEA_RECOVERY_TYPE(3i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WheapDpcErrBusNotFound: WHEAP_DPC_ERROR_EVENT_TYPE = WHEAP_DPC_ERROR_EVENT_TYPE(1i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WheapDpcErrDeviceIdBad: WHEAP_DPC_ERROR_EVENT_TYPE = WHEAP_DPC_ERROR_EVENT_TYPE(3i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WheapDpcErrDpcedSubtree: WHEAP_DPC_ERROR_EVENT_TYPE = WHEAP_DPC_ERROR_EVENT_TYPE(2i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WheapDpcErrNoChildren: WHEAP_DPC_ERROR_EVENT_TYPE = WHEAP_DPC_ERROR_EVENT_TYPE(5i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WheapDpcErrNoErr: WHEAP_DPC_ERROR_EVENT_TYPE = WHEAP_DPC_ERROR_EVENT_TYPE(0i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WheapDpcErrResetFailed: WHEAP_DPC_ERROR_EVENT_TYPE = WHEAP_DPC_ERROR_EVENT_TYPE(4i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WheapPfaOfflinePredictiveFailure: WHEAP_PFA_OFFLINE_DECISION_TYPE = WHEAP_PFA_OFFLINE_DECISION_TYPE(1i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WheapPfaOfflineUncorrectedError: WHEAP_PFA_OFFLINE_DECISION_TYPE = WHEAP_PFA_OFFLINE_DECISION_TYPE(2i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const Width16Bits: DMA_WIDTH = DMA_WIDTH(1i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const Width32Bits: DMA_WIDTH = DMA_WIDTH(2i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const Width64Bits: DMA_WIDTH = DMA_WIDTH(3i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const Width8Bits: DMA_WIDTH = DMA_WIDTH(0i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WidthNoWrap: DMA_WIDTH = DMA_WIDTH(4i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WormController: CONFIGURATION_TYPE = CONFIGURATION_TYPE(16i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WrAlertByThreadId: KWAIT_REASON = KWAIT_REASON(37i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WrCalloutStack: KWAIT_REASON = KWAIT_REASON(25i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WrCpuRateControl: KWAIT_REASON = KWAIT_REASON(24i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WrDeferredPreempt: KWAIT_REASON = KWAIT_REASON(38i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WrDelayExecution: KWAIT_REASON = KWAIT_REASON(11i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WrDispatchInt: KWAIT_REASON = KWAIT_REASON(31i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WrExecutive: KWAIT_REASON = KWAIT_REASON(7i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WrFastMutex: KWAIT_REASON = KWAIT_REASON(34i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WrFreePage: KWAIT_REASON = KWAIT_REASON(8i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WrGuardedMutex: KWAIT_REASON = KWAIT_REASON(35i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WrIoRing: KWAIT_REASON = KWAIT_REASON(40i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WrKernel: KWAIT_REASON = KWAIT_REASON(26i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WrKeyedEvent: KWAIT_REASON = KWAIT_REASON(21i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WrLpcReceive: KWAIT_REASON = KWAIT_REASON(16i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WrLpcReply: KWAIT_REASON = KWAIT_REASON(17i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WrMdlCache: KWAIT_REASON = KWAIT_REASON(41i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WrMutex: KWAIT_REASON = KWAIT_REASON(29i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WrPageIn: KWAIT_REASON = KWAIT_REASON(9i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WrPageOut: KWAIT_REASON = KWAIT_REASON(19i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WrPhysicalFault: KWAIT_REASON = KWAIT_REASON(39i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WrPoolAllocation: KWAIT_REASON = KWAIT_REASON(10i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WrPreempted: KWAIT_REASON = KWAIT_REASON(32i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WrProcessInSwap: KWAIT_REASON = KWAIT_REASON(23i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WrPushLock: KWAIT_REASON = KWAIT_REASON(28i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WrQuantumEnd: KWAIT_REASON = KWAIT_REASON(30i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WrQueue: KWAIT_REASON = KWAIT_REASON(15i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WrRendezvous: KWAIT_REASON = KWAIT_REASON(20i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WrResource: KWAIT_REASON = KWAIT_REASON(27i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WrRundown: KWAIT_REASON = KWAIT_REASON(36i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WrSpare0: KWAIT_REASON = KWAIT_REASON(14i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WrSuspended: KWAIT_REASON = KWAIT_REASON(12i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WrTerminated: KWAIT_REASON = KWAIT_REASON(22i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WrUserRequest: KWAIT_REASON = KWAIT_REASON(13i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WrVirtualMemory: KWAIT_REASON = KWAIT_REASON(18i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WrYieldExecution: KWAIT_REASON = KWAIT_REASON(33i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const WriteAccess: IO_ACCESS_TYPE = IO_ACCESS_TYPE(1i32);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const XPF_BUS_CHECK_ADDRESS_IO: u32 = 2u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const XPF_BUS_CHECK_ADDRESS_MEMORY: u32 = 0u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const XPF_BUS_CHECK_ADDRESS_OTHER: u32 = 3u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const XPF_BUS_CHECK_ADDRESS_RESERVED: u32 = 1u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const XPF_BUS_CHECK_OPERATION_DATAREAD: u32 = 3u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const XPF_BUS_CHECK_OPERATION_DATAWRITE: u32 = 4u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const XPF_BUS_CHECK_OPERATION_GENERIC: u32 = 0u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const XPF_BUS_CHECK_OPERATION_GENREAD: u32 = 1u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const XPF_BUS_CHECK_OPERATION_GENWRITE: u32 = 2u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const XPF_BUS_CHECK_OPERATION_INSTRUCTIONFETCH: u32 = 5u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const XPF_BUS_CHECK_OPERATION_PREFETCH: u32 = 6u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const XPF_BUS_CHECK_PARTICIPATION_GENERIC: u32 = 3u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const XPF_BUS_CHECK_PARTICIPATION_PROCOBSERVED: u32 = 2u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const XPF_BUS_CHECK_PARTICIPATION_PROCORIGINATED: u32 = 0u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const XPF_BUS_CHECK_PARTICIPATION_PROCRESPONDED: u32 = 1u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const XPF_BUS_CHECK_TRANSACTIONTYPE_DATAACCESS: u32 = 1u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const XPF_BUS_CHECK_TRANSACTIONTYPE_GENERIC: u32 = 2u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const XPF_BUS_CHECK_TRANSACTIONTYPE_INSTRUCTION: u32 = 0u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const XPF_CACHE_CHECK_OPERATION_DATAREAD: u32 = 3u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const XPF_CACHE_CHECK_OPERATION_DATAWRITE: u32 = 4u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const XPF_CACHE_CHECK_OPERATION_EVICTION: u32 = 7u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const XPF_CACHE_CHECK_OPERATION_GENERIC: u32 = 0u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const XPF_CACHE_CHECK_OPERATION_GENREAD: u32 = 1u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const XPF_CACHE_CHECK_OPERATION_GENWRITE: u32 = 2u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const XPF_CACHE_CHECK_OPERATION_INSTRUCTIONFETCH: u32 = 5u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const XPF_CACHE_CHECK_OPERATION_PREFETCH: u32 = 6u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const XPF_CACHE_CHECK_OPERATION_SNOOP: u32 = 8u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const XPF_CACHE_CHECK_TRANSACTIONTYPE_DATAACCESS: u32 = 1u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const XPF_CACHE_CHECK_TRANSACTIONTYPE_GENERIC: u32 = 2u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const XPF_CACHE_CHECK_TRANSACTIONTYPE_INSTRUCTION: u32 = 0u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const XPF_CONTEXT_INFO_32BITCONTEXT: u32 = 2u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const XPF_CONTEXT_INFO_32BITDEBUGREGS: u32 = 5u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const XPF_CONTEXT_INFO_64BITCONTEXT: u32 = 3u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const XPF_CONTEXT_INFO_64BITDEBUGREGS: u32 = 6u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const XPF_CONTEXT_INFO_FXSAVE: u32 = 4u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const XPF_CONTEXT_INFO_MMREGISTERS: u32 = 7u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const XPF_CONTEXT_INFO_MSRREGISTERS: u32 = 1u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const XPF_CONTEXT_INFO_UNCLASSIFIEDDATA: u32 = 0u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const XPF_MCA_SECTION_GUID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0x8a1e1d01_42f9_4557_9c33_565e5cc3f7e8);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const XPF_MS_CHECK_ERRORTYPE_EXTERNAL: u32 = 3u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const XPF_MS_CHECK_ERRORTYPE_FRC: u32 = 4u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const XPF_MS_CHECK_ERRORTYPE_INTERNALUNCLASSIFIED: u32 = 5u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const XPF_MS_CHECK_ERRORTYPE_MCROMPARITY: u32 = 2u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const XPF_MS_CHECK_ERRORTYPE_NOERROR: u32 = 0u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const XPF_MS_CHECK_ERRORTYPE_UNCLASSIFIED: u32 = 1u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const XPF_PROCESSOR_ERROR_SECTION_GUID: ::windows_core::GUID = ::windows_core::GUID::from_u128(0xdc3ea0b0_a144_4797_b95b_53fa242b6e1d);
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const XPF_TLB_CHECK_OPERATION_DATAREAD: u32 = 3u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const XPF_TLB_CHECK_OPERATION_DATAWRITE: u32 = 4u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const XPF_TLB_CHECK_OPERATION_GENERIC: u32 = 0u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const XPF_TLB_CHECK_OPERATION_GENREAD: u32 = 1u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const XPF_TLB_CHECK_OPERATION_GENWRITE: u32 = 2u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const XPF_TLB_CHECK_OPERATION_INSTRUCTIONFETCH: u32 = 5u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const XPF_TLB_CHECK_OPERATION_PREFETCH: u32 = 6u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const XPF_TLB_CHECK_TRANSACTIONTYPE_DATAACCESS: u32 = 1u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const XPF_TLB_CHECK_TRANSACTIONTYPE_GENERIC: u32 = 2u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const XPF_TLB_CHECK_TRANSACTIONTYPE_INSTRUCTION: u32 = 0u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const _STRSAFE_USE_SECURE_CRT: u32 = 0u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const __guid_type: u32 = 8192u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const __multiString_type: u32 = 16384u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub const __string_type: u32 = 4096u32;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct ALTERNATIVE_ARCHITECTURE_TYPE(pub i32);
impl ::core::marker::Copy for ALTERNATIVE_ARCHITECTURE_TYPE {}
impl ::core::clone::Clone for ALTERNATIVE_ARCHITECTURE_TYPE {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for ALTERNATIVE_ARCHITECTURE_TYPE {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for ALTERNATIVE_ARCHITECTURE_TYPE {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for ALTERNATIVE_ARCHITECTURE_TYPE {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("ALTERNATIVE_ARCHITECTURE_TYPE").field(&self.0).finish()
}
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct ARBITER_ACTION(pub i32);
impl ::core::marker::Copy for ARBITER_ACTION {}
impl ::core::clone::Clone for ARBITER_ACTION {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for ARBITER_ACTION {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for ARBITER_ACTION {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for ARBITER_ACTION {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("ARBITER_ACTION").field(&self.0).finish()
}
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct ARBITER_REQUEST_SOURCE(pub i32);
impl ::core::marker::Copy for ARBITER_REQUEST_SOURCE {}
impl ::core::clone::Clone for ARBITER_REQUEST_SOURCE {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for ARBITER_REQUEST_SOURCE {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for ARBITER_REQUEST_SOURCE {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for ARBITER_REQUEST_SOURCE {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("ARBITER_REQUEST_SOURCE").field(&self.0).finish()
}
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct ARBITER_RESULT(pub i32);
impl ::core::marker::Copy for ARBITER_RESULT {}
impl ::core::clone::Clone for ARBITER_RESULT {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for ARBITER_RESULT {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for ARBITER_RESULT {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for ARBITER_RESULT {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("ARBITER_RESULT").field(&self.0).finish()
}
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct BDCB_CALLBACK_TYPE(pub i32);
impl ::core::marker::Copy for BDCB_CALLBACK_TYPE {}
impl ::core::clone::Clone for BDCB_CALLBACK_TYPE {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for BDCB_CALLBACK_TYPE {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for BDCB_CALLBACK_TYPE {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for BDCB_CALLBACK_TYPE {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("BDCB_CALLBACK_TYPE").field(&self.0).finish()
}
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct BDCB_CLASSIFICATION(pub i32);
impl ::core::marker::Copy for BDCB_CLASSIFICATION {}
impl ::core::clone::Clone for BDCB_CLASSIFICATION {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for BDCB_CLASSIFICATION {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for BDCB_CLASSIFICATION {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for BDCB_CLASSIFICATION {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("BDCB_CLASSIFICATION").field(&self.0).finish()
}
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct BDCB_STATUS_UPDATE_TYPE(pub i32);
impl ::core::marker::Copy for BDCB_STATUS_UPDATE_TYPE {}
impl ::core::clone::Clone for BDCB_STATUS_UPDATE_TYPE {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for BDCB_STATUS_UPDATE_TYPE {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for BDCB_STATUS_UPDATE_TYPE {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for BDCB_STATUS_UPDATE_TYPE {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("BDCB_STATUS_UPDATE_TYPE").field(&self.0).finish()
}
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct BOUND_CALLBACK_STATUS(pub i32);
impl ::core::marker::Copy for BOUND_CALLBACK_STATUS {}
impl ::core::clone::Clone for BOUND_CALLBACK_STATUS {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for BOUND_CALLBACK_STATUS {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for BOUND_CALLBACK_STATUS {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for BOUND_CALLBACK_STATUS {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("BOUND_CALLBACK_STATUS").field(&self.0).finish()
}
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct BUS_DATA_TYPE(pub i32);
impl ::core::marker::Copy for BUS_DATA_TYPE {}
impl ::core::clone::Clone for BUS_DATA_TYPE {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for BUS_DATA_TYPE {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for BUS_DATA_TYPE {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for BUS_DATA_TYPE {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("BUS_DATA_TYPE").field(&self.0).finish()
}
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct BUS_QUERY_ID_TYPE(pub i32);
impl ::core::marker::Copy for BUS_QUERY_ID_TYPE {}
impl ::core::clone::Clone for BUS_QUERY_ID_TYPE {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for BUS_QUERY_ID_TYPE {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for BUS_QUERY_ID_TYPE {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for BUS_QUERY_ID_TYPE {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("BUS_QUERY_ID_TYPE").field(&self.0).finish()
}
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct CM_SHARE_DISPOSITION(pub i32);
impl ::core::marker::Copy for CM_SHARE_DISPOSITION {}
impl ::core::clone::Clone for CM_SHARE_DISPOSITION {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for CM_SHARE_DISPOSITION {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for CM_SHARE_DISPOSITION {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for CM_SHARE_DISPOSITION {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("CM_SHARE_DISPOSITION").field(&self.0).finish()
}
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct CONFIGURATION_TYPE(pub i32);
impl ::core::marker::Copy for CONFIGURATION_TYPE {}
impl ::core::clone::Clone for CONFIGURATION_TYPE {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for CONFIGURATION_TYPE {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for CONFIGURATION_TYPE {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for CONFIGURATION_TYPE {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("CONFIGURATION_TYPE").field(&self.0).finish()
}
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct CREATE_FILE_TYPE(pub i32);
impl ::core::marker::Copy for CREATE_FILE_TYPE {}
impl ::core::clone::Clone for CREATE_FILE_TYPE {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for CREATE_FILE_TYPE {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for CREATE_FILE_TYPE {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for CREATE_FILE_TYPE {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("CREATE_FILE_TYPE").field(&self.0).finish()
}
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct D3COLD_LAST_TRANSITION_STATUS(pub i32);
impl ::core::marker::Copy for D3COLD_LAST_TRANSITION_STATUS {}
impl ::core::clone::Clone for D3COLD_LAST_TRANSITION_STATUS {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for D3COLD_LAST_TRANSITION_STATUS {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for D3COLD_LAST_TRANSITION_STATUS {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for D3COLD_LAST_TRANSITION_STATUS {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("D3COLD_LAST_TRANSITION_STATUS").field(&self.0).finish()
}
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct DEVICE_DIRECTORY_TYPE(pub i32);
impl ::core::marker::Copy for DEVICE_DIRECTORY_TYPE {}
impl ::core::clone::Clone for DEVICE_DIRECTORY_TYPE {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for DEVICE_DIRECTORY_TYPE {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for DEVICE_DIRECTORY_TYPE {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for DEVICE_DIRECTORY_TYPE {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("DEVICE_DIRECTORY_TYPE").field(&self.0).finish()
}
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct DEVICE_INSTALL_STATE(pub i32);
impl ::core::marker::Copy for DEVICE_INSTALL_STATE {}
impl ::core::clone::Clone for DEVICE_INSTALL_STATE {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for DEVICE_INSTALL_STATE {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for DEVICE_INSTALL_STATE {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for DEVICE_INSTALL_STATE {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("DEVICE_INSTALL_STATE").field(&self.0).finish()
}
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct DEVICE_REGISTRY_PROPERTY(pub i32);
impl ::core::marker::Copy for DEVICE_REGISTRY_PROPERTY {}
impl ::core::clone::Clone for DEVICE_REGISTRY_PROPERTY {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for DEVICE_REGISTRY_PROPERTY {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for DEVICE_REGISTRY_PROPERTY {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for DEVICE_REGISTRY_PROPERTY {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("DEVICE_REGISTRY_PROPERTY").field(&self.0).finish()
}
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct DEVICE_RELATION_TYPE(pub i32);
impl ::core::marker::Copy for DEVICE_RELATION_TYPE {}
impl ::core::clone::Clone for DEVICE_RELATION_TYPE {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for DEVICE_RELATION_TYPE {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for DEVICE_RELATION_TYPE {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for DEVICE_RELATION_TYPE {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("DEVICE_RELATION_TYPE").field(&self.0).finish()
}
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct DEVICE_REMOVAL_POLICY(pub i32);
impl ::core::marker::Copy for DEVICE_REMOVAL_POLICY {}
impl ::core::clone::Clone for DEVICE_REMOVAL_POLICY {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for DEVICE_REMOVAL_POLICY {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for DEVICE_REMOVAL_POLICY {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for DEVICE_REMOVAL_POLICY {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("DEVICE_REMOVAL_POLICY").field(&self.0).finish()
}
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct DEVICE_RESET_TYPE(pub i32);
impl ::core::marker::Copy for DEVICE_RESET_TYPE {}
impl ::core::clone::Clone for DEVICE_RESET_TYPE {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for DEVICE_RESET_TYPE {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for DEVICE_RESET_TYPE {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for DEVICE_RESET_TYPE {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("DEVICE_RESET_TYPE").field(&self.0).finish()
}
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct DEVICE_TEXT_TYPE(pub i32);
impl ::core::marker::Copy for DEVICE_TEXT_TYPE {}
impl ::core::clone::Clone for DEVICE_TEXT_TYPE {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for DEVICE_TEXT_TYPE {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for DEVICE_TEXT_TYPE {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for DEVICE_TEXT_TYPE {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("DEVICE_TEXT_TYPE").field(&self.0).finish()
}
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct DEVICE_USAGE_NOTIFICATION_TYPE(pub i32);
impl ::core::marker::Copy for DEVICE_USAGE_NOTIFICATION_TYPE {}
impl ::core::clone::Clone for DEVICE_USAGE_NOTIFICATION_TYPE {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for DEVICE_USAGE_NOTIFICATION_TYPE {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for DEVICE_USAGE_NOTIFICATION_TYPE {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for DEVICE_USAGE_NOTIFICATION_TYPE {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("DEVICE_USAGE_NOTIFICATION_TYPE").field(&self.0).finish()
}
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct DEVICE_WAKE_DEPTH(pub i32);
impl ::core::marker::Copy for DEVICE_WAKE_DEPTH {}
impl ::core::clone::Clone for DEVICE_WAKE_DEPTH {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for DEVICE_WAKE_DEPTH {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for DEVICE_WAKE_DEPTH {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for DEVICE_WAKE_DEPTH {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("DEVICE_WAKE_DEPTH").field(&self.0).finish()
}
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct DIRECTORY_NOTIFY_INFORMATION_CLASS(pub i32);
impl ::core::marker::Copy for DIRECTORY_NOTIFY_INFORMATION_CLASS {}
impl ::core::clone::Clone for DIRECTORY_NOTIFY_INFORMATION_CLASS {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for DIRECTORY_NOTIFY_INFORMATION_CLASS {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for DIRECTORY_NOTIFY_INFORMATION_CLASS {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for DIRECTORY_NOTIFY_INFORMATION_CLASS {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("DIRECTORY_NOTIFY_INFORMATION_CLASS").field(&self.0).finish()
}
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct DMA_COMMON_BUFFER_EXTENDED_CONFIGURATION_ACCESS_TYPE(pub i32);
impl ::core::marker::Copy for DMA_COMMON_BUFFER_EXTENDED_CONFIGURATION_ACCESS_TYPE {}
impl ::core::clone::Clone for DMA_COMMON_BUFFER_EXTENDED_CONFIGURATION_ACCESS_TYPE {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for DMA_COMMON_BUFFER_EXTENDED_CONFIGURATION_ACCESS_TYPE {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for DMA_COMMON_BUFFER_EXTENDED_CONFIGURATION_ACCESS_TYPE {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for DMA_COMMON_BUFFER_EXTENDED_CONFIGURATION_ACCESS_TYPE {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("DMA_COMMON_BUFFER_EXTENDED_CONFIGURATION_ACCESS_TYPE").field(&self.0).finish()
}
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct DMA_COMMON_BUFFER_EXTENDED_CONFIGURATION_TYPE(pub i32);
impl ::core::marker::Copy for DMA_COMMON_BUFFER_EXTENDED_CONFIGURATION_TYPE {}
impl ::core::clone::Clone for DMA_COMMON_BUFFER_EXTENDED_CONFIGURATION_TYPE {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for DMA_COMMON_BUFFER_EXTENDED_CONFIGURATION_TYPE {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for DMA_COMMON_BUFFER_EXTENDED_CONFIGURATION_TYPE {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for DMA_COMMON_BUFFER_EXTENDED_CONFIGURATION_TYPE {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("DMA_COMMON_BUFFER_EXTENDED_CONFIGURATION_TYPE").field(&self.0).finish()
}
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct DMA_COMPLETION_STATUS(pub i32);
impl ::core::marker::Copy for DMA_COMPLETION_STATUS {}
impl ::core::clone::Clone for DMA_COMPLETION_STATUS {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for DMA_COMPLETION_STATUS {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for DMA_COMPLETION_STATUS {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for DMA_COMPLETION_STATUS {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("DMA_COMPLETION_STATUS").field(&self.0).finish()
}
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct DMA_SPEED(pub i32);
impl ::core::marker::Copy for DMA_SPEED {}
impl ::core::clone::Clone for DMA_SPEED {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for DMA_SPEED {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for DMA_SPEED {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for DMA_SPEED {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("DMA_SPEED").field(&self.0).finish()
}
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct DMA_WIDTH(pub i32);
impl ::core::marker::Copy for DMA_WIDTH {}
impl ::core::clone::Clone for DMA_WIDTH {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for DMA_WIDTH {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for DMA_WIDTH {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for DMA_WIDTH {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("DMA_WIDTH").field(&self.0).finish()
}
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct DOMAIN_CONFIGURATION_ARCH(pub i32);
impl ::core::marker::Copy for DOMAIN_CONFIGURATION_ARCH {}
impl ::core::clone::Clone for DOMAIN_CONFIGURATION_ARCH {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for DOMAIN_CONFIGURATION_ARCH {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for DOMAIN_CONFIGURATION_ARCH {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for DOMAIN_CONFIGURATION_ARCH {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("DOMAIN_CONFIGURATION_ARCH").field(&self.0).finish()
}
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct DRIVER_DIRECTORY_TYPE(pub i32);
impl ::core::marker::Copy for DRIVER_DIRECTORY_TYPE {}
impl ::core::clone::Clone for DRIVER_DIRECTORY_TYPE {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for DRIVER_DIRECTORY_TYPE {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for DRIVER_DIRECTORY_TYPE {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for DRIVER_DIRECTORY_TYPE {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("DRIVER_DIRECTORY_TYPE").field(&self.0).finish()
}
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct DRIVER_REGKEY_TYPE(pub i32);
impl ::core::marker::Copy for DRIVER_REGKEY_TYPE {}
impl ::core::clone::Clone for DRIVER_REGKEY_TYPE {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for DRIVER_REGKEY_TYPE {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for DRIVER_REGKEY_TYPE {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for DRIVER_REGKEY_TYPE {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("DRIVER_REGKEY_TYPE").field(&self.0).finish()
}
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct DRIVER_RUNTIME_INIT_FLAGS(pub i32);
impl ::core::marker::Copy for DRIVER_RUNTIME_INIT_FLAGS {}
impl ::core::clone::Clone for DRIVER_RUNTIME_INIT_FLAGS {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for DRIVER_RUNTIME_INIT_FLAGS {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for DRIVER_RUNTIME_INIT_FLAGS {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for DRIVER_RUNTIME_INIT_FLAGS {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("DRIVER_RUNTIME_INIT_FLAGS").field(&self.0).finish()
}
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct EXTENDED_AGP_REGISTER(pub i32);
impl ::core::marker::Copy for EXTENDED_AGP_REGISTER {}
impl ::core::clone::Clone for EXTENDED_AGP_REGISTER {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for EXTENDED_AGP_REGISTER {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for EXTENDED_AGP_REGISTER {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for EXTENDED_AGP_REGISTER {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("EXTENDED_AGP_REGISTER").field(&self.0).finish()
}
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct EX_POOL_PRIORITY(pub i32);
impl ::core::marker::Copy for EX_POOL_PRIORITY {}
impl ::core::clone::Clone for EX_POOL_PRIORITY {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for EX_POOL_PRIORITY {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for EX_POOL_PRIORITY {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for EX_POOL_PRIORITY {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("EX_POOL_PRIORITY").field(&self.0).finish()
}
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct FAULT_INFORMATION_ARCH(pub i32);
impl ::core::marker::Copy for FAULT_INFORMATION_ARCH {}
impl ::core::clone::Clone for FAULT_INFORMATION_ARCH {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for FAULT_INFORMATION_ARCH {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for FAULT_INFORMATION_ARCH {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for FAULT_INFORMATION_ARCH {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("FAULT_INFORMATION_ARCH").field(&self.0).finish()
}
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct FAULT_INFORMATION_ARM64_TYPE(pub i32);
impl ::core::marker::Copy for FAULT_INFORMATION_ARM64_TYPE {}
impl ::core::clone::Clone for FAULT_INFORMATION_ARM64_TYPE {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for FAULT_INFORMATION_ARM64_TYPE {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for FAULT_INFORMATION_ARM64_TYPE {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for FAULT_INFORMATION_ARM64_TYPE {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("FAULT_INFORMATION_ARM64_TYPE").field(&self.0).finish()
}
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct HAL_APIC_DESTINATION_MODE(pub i32);
impl ::core::marker::Copy for HAL_APIC_DESTINATION_MODE {}
impl ::core::clone::Clone for HAL_APIC_DESTINATION_MODE {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for HAL_APIC_DESTINATION_MODE {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for HAL_APIC_DESTINATION_MODE {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for HAL_APIC_DESTINATION_MODE {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("HAL_APIC_DESTINATION_MODE").field(&self.0).finish()
}
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct HAL_DISPLAY_BIOS_INFORMATION(pub i32);
impl ::core::marker::Copy for HAL_DISPLAY_BIOS_INFORMATION {}
impl ::core::clone::Clone for HAL_DISPLAY_BIOS_INFORMATION {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for HAL_DISPLAY_BIOS_INFORMATION {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for HAL_DISPLAY_BIOS_INFORMATION {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for HAL_DISPLAY_BIOS_INFORMATION {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("HAL_DISPLAY_BIOS_INFORMATION").field(&self.0).finish()
}
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct HAL_DMA_CRASH_DUMP_REGISTER_TYPE(pub i32);
impl ::core::marker::Copy for HAL_DMA_CRASH_DUMP_REGISTER_TYPE {}
impl ::core::clone::Clone for HAL_DMA_CRASH_DUMP_REGISTER_TYPE {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for HAL_DMA_CRASH_DUMP_REGISTER_TYPE {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for HAL_DMA_CRASH_DUMP_REGISTER_TYPE {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for HAL_DMA_CRASH_DUMP_REGISTER_TYPE {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("HAL_DMA_CRASH_DUMP_REGISTER_TYPE").field(&self.0).finish()
}
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct HAL_QUERY_INFORMATION_CLASS(pub i32);
impl ::core::marker::Copy for HAL_QUERY_INFORMATION_CLASS {}
impl ::core::clone::Clone for HAL_QUERY_INFORMATION_CLASS {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for HAL_QUERY_INFORMATION_CLASS {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for HAL_QUERY_INFORMATION_CLASS {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for HAL_QUERY_INFORMATION_CLASS {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("HAL_QUERY_INFORMATION_CLASS").field(&self.0).finish()
}
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct HAL_SET_INFORMATION_CLASS(pub i32);
impl ::core::marker::Copy for HAL_SET_INFORMATION_CLASS {}
impl ::core::clone::Clone for HAL_SET_INFORMATION_CLASS {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for HAL_SET_INFORMATION_CLASS {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for HAL_SET_INFORMATION_CLASS {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for HAL_SET_INFORMATION_CLASS {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("HAL_SET_INFORMATION_CLASS").field(&self.0).finish()
}
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct HARDWARE_COUNTER_TYPE(pub i32);
impl ::core::marker::Copy for HARDWARE_COUNTER_TYPE {}
impl ::core::clone::Clone for HARDWARE_COUNTER_TYPE {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for HARDWARE_COUNTER_TYPE {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for HARDWARE_COUNTER_TYPE {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for HARDWARE_COUNTER_TYPE {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("HARDWARE_COUNTER_TYPE").field(&self.0).finish()
}
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct INTEL_CACHE_TYPE(pub i32);
impl ::core::marker::Copy for INTEL_CACHE_TYPE {}
impl ::core::clone::Clone for INTEL_CACHE_TYPE {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for INTEL_CACHE_TYPE {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for INTEL_CACHE_TYPE {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for INTEL_CACHE_TYPE {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("INTEL_CACHE_TYPE").field(&self.0).finish()
}
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct INTERFACE_TYPE(pub i32);
impl ::core::marker::Copy for INTERFACE_TYPE {}
impl ::core::clone::Clone for INTERFACE_TYPE {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for INTERFACE_TYPE {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for INTERFACE_TYPE {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for INTERFACE_TYPE {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("INTERFACE_TYPE").field(&self.0).finish()
}
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct INTERLOCKED_RESULT(pub i32);
impl ::core::marker::Copy for INTERLOCKED_RESULT {}
impl ::core::clone::Clone for INTERLOCKED_RESULT {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for INTERLOCKED_RESULT {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for INTERLOCKED_RESULT {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for INTERLOCKED_RESULT {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("INTERLOCKED_RESULT").field(&self.0).finish()
}
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct IOMMU_DEVICE_CREATION_CONFIGURATION_TYPE(pub i32);
impl ::core::marker::Copy for IOMMU_DEVICE_CREATION_CONFIGURATION_TYPE {}
impl ::core::clone::Clone for IOMMU_DEVICE_CREATION_CONFIGURATION_TYPE {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for IOMMU_DEVICE_CREATION_CONFIGURATION_TYPE {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for IOMMU_DEVICE_CREATION_CONFIGURATION_TYPE {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for IOMMU_DEVICE_CREATION_CONFIGURATION_TYPE {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("IOMMU_DEVICE_CREATION_CONFIGURATION_TYPE").field(&self.0).finish()
}
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct IOMMU_DMA_DOMAIN_TYPE(pub i32);
impl ::core::marker::Copy for IOMMU_DMA_DOMAIN_TYPE {}
impl ::core::clone::Clone for IOMMU_DMA_DOMAIN_TYPE {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for IOMMU_DMA_DOMAIN_TYPE {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for IOMMU_DMA_DOMAIN_TYPE {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for IOMMU_DMA_DOMAIN_TYPE {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("IOMMU_DMA_DOMAIN_TYPE").field(&self.0).finish()
}
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct IOMMU_DMA_LOGICAL_ALLOCATOR_TYPE(pub i32);
impl ::core::marker::Copy for IOMMU_DMA_LOGICAL_ALLOCATOR_TYPE {}
impl ::core::clone::Clone for IOMMU_DMA_LOGICAL_ALLOCATOR_TYPE {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for IOMMU_DMA_LOGICAL_ALLOCATOR_TYPE {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for IOMMU_DMA_LOGICAL_ALLOCATOR_TYPE {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for IOMMU_DMA_LOGICAL_ALLOCATOR_TYPE {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("IOMMU_DMA_LOGICAL_ALLOCATOR_TYPE").field(&self.0).finish()
}
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct IOMMU_MAP_PHYSICAL_ADDRESS_TYPE(pub i32);
impl ::core::marker::Copy for IOMMU_MAP_PHYSICAL_ADDRESS_TYPE {}
impl ::core::clone::Clone for IOMMU_MAP_PHYSICAL_ADDRESS_TYPE {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for IOMMU_MAP_PHYSICAL_ADDRESS_TYPE {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for IOMMU_MAP_PHYSICAL_ADDRESS_TYPE {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for IOMMU_MAP_PHYSICAL_ADDRESS_TYPE {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("IOMMU_MAP_PHYSICAL_ADDRESS_TYPE").field(&self.0).finish()
}
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct IO_ACCESS_MODE(pub i32);
impl ::core::marker::Copy for IO_ACCESS_MODE {}
impl ::core::clone::Clone for IO_ACCESS_MODE {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for IO_ACCESS_MODE {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for IO_ACCESS_MODE {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for IO_ACCESS_MODE {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("IO_ACCESS_MODE").field(&self.0).finish()
}
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct IO_ACCESS_TYPE(pub i32);
impl ::core::marker::Copy for IO_ACCESS_TYPE {}
impl ::core::clone::Clone for IO_ACCESS_TYPE {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for IO_ACCESS_TYPE {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for IO_ACCESS_TYPE {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for IO_ACCESS_TYPE {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("IO_ACCESS_TYPE").field(&self.0).finish()
}
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct IO_ALLOCATION_ACTION(pub i32);
impl ::core::marker::Copy for IO_ALLOCATION_ACTION {}
impl ::core::clone::Clone for IO_ALLOCATION_ACTION {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for IO_ALLOCATION_ACTION {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for IO_ALLOCATION_ACTION {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for IO_ALLOCATION_ACTION {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("IO_ALLOCATION_ACTION").field(&self.0).finish()
}
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct IO_COMPLETION_ROUTINE_RESULT(pub i32);
impl ::core::marker::Copy for IO_COMPLETION_ROUTINE_RESULT {}
impl ::core::clone::Clone for IO_COMPLETION_ROUTINE_RESULT {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for IO_COMPLETION_ROUTINE_RESULT {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for IO_COMPLETION_ROUTINE_RESULT {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for IO_COMPLETION_ROUTINE_RESULT {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("IO_COMPLETION_ROUTINE_RESULT").field(&self.0).finish()
}
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct IO_CONTAINER_INFORMATION_CLASS(pub i32);
impl ::core::marker::Copy for IO_CONTAINER_INFORMATION_CLASS {}
impl ::core::clone::Clone for IO_CONTAINER_INFORMATION_CLASS {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for IO_CONTAINER_INFORMATION_CLASS {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for IO_CONTAINER_INFORMATION_CLASS {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for IO_CONTAINER_INFORMATION_CLASS {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("IO_CONTAINER_INFORMATION_CLASS").field(&self.0).finish()
}
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct IO_CONTAINER_NOTIFICATION_CLASS(pub i32);
impl ::core::marker::Copy for IO_CONTAINER_NOTIFICATION_CLASS {}
impl ::core::clone::Clone for IO_CONTAINER_NOTIFICATION_CLASS {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for IO_CONTAINER_NOTIFICATION_CLASS {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for IO_CONTAINER_NOTIFICATION_CLASS {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for IO_CONTAINER_NOTIFICATION_CLASS {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("IO_CONTAINER_NOTIFICATION_CLASS").field(&self.0).finish()
}
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct IO_NOTIFICATION_EVENT_CATEGORY(pub i32);
impl ::core::marker::Copy for IO_NOTIFICATION_EVENT_CATEGORY {}
impl ::core::clone::Clone for IO_NOTIFICATION_EVENT_CATEGORY {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for IO_NOTIFICATION_EVENT_CATEGORY {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for IO_NOTIFICATION_EVENT_CATEGORY {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for IO_NOTIFICATION_EVENT_CATEGORY {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("IO_NOTIFICATION_EVENT_CATEGORY").field(&self.0).finish()
}
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct IO_PAGING_PRIORITY(pub i32);
impl ::core::marker::Copy for IO_PAGING_PRIORITY {}
impl ::core::clone::Clone for IO_PAGING_PRIORITY {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for IO_PAGING_PRIORITY {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for IO_PAGING_PRIORITY {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for IO_PAGING_PRIORITY {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("IO_PAGING_PRIORITY").field(&self.0).finish()
}
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct IO_QUERY_DEVICE_DATA_FORMAT(pub i32);
impl ::core::marker::Copy for IO_QUERY_DEVICE_DATA_FORMAT {}
impl ::core::clone::Clone for IO_QUERY_DEVICE_DATA_FORMAT {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for IO_QUERY_DEVICE_DATA_FORMAT {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for IO_QUERY_DEVICE_DATA_FORMAT {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for IO_QUERY_DEVICE_DATA_FORMAT {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("IO_QUERY_DEVICE_DATA_FORMAT").field(&self.0).finish()
}
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct IO_SESSION_EVENT(pub i32);
impl ::core::marker::Copy for IO_SESSION_EVENT {}
impl ::core::clone::Clone for IO_SESSION_EVENT {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for IO_SESSION_EVENT {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for IO_SESSION_EVENT {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for IO_SESSION_EVENT {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("IO_SESSION_EVENT").field(&self.0).finish()
}
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct IO_SESSION_STATE(pub i32);
impl ::core::marker::Copy for IO_SESSION_STATE {}
impl ::core::clone::Clone for IO_SESSION_STATE {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for IO_SESSION_STATE {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for IO_SESSION_STATE {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for IO_SESSION_STATE {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("IO_SESSION_STATE").field(&self.0).finish()
}
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct IRQ_DEVICE_POLICY(pub i32);
impl ::core::marker::Copy for IRQ_DEVICE_POLICY {}
impl ::core::clone::Clone for IRQ_DEVICE_POLICY {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for IRQ_DEVICE_POLICY {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for IRQ_DEVICE_POLICY {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for IRQ_DEVICE_POLICY {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("IRQ_DEVICE_POLICY").field(&self.0).finish()
}
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct IRQ_GROUP_POLICY(pub i32);
impl ::core::marker::Copy for IRQ_GROUP_POLICY {}
impl ::core::clone::Clone for IRQ_GROUP_POLICY {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for IRQ_GROUP_POLICY {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for IRQ_GROUP_POLICY {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for IRQ_GROUP_POLICY {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("IRQ_GROUP_POLICY").field(&self.0).finish()
}
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct IRQ_PRIORITY(pub i32);
impl ::core::marker::Copy for IRQ_PRIORITY {}
impl ::core::clone::Clone for IRQ_PRIORITY {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for IRQ_PRIORITY {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for IRQ_PRIORITY {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for IRQ_PRIORITY {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("IRQ_PRIORITY").field(&self.0).finish()
}
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct KBUGCHECK_BUFFER_DUMP_STATE(pub i32);
impl ::core::marker::Copy for KBUGCHECK_BUFFER_DUMP_STATE {}
impl ::core::clone::Clone for KBUGCHECK_BUFFER_DUMP_STATE {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for KBUGCHECK_BUFFER_DUMP_STATE {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for KBUGCHECK_BUFFER_DUMP_STATE {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for KBUGCHECK_BUFFER_DUMP_STATE {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("KBUGCHECK_BUFFER_DUMP_STATE").field(&self.0).finish()
}
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct KBUGCHECK_CALLBACK_REASON(pub i32);
impl ::core::marker::Copy for KBUGCHECK_CALLBACK_REASON {}
impl ::core::clone::Clone for KBUGCHECK_CALLBACK_REASON {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for KBUGCHECK_CALLBACK_REASON {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for KBUGCHECK_CALLBACK_REASON {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for KBUGCHECK_CALLBACK_REASON {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("KBUGCHECK_CALLBACK_REASON").field(&self.0).finish()
}
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct KBUGCHECK_DUMP_IO_TYPE(pub i32);
impl ::core::marker::Copy for KBUGCHECK_DUMP_IO_TYPE {}
impl ::core::clone::Clone for KBUGCHECK_DUMP_IO_TYPE {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for KBUGCHECK_DUMP_IO_TYPE {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for KBUGCHECK_DUMP_IO_TYPE {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for KBUGCHECK_DUMP_IO_TYPE {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("KBUGCHECK_DUMP_IO_TYPE").field(&self.0).finish()
}
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct KDPC_IMPORTANCE(pub i32);
impl ::core::marker::Copy for KDPC_IMPORTANCE {}
impl ::core::clone::Clone for KDPC_IMPORTANCE {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for KDPC_IMPORTANCE {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for KDPC_IMPORTANCE {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for KDPC_IMPORTANCE {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("KDPC_IMPORTANCE").field(&self.0).finish()
}
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct KD_CALLBACK_ACTION(pub i32);
impl ::core::marker::Copy for KD_CALLBACK_ACTION {}
impl ::core::clone::Clone for KD_CALLBACK_ACTION {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for KD_CALLBACK_ACTION {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for KD_CALLBACK_ACTION {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for KD_CALLBACK_ACTION {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("KD_CALLBACK_ACTION").field(&self.0).finish()
}
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct KD_NAMESPACE_ENUM(pub i32);
impl ::core::marker::Copy for KD_NAMESPACE_ENUM {}
impl ::core::clone::Clone for KD_NAMESPACE_ENUM {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for KD_NAMESPACE_ENUM {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for KD_NAMESPACE_ENUM {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for KD_NAMESPACE_ENUM {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("KD_NAMESPACE_ENUM").field(&self.0).finish()
}
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct KD_OPTION(pub i32);
impl ::core::marker::Copy for KD_OPTION {}
impl ::core::clone::Clone for KD_OPTION {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for KD_OPTION {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for KD_OPTION {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for KD_OPTION {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("KD_OPTION").field(&self.0).finish()
}
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct KEY_INFORMATION_CLASS(pub i32);
impl ::core::marker::Copy for KEY_INFORMATION_CLASS {}
impl ::core::clone::Clone for KEY_INFORMATION_CLASS {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for KEY_INFORMATION_CLASS {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for KEY_INFORMATION_CLASS {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for KEY_INFORMATION_CLASS {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("KEY_INFORMATION_CLASS").field(&self.0).finish()
}
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct KEY_VALUE_INFORMATION_CLASS(pub i32);
impl ::core::marker::Copy for KEY_VALUE_INFORMATION_CLASS {}
impl ::core::clone::Clone for KEY_VALUE_INFORMATION_CLASS {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for KEY_VALUE_INFORMATION_CLASS {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for KEY_VALUE_INFORMATION_CLASS {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for KEY_VALUE_INFORMATION_CLASS {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("KEY_VALUE_INFORMATION_CLASS").field(&self.0).finish()
}
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct KE_PROCESSOR_CHANGE_NOTIFY_STATE(pub i32);
impl ::core::marker::Copy for KE_PROCESSOR_CHANGE_NOTIFY_STATE {}
impl ::core::clone::Clone for KE_PROCESSOR_CHANGE_NOTIFY_STATE {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for KE_PROCESSOR_CHANGE_NOTIFY_STATE {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for KE_PROCESSOR_CHANGE_NOTIFY_STATE {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for KE_PROCESSOR_CHANGE_NOTIFY_STATE {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("KE_PROCESSOR_CHANGE_NOTIFY_STATE").field(&self.0).finish()
}
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct KINTERRUPT_MODE(pub i32);
impl ::core::marker::Copy for KINTERRUPT_MODE {}
impl ::core::clone::Clone for KINTERRUPT_MODE {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for KINTERRUPT_MODE {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for KINTERRUPT_MODE {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for KINTERRUPT_MODE {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("KINTERRUPT_MODE").field(&self.0).finish()
}
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct KINTERRUPT_POLARITY(pub i32);
impl ::core::marker::Copy for KINTERRUPT_POLARITY {}
impl ::core::clone::Clone for KINTERRUPT_POLARITY {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for KINTERRUPT_POLARITY {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for KINTERRUPT_POLARITY {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for KINTERRUPT_POLARITY {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("KINTERRUPT_POLARITY").field(&self.0).finish()
}
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct KPROFILE_SOURCE(pub i32);
impl ::core::marker::Copy for KPROFILE_SOURCE {}
impl ::core::clone::Clone for KPROFILE_SOURCE {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for KPROFILE_SOURCE {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for KPROFILE_SOURCE {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for KPROFILE_SOURCE {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("KPROFILE_SOURCE").field(&self.0).finish()
}
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct KWAIT_REASON(pub i32);
impl ::core::marker::Copy for KWAIT_REASON {}
impl ::core::clone::Clone for KWAIT_REASON {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for KWAIT_REASON {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for KWAIT_REASON {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for KWAIT_REASON {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("KWAIT_REASON").field(&self.0).finish()
}
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct LOCK_OPERATION(pub i32);
impl ::core::marker::Copy for LOCK_OPERATION {}
impl ::core::clone::Clone for LOCK_OPERATION {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for LOCK_OPERATION {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for LOCK_OPERATION {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for LOCK_OPERATION {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("LOCK_OPERATION").field(&self.0).finish()
}
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct MCA_EXCEPTION_TYPE(pub i32);
impl ::core::marker::Copy for MCA_EXCEPTION_TYPE {}
impl ::core::clone::Clone for MCA_EXCEPTION_TYPE {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for MCA_EXCEPTION_TYPE {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for MCA_EXCEPTION_TYPE {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for MCA_EXCEPTION_TYPE {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("MCA_EXCEPTION_TYPE").field(&self.0).finish()
}
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct MEMORY_CACHING_TYPE(pub i32);
impl ::core::marker::Copy for MEMORY_CACHING_TYPE {}
impl ::core::clone::Clone for MEMORY_CACHING_TYPE {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for MEMORY_CACHING_TYPE {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for MEMORY_CACHING_TYPE {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for MEMORY_CACHING_TYPE {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("MEMORY_CACHING_TYPE").field(&self.0).finish()
}
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct MEMORY_CACHING_TYPE_ORIG(pub i32);
impl ::core::marker::Copy for MEMORY_CACHING_TYPE_ORIG {}
impl ::core::clone::Clone for MEMORY_CACHING_TYPE_ORIG {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for MEMORY_CACHING_TYPE_ORIG {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for MEMORY_CACHING_TYPE_ORIG {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for MEMORY_CACHING_TYPE_ORIG {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("MEMORY_CACHING_TYPE_ORIG").field(&self.0).finish()
}
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct MEM_DEDICATED_ATTRIBUTE_TYPE(pub i32);
impl ::core::marker::Copy for MEM_DEDICATED_ATTRIBUTE_TYPE {}
impl ::core::clone::Clone for MEM_DEDICATED_ATTRIBUTE_TYPE {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for MEM_DEDICATED_ATTRIBUTE_TYPE {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for MEM_DEDICATED_ATTRIBUTE_TYPE {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for MEM_DEDICATED_ATTRIBUTE_TYPE {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("MEM_DEDICATED_ATTRIBUTE_TYPE").field(&self.0).finish()
}
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct MEM_SECTION_EXTENDED_PARAMETER_TYPE(pub i32);
impl ::core::marker::Copy for MEM_SECTION_EXTENDED_PARAMETER_TYPE {}
impl ::core::clone::Clone for MEM_SECTION_EXTENDED_PARAMETER_TYPE {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for MEM_SECTION_EXTENDED_PARAMETER_TYPE {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for MEM_SECTION_EXTENDED_PARAMETER_TYPE {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for MEM_SECTION_EXTENDED_PARAMETER_TYPE {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("MEM_SECTION_EXTENDED_PARAMETER_TYPE").field(&self.0).finish()
}
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct MM_MDL_PAGE_CONTENTS_STATE(pub i32);
impl ::core::marker::Copy for MM_MDL_PAGE_CONTENTS_STATE {}
impl ::core::clone::Clone for MM_MDL_PAGE_CONTENTS_STATE {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for MM_MDL_PAGE_CONTENTS_STATE {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for MM_MDL_PAGE_CONTENTS_STATE {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for MM_MDL_PAGE_CONTENTS_STATE {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("MM_MDL_PAGE_CONTENTS_STATE").field(&self.0).finish()
}
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct MM_PAGE_PRIORITY(pub i32);
impl ::core::marker::Copy for MM_PAGE_PRIORITY {}
impl ::core::clone::Clone for MM_PAGE_PRIORITY {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for MM_PAGE_PRIORITY {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for MM_PAGE_PRIORITY {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for MM_PAGE_PRIORITY {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("MM_PAGE_PRIORITY").field(&self.0).finish()
}
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct MM_ROTATE_DIRECTION(pub i32);
impl ::core::marker::Copy for MM_ROTATE_DIRECTION {}
impl ::core::clone::Clone for MM_ROTATE_DIRECTION {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for MM_ROTATE_DIRECTION {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for MM_ROTATE_DIRECTION {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for MM_ROTATE_DIRECTION {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("MM_ROTATE_DIRECTION").field(&self.0).finish()
}
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct MM_SYSTEMSIZE(pub i32);
impl ::core::marker::Copy for MM_SYSTEMSIZE {}
impl ::core::clone::Clone for MM_SYSTEMSIZE {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for MM_SYSTEMSIZE {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for MM_SYSTEMSIZE {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for MM_SYSTEMSIZE {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("MM_SYSTEMSIZE").field(&self.0).finish()
}
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct MODE(pub i32);
impl ::core::marker::Copy for MODE {}
impl ::core::clone::Clone for MODE {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for MODE {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for MODE {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for MODE {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("MODE").field(&self.0).finish()
}
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct NPEM_CONTROL_STANDARD_CONTROL_BIT(pub i32);
impl ::core::marker::Copy for NPEM_CONTROL_STANDARD_CONTROL_BIT {}
impl ::core::clone::Clone for NPEM_CONTROL_STANDARD_CONTROL_BIT {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for NPEM_CONTROL_STANDARD_CONTROL_BIT {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for NPEM_CONTROL_STANDARD_CONTROL_BIT {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for NPEM_CONTROL_STANDARD_CONTROL_BIT {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("NPEM_CONTROL_STANDARD_CONTROL_BIT").field(&self.0).finish()
}
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct OB_PREOP_CALLBACK_STATUS(pub i32);
impl ::core::marker::Copy for OB_PREOP_CALLBACK_STATUS {}
impl ::core::clone::Clone for OB_PREOP_CALLBACK_STATUS {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for OB_PREOP_CALLBACK_STATUS {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for OB_PREOP_CALLBACK_STATUS {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for OB_PREOP_CALLBACK_STATUS {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("OB_PREOP_CALLBACK_STATUS").field(&self.0).finish()
}
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct PARTITION_INFORMATION_CLASS(pub i32);
impl ::core::marker::Copy for PARTITION_INFORMATION_CLASS {}
impl ::core::clone::Clone for PARTITION_INFORMATION_CLASS {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for PARTITION_INFORMATION_CLASS {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for PARTITION_INFORMATION_CLASS {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for PARTITION_INFORMATION_CLASS {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("PARTITION_INFORMATION_CLASS").field(&self.0).finish()
}
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct PCI_ACS_BIT(pub i32);
impl ::core::marker::Copy for PCI_ACS_BIT {}
impl ::core::clone::Clone for PCI_ACS_BIT {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for PCI_ACS_BIT {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for PCI_ACS_BIT {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for PCI_ACS_BIT {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("PCI_ACS_BIT").field(&self.0).finish()
}
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct PCI_BUS_WIDTH(pub i32);
impl ::core::marker::Copy for PCI_BUS_WIDTH {}
impl ::core::clone::Clone for PCI_BUS_WIDTH {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for PCI_BUS_WIDTH {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for PCI_BUS_WIDTH {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for PCI_BUS_WIDTH {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("PCI_BUS_WIDTH").field(&self.0).finish()
}
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct PCI_DEVICE_D3COLD_STATE_REASON(pub i32);
impl ::core::marker::Copy for PCI_DEVICE_D3COLD_STATE_REASON {}
impl ::core::clone::Clone for PCI_DEVICE_D3COLD_STATE_REASON {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for PCI_DEVICE_D3COLD_STATE_REASON {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for PCI_DEVICE_D3COLD_STATE_REASON {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for PCI_DEVICE_D3COLD_STATE_REASON {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("PCI_DEVICE_D3COLD_STATE_REASON").field(&self.0).finish()
}
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct PCI_EXPRESS_ASPM_CONTROL(pub i32);
impl ::core::marker::Copy for PCI_EXPRESS_ASPM_CONTROL {}
impl ::core::clone::Clone for PCI_EXPRESS_ASPM_CONTROL {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for PCI_EXPRESS_ASPM_CONTROL {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for PCI_EXPRESS_ASPM_CONTROL {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for PCI_EXPRESS_ASPM_CONTROL {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("PCI_EXPRESS_ASPM_CONTROL").field(&self.0).finish()
}
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct PCI_EXPRESS_ASPM_SUPPORT(pub i32);
impl ::core::marker::Copy for PCI_EXPRESS_ASPM_SUPPORT {}
impl ::core::clone::Clone for PCI_EXPRESS_ASPM_SUPPORT {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for PCI_EXPRESS_ASPM_SUPPORT {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for PCI_EXPRESS_ASPM_SUPPORT {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for PCI_EXPRESS_ASPM_SUPPORT {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("PCI_EXPRESS_ASPM_SUPPORT").field(&self.0).finish()
}
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct PCI_EXPRESS_CARD_PRESENCE(pub i32);
impl ::core::marker::Copy for PCI_EXPRESS_CARD_PRESENCE {}
impl ::core::clone::Clone for PCI_EXPRESS_CARD_PRESENCE {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for PCI_EXPRESS_CARD_PRESENCE {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for PCI_EXPRESS_CARD_PRESENCE {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for PCI_EXPRESS_CARD_PRESENCE {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("PCI_EXPRESS_CARD_PRESENCE").field(&self.0).finish()
}
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct PCI_EXPRESS_DEVICE_TYPE(pub i32);
impl ::core::marker::Copy for PCI_EXPRESS_DEVICE_TYPE {}
impl ::core::clone::Clone for PCI_EXPRESS_DEVICE_TYPE {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for PCI_EXPRESS_DEVICE_TYPE {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for PCI_EXPRESS_DEVICE_TYPE {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for PCI_EXPRESS_DEVICE_TYPE {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("PCI_EXPRESS_DEVICE_TYPE").field(&self.0).finish()
}
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct PCI_EXPRESS_INDICATOR_STATE(pub i32);
impl ::core::marker::Copy for PCI_EXPRESS_INDICATOR_STATE {}
impl ::core::clone::Clone for PCI_EXPRESS_INDICATOR_STATE {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for PCI_EXPRESS_INDICATOR_STATE {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for PCI_EXPRESS_INDICATOR_STATE {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for PCI_EXPRESS_INDICATOR_STATE {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("PCI_EXPRESS_INDICATOR_STATE").field(&self.0).finish()
}
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct PCI_EXPRESS_L0s_EXIT_LATENCY(pub i32);
impl ::core::marker::Copy for PCI_EXPRESS_L0s_EXIT_LATENCY {}
impl ::core::clone::Clone for PCI_EXPRESS_L0s_EXIT_LATENCY {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for PCI_EXPRESS_L0s_EXIT_LATENCY {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for PCI_EXPRESS_L0s_EXIT_LATENCY {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for PCI_EXPRESS_L0s_EXIT_LATENCY {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("PCI_EXPRESS_L0s_EXIT_LATENCY").field(&self.0).finish()
}
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct PCI_EXPRESS_L1_EXIT_LATENCY(pub i32);
impl ::core::marker::Copy for PCI_EXPRESS_L1_EXIT_LATENCY {}
impl ::core::clone::Clone for PCI_EXPRESS_L1_EXIT_LATENCY {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for PCI_EXPRESS_L1_EXIT_LATENCY {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for PCI_EXPRESS_L1_EXIT_LATENCY {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for PCI_EXPRESS_L1_EXIT_LATENCY {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("PCI_EXPRESS_L1_EXIT_LATENCY").field(&self.0).finish()
}
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct PCI_EXPRESS_LINK_SUBSTATE(pub i32);
impl ::core::marker::Copy for PCI_EXPRESS_LINK_SUBSTATE {}
impl ::core::clone::Clone for PCI_EXPRESS_LINK_SUBSTATE {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for PCI_EXPRESS_LINK_SUBSTATE {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for PCI_EXPRESS_LINK_SUBSTATE {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for PCI_EXPRESS_LINK_SUBSTATE {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("PCI_EXPRESS_LINK_SUBSTATE").field(&self.0).finish()
}
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct PCI_EXPRESS_MAX_PAYLOAD_SIZE(pub i32);
impl ::core::marker::Copy for PCI_EXPRESS_MAX_PAYLOAD_SIZE {}
impl ::core::clone::Clone for PCI_EXPRESS_MAX_PAYLOAD_SIZE {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for PCI_EXPRESS_MAX_PAYLOAD_SIZE {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for PCI_EXPRESS_MAX_PAYLOAD_SIZE {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for PCI_EXPRESS_MAX_PAYLOAD_SIZE {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("PCI_EXPRESS_MAX_PAYLOAD_SIZE").field(&self.0).finish()
}
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct PCI_EXPRESS_MRL_STATE(pub i32);
impl ::core::marker::Copy for PCI_EXPRESS_MRL_STATE {}
impl ::core::clone::Clone for PCI_EXPRESS_MRL_STATE {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for PCI_EXPRESS_MRL_STATE {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for PCI_EXPRESS_MRL_STATE {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for PCI_EXPRESS_MRL_STATE {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("PCI_EXPRESS_MRL_STATE").field(&self.0).finish()
}
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct PCI_EXPRESS_POWER_STATE(pub i32);
impl ::core::marker::Copy for PCI_EXPRESS_POWER_STATE {}
impl ::core::clone::Clone for PCI_EXPRESS_POWER_STATE {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for PCI_EXPRESS_POWER_STATE {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for PCI_EXPRESS_POWER_STATE {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for PCI_EXPRESS_POWER_STATE {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("PCI_EXPRESS_POWER_STATE").field(&self.0).finish()
}
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct PCI_EXPRESS_RCB(pub i32);
impl ::core::marker::Copy for PCI_EXPRESS_RCB {}
impl ::core::clone::Clone for PCI_EXPRESS_RCB {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for PCI_EXPRESS_RCB {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for PCI_EXPRESS_RCB {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for PCI_EXPRESS_RCB {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("PCI_EXPRESS_RCB").field(&self.0).finish()
}
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct PCI_HARDWARE_INTERFACE(pub i32);
impl ::core::marker::Copy for PCI_HARDWARE_INTERFACE {}
impl ::core::clone::Clone for PCI_HARDWARE_INTERFACE {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for PCI_HARDWARE_INTERFACE {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for PCI_HARDWARE_INTERFACE {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for PCI_HARDWARE_INTERFACE {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("PCI_HARDWARE_INTERFACE").field(&self.0).finish()
}
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct PCW_CALLBACK_TYPE(pub i32);
impl ::core::marker::Copy for PCW_CALLBACK_TYPE {}
impl ::core::clone::Clone for PCW_CALLBACK_TYPE {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for PCW_CALLBACK_TYPE {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for PCW_CALLBACK_TYPE {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for PCW_CALLBACK_TYPE {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("PCW_CALLBACK_TYPE").field(&self.0).finish()
}
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct PCW_REGISTRATION_FLAGS(pub i32);
impl ::core::marker::Copy for PCW_REGISTRATION_FLAGS {}
impl ::core::clone::Clone for PCW_REGISTRATION_FLAGS {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for PCW_REGISTRATION_FLAGS {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for PCW_REGISTRATION_FLAGS {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for PCW_REGISTRATION_FLAGS {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("PCW_REGISTRATION_FLAGS").field(&self.0).finish()
}
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct PHYSICAL_COUNTER_RESOURCE_DESCRIPTOR_TYPE(pub i32);
impl ::core::marker::Copy for PHYSICAL_COUNTER_RESOURCE_DESCRIPTOR_TYPE {}
impl ::core::clone::Clone for PHYSICAL_COUNTER_RESOURCE_DESCRIPTOR_TYPE {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for PHYSICAL_COUNTER_RESOURCE_DESCRIPTOR_TYPE {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for PHYSICAL_COUNTER_RESOURCE_DESCRIPTOR_TYPE {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for PHYSICAL_COUNTER_RESOURCE_DESCRIPTOR_TYPE {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("PHYSICAL_COUNTER_RESOURCE_DESCRIPTOR_TYPE").field(&self.0).finish()
}
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct POOL_EXTENDED_PARAMETER_TYPE(pub i32);
impl ::core::marker::Copy for POOL_EXTENDED_PARAMETER_TYPE {}
impl ::core::clone::Clone for POOL_EXTENDED_PARAMETER_TYPE {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for POOL_EXTENDED_PARAMETER_TYPE {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for POOL_EXTENDED_PARAMETER_TYPE {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for POOL_EXTENDED_PARAMETER_TYPE {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("POOL_EXTENDED_PARAMETER_TYPE").field(&self.0).finish()
}
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct POWER_MONITOR_REQUEST_REASON(pub i32);
impl ::core::marker::Copy for POWER_MONITOR_REQUEST_REASON {}
impl ::core::clone::Clone for POWER_MONITOR_REQUEST_REASON {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for POWER_MONITOR_REQUEST_REASON {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for POWER_MONITOR_REQUEST_REASON {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for POWER_MONITOR_REQUEST_REASON {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("POWER_MONITOR_REQUEST_REASON").field(&self.0).finish()
}
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct POWER_MONITOR_REQUEST_TYPE(pub i32);
impl ::core::marker::Copy for POWER_MONITOR_REQUEST_TYPE {}
impl ::core::clone::Clone for POWER_MONITOR_REQUEST_TYPE {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for POWER_MONITOR_REQUEST_TYPE {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for POWER_MONITOR_REQUEST_TYPE {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for POWER_MONITOR_REQUEST_TYPE {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("POWER_MONITOR_REQUEST_TYPE").field(&self.0).finish()
}
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct POWER_PLATFORM_ROLE(pub i32);
impl ::core::marker::Copy for POWER_PLATFORM_ROLE {}
impl ::core::clone::Clone for POWER_PLATFORM_ROLE {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for POWER_PLATFORM_ROLE {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for POWER_PLATFORM_ROLE {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for POWER_PLATFORM_ROLE {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("POWER_PLATFORM_ROLE").field(&self.0).finish()
}
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct POWER_STATE_TYPE(pub i32);
impl ::core::marker::Copy for POWER_STATE_TYPE {}
impl ::core::clone::Clone for POWER_STATE_TYPE {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for POWER_STATE_TYPE {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for POWER_STATE_TYPE {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for POWER_STATE_TYPE {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("POWER_STATE_TYPE").field(&self.0).finish()
}
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct POWER_USER_PRESENCE_TYPE(pub i32);
impl ::core::marker::Copy for POWER_USER_PRESENCE_TYPE {}
impl ::core::clone::Clone for POWER_USER_PRESENCE_TYPE {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for POWER_USER_PRESENCE_TYPE {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for POWER_USER_PRESENCE_TYPE {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for POWER_USER_PRESENCE_TYPE {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("POWER_USER_PRESENCE_TYPE").field(&self.0).finish()
}
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct PO_FX_PERF_STATE_TYPE(pub i32);
impl ::core::marker::Copy for PO_FX_PERF_STATE_TYPE {}
impl ::core::clone::Clone for PO_FX_PERF_STATE_TYPE {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for PO_FX_PERF_STATE_TYPE {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for PO_FX_PERF_STATE_TYPE {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for PO_FX_PERF_STATE_TYPE {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("PO_FX_PERF_STATE_TYPE").field(&self.0).finish()
}
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct PO_FX_PERF_STATE_UNIT(pub i32);
impl ::core::marker::Copy for PO_FX_PERF_STATE_UNIT {}
impl ::core::clone::Clone for PO_FX_PERF_STATE_UNIT {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for PO_FX_PERF_STATE_UNIT {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for PO_FX_PERF_STATE_UNIT {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for PO_FX_PERF_STATE_UNIT {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("PO_FX_PERF_STATE_UNIT").field(&self.0).finish()
}
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct PO_THERMAL_REQUEST_TYPE(pub i32);
impl ::core::marker::Copy for PO_THERMAL_REQUEST_TYPE {}
impl ::core::clone::Clone for PO_THERMAL_REQUEST_TYPE {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for PO_THERMAL_REQUEST_TYPE {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for PO_THERMAL_REQUEST_TYPE {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for PO_THERMAL_REQUEST_TYPE {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("PO_THERMAL_REQUEST_TYPE").field(&self.0).finish()
}
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct PSCREATEPROCESSNOTIFYTYPE(pub i32);
impl ::core::marker::Copy for PSCREATEPROCESSNOTIFYTYPE {}
impl ::core::clone::Clone for PSCREATEPROCESSNOTIFYTYPE {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for PSCREATEPROCESSNOTIFYTYPE {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for PSCREATEPROCESSNOTIFYTYPE {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for PSCREATEPROCESSNOTIFYTYPE {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("PSCREATEPROCESSNOTIFYTYPE").field(&self.0).finish()
}
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct PSCREATETHREADNOTIFYTYPE(pub i32);
impl ::core::marker::Copy for PSCREATETHREADNOTIFYTYPE {}
impl ::core::clone::Clone for PSCREATETHREADNOTIFYTYPE {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for PSCREATETHREADNOTIFYTYPE {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for PSCREATETHREADNOTIFYTYPE {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for PSCREATETHREADNOTIFYTYPE {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("PSCREATETHREADNOTIFYTYPE").field(&self.0).finish()
}
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct PSHED_PI_ERR_READING_PCIE_OVERRIDES(pub i32);
impl ::core::marker::Copy for PSHED_PI_ERR_READING_PCIE_OVERRIDES {}
impl ::core::clone::Clone for PSHED_PI_ERR_READING_PCIE_OVERRIDES {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for PSHED_PI_ERR_READING_PCIE_OVERRIDES {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for PSHED_PI_ERR_READING_PCIE_OVERRIDES {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for PSHED_PI_ERR_READING_PCIE_OVERRIDES {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("PSHED_PI_ERR_READING_PCIE_OVERRIDES").field(&self.0).finish()
}
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct REG_NOTIFY_CLASS(pub i32);
impl ::core::marker::Copy for REG_NOTIFY_CLASS {}
impl ::core::clone::Clone for REG_NOTIFY_CLASS {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for REG_NOTIFY_CLASS {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for REG_NOTIFY_CLASS {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for REG_NOTIFY_CLASS {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("REG_NOTIFY_CLASS").field(&self.0).finish()
}
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct RESOURCE_TRANSLATION_DIRECTION(pub i32);
impl ::core::marker::Copy for RESOURCE_TRANSLATION_DIRECTION {}
impl ::core::clone::Clone for RESOURCE_TRANSLATION_DIRECTION {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for RESOURCE_TRANSLATION_DIRECTION {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for RESOURCE_TRANSLATION_DIRECTION {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for RESOURCE_TRANSLATION_DIRECTION {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("RESOURCE_TRANSLATION_DIRECTION").field(&self.0).finish()
}
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct RTL_GENERIC_COMPARE_RESULTS(pub i32);
impl ::core::marker::Copy for RTL_GENERIC_COMPARE_RESULTS {}
impl ::core::clone::Clone for RTL_GENERIC_COMPARE_RESULTS {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for RTL_GENERIC_COMPARE_RESULTS {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for RTL_GENERIC_COMPARE_RESULTS {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for RTL_GENERIC_COMPARE_RESULTS {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("RTL_GENERIC_COMPARE_RESULTS").field(&self.0).finish()
}
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct SECTION_INHERIT(pub i32);
impl ::core::marker::Copy for SECTION_INHERIT {}
impl ::core::clone::Clone for SECTION_INHERIT {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for SECTION_INHERIT {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for SECTION_INHERIT {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for SECTION_INHERIT {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("SECTION_INHERIT").field(&self.0).finish()
}
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct SECURITY_OPERATION_CODE(pub i32);
impl ::core::marker::Copy for SECURITY_OPERATION_CODE {}
impl ::core::clone::Clone for SECURITY_OPERATION_CODE {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for SECURITY_OPERATION_CODE {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for SECURITY_OPERATION_CODE {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for SECURITY_OPERATION_CODE {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("SECURITY_OPERATION_CODE").field(&self.0).finish()
}
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct SE_IMAGE_TYPE(pub i32);
impl ::core::marker::Copy for SE_IMAGE_TYPE {}
impl ::core::clone::Clone for SE_IMAGE_TYPE {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for SE_IMAGE_TYPE {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for SE_IMAGE_TYPE {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for SE_IMAGE_TYPE {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("SE_IMAGE_TYPE").field(&self.0).finish()
}
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct SE_IMAGE_VERIFICATION_CALLBACK_TYPE(pub i32);
impl ::core::marker::Copy for SE_IMAGE_VERIFICATION_CALLBACK_TYPE {}
impl ::core::clone::Clone for SE_IMAGE_VERIFICATION_CALLBACK_TYPE {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for SE_IMAGE_VERIFICATION_CALLBACK_TYPE {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for SE_IMAGE_VERIFICATION_CALLBACK_TYPE {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for SE_IMAGE_VERIFICATION_CALLBACK_TYPE {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("SE_IMAGE_VERIFICATION_CALLBACK_TYPE").field(&self.0).finish()
}
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct SOC_SUBSYSTEM_TYPE(pub i32);
impl ::core::marker::Copy for SOC_SUBSYSTEM_TYPE {}
impl ::core::clone::Clone for SOC_SUBSYSTEM_TYPE {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for SOC_SUBSYSTEM_TYPE {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for SOC_SUBSYSTEM_TYPE {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for SOC_SUBSYSTEM_TYPE {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("SOC_SUBSYSTEM_TYPE").field(&self.0).finish()
}
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct STATE_LOCATION_TYPE(pub i32);
impl ::core::marker::Copy for STATE_LOCATION_TYPE {}
impl ::core::clone::Clone for STATE_LOCATION_TYPE {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for STATE_LOCATION_TYPE {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for STATE_LOCATION_TYPE {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for STATE_LOCATION_TYPE {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("STATE_LOCATION_TYPE").field(&self.0).finish()
}
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct SUBSYSTEM_INFORMATION_TYPE(pub i32);
impl ::core::marker::Copy for SUBSYSTEM_INFORMATION_TYPE {}
impl ::core::clone::Clone for SUBSYSTEM_INFORMATION_TYPE {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for SUBSYSTEM_INFORMATION_TYPE {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for SUBSYSTEM_INFORMATION_TYPE {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for SUBSYSTEM_INFORMATION_TYPE {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("SUBSYSTEM_INFORMATION_TYPE").field(&self.0).finish()
}
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct SYSTEM_FIRMWARE_TABLE_ACTION(pub i32);
impl ::core::marker::Copy for SYSTEM_FIRMWARE_TABLE_ACTION {}
impl ::core::clone::Clone for SYSTEM_FIRMWARE_TABLE_ACTION {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for SYSTEM_FIRMWARE_TABLE_ACTION {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for SYSTEM_FIRMWARE_TABLE_ACTION {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for SYSTEM_FIRMWARE_TABLE_ACTION {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("SYSTEM_FIRMWARE_TABLE_ACTION").field(&self.0).finish()
}
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct SYSTEM_POWER_CONDITION(pub i32);
impl ::core::marker::Copy for SYSTEM_POWER_CONDITION {}
impl ::core::clone::Clone for SYSTEM_POWER_CONDITION {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for SYSTEM_POWER_CONDITION {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for SYSTEM_POWER_CONDITION {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for SYSTEM_POWER_CONDITION {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("SYSTEM_POWER_CONDITION").field(&self.0).finish()
}
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct TABLE_SEARCH_RESULT(pub i32);
impl ::core::marker::Copy for TABLE_SEARCH_RESULT {}
impl ::core::clone::Clone for TABLE_SEARCH_RESULT {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for TABLE_SEARCH_RESULT {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for TABLE_SEARCH_RESULT {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for TABLE_SEARCH_RESULT {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("TABLE_SEARCH_RESULT").field(&self.0).finish()
}
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct TIMER_SET_INFORMATION_CLASS(pub i32);
impl ::core::marker::Copy for TIMER_SET_INFORMATION_CLASS {}
impl ::core::clone::Clone for TIMER_SET_INFORMATION_CLASS {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for TIMER_SET_INFORMATION_CLASS {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for TIMER_SET_INFORMATION_CLASS {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for TIMER_SET_INFORMATION_CLASS {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("TIMER_SET_INFORMATION_CLASS").field(&self.0).finish()
}
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct TRACE_INFORMATION_CLASS(pub i32);
impl ::core::marker::Copy for TRACE_INFORMATION_CLASS {}
impl ::core::clone::Clone for TRACE_INFORMATION_CLASS {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for TRACE_INFORMATION_CLASS {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for TRACE_INFORMATION_CLASS {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for TRACE_INFORMATION_CLASS {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("TRACE_INFORMATION_CLASS").field(&self.0).finish()
}
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct WHEAP_DPC_ERROR_EVENT_TYPE(pub i32);
impl ::core::marker::Copy for WHEAP_DPC_ERROR_EVENT_TYPE {}
impl ::core::clone::Clone for WHEAP_DPC_ERROR_EVENT_TYPE {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for WHEAP_DPC_ERROR_EVENT_TYPE {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for WHEAP_DPC_ERROR_EVENT_TYPE {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for WHEAP_DPC_ERROR_EVENT_TYPE {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("WHEAP_DPC_ERROR_EVENT_TYPE").field(&self.0).finish()
}
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct WHEAP_PFA_OFFLINE_DECISION_TYPE(pub i32);
impl ::core::marker::Copy for WHEAP_PFA_OFFLINE_DECISION_TYPE {}
impl ::core::clone::Clone for WHEAP_PFA_OFFLINE_DECISION_TYPE {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for WHEAP_PFA_OFFLINE_DECISION_TYPE {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for WHEAP_PFA_OFFLINE_DECISION_TYPE {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for WHEAP_PFA_OFFLINE_DECISION_TYPE {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("WHEAP_PFA_OFFLINE_DECISION_TYPE").field(&self.0).finish()
}
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct WHEA_BUGCHECK_RECOVERY_LOG_TYPE(pub i32);
impl ::core::marker::Copy for WHEA_BUGCHECK_RECOVERY_LOG_TYPE {}
impl ::core::clone::Clone for WHEA_BUGCHECK_RECOVERY_LOG_TYPE {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for WHEA_BUGCHECK_RECOVERY_LOG_TYPE {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for WHEA_BUGCHECK_RECOVERY_LOG_TYPE {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for WHEA_BUGCHECK_RECOVERY_LOG_TYPE {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("WHEA_BUGCHECK_RECOVERY_LOG_TYPE").field(&self.0).finish()
}
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct WHEA_CPU_VENDOR(pub i32);
impl ::core::marker::Copy for WHEA_CPU_VENDOR {}
impl ::core::clone::Clone for WHEA_CPU_VENDOR {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for WHEA_CPU_VENDOR {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for WHEA_CPU_VENDOR {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for WHEA_CPU_VENDOR {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("WHEA_CPU_VENDOR").field(&self.0).finish()
}
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct WHEA_ERROR_PACKET_DATA_FORMAT(pub i32);
impl ::core::marker::Copy for WHEA_ERROR_PACKET_DATA_FORMAT {}
impl ::core::clone::Clone for WHEA_ERROR_PACKET_DATA_FORMAT {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for WHEA_ERROR_PACKET_DATA_FORMAT {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for WHEA_ERROR_PACKET_DATA_FORMAT {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for WHEA_ERROR_PACKET_DATA_FORMAT {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("WHEA_ERROR_PACKET_DATA_FORMAT").field(&self.0).finish()
}
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct WHEA_ERROR_SEVERITY(pub i32);
impl ::core::marker::Copy for WHEA_ERROR_SEVERITY {}
impl ::core::clone::Clone for WHEA_ERROR_SEVERITY {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for WHEA_ERROR_SEVERITY {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for WHEA_ERROR_SEVERITY {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for WHEA_ERROR_SEVERITY {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("WHEA_ERROR_SEVERITY").field(&self.0).finish()
}
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct WHEA_ERROR_TYPE(pub i32);
impl ::core::marker::Copy for WHEA_ERROR_TYPE {}
impl ::core::clone::Clone for WHEA_ERROR_TYPE {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for WHEA_ERROR_TYPE {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for WHEA_ERROR_TYPE {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for WHEA_ERROR_TYPE {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("WHEA_ERROR_TYPE").field(&self.0).finish()
}
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct WHEA_EVENT_LOG_ENTRY_ID(pub i32);
impl ::core::marker::Copy for WHEA_EVENT_LOG_ENTRY_ID {}
impl ::core::clone::Clone for WHEA_EVENT_LOG_ENTRY_ID {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for WHEA_EVENT_LOG_ENTRY_ID {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for WHEA_EVENT_LOG_ENTRY_ID {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for WHEA_EVENT_LOG_ENTRY_ID {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("WHEA_EVENT_LOG_ENTRY_ID").field(&self.0).finish()
}
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct WHEA_EVENT_LOG_ENTRY_TYPE(pub i32);
impl ::core::marker::Copy for WHEA_EVENT_LOG_ENTRY_TYPE {}
impl ::core::clone::Clone for WHEA_EVENT_LOG_ENTRY_TYPE {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for WHEA_EVENT_LOG_ENTRY_TYPE {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for WHEA_EVENT_LOG_ENTRY_TYPE {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for WHEA_EVENT_LOG_ENTRY_TYPE {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("WHEA_EVENT_LOG_ENTRY_TYPE").field(&self.0).finish()
}
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct WHEA_PCIEXPRESS_DEVICE_TYPE(pub i32);
impl ::core::marker::Copy for WHEA_PCIEXPRESS_DEVICE_TYPE {}
impl ::core::clone::Clone for WHEA_PCIEXPRESS_DEVICE_TYPE {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for WHEA_PCIEXPRESS_DEVICE_TYPE {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for WHEA_PCIEXPRESS_DEVICE_TYPE {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for WHEA_PCIEXPRESS_DEVICE_TYPE {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("WHEA_PCIEXPRESS_DEVICE_TYPE").field(&self.0).finish()
}
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct WHEA_PCI_RECOVERY_SIGNAL(pub i32);
impl ::core::marker::Copy for WHEA_PCI_RECOVERY_SIGNAL {}
impl ::core::clone::Clone for WHEA_PCI_RECOVERY_SIGNAL {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for WHEA_PCI_RECOVERY_SIGNAL {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for WHEA_PCI_RECOVERY_SIGNAL {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for WHEA_PCI_RECOVERY_SIGNAL {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("WHEA_PCI_RECOVERY_SIGNAL").field(&self.0).finish()
}
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct WHEA_PCI_RECOVERY_STATUS(pub i32);
impl ::core::marker::Copy for WHEA_PCI_RECOVERY_STATUS {}
impl ::core::clone::Clone for WHEA_PCI_RECOVERY_STATUS {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for WHEA_PCI_RECOVERY_STATUS {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for WHEA_PCI_RECOVERY_STATUS {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for WHEA_PCI_RECOVERY_STATUS {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("WHEA_PCI_RECOVERY_STATUS").field(&self.0).finish()
}
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct WHEA_PFA_REMOVE_TRIGGER(pub i32);
impl ::core::marker::Copy for WHEA_PFA_REMOVE_TRIGGER {}
impl ::core::clone::Clone for WHEA_PFA_REMOVE_TRIGGER {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for WHEA_PFA_REMOVE_TRIGGER {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for WHEA_PFA_REMOVE_TRIGGER {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for WHEA_PFA_REMOVE_TRIGGER {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("WHEA_PFA_REMOVE_TRIGGER").field(&self.0).finish()
}
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct WHEA_PSHED_PLUGIN_ENABLE_NOTIFY_ERRORS(pub i32);
impl ::core::marker::Copy for WHEA_PSHED_PLUGIN_ENABLE_NOTIFY_ERRORS {}
impl ::core::clone::Clone for WHEA_PSHED_PLUGIN_ENABLE_NOTIFY_ERRORS {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for WHEA_PSHED_PLUGIN_ENABLE_NOTIFY_ERRORS {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for WHEA_PSHED_PLUGIN_ENABLE_NOTIFY_ERRORS {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for WHEA_PSHED_PLUGIN_ENABLE_NOTIFY_ERRORS {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("WHEA_PSHED_PLUGIN_ENABLE_NOTIFY_ERRORS").field(&self.0).finish()
}
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct WHEA_RAW_DATA_FORMAT(pub i32);
impl ::core::marker::Copy for WHEA_RAW_DATA_FORMAT {}
impl ::core::clone::Clone for WHEA_RAW_DATA_FORMAT {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for WHEA_RAW_DATA_FORMAT {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for WHEA_RAW_DATA_FORMAT {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for WHEA_RAW_DATA_FORMAT {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("WHEA_RAW_DATA_FORMAT").field(&self.0).finish()
}
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct WHEA_RECOVERY_CONTEXT_ERROR_TYPE(pub i32);
impl ::core::marker::Copy for WHEA_RECOVERY_CONTEXT_ERROR_TYPE {}
impl ::core::clone::Clone for WHEA_RECOVERY_CONTEXT_ERROR_TYPE {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for WHEA_RECOVERY_CONTEXT_ERROR_TYPE {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for WHEA_RECOVERY_CONTEXT_ERROR_TYPE {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for WHEA_RECOVERY_CONTEXT_ERROR_TYPE {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("WHEA_RECOVERY_CONTEXT_ERROR_TYPE").field(&self.0).finish()
}
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct WHEA_RECOVERY_FAILURE_REASON(pub i32);
impl ::core::marker::Copy for WHEA_RECOVERY_FAILURE_REASON {}
impl ::core::clone::Clone for WHEA_RECOVERY_FAILURE_REASON {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for WHEA_RECOVERY_FAILURE_REASON {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for WHEA_RECOVERY_FAILURE_REASON {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for WHEA_RECOVERY_FAILURE_REASON {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("WHEA_RECOVERY_FAILURE_REASON").field(&self.0).finish()
}
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct WHEA_RECOVERY_TYPE(pub i32);
impl ::core::marker::Copy for WHEA_RECOVERY_TYPE {}
impl ::core::clone::Clone for WHEA_RECOVERY_TYPE {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for WHEA_RECOVERY_TYPE {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for WHEA_RECOVERY_TYPE {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for WHEA_RECOVERY_TYPE {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("WHEA_RECOVERY_TYPE").field(&self.0).finish()
}
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct WHEA_THROTTLE_TYPE(pub i32);
impl ::core::marker::Copy for WHEA_THROTTLE_TYPE {}
impl ::core::clone::Clone for WHEA_THROTTLE_TYPE {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for WHEA_THROTTLE_TYPE {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for WHEA_THROTTLE_TYPE {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for WHEA_THROTTLE_TYPE {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("WHEA_THROTTLE_TYPE").field(&self.0).finish()
}
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct WORK_QUEUE_TYPE(pub i32);
impl ::core::marker::Copy for WORK_QUEUE_TYPE {}
impl ::core::clone::Clone for WORK_QUEUE_TYPE {
fn clone(&self) -> Self {
*self
}
}
impl ::core::default::Default for WORK_QUEUE_TYPE {
fn default() -> Self {
Self(0)
}
}
impl ::windows_core::TypeKind for WORK_QUEUE_TYPE {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::fmt::Debug for WORK_QUEUE_TYPE {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("WORK_QUEUE_TYPE").field(&self.0).finish()
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct ACPI_DEBUGGING_DEVICE_IN_USE {
pub NameSpacePathLength: u32,
pub NameSpacePath: [u16; 1],
}
impl ::core::marker::Copy for ACPI_DEBUGGING_DEVICE_IN_USE {}
impl ::core::clone::Clone for ACPI_DEBUGGING_DEVICE_IN_USE {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for ACPI_DEBUGGING_DEVICE_IN_USE {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("ACPI_DEBUGGING_DEVICE_IN_USE").field("NameSpacePathLength", &self.NameSpacePathLength).field("NameSpacePath", &self.NameSpacePath).finish()
}
}
impl ::windows_core::TypeKind for ACPI_DEBUGGING_DEVICE_IN_USE {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for ACPI_DEBUGGING_DEVICE_IN_USE {
fn eq(&self, other: &Self) -> bool {
self.NameSpacePathLength == other.NameSpacePathLength && self.NameSpacePath == other.NameSpacePath
}
}
impl ::core::cmp::Eq for ACPI_DEBUGGING_DEVICE_IN_USE {}
impl ::core::default::Default for ACPI_DEBUGGING_DEVICE_IN_USE {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
pub struct ACPI_INTERFACE_STANDARD {
pub Size: u16,
pub Version: u16,
pub Context: *mut ::core::ffi::c_void,
pub InterfaceReference: PINTERFACE_REFERENCE,
pub InterfaceDereference: PINTERFACE_DEREFERENCE,
pub GpeConnectVector: PGPE_CONNECT_VECTOR,
pub GpeDisconnectVector: PGPE_DISCONNECT_VECTOR,
pub GpeEnableEvent: PGPE_ENABLE_EVENT,
pub GpeDisableEvent: PGPE_DISABLE_EVENT,
pub GpeClearStatus: PGPE_CLEAR_STATUS,
pub RegisterForDeviceNotifications: PREGISTER_FOR_DEVICE_NOTIFICATIONS,
pub UnregisterForDeviceNotifications: PUNREGISTER_FOR_DEVICE_NOTIFICATIONS,
}
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
impl ::core::marker::Copy for ACPI_INTERFACE_STANDARD {}
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
impl ::core::clone::Clone for ACPI_INTERFACE_STANDARD {
fn clone(&self) -> Self {
*self
}
}
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
impl ::core::fmt::Debug for ACPI_INTERFACE_STANDARD {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("ACPI_INTERFACE_STANDARD").field("Size", &self.Size).field("Version", &self.Version).field("Context", &self.Context).finish()
}
}
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
impl ::windows_core::TypeKind for ACPI_INTERFACE_STANDARD {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
impl ::core::default::Default for ACPI_INTERFACE_STANDARD {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub struct ACPI_INTERFACE_STANDARD2 {
pub Size: u16,
pub Version: u16,
pub Context: *mut ::core::ffi::c_void,
pub InterfaceReference: PINTERFACE_REFERENCE,
pub InterfaceDereference: PINTERFACE_DEREFERENCE,
pub GpeConnectVector: PGPE_CONNECT_VECTOR2,
pub GpeDisconnectVector: PGPE_DISCONNECT_VECTOR2,
pub GpeEnableEvent: PGPE_ENABLE_EVENT2,
pub GpeDisableEvent: PGPE_DISABLE_EVENT2,
pub GpeClearStatus: PGPE_CLEAR_STATUS2,
pub RegisterForDeviceNotifications: PREGISTER_FOR_DEVICE_NOTIFICATIONS2,
pub UnregisterForDeviceNotifications: PUNREGISTER_FOR_DEVICE_NOTIFICATIONS2,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for ACPI_INTERFACE_STANDARD2 {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for ACPI_INTERFACE_STANDARD2 {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::fmt::Debug for ACPI_INTERFACE_STANDARD2 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("ACPI_INTERFACE_STANDARD2").field("Size", &self.Size).field("Version", &self.Version).field("Context", &self.Context).finish()
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for ACPI_INTERFACE_STANDARD2 {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for ACPI_INTERFACE_STANDARD2 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct AGP_TARGET_BUS_INTERFACE_STANDARD {
pub Size: u16,
pub Version: u16,
pub Context: *mut ::core::ffi::c_void,
pub InterfaceReference: PINTERFACE_REFERENCE,
pub InterfaceDereference: PINTERFACE_DEREFERENCE,
pub SetBusData: PGET_SET_DEVICE_DATA,
pub GetBusData: PGET_SET_DEVICE_DATA,
pub CapabilityID: u8,
}
impl ::core::marker::Copy for AGP_TARGET_BUS_INTERFACE_STANDARD {}
impl ::core::clone::Clone for AGP_TARGET_BUS_INTERFACE_STANDARD {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for AGP_TARGET_BUS_INTERFACE_STANDARD {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("AGP_TARGET_BUS_INTERFACE_STANDARD").field("Size", &self.Size).field("Version", &self.Version).field("Context", &self.Context).field("CapabilityID", &self.CapabilityID).finish()
}
}
impl ::windows_core::TypeKind for AGP_TARGET_BUS_INTERFACE_STANDARD {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for AGP_TARGET_BUS_INTERFACE_STANDARD {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub union AMD_L1_CACHE_INFO {
pub Ulong: u32,
pub Anonymous: AMD_L1_CACHE_INFO_0,
}
impl ::core::marker::Copy for AMD_L1_CACHE_INFO {}
impl ::core::clone::Clone for AMD_L1_CACHE_INFO {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for AMD_L1_CACHE_INFO {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for AMD_L1_CACHE_INFO {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct AMD_L1_CACHE_INFO_0 {
pub LineSize: u8,
pub LinesPerTag: u8,
pub Associativity: u8,
pub Size: u8,
}
impl ::core::marker::Copy for AMD_L1_CACHE_INFO_0 {}
impl ::core::clone::Clone for AMD_L1_CACHE_INFO_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for AMD_L1_CACHE_INFO_0 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("AMD_L1_CACHE_INFO_0").field("LineSize", &self.LineSize).field("LinesPerTag", &self.LinesPerTag).field("Associativity", &self.Associativity).field("Size", &self.Size).finish()
}
}
impl ::windows_core::TypeKind for AMD_L1_CACHE_INFO_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for AMD_L1_CACHE_INFO_0 {
fn eq(&self, other: &Self) -> bool {
self.LineSize == other.LineSize && self.LinesPerTag == other.LinesPerTag && self.Associativity == other.Associativity && self.Size == other.Size
}
}
impl ::core::cmp::Eq for AMD_L1_CACHE_INFO_0 {}
impl ::core::default::Default for AMD_L1_CACHE_INFO_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub union AMD_L2_CACHE_INFO {
pub Ulong: u32,
pub Anonymous: AMD_L2_CACHE_INFO_0,
}
impl ::core::marker::Copy for AMD_L2_CACHE_INFO {}
impl ::core::clone::Clone for AMD_L2_CACHE_INFO {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for AMD_L2_CACHE_INFO {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for AMD_L2_CACHE_INFO {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct AMD_L2_CACHE_INFO_0 {
pub LineSize: u8,
pub _bitfield: u8,
pub Size: u16,
}
impl ::core::marker::Copy for AMD_L2_CACHE_INFO_0 {}
impl ::core::clone::Clone for AMD_L2_CACHE_INFO_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for AMD_L2_CACHE_INFO_0 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("AMD_L2_CACHE_INFO_0").field("LineSize", &self.LineSize).field("_bitfield", &self._bitfield).field("Size", &self.Size).finish()
}
}
impl ::windows_core::TypeKind for AMD_L2_CACHE_INFO_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for AMD_L2_CACHE_INFO_0 {
fn eq(&self, other: &Self) -> bool {
self.LineSize == other.LineSize && self._bitfield == other._bitfield && self.Size == other.Size
}
}
impl ::core::cmp::Eq for AMD_L2_CACHE_INFO_0 {}
impl ::core::default::Default for AMD_L2_CACHE_INFO_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub union AMD_L3_CACHE_INFO {
pub Ulong: u32,
pub Anonymous: AMD_L3_CACHE_INFO_0,
}
impl ::core::marker::Copy for AMD_L3_CACHE_INFO {}
impl ::core::clone::Clone for AMD_L3_CACHE_INFO {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for AMD_L3_CACHE_INFO {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for AMD_L3_CACHE_INFO {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct AMD_L3_CACHE_INFO_0 {
pub LineSize: u8,
pub _bitfield1: u8,
pub _bitfield2: u16,
}
impl ::core::marker::Copy for AMD_L3_CACHE_INFO_0 {}
impl ::core::clone::Clone for AMD_L3_CACHE_INFO_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for AMD_L3_CACHE_INFO_0 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("AMD_L3_CACHE_INFO_0").field("LineSize", &self.LineSize).field("_bitfield1", &self._bitfield1).field("_bitfield2", &self._bitfield2).finish()
}
}
impl ::windows_core::TypeKind for AMD_L3_CACHE_INFO_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for AMD_L3_CACHE_INFO_0 {
fn eq(&self, other: &Self) -> bool {
self.LineSize == other.LineSize && self._bitfield1 == other._bitfield1 && self._bitfield2 == other._bitfield2
}
}
impl ::core::cmp::Eq for AMD_L3_CACHE_INFO_0 {}
impl ::core::default::Default for AMD_L3_CACHE_INFO_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
pub struct ARBITER_ADD_RESERVED_PARAMETERS {
pub ReserveDevice: *mut super::super::Foundation::DEVICE_OBJECT,
}
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
impl ::core::marker::Copy for ARBITER_ADD_RESERVED_PARAMETERS {}
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
impl ::core::clone::Clone for ARBITER_ADD_RESERVED_PARAMETERS {
fn clone(&self) -> Self {
*self
}
}
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
impl ::core::fmt::Debug for ARBITER_ADD_RESERVED_PARAMETERS {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("ARBITER_ADD_RESERVED_PARAMETERS").field("ReserveDevice", &self.ReserveDevice).finish()
}
}
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
impl ::windows_core::TypeKind for ARBITER_ADD_RESERVED_PARAMETERS {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
impl ::core::cmp::PartialEq for ARBITER_ADD_RESERVED_PARAMETERS {
fn eq(&self, other: &Self) -> bool {
self.ReserveDevice == other.ReserveDevice
}
}
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
impl ::core::cmp::Eq for ARBITER_ADD_RESERVED_PARAMETERS {}
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
impl ::core::default::Default for ARBITER_ADD_RESERVED_PARAMETERS {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_System_Kernel\"`*"]
#[cfg(feature = "Win32_System_Kernel")]
pub struct ARBITER_BOOT_ALLOCATION_PARAMETERS {
pub ArbitrationList: *mut super::super::super::Win32::System::Kernel::LIST_ENTRY,
}
#[cfg(feature = "Win32_System_Kernel")]
impl ::core::marker::Copy for ARBITER_BOOT_ALLOCATION_PARAMETERS {}
#[cfg(feature = "Win32_System_Kernel")]
impl ::core::clone::Clone for ARBITER_BOOT_ALLOCATION_PARAMETERS {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_System_Kernel")]
impl ::core::fmt::Debug for ARBITER_BOOT_ALLOCATION_PARAMETERS {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("ARBITER_BOOT_ALLOCATION_PARAMETERS").field("ArbitrationList", &self.ArbitrationList).finish()
}
}
#[cfg(feature = "Win32_System_Kernel")]
impl ::windows_core::TypeKind for ARBITER_BOOT_ALLOCATION_PARAMETERS {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_System_Kernel")]
impl ::core::cmp::PartialEq for ARBITER_BOOT_ALLOCATION_PARAMETERS {
fn eq(&self, other: &Self) -> bool {
self.ArbitrationList == other.ArbitrationList
}
}
#[cfg(feature = "Win32_System_Kernel")]
impl ::core::cmp::Eq for ARBITER_BOOT_ALLOCATION_PARAMETERS {}
#[cfg(feature = "Win32_System_Kernel")]
impl ::core::default::Default for ARBITER_BOOT_ALLOCATION_PARAMETERS {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
pub struct ARBITER_CONFLICT_INFO {
pub OwningObject: *mut super::super::Foundation::DEVICE_OBJECT,
pub Start: u64,
pub End: u64,
}
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
impl ::core::marker::Copy for ARBITER_CONFLICT_INFO {}
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
impl ::core::clone::Clone for ARBITER_CONFLICT_INFO {
fn clone(&self) -> Self {
*self
}
}
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
impl ::core::fmt::Debug for ARBITER_CONFLICT_INFO {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("ARBITER_CONFLICT_INFO").field("OwningObject", &self.OwningObject).field("Start", &self.Start).field("End", &self.End).finish()
}
}
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
impl ::windows_core::TypeKind for ARBITER_CONFLICT_INFO {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
impl ::core::cmp::PartialEq for ARBITER_CONFLICT_INFO {
fn eq(&self, other: &Self) -> bool {
self.OwningObject == other.OwningObject && self.Start == other.Start && self.End == other.End
}
}
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
impl ::core::cmp::Eq for ARBITER_CONFLICT_INFO {}
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
impl ::core::default::Default for ARBITER_CONFLICT_INFO {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
pub struct ARBITER_INTERFACE {
pub Size: u16,
pub Version: u16,
pub Context: *mut ::core::ffi::c_void,
pub InterfaceReference: PINTERFACE_REFERENCE,
pub InterfaceDereference: PINTERFACE_DEREFERENCE,
pub ArbiterHandler: PARBITER_HANDLER,
pub Flags: u32,
}
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
impl ::core::marker::Copy for ARBITER_INTERFACE {}
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
impl ::core::clone::Clone for ARBITER_INTERFACE {
fn clone(&self) -> Self {
*self
}
}
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
impl ::core::fmt::Debug for ARBITER_INTERFACE {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("ARBITER_INTERFACE").field("Size", &self.Size).field("Version", &self.Version).field("Context", &self.Context).field("Flags", &self.Flags).finish()
}
}
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
impl ::windows_core::TypeKind for ARBITER_INTERFACE {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
impl ::core::default::Default for ARBITER_INTERFACE {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
pub struct ARBITER_LIST_ENTRY {
pub ListEntry: super::super::super::Win32::System::Kernel::LIST_ENTRY,
pub AlternativeCount: u32,
pub Alternatives: *mut IO_RESOURCE_DESCRIPTOR,
pub PhysicalDeviceObject: *mut super::super::Foundation::DEVICE_OBJECT,
pub RequestSource: ARBITER_REQUEST_SOURCE,
pub Flags: u32,
pub WorkSpace: isize,
pub InterfaceType: INTERFACE_TYPE,
pub SlotNumber: u32,
pub BusNumber: u32,
pub Assignment: *mut CM_PARTIAL_RESOURCE_DESCRIPTOR,
pub SelectedAlternative: *mut IO_RESOURCE_DESCRIPTOR,
pub Result: ARBITER_RESULT,
}
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
impl ::core::marker::Copy for ARBITER_LIST_ENTRY {}
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
impl ::core::clone::Clone for ARBITER_LIST_ENTRY {
fn clone(&self) -> Self {
*self
}
}
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
impl ::core::fmt::Debug for ARBITER_LIST_ENTRY {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("ARBITER_LIST_ENTRY")
.field("ListEntry", &self.ListEntry)
.field("AlternativeCount", &self.AlternativeCount)
.field("Alternatives", &self.Alternatives)
.field("PhysicalDeviceObject", &self.PhysicalDeviceObject)
.field("RequestSource", &self.RequestSource)
.field("Flags", &self.Flags)
.field("WorkSpace", &self.WorkSpace)
.field("InterfaceType", &self.InterfaceType)
.field("SlotNumber", &self.SlotNumber)
.field("BusNumber", &self.BusNumber)
.field("Assignment", &self.Assignment)
.field("SelectedAlternative", &self.SelectedAlternative)
.field("Result", &self.Result)
.finish()
}
}
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
impl ::windows_core::TypeKind for ARBITER_LIST_ENTRY {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
impl ::core::cmp::PartialEq for ARBITER_LIST_ENTRY {
fn eq(&self, other: &Self) -> bool {
self.ListEntry == other.ListEntry && self.AlternativeCount == other.AlternativeCount && self.Alternatives == other.Alternatives && self.PhysicalDeviceObject == other.PhysicalDeviceObject && self.RequestSource == other.RequestSource && self.Flags == other.Flags && self.WorkSpace == other.WorkSpace && self.InterfaceType == other.InterfaceType && self.SlotNumber == other.SlotNumber && self.BusNumber == other.BusNumber && self.Assignment == other.Assignment && self.SelectedAlternative == other.SelectedAlternative && self.Result == other.Result
}
}
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
impl ::core::cmp::Eq for ARBITER_LIST_ENTRY {}
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
impl ::core::default::Default for ARBITER_LIST_ENTRY {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
pub struct ARBITER_PARAMETERS {
pub Parameters: ARBITER_PARAMETERS_0,
}
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
impl ::core::marker::Copy for ARBITER_PARAMETERS {}
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
impl ::core::clone::Clone for ARBITER_PARAMETERS {
fn clone(&self) -> Self {
*self
}
}
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
impl ::windows_core::TypeKind for ARBITER_PARAMETERS {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
impl ::core::default::Default for ARBITER_PARAMETERS {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
pub union ARBITER_PARAMETERS_0 {
pub TestAllocation: ARBITER_TEST_ALLOCATION_PARAMETERS,
pub RetestAllocation: ARBITER_RETEST_ALLOCATION_PARAMETERS,
pub BootAllocation: ARBITER_BOOT_ALLOCATION_PARAMETERS,
pub QueryAllocatedResources: ARBITER_QUERY_ALLOCATED_RESOURCES_PARAMETERS,
pub QueryConflict: ARBITER_QUERY_CONFLICT_PARAMETERS,
pub QueryArbitrate: ARBITER_QUERY_ARBITRATE_PARAMETERS,
pub AddReserved: ARBITER_ADD_RESERVED_PARAMETERS,
}
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
impl ::core::marker::Copy for ARBITER_PARAMETERS_0 {}
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
impl ::core::clone::Clone for ARBITER_PARAMETERS_0 {
fn clone(&self) -> Self {
*self
}
}
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
impl ::windows_core::TypeKind for ARBITER_PARAMETERS_0 {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
impl ::core::default::Default for ARBITER_PARAMETERS_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct ARBITER_QUERY_ALLOCATED_RESOURCES_PARAMETERS {
pub AllocatedResources: *mut *mut CM_PARTIAL_RESOURCE_LIST,
}
impl ::core::marker::Copy for ARBITER_QUERY_ALLOCATED_RESOURCES_PARAMETERS {}
impl ::core::clone::Clone for ARBITER_QUERY_ALLOCATED_RESOURCES_PARAMETERS {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for ARBITER_QUERY_ALLOCATED_RESOURCES_PARAMETERS {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("ARBITER_QUERY_ALLOCATED_RESOURCES_PARAMETERS").field("AllocatedResources", &self.AllocatedResources).finish()
}
}
impl ::windows_core::TypeKind for ARBITER_QUERY_ALLOCATED_RESOURCES_PARAMETERS {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for ARBITER_QUERY_ALLOCATED_RESOURCES_PARAMETERS {
fn eq(&self, other: &Self) -> bool {
self.AllocatedResources == other.AllocatedResources
}
}
impl ::core::cmp::Eq for ARBITER_QUERY_ALLOCATED_RESOURCES_PARAMETERS {}
impl ::core::default::Default for ARBITER_QUERY_ALLOCATED_RESOURCES_PARAMETERS {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_System_Kernel\"`*"]
#[cfg(feature = "Win32_System_Kernel")]
pub struct ARBITER_QUERY_ARBITRATE_PARAMETERS {
pub ArbitrationList: *mut super::super::super::Win32::System::Kernel::LIST_ENTRY,
}
#[cfg(feature = "Win32_System_Kernel")]
impl ::core::marker::Copy for ARBITER_QUERY_ARBITRATE_PARAMETERS {}
#[cfg(feature = "Win32_System_Kernel")]
impl ::core::clone::Clone for ARBITER_QUERY_ARBITRATE_PARAMETERS {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_System_Kernel")]
impl ::core::fmt::Debug for ARBITER_QUERY_ARBITRATE_PARAMETERS {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("ARBITER_QUERY_ARBITRATE_PARAMETERS").field("ArbitrationList", &self.ArbitrationList).finish()
}
}
#[cfg(feature = "Win32_System_Kernel")]
impl ::windows_core::TypeKind for ARBITER_QUERY_ARBITRATE_PARAMETERS {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_System_Kernel")]
impl ::core::cmp::PartialEq for ARBITER_QUERY_ARBITRATE_PARAMETERS {
fn eq(&self, other: &Self) -> bool {
self.ArbitrationList == other.ArbitrationList
}
}
#[cfg(feature = "Win32_System_Kernel")]
impl ::core::cmp::Eq for ARBITER_QUERY_ARBITRATE_PARAMETERS {}
#[cfg(feature = "Win32_System_Kernel")]
impl ::core::default::Default for ARBITER_QUERY_ARBITRATE_PARAMETERS {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
pub struct ARBITER_QUERY_CONFLICT_PARAMETERS {
pub PhysicalDeviceObject: *mut super::super::Foundation::DEVICE_OBJECT,
pub ConflictingResource: *mut IO_RESOURCE_DESCRIPTOR,
pub ConflictCount: *mut u32,
pub Conflicts: *mut *mut ARBITER_CONFLICT_INFO,
}
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
impl ::core::marker::Copy for ARBITER_QUERY_CONFLICT_PARAMETERS {}
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
impl ::core::clone::Clone for ARBITER_QUERY_CONFLICT_PARAMETERS {
fn clone(&self) -> Self {
*self
}
}
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
impl ::core::fmt::Debug for ARBITER_QUERY_CONFLICT_PARAMETERS {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("ARBITER_QUERY_CONFLICT_PARAMETERS").field("PhysicalDeviceObject", &self.PhysicalDeviceObject).field("ConflictingResource", &self.ConflictingResource).field("ConflictCount", &self.ConflictCount).field("Conflicts", &self.Conflicts).finish()
}
}
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
impl ::windows_core::TypeKind for ARBITER_QUERY_CONFLICT_PARAMETERS {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
impl ::core::cmp::PartialEq for ARBITER_QUERY_CONFLICT_PARAMETERS {
fn eq(&self, other: &Self) -> bool {
self.PhysicalDeviceObject == other.PhysicalDeviceObject && self.ConflictingResource == other.ConflictingResource && self.ConflictCount == other.ConflictCount && self.Conflicts == other.Conflicts
}
}
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
impl ::core::cmp::Eq for ARBITER_QUERY_CONFLICT_PARAMETERS {}
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
impl ::core::default::Default for ARBITER_QUERY_CONFLICT_PARAMETERS {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_System_Kernel\"`*"]
#[cfg(feature = "Win32_System_Kernel")]
pub struct ARBITER_RETEST_ALLOCATION_PARAMETERS {
pub ArbitrationList: *mut super::super::super::Win32::System::Kernel::LIST_ENTRY,
pub AllocateFromCount: u32,
pub AllocateFrom: *mut CM_PARTIAL_RESOURCE_DESCRIPTOR,
}
#[cfg(feature = "Win32_System_Kernel")]
impl ::core::marker::Copy for ARBITER_RETEST_ALLOCATION_PARAMETERS {}
#[cfg(feature = "Win32_System_Kernel")]
impl ::core::clone::Clone for ARBITER_RETEST_ALLOCATION_PARAMETERS {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_System_Kernel")]
impl ::core::fmt::Debug for ARBITER_RETEST_ALLOCATION_PARAMETERS {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("ARBITER_RETEST_ALLOCATION_PARAMETERS").field("ArbitrationList", &self.ArbitrationList).field("AllocateFromCount", &self.AllocateFromCount).field("AllocateFrom", &self.AllocateFrom).finish()
}
}
#[cfg(feature = "Win32_System_Kernel")]
impl ::windows_core::TypeKind for ARBITER_RETEST_ALLOCATION_PARAMETERS {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_System_Kernel")]
impl ::core::cmp::PartialEq for ARBITER_RETEST_ALLOCATION_PARAMETERS {
fn eq(&self, other: &Self) -> bool {
self.ArbitrationList == other.ArbitrationList && self.AllocateFromCount == other.AllocateFromCount && self.AllocateFrom == other.AllocateFrom
}
}
#[cfg(feature = "Win32_System_Kernel")]
impl ::core::cmp::Eq for ARBITER_RETEST_ALLOCATION_PARAMETERS {}
#[cfg(feature = "Win32_System_Kernel")]
impl ::core::default::Default for ARBITER_RETEST_ALLOCATION_PARAMETERS {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_System_Kernel\"`*"]
#[cfg(feature = "Win32_System_Kernel")]
pub struct ARBITER_TEST_ALLOCATION_PARAMETERS {
pub ArbitrationList: *mut super::super::super::Win32::System::Kernel::LIST_ENTRY,
pub AllocateFromCount: u32,
pub AllocateFrom: *mut CM_PARTIAL_RESOURCE_DESCRIPTOR,
}
#[cfg(feature = "Win32_System_Kernel")]
impl ::core::marker::Copy for ARBITER_TEST_ALLOCATION_PARAMETERS {}
#[cfg(feature = "Win32_System_Kernel")]
impl ::core::clone::Clone for ARBITER_TEST_ALLOCATION_PARAMETERS {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_System_Kernel")]
impl ::core::fmt::Debug for ARBITER_TEST_ALLOCATION_PARAMETERS {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("ARBITER_TEST_ALLOCATION_PARAMETERS").field("ArbitrationList", &self.ArbitrationList).field("AllocateFromCount", &self.AllocateFromCount).field("AllocateFrom", &self.AllocateFrom).finish()
}
}
#[cfg(feature = "Win32_System_Kernel")]
impl ::windows_core::TypeKind for ARBITER_TEST_ALLOCATION_PARAMETERS {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_System_Kernel")]
impl ::core::cmp::PartialEq for ARBITER_TEST_ALLOCATION_PARAMETERS {
fn eq(&self, other: &Self) -> bool {
self.ArbitrationList == other.ArbitrationList && self.AllocateFromCount == other.AllocateFromCount && self.AllocateFrom == other.AllocateFrom
}
}
#[cfg(feature = "Win32_System_Kernel")]
impl ::core::cmp::Eq for ARBITER_TEST_ALLOCATION_PARAMETERS {}
#[cfg(feature = "Win32_System_Kernel")]
impl ::core::default::Default for ARBITER_TEST_ALLOCATION_PARAMETERS {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_System_Diagnostics_Debug\"`*"]
#[cfg(feature = "Win32_System_Diagnostics_Debug")]
pub struct ARM64_NT_CONTEXT {
pub ContextFlags: u32,
pub Cpsr: u32,
pub Anonymous: ARM64_NT_CONTEXT_0,
pub Sp: u64,
pub Pc: u64,
pub V: [super::super::super::Win32::System::Diagnostics::Debug::ARM64_NT_NEON128; 32],
pub Fpcr: u32,
pub Fpsr: u32,
pub Bcr: [u32; 8],
pub Bvr: [u64; 8],
pub Wcr: [u32; 2],
pub Wvr: [u64; 2],
}
#[cfg(feature = "Win32_System_Diagnostics_Debug")]
impl ::core::marker::Copy for ARM64_NT_CONTEXT {}
#[cfg(feature = "Win32_System_Diagnostics_Debug")]
impl ::core::clone::Clone for ARM64_NT_CONTEXT {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_System_Diagnostics_Debug")]
impl ::windows_core::TypeKind for ARM64_NT_CONTEXT {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_System_Diagnostics_Debug")]
impl ::core::default::Default for ARM64_NT_CONTEXT {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_System_Diagnostics_Debug\"`*"]
#[cfg(feature = "Win32_System_Diagnostics_Debug")]
pub union ARM64_NT_CONTEXT_0 {
pub Anonymous: ARM64_NT_CONTEXT_0_0,
pub X: [u64; 31],
}
#[cfg(feature = "Win32_System_Diagnostics_Debug")]
impl ::core::marker::Copy for ARM64_NT_CONTEXT_0 {}
#[cfg(feature = "Win32_System_Diagnostics_Debug")]
impl ::core::clone::Clone for ARM64_NT_CONTEXT_0 {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_System_Diagnostics_Debug")]
impl ::windows_core::TypeKind for ARM64_NT_CONTEXT_0 {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_System_Diagnostics_Debug")]
impl ::core::default::Default for ARM64_NT_CONTEXT_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_System_Diagnostics_Debug\"`*"]
#[cfg(feature = "Win32_System_Diagnostics_Debug")]
pub struct ARM64_NT_CONTEXT_0_0 {
pub X0: u64,
pub X1: u64,
pub X2: u64,
pub X3: u64,
pub X4: u64,
pub X5: u64,
pub X6: u64,
pub X7: u64,
pub X8: u64,
pub X9: u64,
pub X10: u64,
pub X11: u64,
pub X12: u64,
pub X13: u64,
pub X14: u64,
pub X15: u64,
pub X16: u64,
pub X17: u64,
pub X18: u64,
pub X19: u64,
pub X20: u64,
pub X21: u64,
pub X22: u64,
pub X23: u64,
pub X24: u64,
pub X25: u64,
pub X26: u64,
pub X27: u64,
pub X28: u64,
pub Fp: u64,
pub Lr: u64,
}
#[cfg(feature = "Win32_System_Diagnostics_Debug")]
impl ::core::marker::Copy for ARM64_NT_CONTEXT_0_0 {}
#[cfg(feature = "Win32_System_Diagnostics_Debug")]
impl ::core::clone::Clone for ARM64_NT_CONTEXT_0_0 {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_System_Diagnostics_Debug")]
impl ::core::fmt::Debug for ARM64_NT_CONTEXT_0_0 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("ARM64_NT_CONTEXT_0_0")
.field("X0", &self.X0)
.field("X1", &self.X1)
.field("X2", &self.X2)
.field("X3", &self.X3)
.field("X4", &self.X4)
.field("X5", &self.X5)
.field("X6", &self.X6)
.field("X7", &self.X7)
.field("X8", &self.X8)
.field("X9", &self.X9)
.field("X10", &self.X10)
.field("X11", &self.X11)
.field("X12", &self.X12)
.field("X13", &self.X13)
.field("X14", &self.X14)
.field("X15", &self.X15)
.field("X16", &self.X16)
.field("X17", &self.X17)
.field("X18", &self.X18)
.field("X19", &self.X19)
.field("X20", &self.X20)
.field("X21", &self.X21)
.field("X22", &self.X22)
.field("X23", &self.X23)
.field("X24", &self.X24)
.field("X25", &self.X25)
.field("X26", &self.X26)
.field("X27", &self.X27)
.field("X28", &self.X28)
.field("Fp", &self.Fp)
.field("Lr", &self.Lr)
.finish()
}
}
#[cfg(feature = "Win32_System_Diagnostics_Debug")]
impl ::windows_core::TypeKind for ARM64_NT_CONTEXT_0_0 {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_System_Diagnostics_Debug")]
impl ::core::cmp::PartialEq for ARM64_NT_CONTEXT_0_0 {
fn eq(&self, other: &Self) -> bool {
self.X0 == other.X0 && self.X1 == other.X1 && self.X2 == other.X2 && self.X3 == other.X3 && self.X4 == other.X4 && self.X5 == other.X5 && self.X6 == other.X6 && self.X7 == other.X7 && self.X8 == other.X8 && self.X9 == other.X9 && self.X10 == other.X10 && self.X11 == other.X11 && self.X12 == other.X12 && self.X13 == other.X13 && self.X14 == other.X14 && self.X15 == other.X15 && self.X16 == other.X16 && self.X17 == other.X17 && self.X18 == other.X18 && self.X19 == other.X19 && self.X20 == other.X20 && self.X21 == other.X21 && self.X22 == other.X22 && self.X23 == other.X23 && self.X24 == other.X24 && self.X25 == other.X25 && self.X26 == other.X26 && self.X27 == other.X27 && self.X28 == other.X28 && self.Fp == other.Fp && self.Lr == other.Lr
}
}
#[cfg(feature = "Win32_System_Diagnostics_Debug")]
impl ::core::cmp::Eq for ARM64_NT_CONTEXT_0_0 {}
#[cfg(feature = "Win32_System_Diagnostics_Debug")]
impl ::core::default::Default for ARM64_NT_CONTEXT_0_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub struct BDCB_IMAGE_INFORMATION {
pub Classification: BDCB_CLASSIFICATION,
pub ImageFlags: u32,
pub ImageName: super::super::super::Win32::Foundation::UNICODE_STRING,
pub RegistryPath: super::super::super::Win32::Foundation::UNICODE_STRING,
pub CertificatePublisher: super::super::super::Win32::Foundation::UNICODE_STRING,
pub CertificateIssuer: super::super::super::Win32::Foundation::UNICODE_STRING,
pub ImageHash: *mut ::core::ffi::c_void,
pub CertificateThumbprint: *mut ::core::ffi::c_void,
pub ImageHashAlgorithm: u32,
pub ThumbprintHashAlgorithm: u32,
pub ImageHashLength: u32,
pub CertificateThumbprintLength: u32,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for BDCB_IMAGE_INFORMATION {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for BDCB_IMAGE_INFORMATION {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::fmt::Debug for BDCB_IMAGE_INFORMATION {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("BDCB_IMAGE_INFORMATION")
.field("Classification", &self.Classification)
.field("ImageFlags", &self.ImageFlags)
.field("ImageName", &self.ImageName)
.field("RegistryPath", &self.RegistryPath)
.field("CertificatePublisher", &self.CertificatePublisher)
.field("CertificateIssuer", &self.CertificateIssuer)
.field("ImageHash", &self.ImageHash)
.field("CertificateThumbprint", &self.CertificateThumbprint)
.field("ImageHashAlgorithm", &self.ImageHashAlgorithm)
.field("ThumbprintHashAlgorithm", &self.ThumbprintHashAlgorithm)
.field("ImageHashLength", &self.ImageHashLength)
.field("CertificateThumbprintLength", &self.CertificateThumbprintLength)
.finish()
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for BDCB_IMAGE_INFORMATION {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::PartialEq for BDCB_IMAGE_INFORMATION {
fn eq(&self, other: &Self) -> bool {
self.Classification == other.Classification && self.ImageFlags == other.ImageFlags && self.ImageName == other.ImageName && self.RegistryPath == other.RegistryPath && self.CertificatePublisher == other.CertificatePublisher && self.CertificateIssuer == other.CertificateIssuer && self.ImageHash == other.ImageHash && self.CertificateThumbprint == other.CertificateThumbprint && self.ImageHashAlgorithm == other.ImageHashAlgorithm && self.ThumbprintHashAlgorithm == other.ThumbprintHashAlgorithm && self.ImageHashLength == other.ImageHashLength && self.CertificateThumbprintLength == other.CertificateThumbprintLength
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::Eq for BDCB_IMAGE_INFORMATION {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for BDCB_IMAGE_INFORMATION {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct BDCB_STATUS_UPDATE_CONTEXT {
pub StatusType: BDCB_STATUS_UPDATE_TYPE,
}
impl ::core::marker::Copy for BDCB_STATUS_UPDATE_CONTEXT {}
impl ::core::clone::Clone for BDCB_STATUS_UPDATE_CONTEXT {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for BDCB_STATUS_UPDATE_CONTEXT {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("BDCB_STATUS_UPDATE_CONTEXT").field("StatusType", &self.StatusType).finish()
}
}
impl ::windows_core::TypeKind for BDCB_STATUS_UPDATE_CONTEXT {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for BDCB_STATUS_UPDATE_CONTEXT {
fn eq(&self, other: &Self) -> bool {
self.StatusType == other.StatusType
}
}
impl ::core::cmp::Eq for BDCB_STATUS_UPDATE_CONTEXT {}
impl ::core::default::Default for BDCB_STATUS_UPDATE_CONTEXT {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct BOOTDISK_INFORMATION {
pub BootPartitionOffset: i64,
pub SystemPartitionOffset: i64,
pub BootDeviceSignature: u32,
pub SystemDeviceSignature: u32,
}
impl ::core::marker::Copy for BOOTDISK_INFORMATION {}
impl ::core::clone::Clone for BOOTDISK_INFORMATION {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for BOOTDISK_INFORMATION {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("BOOTDISK_INFORMATION").field("BootPartitionOffset", &self.BootPartitionOffset).field("SystemPartitionOffset", &self.SystemPartitionOffset).field("BootDeviceSignature", &self.BootDeviceSignature).field("SystemDeviceSignature", &self.SystemDeviceSignature).finish()
}
}
impl ::windows_core::TypeKind for BOOTDISK_INFORMATION {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for BOOTDISK_INFORMATION {
fn eq(&self, other: &Self) -> bool {
self.BootPartitionOffset == other.BootPartitionOffset && self.SystemPartitionOffset == other.SystemPartitionOffset && self.BootDeviceSignature == other.BootDeviceSignature && self.SystemDeviceSignature == other.SystemDeviceSignature
}
}
impl ::core::cmp::Eq for BOOTDISK_INFORMATION {}
impl ::core::default::Default for BOOTDISK_INFORMATION {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub struct BOOTDISK_INFORMATION_EX {
pub BootPartitionOffset: i64,
pub SystemPartitionOffset: i64,
pub BootDeviceSignature: u32,
pub SystemDeviceSignature: u32,
pub BootDeviceGuid: ::windows_core::GUID,
pub SystemDeviceGuid: ::windows_core::GUID,
pub BootDeviceIsGpt: super::super::super::Win32::Foundation::BOOLEAN,
pub SystemDeviceIsGpt: super::super::super::Win32::Foundation::BOOLEAN,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for BOOTDISK_INFORMATION_EX {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for BOOTDISK_INFORMATION_EX {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::fmt::Debug for BOOTDISK_INFORMATION_EX {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("BOOTDISK_INFORMATION_EX").field("BootPartitionOffset", &self.BootPartitionOffset).field("SystemPartitionOffset", &self.SystemPartitionOffset).field("BootDeviceSignature", &self.BootDeviceSignature).field("SystemDeviceSignature", &self.SystemDeviceSignature).field("BootDeviceGuid", &self.BootDeviceGuid).field("SystemDeviceGuid", &self.SystemDeviceGuid).field("BootDeviceIsGpt", &self.BootDeviceIsGpt).field("SystemDeviceIsGpt", &self.SystemDeviceIsGpt).finish()
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for BOOTDISK_INFORMATION_EX {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::PartialEq for BOOTDISK_INFORMATION_EX {
fn eq(&self, other: &Self) -> bool {
self.BootPartitionOffset == other.BootPartitionOffset && self.SystemPartitionOffset == other.SystemPartitionOffset && self.BootDeviceSignature == other.BootDeviceSignature && self.SystemDeviceSignature == other.SystemDeviceSignature && self.BootDeviceGuid == other.BootDeviceGuid && self.SystemDeviceGuid == other.SystemDeviceGuid && self.BootDeviceIsGpt == other.BootDeviceIsGpt && self.SystemDeviceIsGpt == other.SystemDeviceIsGpt
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::Eq for BOOTDISK_INFORMATION_EX {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for BOOTDISK_INFORMATION_EX {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct BOOTDISK_INFORMATION_LITE {
pub NumberEntries: u32,
pub Entries: [LOADER_PARTITION_INFORMATION_EX; 1],
}
impl ::core::marker::Copy for BOOTDISK_INFORMATION_LITE {}
impl ::core::clone::Clone for BOOTDISK_INFORMATION_LITE {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for BOOTDISK_INFORMATION_LITE {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for BOOTDISK_INFORMATION_LITE {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
pub struct BUS_INTERFACE_STANDARD {
pub Size: u16,
pub Version: u16,
pub Context: *mut ::core::ffi::c_void,
pub InterfaceReference: PINTERFACE_REFERENCE,
pub InterfaceDereference: PINTERFACE_DEREFERENCE,
pub TranslateBusAddress: PTRANSLATE_BUS_ADDRESS,
pub GetDmaAdapter: PGET_DMA_ADAPTER,
pub SetBusData: PGET_SET_DEVICE_DATA,
pub GetBusData: PGET_SET_DEVICE_DATA,
}
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
impl ::core::marker::Copy for BUS_INTERFACE_STANDARD {}
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
impl ::core::clone::Clone for BUS_INTERFACE_STANDARD {
fn clone(&self) -> Self {
*self
}
}
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
impl ::core::fmt::Debug for BUS_INTERFACE_STANDARD {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("BUS_INTERFACE_STANDARD").field("Size", &self.Size).field("Version", &self.Version).field("Context", &self.Context).finish()
}
}
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
impl ::windows_core::TypeKind for BUS_INTERFACE_STANDARD {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
impl ::core::default::Default for BUS_INTERFACE_STANDARD {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub struct BUS_RESOURCE_UPDATE_INTERFACE {
pub Size: u16,
pub Version: u16,
pub Context: *mut ::core::ffi::c_void,
pub InterfaceReference: PINTERFACE_REFERENCE,
pub InterfaceDereference: PINTERFACE_DEREFERENCE,
pub GetUpdatedBusResource: PGET_UPDATED_BUS_RESOURCE,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for BUS_RESOURCE_UPDATE_INTERFACE {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for BUS_RESOURCE_UPDATE_INTERFACE {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::fmt::Debug for BUS_RESOURCE_UPDATE_INTERFACE {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("BUS_RESOURCE_UPDATE_INTERFACE").field("Size", &self.Size).field("Version", &self.Version).field("Context", &self.Context).finish()
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for BUS_RESOURCE_UPDATE_INTERFACE {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for BUS_RESOURCE_UPDATE_INTERFACE {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub union BUS_SPECIFIC_RESET_FLAGS {
pub u: BUS_SPECIFIC_RESET_FLAGS_0,
pub AsUlonglong: u64,
}
impl ::core::marker::Copy for BUS_SPECIFIC_RESET_FLAGS {}
impl ::core::clone::Clone for BUS_SPECIFIC_RESET_FLAGS {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for BUS_SPECIFIC_RESET_FLAGS {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for BUS_SPECIFIC_RESET_FLAGS {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct BUS_SPECIFIC_RESET_FLAGS_0 {
pub _bitfield: u64,
}
impl ::core::marker::Copy for BUS_SPECIFIC_RESET_FLAGS_0 {}
impl ::core::clone::Clone for BUS_SPECIFIC_RESET_FLAGS_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for BUS_SPECIFIC_RESET_FLAGS_0 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("BUS_SPECIFIC_RESET_FLAGS_0").field("_bitfield", &self._bitfield).finish()
}
}
impl ::windows_core::TypeKind for BUS_SPECIFIC_RESET_FLAGS_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for BUS_SPECIFIC_RESET_FLAGS_0 {
fn eq(&self, other: &Self) -> bool {
self._bitfield == other._bitfield
}
}
impl ::core::cmp::Eq for BUS_SPECIFIC_RESET_FLAGS_0 {}
impl ::core::default::Default for BUS_SPECIFIC_RESET_FLAGS_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_Storage_FileSystem\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_Storage_FileSystem", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
pub struct CLFS_MGMT_CLIENT_REGISTRATION {
pub Version: u32,
pub AdvanceTailCallback: PCLFS_CLIENT_ADVANCE_TAIL_CALLBACK,
pub AdvanceTailCallbackData: *mut ::core::ffi::c_void,
pub LogGrowthCompleteCallback: PCLFS_CLIENT_LFF_HANDLER_COMPLETE_CALLBACK,
pub LogGrowthCompleteCallbackData: *mut ::core::ffi::c_void,
pub LogUnpinnedCallback: PCLFS_CLIENT_LOG_UNPINNED_CALLBACK,
pub LogUnpinnedCallbackData: *mut ::core::ffi::c_void,
}
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_Storage_FileSystem", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
impl ::core::marker::Copy for CLFS_MGMT_CLIENT_REGISTRATION {}
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_Storage_FileSystem", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
impl ::core::clone::Clone for CLFS_MGMT_CLIENT_REGISTRATION {
fn clone(&self) -> Self {
*self
}
}
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_Storage_FileSystem", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
impl ::core::fmt::Debug for CLFS_MGMT_CLIENT_REGISTRATION {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("CLFS_MGMT_CLIENT_REGISTRATION").field("Version", &self.Version).field("AdvanceTailCallbackData", &self.AdvanceTailCallbackData).field("LogGrowthCompleteCallbackData", &self.LogGrowthCompleteCallbackData).field("LogUnpinnedCallbackData", &self.LogUnpinnedCallbackData).finish()
}
}
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_Storage_FileSystem", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
impl ::windows_core::TypeKind for CLFS_MGMT_CLIENT_REGISTRATION {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_Storage_FileSystem", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
impl ::core::default::Default for CLFS_MGMT_CLIENT_REGISTRATION {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`*"]
#[cfg(feature = "Wdk_Foundation")]
pub struct CMC_DRIVER_INFO {
pub ExceptionCallback: PDRIVER_CMC_EXCEPTION_CALLBACK,
pub DpcCallback: super::super::Foundation::PKDEFERRED_ROUTINE,
pub DeviceContext: *mut ::core::ffi::c_void,
}
#[cfg(feature = "Wdk_Foundation")]
impl ::core::marker::Copy for CMC_DRIVER_INFO {}
#[cfg(feature = "Wdk_Foundation")]
impl ::core::clone::Clone for CMC_DRIVER_INFO {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Wdk_Foundation")]
impl ::core::fmt::Debug for CMC_DRIVER_INFO {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("CMC_DRIVER_INFO").field("DeviceContext", &self.DeviceContext).finish()
}
}
#[cfg(feature = "Wdk_Foundation")]
impl ::windows_core::TypeKind for CMC_DRIVER_INFO {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Wdk_Foundation")]
impl ::core::default::Default for CMC_DRIVER_INFO {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct CM_COMPONENT_INFORMATION {
pub Flags: DEVICE_FLAGS,
pub Version: u32,
pub Key: u32,
pub AffinityMask: usize,
}
impl ::core::marker::Copy for CM_COMPONENT_INFORMATION {}
impl ::core::clone::Clone for CM_COMPONENT_INFORMATION {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for CM_COMPONENT_INFORMATION {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("CM_COMPONENT_INFORMATION").field("Flags", &self.Flags).field("Version", &self.Version).field("Key", &self.Key).field("AffinityMask", &self.AffinityMask).finish()
}
}
impl ::windows_core::TypeKind for CM_COMPONENT_INFORMATION {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for CM_COMPONENT_INFORMATION {
fn eq(&self, other: &Self) -> bool {
self.Flags == other.Flags && self.Version == other.Version && self.Key == other.Key && self.AffinityMask == other.AffinityMask
}
}
impl ::core::cmp::Eq for CM_COMPONENT_INFORMATION {}
impl ::core::default::Default for CM_COMPONENT_INFORMATION {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct CM_DISK_GEOMETRY_DEVICE_DATA {
pub BytesPerSector: u32,
pub NumberOfCylinders: u32,
pub SectorsPerTrack: u32,
pub NumberOfHeads: u32,
}
impl ::core::marker::Copy for CM_DISK_GEOMETRY_DEVICE_DATA {}
impl ::core::clone::Clone for CM_DISK_GEOMETRY_DEVICE_DATA {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for CM_DISK_GEOMETRY_DEVICE_DATA {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("CM_DISK_GEOMETRY_DEVICE_DATA").field("BytesPerSector", &self.BytesPerSector).field("NumberOfCylinders", &self.NumberOfCylinders).field("SectorsPerTrack", &self.SectorsPerTrack).field("NumberOfHeads", &self.NumberOfHeads).finish()
}
}
impl ::windows_core::TypeKind for CM_DISK_GEOMETRY_DEVICE_DATA {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for CM_DISK_GEOMETRY_DEVICE_DATA {
fn eq(&self, other: &Self) -> bool {
self.BytesPerSector == other.BytesPerSector && self.NumberOfCylinders == other.NumberOfCylinders && self.SectorsPerTrack == other.SectorsPerTrack && self.NumberOfHeads == other.NumberOfHeads
}
}
impl ::core::cmp::Eq for CM_DISK_GEOMETRY_DEVICE_DATA {}
impl ::core::default::Default for CM_DISK_GEOMETRY_DEVICE_DATA {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(1))]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct CM_EISA_FUNCTION_INFORMATION {
pub CompressedId: u32,
pub IdSlotFlags1: u8,
pub IdSlotFlags2: u8,
pub MinorRevision: u8,
pub MajorRevision: u8,
pub Selections: [u8; 26],
pub FunctionFlags: u8,
pub TypeString: [u8; 80],
pub EisaMemory: [EISA_MEMORY_CONFIGURATION; 9],
pub EisaIrq: [EISA_IRQ_CONFIGURATION; 7],
pub EisaDma: [EISA_DMA_CONFIGURATION; 4],
pub EisaPort: [EISA_PORT_CONFIGURATION; 20],
pub InitializationData: [u8; 60],
}
impl ::core::marker::Copy for CM_EISA_FUNCTION_INFORMATION {}
impl ::core::clone::Clone for CM_EISA_FUNCTION_INFORMATION {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for CM_EISA_FUNCTION_INFORMATION {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for CM_EISA_FUNCTION_INFORMATION {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(1))]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct CM_EISA_SLOT_INFORMATION {
pub ReturnCode: u8,
pub ReturnFlags: u8,
pub MajorRevision: u8,
pub MinorRevision: u8,
pub Checksum: u16,
pub NumberFunctions: u8,
pub FunctionInformation: u8,
pub CompressedId: u32,
}
impl ::core::marker::Copy for CM_EISA_SLOT_INFORMATION {}
impl ::core::clone::Clone for CM_EISA_SLOT_INFORMATION {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for CM_EISA_SLOT_INFORMATION {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for CM_EISA_SLOT_INFORMATION {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct CM_FLOPPY_DEVICE_DATA {
pub Version: u16,
pub Revision: u16,
pub Size: [u8; 8],
pub MaxDensity: u32,
pub MountDensity: u32,
pub StepRateHeadUnloadTime: u8,
pub HeadLoadTime: u8,
pub MotorOffTime: u8,
pub SectorLengthCode: u8,
pub SectorPerTrack: u8,
pub ReadWriteGapLength: u8,
pub DataTransferLength: u8,
pub FormatGapLength: u8,
pub FormatFillCharacter: u8,
pub HeadSettleTime: u8,
pub MotorSettleTime: u8,
pub MaximumTrackValue: u8,
pub DataTransferRate: u8,
}
impl ::core::marker::Copy for CM_FLOPPY_DEVICE_DATA {}
impl ::core::clone::Clone for CM_FLOPPY_DEVICE_DATA {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for CM_FLOPPY_DEVICE_DATA {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("CM_FLOPPY_DEVICE_DATA")
.field("Version", &self.Version)
.field("Revision", &self.Revision)
.field("Size", &self.Size)
.field("MaxDensity", &self.MaxDensity)
.field("MountDensity", &self.MountDensity)
.field("StepRateHeadUnloadTime", &self.StepRateHeadUnloadTime)
.field("HeadLoadTime", &self.HeadLoadTime)
.field("MotorOffTime", &self.MotorOffTime)
.field("SectorLengthCode", &self.SectorLengthCode)
.field("SectorPerTrack", &self.SectorPerTrack)
.field("ReadWriteGapLength", &self.ReadWriteGapLength)
.field("DataTransferLength", &self.DataTransferLength)
.field("FormatGapLength", &self.FormatGapLength)
.field("FormatFillCharacter", &self.FormatFillCharacter)
.field("HeadSettleTime", &self.HeadSettleTime)
.field("MotorSettleTime", &self.MotorSettleTime)
.field("MaximumTrackValue", &self.MaximumTrackValue)
.field("DataTransferRate", &self.DataTransferRate)
.finish()
}
}
impl ::windows_core::TypeKind for CM_FLOPPY_DEVICE_DATA {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for CM_FLOPPY_DEVICE_DATA {
fn eq(&self, other: &Self) -> bool {
self.Version == other.Version
&& self.Revision == other.Revision
&& self.Size == other.Size
&& self.MaxDensity == other.MaxDensity
&& self.MountDensity == other.MountDensity
&& self.StepRateHeadUnloadTime == other.StepRateHeadUnloadTime
&& self.HeadLoadTime == other.HeadLoadTime
&& self.MotorOffTime == other.MotorOffTime
&& self.SectorLengthCode == other.SectorLengthCode
&& self.SectorPerTrack == other.SectorPerTrack
&& self.ReadWriteGapLength == other.ReadWriteGapLength
&& self.DataTransferLength == other.DataTransferLength
&& self.FormatGapLength == other.FormatGapLength
&& self.FormatFillCharacter == other.FormatFillCharacter
&& self.HeadSettleTime == other.HeadSettleTime
&& self.MotorSettleTime == other.MotorSettleTime
&& self.MaximumTrackValue == other.MaximumTrackValue
&& self.DataTransferRate == other.DataTransferRate
}
}
impl ::core::cmp::Eq for CM_FLOPPY_DEVICE_DATA {}
impl ::core::default::Default for CM_FLOPPY_DEVICE_DATA {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct CM_FULL_RESOURCE_DESCRIPTOR {
pub InterfaceType: INTERFACE_TYPE,
pub BusNumber: u32,
pub PartialResourceList: CM_PARTIAL_RESOURCE_LIST,
}
impl ::core::marker::Copy for CM_FULL_RESOURCE_DESCRIPTOR {}
impl ::core::clone::Clone for CM_FULL_RESOURCE_DESCRIPTOR {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for CM_FULL_RESOURCE_DESCRIPTOR {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for CM_FULL_RESOURCE_DESCRIPTOR {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(1))]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct CM_INT13_DRIVE_PARAMETER {
pub DriveSelect: u16,
pub MaxCylinders: u32,
pub SectorsPerTrack: u16,
pub MaxHeads: u16,
pub NumberDrives: u16,
}
impl ::core::marker::Copy for CM_INT13_DRIVE_PARAMETER {}
impl ::core::clone::Clone for CM_INT13_DRIVE_PARAMETER {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for CM_INT13_DRIVE_PARAMETER {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for CM_INT13_DRIVE_PARAMETER {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct CM_KEYBOARD_DEVICE_DATA {
pub Version: u16,
pub Revision: u16,
pub Type: u8,
pub Subtype: u8,
pub KeyboardFlags: u16,
}
impl ::core::marker::Copy for CM_KEYBOARD_DEVICE_DATA {}
impl ::core::clone::Clone for CM_KEYBOARD_DEVICE_DATA {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for CM_KEYBOARD_DEVICE_DATA {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("CM_KEYBOARD_DEVICE_DATA").field("Version", &self.Version).field("Revision", &self.Revision).field("Type", &self.Type).field("Subtype", &self.Subtype).field("KeyboardFlags", &self.KeyboardFlags).finish()
}
}
impl ::windows_core::TypeKind for CM_KEYBOARD_DEVICE_DATA {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for CM_KEYBOARD_DEVICE_DATA {
fn eq(&self, other: &Self) -> bool {
self.Version == other.Version && self.Revision == other.Revision && self.Type == other.Type && self.Subtype == other.Subtype && self.KeyboardFlags == other.KeyboardFlags
}
}
impl ::core::cmp::Eq for CM_KEYBOARD_DEVICE_DATA {}
impl ::core::default::Default for CM_KEYBOARD_DEVICE_DATA {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(1))]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct CM_MCA_POS_DATA {
pub AdapterId: u16,
pub PosData1: u8,
pub PosData2: u8,
pub PosData3: u8,
pub PosData4: u8,
}
impl ::core::marker::Copy for CM_MCA_POS_DATA {}
impl ::core::clone::Clone for CM_MCA_POS_DATA {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for CM_MCA_POS_DATA {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for CM_MCA_POS_DATA {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct CM_MONITOR_DEVICE_DATA {
pub Version: u16,
pub Revision: u16,
pub HorizontalScreenSize: u16,
pub VerticalScreenSize: u16,
pub HorizontalResolution: u16,
pub VerticalResolution: u16,
pub HorizontalDisplayTimeLow: u16,
pub HorizontalDisplayTime: u16,
pub HorizontalDisplayTimeHigh: u16,
pub HorizontalBackPorchLow: u16,
pub HorizontalBackPorch: u16,
pub HorizontalBackPorchHigh: u16,
pub HorizontalFrontPorchLow: u16,
pub HorizontalFrontPorch: u16,
pub HorizontalFrontPorchHigh: u16,
pub HorizontalSyncLow: u16,
pub HorizontalSync: u16,
pub HorizontalSyncHigh: u16,
pub VerticalBackPorchLow: u16,
pub VerticalBackPorch: u16,
pub VerticalBackPorchHigh: u16,
pub VerticalFrontPorchLow: u16,
pub VerticalFrontPorch: u16,
pub VerticalFrontPorchHigh: u16,
pub VerticalSyncLow: u16,
pub VerticalSync: u16,
pub VerticalSyncHigh: u16,
}
impl ::core::marker::Copy for CM_MONITOR_DEVICE_DATA {}
impl ::core::clone::Clone for CM_MONITOR_DEVICE_DATA {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for CM_MONITOR_DEVICE_DATA {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("CM_MONITOR_DEVICE_DATA")
.field("Version", &self.Version)
.field("Revision", &self.Revision)
.field("HorizontalScreenSize", &self.HorizontalScreenSize)
.field("VerticalScreenSize", &self.VerticalScreenSize)
.field("HorizontalResolution", &self.HorizontalResolution)
.field("VerticalResolution", &self.VerticalResolution)
.field("HorizontalDisplayTimeLow", &self.HorizontalDisplayTimeLow)
.field("HorizontalDisplayTime", &self.HorizontalDisplayTime)
.field("HorizontalDisplayTimeHigh", &self.HorizontalDisplayTimeHigh)
.field("HorizontalBackPorchLow", &self.HorizontalBackPorchLow)
.field("HorizontalBackPorch", &self.HorizontalBackPorch)
.field("HorizontalBackPorchHigh", &self.HorizontalBackPorchHigh)
.field("HorizontalFrontPorchLow", &self.HorizontalFrontPorchLow)
.field("HorizontalFrontPorch", &self.HorizontalFrontPorch)
.field("HorizontalFrontPorchHigh", &self.HorizontalFrontPorchHigh)
.field("HorizontalSyncLow", &self.HorizontalSyncLow)
.field("HorizontalSync", &self.HorizontalSync)
.field("HorizontalSyncHigh", &self.HorizontalSyncHigh)
.field("VerticalBackPorchLow", &self.VerticalBackPorchLow)
.field("VerticalBackPorch", &self.VerticalBackPorch)
.field("VerticalBackPorchHigh", &self.VerticalBackPorchHigh)
.field("VerticalFrontPorchLow", &self.VerticalFrontPorchLow)
.field("VerticalFrontPorch", &self.VerticalFrontPorch)
.field("VerticalFrontPorchHigh", &self.VerticalFrontPorchHigh)
.field("VerticalSyncLow", &self.VerticalSyncLow)
.field("VerticalSync", &self.VerticalSync)
.field("VerticalSyncHigh", &self.VerticalSyncHigh)
.finish()
}
}
impl ::windows_core::TypeKind for CM_MONITOR_DEVICE_DATA {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for CM_MONITOR_DEVICE_DATA {
fn eq(&self, other: &Self) -> bool {
self.Version == other.Version
&& self.Revision == other.Revision
&& self.HorizontalScreenSize == other.HorizontalScreenSize
&& self.VerticalScreenSize == other.VerticalScreenSize
&& self.HorizontalResolution == other.HorizontalResolution
&& self.VerticalResolution == other.VerticalResolution
&& self.HorizontalDisplayTimeLow == other.HorizontalDisplayTimeLow
&& self.HorizontalDisplayTime == other.HorizontalDisplayTime
&& self.HorizontalDisplayTimeHigh == other.HorizontalDisplayTimeHigh
&& self.HorizontalBackPorchLow == other.HorizontalBackPorchLow
&& self.HorizontalBackPorch == other.HorizontalBackPorch
&& self.HorizontalBackPorchHigh == other.HorizontalBackPorchHigh
&& self.HorizontalFrontPorchLow == other.HorizontalFrontPorchLow
&& self.HorizontalFrontPorch == other.HorizontalFrontPorch
&& self.HorizontalFrontPorchHigh == other.HorizontalFrontPorchHigh
&& self.HorizontalSyncLow == other.HorizontalSyncLow
&& self.HorizontalSync == other.HorizontalSync
&& self.HorizontalSyncHigh == other.HorizontalSyncHigh
&& self.VerticalBackPorchLow == other.VerticalBackPorchLow
&& self.VerticalBackPorch == other.VerticalBackPorch
&& self.VerticalBackPorchHigh == other.VerticalBackPorchHigh
&& self.VerticalFrontPorchLow == other.VerticalFrontPorchLow
&& self.VerticalFrontPorch == other.VerticalFrontPorch
&& self.VerticalFrontPorchHigh == other.VerticalFrontPorchHigh
&& self.VerticalSyncLow == other.VerticalSyncLow
&& self.VerticalSync == other.VerticalSync
&& self.VerticalSyncHigh == other.VerticalSyncHigh
}
}
impl ::core::cmp::Eq for CM_MONITOR_DEVICE_DATA {}
impl ::core::default::Default for CM_MONITOR_DEVICE_DATA {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct CM_PARTIAL_RESOURCE_DESCRIPTOR {
pub Type: u8,
pub ShareDisposition: u8,
pub Flags: u16,
pub u: CM_PARTIAL_RESOURCE_DESCRIPTOR_0,
}
impl ::core::marker::Copy for CM_PARTIAL_RESOURCE_DESCRIPTOR {}
impl ::core::clone::Clone for CM_PARTIAL_RESOURCE_DESCRIPTOR {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for CM_PARTIAL_RESOURCE_DESCRIPTOR {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for CM_PARTIAL_RESOURCE_DESCRIPTOR {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub union CM_PARTIAL_RESOURCE_DESCRIPTOR_0 {
pub Generic: CM_PARTIAL_RESOURCE_DESCRIPTOR_0_6,
pub Port: CM_PARTIAL_RESOURCE_DESCRIPTOR_0_13,
pub Interrupt: CM_PARTIAL_RESOURCE_DESCRIPTOR_0_7,
pub MessageInterrupt: CM_PARTIAL_RESOURCE_DESCRIPTOR_0_12,
pub Memory: CM_PARTIAL_RESOURCE_DESCRIPTOR_0_11,
pub Dma: CM_PARTIAL_RESOURCE_DESCRIPTOR_0_5,
pub DmaV3: CM_PARTIAL_RESOURCE_DESCRIPTOR_0_4,
pub DevicePrivate: CM_PARTIAL_RESOURCE_DESCRIPTOR_0_2,
pub BusNumber: CM_PARTIAL_RESOURCE_DESCRIPTOR_0_0,
pub DeviceSpecificData: CM_PARTIAL_RESOURCE_DESCRIPTOR_0_3,
pub Memory40: CM_PARTIAL_RESOURCE_DESCRIPTOR_0_8,
pub Memory48: CM_PARTIAL_RESOURCE_DESCRIPTOR_0_9,
pub Memory64: CM_PARTIAL_RESOURCE_DESCRIPTOR_0_10,
pub Connection: CM_PARTIAL_RESOURCE_DESCRIPTOR_0_1,
}
impl ::core::marker::Copy for CM_PARTIAL_RESOURCE_DESCRIPTOR_0 {}
impl ::core::clone::Clone for CM_PARTIAL_RESOURCE_DESCRIPTOR_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for CM_PARTIAL_RESOURCE_DESCRIPTOR_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for CM_PARTIAL_RESOURCE_DESCRIPTOR_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct CM_PARTIAL_RESOURCE_DESCRIPTOR_0_0 {
pub Start: u32,
pub Length: u32,
pub Reserved: u32,
}
impl ::core::marker::Copy for CM_PARTIAL_RESOURCE_DESCRIPTOR_0_0 {}
impl ::core::clone::Clone for CM_PARTIAL_RESOURCE_DESCRIPTOR_0_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for CM_PARTIAL_RESOURCE_DESCRIPTOR_0_0 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("CM_PARTIAL_RESOURCE_DESCRIPTOR_0_0").field("Start", &self.Start).field("Length", &self.Length).field("Reserved", &self.Reserved).finish()
}
}
impl ::windows_core::TypeKind for CM_PARTIAL_RESOURCE_DESCRIPTOR_0_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for CM_PARTIAL_RESOURCE_DESCRIPTOR_0_0 {
fn eq(&self, other: &Self) -> bool {
self.Start == other.Start && self.Length == other.Length && self.Reserved == other.Reserved
}
}
impl ::core::cmp::Eq for CM_PARTIAL_RESOURCE_DESCRIPTOR_0_0 {}
impl ::core::default::Default for CM_PARTIAL_RESOURCE_DESCRIPTOR_0_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct CM_PARTIAL_RESOURCE_DESCRIPTOR_0_1 {
pub Class: u8,
pub Type: u8,
pub Reserved1: u8,
pub Reserved2: u8,
pub IdLowPart: u32,
pub IdHighPart: u32,
}
impl ::core::marker::Copy for CM_PARTIAL_RESOURCE_DESCRIPTOR_0_1 {}
impl ::core::clone::Clone for CM_PARTIAL_RESOURCE_DESCRIPTOR_0_1 {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for CM_PARTIAL_RESOURCE_DESCRIPTOR_0_1 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("CM_PARTIAL_RESOURCE_DESCRIPTOR_0_1").field("Class", &self.Class).field("Type", &self.Type).field("Reserved1", &self.Reserved1).field("Reserved2", &self.Reserved2).field("IdLowPart", &self.IdLowPart).field("IdHighPart", &self.IdHighPart).finish()
}
}
impl ::windows_core::TypeKind for CM_PARTIAL_RESOURCE_DESCRIPTOR_0_1 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for CM_PARTIAL_RESOURCE_DESCRIPTOR_0_1 {
fn eq(&self, other: &Self) -> bool {
self.Class == other.Class && self.Type == other.Type && self.Reserved1 == other.Reserved1 && self.Reserved2 == other.Reserved2 && self.IdLowPart == other.IdLowPart && self.IdHighPart == other.IdHighPart
}
}
impl ::core::cmp::Eq for CM_PARTIAL_RESOURCE_DESCRIPTOR_0_1 {}
impl ::core::default::Default for CM_PARTIAL_RESOURCE_DESCRIPTOR_0_1 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct CM_PARTIAL_RESOURCE_DESCRIPTOR_0_2 {
pub Data: [u32; 3],
}
impl ::core::marker::Copy for CM_PARTIAL_RESOURCE_DESCRIPTOR_0_2 {}
impl ::core::clone::Clone for CM_PARTIAL_RESOURCE_DESCRIPTOR_0_2 {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for CM_PARTIAL_RESOURCE_DESCRIPTOR_0_2 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("CM_PARTIAL_RESOURCE_DESCRIPTOR_0_2").field("Data", &self.Data).finish()
}
}
impl ::windows_core::TypeKind for CM_PARTIAL_RESOURCE_DESCRIPTOR_0_2 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for CM_PARTIAL_RESOURCE_DESCRIPTOR_0_2 {
fn eq(&self, other: &Self) -> bool {
self.Data == other.Data
}
}
impl ::core::cmp::Eq for CM_PARTIAL_RESOURCE_DESCRIPTOR_0_2 {}
impl ::core::default::Default for CM_PARTIAL_RESOURCE_DESCRIPTOR_0_2 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct CM_PARTIAL_RESOURCE_DESCRIPTOR_0_3 {
pub DataSize: u32,
pub Reserved1: u32,
pub Reserved2: u32,
}
impl ::core::marker::Copy for CM_PARTIAL_RESOURCE_DESCRIPTOR_0_3 {}
impl ::core::clone::Clone for CM_PARTIAL_RESOURCE_DESCRIPTOR_0_3 {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for CM_PARTIAL_RESOURCE_DESCRIPTOR_0_3 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("CM_PARTIAL_RESOURCE_DESCRIPTOR_0_3").field("DataSize", &self.DataSize).field("Reserved1", &self.Reserved1).field("Reserved2", &self.Reserved2).finish()
}
}
impl ::windows_core::TypeKind for CM_PARTIAL_RESOURCE_DESCRIPTOR_0_3 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for CM_PARTIAL_RESOURCE_DESCRIPTOR_0_3 {
fn eq(&self, other: &Self) -> bool {
self.DataSize == other.DataSize && self.Reserved1 == other.Reserved1 && self.Reserved2 == other.Reserved2
}
}
impl ::core::cmp::Eq for CM_PARTIAL_RESOURCE_DESCRIPTOR_0_3 {}
impl ::core::default::Default for CM_PARTIAL_RESOURCE_DESCRIPTOR_0_3 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct CM_PARTIAL_RESOURCE_DESCRIPTOR_0_4 {
pub Channel: u32,
pub RequestLine: u32,
pub TransferWidth: u8,
pub Reserved1: u8,
pub Reserved2: u8,
pub Reserved3: u8,
}
impl ::core::marker::Copy for CM_PARTIAL_RESOURCE_DESCRIPTOR_0_4 {}
impl ::core::clone::Clone for CM_PARTIAL_RESOURCE_DESCRIPTOR_0_4 {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for CM_PARTIAL_RESOURCE_DESCRIPTOR_0_4 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("CM_PARTIAL_RESOURCE_DESCRIPTOR_0_4").field("Channel", &self.Channel).field("RequestLine", &self.RequestLine).field("TransferWidth", &self.TransferWidth).field("Reserved1", &self.Reserved1).field("Reserved2", &self.Reserved2).field("Reserved3", &self.Reserved3).finish()
}
}
impl ::windows_core::TypeKind for CM_PARTIAL_RESOURCE_DESCRIPTOR_0_4 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for CM_PARTIAL_RESOURCE_DESCRIPTOR_0_4 {
fn eq(&self, other: &Self) -> bool {
self.Channel == other.Channel && self.RequestLine == other.RequestLine && self.TransferWidth == other.TransferWidth && self.Reserved1 == other.Reserved1 && self.Reserved2 == other.Reserved2 && self.Reserved3 == other.Reserved3
}
}
impl ::core::cmp::Eq for CM_PARTIAL_RESOURCE_DESCRIPTOR_0_4 {}
impl ::core::default::Default for CM_PARTIAL_RESOURCE_DESCRIPTOR_0_4 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct CM_PARTIAL_RESOURCE_DESCRIPTOR_0_5 {
pub Channel: u32,
pub Port: u32,
pub Reserved1: u32,
}
impl ::core::marker::Copy for CM_PARTIAL_RESOURCE_DESCRIPTOR_0_5 {}
impl ::core::clone::Clone for CM_PARTIAL_RESOURCE_DESCRIPTOR_0_5 {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for CM_PARTIAL_RESOURCE_DESCRIPTOR_0_5 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("CM_PARTIAL_RESOURCE_DESCRIPTOR_0_5").field("Channel", &self.Channel).field("Port", &self.Port).field("Reserved1", &self.Reserved1).finish()
}
}
impl ::windows_core::TypeKind for CM_PARTIAL_RESOURCE_DESCRIPTOR_0_5 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for CM_PARTIAL_RESOURCE_DESCRIPTOR_0_5 {
fn eq(&self, other: &Self) -> bool {
self.Channel == other.Channel && self.Port == other.Port && self.Reserved1 == other.Reserved1
}
}
impl ::core::cmp::Eq for CM_PARTIAL_RESOURCE_DESCRIPTOR_0_5 {}
impl ::core::default::Default for CM_PARTIAL_RESOURCE_DESCRIPTOR_0_5 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(4))]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct CM_PARTIAL_RESOURCE_DESCRIPTOR_0_6 {
pub Start: i64,
pub Length: u32,
}
impl ::core::marker::Copy for CM_PARTIAL_RESOURCE_DESCRIPTOR_0_6 {}
impl ::core::clone::Clone for CM_PARTIAL_RESOURCE_DESCRIPTOR_0_6 {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for CM_PARTIAL_RESOURCE_DESCRIPTOR_0_6 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for CM_PARTIAL_RESOURCE_DESCRIPTOR_0_6 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct CM_PARTIAL_RESOURCE_DESCRIPTOR_0_7 {
pub Level: u32,
pub Vector: u32,
pub Affinity: usize,
}
impl ::core::marker::Copy for CM_PARTIAL_RESOURCE_DESCRIPTOR_0_7 {}
impl ::core::clone::Clone for CM_PARTIAL_RESOURCE_DESCRIPTOR_0_7 {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for CM_PARTIAL_RESOURCE_DESCRIPTOR_0_7 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("CM_PARTIAL_RESOURCE_DESCRIPTOR_0_7").field("Level", &self.Level).field("Vector", &self.Vector).field("Affinity", &self.Affinity).finish()
}
}
impl ::windows_core::TypeKind for CM_PARTIAL_RESOURCE_DESCRIPTOR_0_7 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for CM_PARTIAL_RESOURCE_DESCRIPTOR_0_7 {
fn eq(&self, other: &Self) -> bool {
self.Level == other.Level && self.Vector == other.Vector && self.Affinity == other.Affinity
}
}
impl ::core::cmp::Eq for CM_PARTIAL_RESOURCE_DESCRIPTOR_0_7 {}
impl ::core::default::Default for CM_PARTIAL_RESOURCE_DESCRIPTOR_0_7 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(4))]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct CM_PARTIAL_RESOURCE_DESCRIPTOR_0_8 {
pub Start: i64,
pub Length40: u32,
}
impl ::core::marker::Copy for CM_PARTIAL_RESOURCE_DESCRIPTOR_0_8 {}
impl ::core::clone::Clone for CM_PARTIAL_RESOURCE_DESCRIPTOR_0_8 {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for CM_PARTIAL_RESOURCE_DESCRIPTOR_0_8 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for CM_PARTIAL_RESOURCE_DESCRIPTOR_0_8 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(4))]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct CM_PARTIAL_RESOURCE_DESCRIPTOR_0_9 {
pub Start: i64,
pub Length48: u32,
}
impl ::core::marker::Copy for CM_PARTIAL_RESOURCE_DESCRIPTOR_0_9 {}
impl ::core::clone::Clone for CM_PARTIAL_RESOURCE_DESCRIPTOR_0_9 {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for CM_PARTIAL_RESOURCE_DESCRIPTOR_0_9 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for CM_PARTIAL_RESOURCE_DESCRIPTOR_0_9 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(4))]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct CM_PARTIAL_RESOURCE_DESCRIPTOR_0_10 {
pub Start: i64,
pub Length64: u32,
}
impl ::core::marker::Copy for CM_PARTIAL_RESOURCE_DESCRIPTOR_0_10 {}
impl ::core::clone::Clone for CM_PARTIAL_RESOURCE_DESCRIPTOR_0_10 {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for CM_PARTIAL_RESOURCE_DESCRIPTOR_0_10 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for CM_PARTIAL_RESOURCE_DESCRIPTOR_0_10 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(4))]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct CM_PARTIAL_RESOURCE_DESCRIPTOR_0_11 {
pub Start: i64,
pub Length: u32,
}
impl ::core::marker::Copy for CM_PARTIAL_RESOURCE_DESCRIPTOR_0_11 {}
impl ::core::clone::Clone for CM_PARTIAL_RESOURCE_DESCRIPTOR_0_11 {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for CM_PARTIAL_RESOURCE_DESCRIPTOR_0_11 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for CM_PARTIAL_RESOURCE_DESCRIPTOR_0_11 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct CM_PARTIAL_RESOURCE_DESCRIPTOR_0_12 {
pub Anonymous: CM_PARTIAL_RESOURCE_DESCRIPTOR_0_12_0,
}
impl ::core::marker::Copy for CM_PARTIAL_RESOURCE_DESCRIPTOR_0_12 {}
impl ::core::clone::Clone for CM_PARTIAL_RESOURCE_DESCRIPTOR_0_12 {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for CM_PARTIAL_RESOURCE_DESCRIPTOR_0_12 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for CM_PARTIAL_RESOURCE_DESCRIPTOR_0_12 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub union CM_PARTIAL_RESOURCE_DESCRIPTOR_0_12_0 {
pub Raw: CM_PARTIAL_RESOURCE_DESCRIPTOR_0_12_0_0,
pub Translated: CM_PARTIAL_RESOURCE_DESCRIPTOR_0_12_0_1,
}
impl ::core::marker::Copy for CM_PARTIAL_RESOURCE_DESCRIPTOR_0_12_0 {}
impl ::core::clone::Clone for CM_PARTIAL_RESOURCE_DESCRIPTOR_0_12_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for CM_PARTIAL_RESOURCE_DESCRIPTOR_0_12_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for CM_PARTIAL_RESOURCE_DESCRIPTOR_0_12_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct CM_PARTIAL_RESOURCE_DESCRIPTOR_0_12_0_0 {
pub Reserved: u16,
pub MessageCount: u16,
pub Vector: u32,
pub Affinity: usize,
}
impl ::core::marker::Copy for CM_PARTIAL_RESOURCE_DESCRIPTOR_0_12_0_0 {}
impl ::core::clone::Clone for CM_PARTIAL_RESOURCE_DESCRIPTOR_0_12_0_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for CM_PARTIAL_RESOURCE_DESCRIPTOR_0_12_0_0 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("CM_PARTIAL_RESOURCE_DESCRIPTOR_0_12_0_0").field("Reserved", &self.Reserved).field("MessageCount", &self.MessageCount).field("Vector", &self.Vector).field("Affinity", &self.Affinity).finish()
}
}
impl ::windows_core::TypeKind for CM_PARTIAL_RESOURCE_DESCRIPTOR_0_12_0_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for CM_PARTIAL_RESOURCE_DESCRIPTOR_0_12_0_0 {
fn eq(&self, other: &Self) -> bool {
self.Reserved == other.Reserved && self.MessageCount == other.MessageCount && self.Vector == other.Vector && self.Affinity == other.Affinity
}
}
impl ::core::cmp::Eq for CM_PARTIAL_RESOURCE_DESCRIPTOR_0_12_0_0 {}
impl ::core::default::Default for CM_PARTIAL_RESOURCE_DESCRIPTOR_0_12_0_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct CM_PARTIAL_RESOURCE_DESCRIPTOR_0_12_0_1 {
pub Level: u32,
pub Vector: u32,
pub Affinity: usize,
}
impl ::core::marker::Copy for CM_PARTIAL_RESOURCE_DESCRIPTOR_0_12_0_1 {}
impl ::core::clone::Clone for CM_PARTIAL_RESOURCE_DESCRIPTOR_0_12_0_1 {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for CM_PARTIAL_RESOURCE_DESCRIPTOR_0_12_0_1 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("CM_PARTIAL_RESOURCE_DESCRIPTOR_0_12_0_1").field("Level", &self.Level).field("Vector", &self.Vector).field("Affinity", &self.Affinity).finish()
}
}
impl ::windows_core::TypeKind for CM_PARTIAL_RESOURCE_DESCRIPTOR_0_12_0_1 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for CM_PARTIAL_RESOURCE_DESCRIPTOR_0_12_0_1 {
fn eq(&self, other: &Self) -> bool {
self.Level == other.Level && self.Vector == other.Vector && self.Affinity == other.Affinity
}
}
impl ::core::cmp::Eq for CM_PARTIAL_RESOURCE_DESCRIPTOR_0_12_0_1 {}
impl ::core::default::Default for CM_PARTIAL_RESOURCE_DESCRIPTOR_0_12_0_1 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(4))]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct CM_PARTIAL_RESOURCE_DESCRIPTOR_0_13 {
pub Start: i64,
pub Length: u32,
}
impl ::core::marker::Copy for CM_PARTIAL_RESOURCE_DESCRIPTOR_0_13 {}
impl ::core::clone::Clone for CM_PARTIAL_RESOURCE_DESCRIPTOR_0_13 {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for CM_PARTIAL_RESOURCE_DESCRIPTOR_0_13 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for CM_PARTIAL_RESOURCE_DESCRIPTOR_0_13 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct CM_PARTIAL_RESOURCE_LIST {
pub Version: u16,
pub Revision: u16,
pub Count: u32,
pub PartialDescriptors: [CM_PARTIAL_RESOURCE_DESCRIPTOR; 1],
}
impl ::core::marker::Copy for CM_PARTIAL_RESOURCE_LIST {}
impl ::core::clone::Clone for CM_PARTIAL_RESOURCE_LIST {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for CM_PARTIAL_RESOURCE_LIST {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for CM_PARTIAL_RESOURCE_LIST {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct CM_PCCARD_DEVICE_DATA {
pub Flags: u8,
pub ErrorCode: u8,
pub Reserved: u16,
pub BusData: u32,
pub DeviceId: u32,
pub LegacyBaseAddress: u32,
pub IRQMap: [u8; 16],
}
impl ::core::marker::Copy for CM_PCCARD_DEVICE_DATA {}
impl ::core::clone::Clone for CM_PCCARD_DEVICE_DATA {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for CM_PCCARD_DEVICE_DATA {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("CM_PCCARD_DEVICE_DATA").field("Flags", &self.Flags).field("ErrorCode", &self.ErrorCode).field("Reserved", &self.Reserved).field("BusData", &self.BusData).field("DeviceId", &self.DeviceId).field("LegacyBaseAddress", &self.LegacyBaseAddress).field("IRQMap", &self.IRQMap).finish()
}
}
impl ::windows_core::TypeKind for CM_PCCARD_DEVICE_DATA {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for CM_PCCARD_DEVICE_DATA {
fn eq(&self, other: &Self) -> bool {
self.Flags == other.Flags && self.ErrorCode == other.ErrorCode && self.Reserved == other.Reserved && self.BusData == other.BusData && self.DeviceId == other.DeviceId && self.LegacyBaseAddress == other.LegacyBaseAddress && self.IRQMap == other.IRQMap
}
}
impl ::core::cmp::Eq for CM_PCCARD_DEVICE_DATA {}
impl ::core::default::Default for CM_PCCARD_DEVICE_DATA {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(1))]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct CM_PNP_BIOS_DEVICE_NODE {
pub Size: u16,
pub Node: u8,
pub ProductId: u32,
pub DeviceType: [u8; 3],
pub DeviceAttributes: u16,
}
impl ::core::marker::Copy for CM_PNP_BIOS_DEVICE_NODE {}
impl ::core::clone::Clone for CM_PNP_BIOS_DEVICE_NODE {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for CM_PNP_BIOS_DEVICE_NODE {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for CM_PNP_BIOS_DEVICE_NODE {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(1))]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct CM_PNP_BIOS_INSTALLATION_CHECK {
pub Signature: [u8; 4],
pub Revision: u8,
pub Length: u8,
pub ControlField: u16,
pub Checksum: u8,
pub EventFlagAddress: u32,
pub RealModeEntryOffset: u16,
pub RealModeEntrySegment: u16,
pub ProtectedModeEntryOffset: u16,
pub ProtectedModeCodeBaseAddress: u32,
pub OemDeviceId: u32,
pub RealModeDataBaseAddress: u16,
pub ProtectedModeDataBaseAddress: u32,
}
impl ::core::marker::Copy for CM_PNP_BIOS_INSTALLATION_CHECK {}
impl ::core::clone::Clone for CM_PNP_BIOS_INSTALLATION_CHECK {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for CM_PNP_BIOS_INSTALLATION_CHECK {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for CM_PNP_BIOS_INSTALLATION_CHECK {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_System_Power\"`*"]
#[cfg(feature = "Win32_System_Power")]
pub struct CM_POWER_DATA {
pub PD_Size: u32,
pub PD_MostRecentPowerState: super::super::super::Win32::System::Power::DEVICE_POWER_STATE,
pub PD_Capabilities: u32,
pub PD_D1Latency: u32,
pub PD_D2Latency: u32,
pub PD_D3Latency: u32,
pub PD_PowerStateMapping: [super::super::super::Win32::System::Power::DEVICE_POWER_STATE; 7],
pub PD_DeepestSystemWake: super::super::super::Win32::System::Power::SYSTEM_POWER_STATE,
}
#[cfg(feature = "Win32_System_Power")]
impl ::core::marker::Copy for CM_POWER_DATA {}
#[cfg(feature = "Win32_System_Power")]
impl ::core::clone::Clone for CM_POWER_DATA {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_System_Power")]
impl ::core::fmt::Debug for CM_POWER_DATA {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("CM_POWER_DATA").field("PD_Size", &self.PD_Size).field("PD_MostRecentPowerState", &self.PD_MostRecentPowerState).field("PD_Capabilities", &self.PD_Capabilities).field("PD_D1Latency", &self.PD_D1Latency).field("PD_D2Latency", &self.PD_D2Latency).field("PD_D3Latency", &self.PD_D3Latency).field("PD_PowerStateMapping", &self.PD_PowerStateMapping).field("PD_DeepestSystemWake", &self.PD_DeepestSystemWake).finish()
}
}
#[cfg(feature = "Win32_System_Power")]
impl ::windows_core::TypeKind for CM_POWER_DATA {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_System_Power")]
impl ::core::cmp::PartialEq for CM_POWER_DATA {
fn eq(&self, other: &Self) -> bool {
self.PD_Size == other.PD_Size && self.PD_MostRecentPowerState == other.PD_MostRecentPowerState && self.PD_Capabilities == other.PD_Capabilities && self.PD_D1Latency == other.PD_D1Latency && self.PD_D2Latency == other.PD_D2Latency && self.PD_D3Latency == other.PD_D3Latency && self.PD_PowerStateMapping == other.PD_PowerStateMapping && self.PD_DeepestSystemWake == other.PD_DeepestSystemWake
}
}
#[cfg(feature = "Win32_System_Power")]
impl ::core::cmp::Eq for CM_POWER_DATA {}
#[cfg(feature = "Win32_System_Power")]
impl ::core::default::Default for CM_POWER_DATA {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct CM_RESOURCE_LIST {
pub Count: u32,
pub List: [CM_FULL_RESOURCE_DESCRIPTOR; 1],
}
impl ::core::marker::Copy for CM_RESOURCE_LIST {}
impl ::core::clone::Clone for CM_RESOURCE_LIST {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for CM_RESOURCE_LIST {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for CM_RESOURCE_LIST {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct CM_ROM_BLOCK {
pub Address: u32,
pub Size: u32,
}
impl ::core::marker::Copy for CM_ROM_BLOCK {}
impl ::core::clone::Clone for CM_ROM_BLOCK {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for CM_ROM_BLOCK {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("CM_ROM_BLOCK").field("Address", &self.Address).field("Size", &self.Size).finish()
}
}
impl ::windows_core::TypeKind for CM_ROM_BLOCK {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for CM_ROM_BLOCK {
fn eq(&self, other: &Self) -> bool {
self.Address == other.Address && self.Size == other.Size
}
}
impl ::core::cmp::Eq for CM_ROM_BLOCK {}
impl ::core::default::Default for CM_ROM_BLOCK {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct CM_SCSI_DEVICE_DATA {
pub Version: u16,
pub Revision: u16,
pub HostIdentifier: u8,
}
impl ::core::marker::Copy for CM_SCSI_DEVICE_DATA {}
impl ::core::clone::Clone for CM_SCSI_DEVICE_DATA {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for CM_SCSI_DEVICE_DATA {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("CM_SCSI_DEVICE_DATA").field("Version", &self.Version).field("Revision", &self.Revision).field("HostIdentifier", &self.HostIdentifier).finish()
}
}
impl ::windows_core::TypeKind for CM_SCSI_DEVICE_DATA {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for CM_SCSI_DEVICE_DATA {
fn eq(&self, other: &Self) -> bool {
self.Version == other.Version && self.Revision == other.Revision && self.HostIdentifier == other.HostIdentifier
}
}
impl ::core::cmp::Eq for CM_SCSI_DEVICE_DATA {}
impl ::core::default::Default for CM_SCSI_DEVICE_DATA {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct CM_SERIAL_DEVICE_DATA {
pub Version: u16,
pub Revision: u16,
pub BaudClock: u32,
}
impl ::core::marker::Copy for CM_SERIAL_DEVICE_DATA {}
impl ::core::clone::Clone for CM_SERIAL_DEVICE_DATA {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for CM_SERIAL_DEVICE_DATA {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("CM_SERIAL_DEVICE_DATA").field("Version", &self.Version).field("Revision", &self.Revision).field("BaudClock", &self.BaudClock).finish()
}
}
impl ::windows_core::TypeKind for CM_SERIAL_DEVICE_DATA {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for CM_SERIAL_DEVICE_DATA {
fn eq(&self, other: &Self) -> bool {
self.Version == other.Version && self.Revision == other.Revision && self.BaudClock == other.BaudClock
}
}
impl ::core::cmp::Eq for CM_SERIAL_DEVICE_DATA {}
impl ::core::default::Default for CM_SERIAL_DEVICE_DATA {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct CM_SONIC_DEVICE_DATA {
pub Version: u16,
pub Revision: u16,
pub DataConfigurationRegister: u16,
pub EthernetAddress: [u8; 8],
}
impl ::core::marker::Copy for CM_SONIC_DEVICE_DATA {}
impl ::core::clone::Clone for CM_SONIC_DEVICE_DATA {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for CM_SONIC_DEVICE_DATA {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("CM_SONIC_DEVICE_DATA").field("Version", &self.Version).field("Revision", &self.Revision).field("DataConfigurationRegister", &self.DataConfigurationRegister).field("EthernetAddress", &self.EthernetAddress).finish()
}
}
impl ::windows_core::TypeKind for CM_SONIC_DEVICE_DATA {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for CM_SONIC_DEVICE_DATA {
fn eq(&self, other: &Self) -> bool {
self.Version == other.Version && self.Revision == other.Revision && self.DataConfigurationRegister == other.DataConfigurationRegister && self.EthernetAddress == other.EthernetAddress
}
}
impl ::core::cmp::Eq for CM_SONIC_DEVICE_DATA {}
impl ::core::default::Default for CM_SONIC_DEVICE_DATA {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct CM_VIDEO_DEVICE_DATA {
pub Version: u16,
pub Revision: u16,
pub VideoClock: u32,
}
impl ::core::marker::Copy for CM_VIDEO_DEVICE_DATA {}
impl ::core::clone::Clone for CM_VIDEO_DEVICE_DATA {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for CM_VIDEO_DEVICE_DATA {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("CM_VIDEO_DEVICE_DATA").field("Version", &self.Version).field("Revision", &self.Revision).field("VideoClock", &self.VideoClock).finish()
}
}
impl ::windows_core::TypeKind for CM_VIDEO_DEVICE_DATA {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for CM_VIDEO_DEVICE_DATA {
fn eq(&self, other: &Self) -> bool {
self.Version == other.Version && self.Revision == other.Revision && self.VideoClock == other.VideoClock
}
}
impl ::core::cmp::Eq for CM_VIDEO_DEVICE_DATA {}
impl ::core::default::Default for CM_VIDEO_DEVICE_DATA {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub struct CONFIGURATION_INFORMATION {
pub DiskCount: u32,
pub FloppyCount: u32,
pub CdRomCount: u32,
pub TapeCount: u32,
pub ScsiPortCount: u32,
pub SerialCount: u32,
pub ParallelCount: u32,
pub AtDiskPrimaryAddressClaimed: super::super::super::Win32::Foundation::BOOLEAN,
pub AtDiskSecondaryAddressClaimed: super::super::super::Win32::Foundation::BOOLEAN,
pub Version: u32,
pub MediumChangerCount: u32,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for CONFIGURATION_INFORMATION {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for CONFIGURATION_INFORMATION {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::fmt::Debug for CONFIGURATION_INFORMATION {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("CONFIGURATION_INFORMATION")
.field("DiskCount", &self.DiskCount)
.field("FloppyCount", &self.FloppyCount)
.field("CdRomCount", &self.CdRomCount)
.field("TapeCount", &self.TapeCount)
.field("ScsiPortCount", &self.ScsiPortCount)
.field("SerialCount", &self.SerialCount)
.field("ParallelCount", &self.ParallelCount)
.field("AtDiskPrimaryAddressClaimed", &self.AtDiskPrimaryAddressClaimed)
.field("AtDiskSecondaryAddressClaimed", &self.AtDiskSecondaryAddressClaimed)
.field("Version", &self.Version)
.field("MediumChangerCount", &self.MediumChangerCount)
.finish()
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for CONFIGURATION_INFORMATION {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::PartialEq for CONFIGURATION_INFORMATION {
fn eq(&self, other: &Self) -> bool {
self.DiskCount == other.DiskCount && self.FloppyCount == other.FloppyCount && self.CdRomCount == other.CdRomCount && self.TapeCount == other.TapeCount && self.ScsiPortCount == other.ScsiPortCount && self.SerialCount == other.SerialCount && self.ParallelCount == other.ParallelCount && self.AtDiskPrimaryAddressClaimed == other.AtDiskPrimaryAddressClaimed && self.AtDiskSecondaryAddressClaimed == other.AtDiskSecondaryAddressClaimed && self.Version == other.Version && self.MediumChangerCount == other.MediumChangerCount
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::Eq for CONFIGURATION_INFORMATION {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for CONFIGURATION_INFORMATION {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
pub struct CONTROLLER_OBJECT {
pub Type: i16,
pub Size: i16,
pub ControllerExtension: *mut ::core::ffi::c_void,
pub DeviceWaitQueue: super::super::Foundation::KDEVICE_QUEUE,
pub Spare1: u32,
pub Spare2: i64,
}
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
impl ::core::marker::Copy for CONTROLLER_OBJECT {}
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
impl ::core::clone::Clone for CONTROLLER_OBJECT {
fn clone(&self) -> Self {
*self
}
}
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
impl ::core::fmt::Debug for CONTROLLER_OBJECT {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("CONTROLLER_OBJECT").field("Type", &self.Type).field("Size", &self.Size).field("ControllerExtension", &self.ControllerExtension).field("DeviceWaitQueue", &self.DeviceWaitQueue).field("Spare1", &self.Spare1).field("Spare2", &self.Spare2).finish()
}
}
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
impl ::windows_core::TypeKind for CONTROLLER_OBJECT {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
impl ::core::cmp::PartialEq for CONTROLLER_OBJECT {
fn eq(&self, other: &Self) -> bool {
self.Type == other.Type && self.Size == other.Size && self.ControllerExtension == other.ControllerExtension && self.DeviceWaitQueue == other.DeviceWaitQueue && self.Spare1 == other.Spare1 && self.Spare2 == other.Spare2
}
}
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
impl ::core::cmp::Eq for CONTROLLER_OBJECT {}
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
impl ::core::default::Default for CONTROLLER_OBJECT {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub struct COUNTED_REASON_CONTEXT {
pub Version: u32,
pub Flags: u32,
pub Anonymous: COUNTED_REASON_CONTEXT_0,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for COUNTED_REASON_CONTEXT {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for COUNTED_REASON_CONTEXT {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for COUNTED_REASON_CONTEXT {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for COUNTED_REASON_CONTEXT {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub union COUNTED_REASON_CONTEXT_0 {
pub Anonymous: COUNTED_REASON_CONTEXT_0_0,
pub SimpleString: super::super::super::Win32::Foundation::UNICODE_STRING,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for COUNTED_REASON_CONTEXT_0 {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for COUNTED_REASON_CONTEXT_0 {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for COUNTED_REASON_CONTEXT_0 {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for COUNTED_REASON_CONTEXT_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub struct COUNTED_REASON_CONTEXT_0_0 {
pub ResourceFileName: super::super::super::Win32::Foundation::UNICODE_STRING,
pub ResourceReasonId: u16,
pub StringCount: u32,
pub ReasonStrings: *mut super::super::super::Win32::Foundation::UNICODE_STRING,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for COUNTED_REASON_CONTEXT_0_0 {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for COUNTED_REASON_CONTEXT_0_0 {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::fmt::Debug for COUNTED_REASON_CONTEXT_0_0 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("COUNTED_REASON_CONTEXT_0_0").field("ResourceFileName", &self.ResourceFileName).field("ResourceReasonId", &self.ResourceReasonId).field("StringCount", &self.StringCount).field("ReasonStrings", &self.ReasonStrings).finish()
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for COUNTED_REASON_CONTEXT_0_0 {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::PartialEq for COUNTED_REASON_CONTEXT_0_0 {
fn eq(&self, other: &Self) -> bool {
self.ResourceFileName == other.ResourceFileName && self.ResourceReasonId == other.ResourceReasonId && self.StringCount == other.StringCount && self.ReasonStrings == other.ReasonStrings
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::Eq for COUNTED_REASON_CONTEXT_0_0 {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for COUNTED_REASON_CONTEXT_0_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`*"]
#[cfg(feature = "Wdk_Foundation")]
pub struct CPE_DRIVER_INFO {
pub ExceptionCallback: PDRIVER_CPE_EXCEPTION_CALLBACK,
pub DpcCallback: super::super::Foundation::PKDEFERRED_ROUTINE,
pub DeviceContext: *mut ::core::ffi::c_void,
}
#[cfg(feature = "Wdk_Foundation")]
impl ::core::marker::Copy for CPE_DRIVER_INFO {}
#[cfg(feature = "Wdk_Foundation")]
impl ::core::clone::Clone for CPE_DRIVER_INFO {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Wdk_Foundation")]
impl ::core::fmt::Debug for CPE_DRIVER_INFO {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("CPE_DRIVER_INFO").field("DeviceContext", &self.DeviceContext).finish()
}
}
#[cfg(feature = "Wdk_Foundation")]
impl ::windows_core::TypeKind for CPE_DRIVER_INFO {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Wdk_Foundation")]
impl ::core::default::Default for CPE_DRIVER_INFO {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub struct CRASHDUMP_FUNCTIONS_INTERFACE {
pub Size: u16,
pub Version: u16,
pub Context: *mut ::core::ffi::c_void,
pub InterfaceReference: PINTERFACE_REFERENCE,
pub InterfaceDereference: PINTERFACE_DEREFERENCE,
pub PowerOn: PCRASHDUMP_POWER_ON,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for CRASHDUMP_FUNCTIONS_INTERFACE {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for CRASHDUMP_FUNCTIONS_INTERFACE {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::fmt::Debug for CRASHDUMP_FUNCTIONS_INTERFACE {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("CRASHDUMP_FUNCTIONS_INTERFACE").field("Size", &self.Size).field("Version", &self.Version).field("Context", &self.Context).finish()
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for CRASHDUMP_FUNCTIONS_INTERFACE {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for CRASHDUMP_FUNCTIONS_INTERFACE {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct CREATE_USER_PROCESS_ECP_CONTEXT {
pub Size: u16,
pub Reserved: u16,
pub AccessToken: *mut ::core::ffi::c_void,
}
impl ::core::marker::Copy for CREATE_USER_PROCESS_ECP_CONTEXT {}
impl ::core::clone::Clone for CREATE_USER_PROCESS_ECP_CONTEXT {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for CREATE_USER_PROCESS_ECP_CONTEXT {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("CREATE_USER_PROCESS_ECP_CONTEXT").field("Size", &self.Size).field("Reserved", &self.Reserved).field("AccessToken", &self.AccessToken).finish()
}
}
impl ::windows_core::TypeKind for CREATE_USER_PROCESS_ECP_CONTEXT {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for CREATE_USER_PROCESS_ECP_CONTEXT {
fn eq(&self, other: &Self) -> bool {
self.Size == other.Size && self.Reserved == other.Reserved && self.AccessToken == other.AccessToken
}
}
impl ::core::cmp::Eq for CREATE_USER_PROCESS_ECP_CONTEXT {}
impl ::core::default::Default for CREATE_USER_PROCESS_ECP_CONTEXT {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub struct D3COLD_AUX_POWER_AND_TIMING_INTERFACE {
pub Size: u16,
pub Version: u16,
pub Context: *mut ::core::ffi::c_void,
pub InterfaceReference: PINTERFACE_REFERENCE,
pub InterfaceDereference: PINTERFACE_DEREFERENCE,
pub RequestCorePowerRail: PD3COLD_REQUEST_CORE_POWER_RAIL,
pub RequestAuxPower: PD3COLD_REQUEST_AUX_POWER,
pub RequestPerstDelay: PD3COLD_REQUEST_PERST_DELAY,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for D3COLD_AUX_POWER_AND_TIMING_INTERFACE {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for D3COLD_AUX_POWER_AND_TIMING_INTERFACE {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::fmt::Debug for D3COLD_AUX_POWER_AND_TIMING_INTERFACE {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3COLD_AUX_POWER_AND_TIMING_INTERFACE").field("Size", &self.Size).field("Version", &self.Version).field("Context", &self.Context).finish()
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for D3COLD_AUX_POWER_AND_TIMING_INTERFACE {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for D3COLD_AUX_POWER_AND_TIMING_INTERFACE {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub struct D3COLD_SUPPORT_INTERFACE {
pub Size: u16,
pub Version: u16,
pub Context: *mut ::core::ffi::c_void,
pub InterfaceReference: PINTERFACE_REFERENCE,
pub InterfaceDereference: PINTERFACE_DEREFERENCE,
pub SetD3ColdSupport: PSET_D3COLD_SUPPORT,
pub GetIdleWakeInfo: PGET_IDLE_WAKE_INFO,
pub GetD3ColdCapability: PGET_D3COLD_CAPABILITY,
pub GetBusDriverD3ColdSupport: PGET_D3COLD_CAPABILITY,
pub GetLastTransitionStatus: PGET_D3COLD_LAST_TRANSITION_STATUS,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for D3COLD_SUPPORT_INTERFACE {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for D3COLD_SUPPORT_INTERFACE {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::fmt::Debug for D3COLD_SUPPORT_INTERFACE {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("D3COLD_SUPPORT_INTERFACE").field("Size", &self.Size).field("Version", &self.Version).field("Context", &self.Context).finish()
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for D3COLD_SUPPORT_INTERFACE {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for D3COLD_SUPPORT_INTERFACE {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct DEBUGGING_DEVICE_IN_USE {
pub NameSpace: KD_NAMESPACE_ENUM,
pub StructureLength: u32,
pub Anonymous: DEBUGGING_DEVICE_IN_USE_0,
}
impl ::core::marker::Copy for DEBUGGING_DEVICE_IN_USE {}
impl ::core::clone::Clone for DEBUGGING_DEVICE_IN_USE {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for DEBUGGING_DEVICE_IN_USE {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for DEBUGGING_DEVICE_IN_USE {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub union DEBUGGING_DEVICE_IN_USE_0 {
pub AcpiDevice: ACPI_DEBUGGING_DEVICE_IN_USE,
pub PciDevice: PCI_DEBUGGING_DEVICE_IN_USE,
}
impl ::core::marker::Copy for DEBUGGING_DEVICE_IN_USE_0 {}
impl ::core::clone::Clone for DEBUGGING_DEVICE_IN_USE_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for DEBUGGING_DEVICE_IN_USE_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for DEBUGGING_DEVICE_IN_USE_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct DEBUGGING_DEVICE_IN_USE_INFORMATION {
pub DeviceCount: u32,
pub Device: [DEBUGGING_DEVICE_IN_USE; 1],
}
impl ::core::marker::Copy for DEBUGGING_DEVICE_IN_USE_INFORMATION {}
impl ::core::clone::Clone for DEBUGGING_DEVICE_IN_USE_INFORMATION {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for DEBUGGING_DEVICE_IN_USE_INFORMATION {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for DEBUGGING_DEVICE_IN_USE_INFORMATION {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub struct DEBUG_DEVICE_ADDRESS {
pub Type: u8,
pub Valid: super::super::super::Win32::Foundation::BOOLEAN,
pub Anonymous: DEBUG_DEVICE_ADDRESS_0,
pub TranslatedAddress: *mut u8,
pub Length: u32,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for DEBUG_DEVICE_ADDRESS {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for DEBUG_DEVICE_ADDRESS {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for DEBUG_DEVICE_ADDRESS {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for DEBUG_DEVICE_ADDRESS {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub union DEBUG_DEVICE_ADDRESS_0 {
pub Reserved: [u8; 2],
pub Anonymous: DEBUG_DEVICE_ADDRESS_0_0,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for DEBUG_DEVICE_ADDRESS_0 {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for DEBUG_DEVICE_ADDRESS_0 {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for DEBUG_DEVICE_ADDRESS_0 {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for DEBUG_DEVICE_ADDRESS_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub struct DEBUG_DEVICE_ADDRESS_0_0 {
pub BitWidth: u8,
pub AccessSize: u8,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for DEBUG_DEVICE_ADDRESS_0_0 {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for DEBUG_DEVICE_ADDRESS_0_0 {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::fmt::Debug for DEBUG_DEVICE_ADDRESS_0_0 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("DEBUG_DEVICE_ADDRESS_0_0").field("BitWidth", &self.BitWidth).field("AccessSize", &self.AccessSize).finish()
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for DEBUG_DEVICE_ADDRESS_0_0 {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::PartialEq for DEBUG_DEVICE_ADDRESS_0_0 {
fn eq(&self, other: &Self) -> bool {
self.BitWidth == other.BitWidth && self.AccessSize == other.AccessSize
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::Eq for DEBUG_DEVICE_ADDRESS_0_0 {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for DEBUG_DEVICE_ADDRESS_0_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub struct DEBUG_DEVICE_DESCRIPTOR {
pub Bus: u32,
pub Slot: u32,
pub Segment: u16,
pub VendorID: u16,
pub DeviceID: u16,
pub BaseClass: u8,
pub SubClass: u8,
pub ProgIf: u8,
pub Anonymous: DEBUG_DEVICE_DESCRIPTOR_0,
pub Initialized: super::super::super::Win32::Foundation::BOOLEAN,
pub Configured: super::super::super::Win32::Foundation::BOOLEAN,
pub BaseAddress: [DEBUG_DEVICE_ADDRESS; 6],
pub Memory: DEBUG_MEMORY_REQUIREMENTS,
pub Dbg2TableIndex: u32,
pub PortType: u16,
pub PortSubtype: u16,
pub OemData: *mut ::core::ffi::c_void,
pub OemDataLength: u32,
pub NameSpace: KD_NAMESPACE_ENUM,
pub NameSpacePath: ::windows_core::PWSTR,
pub NameSpacePathLength: u32,
pub TransportType: u32,
pub TransportData: DEBUG_TRANSPORT_DATA,
pub EfiIoMmuData: DEBUG_EFI_IOMMU_DATA,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for DEBUG_DEVICE_DESCRIPTOR {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for DEBUG_DEVICE_DESCRIPTOR {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for DEBUG_DEVICE_DESCRIPTOR {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for DEBUG_DEVICE_DESCRIPTOR {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub union DEBUG_DEVICE_DESCRIPTOR_0 {
pub Flags: u8,
pub Anonymous: DEBUG_DEVICE_DESCRIPTOR_0_0,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for DEBUG_DEVICE_DESCRIPTOR_0 {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for DEBUG_DEVICE_DESCRIPTOR_0 {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for DEBUG_DEVICE_DESCRIPTOR_0 {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for DEBUG_DEVICE_DESCRIPTOR_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub struct DEBUG_DEVICE_DESCRIPTOR_0_0 {
pub _bitfield: u8,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for DEBUG_DEVICE_DESCRIPTOR_0_0 {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for DEBUG_DEVICE_DESCRIPTOR_0_0 {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::fmt::Debug for DEBUG_DEVICE_DESCRIPTOR_0_0 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("DEBUG_DEVICE_DESCRIPTOR_0_0").field("_bitfield", &self._bitfield).finish()
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for DEBUG_DEVICE_DESCRIPTOR_0_0 {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::PartialEq for DEBUG_DEVICE_DESCRIPTOR_0_0 {
fn eq(&self, other: &Self) -> bool {
self._bitfield == other._bitfield
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::Eq for DEBUG_DEVICE_DESCRIPTOR_0_0 {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for DEBUG_DEVICE_DESCRIPTOR_0_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct DEBUG_EFI_IOMMU_DATA {
pub PciIoProtocolHandle: *mut ::core::ffi::c_void,
pub Mapping: *mut ::core::ffi::c_void,
}
impl ::core::marker::Copy for DEBUG_EFI_IOMMU_DATA {}
impl ::core::clone::Clone for DEBUG_EFI_IOMMU_DATA {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for DEBUG_EFI_IOMMU_DATA {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("DEBUG_EFI_IOMMU_DATA").field("PciIoProtocolHandle", &self.PciIoProtocolHandle).field("Mapping", &self.Mapping).finish()
}
}
impl ::windows_core::TypeKind for DEBUG_EFI_IOMMU_DATA {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for DEBUG_EFI_IOMMU_DATA {
fn eq(&self, other: &Self) -> bool {
self.PciIoProtocolHandle == other.PciIoProtocolHandle && self.Mapping == other.Mapping
}
}
impl ::core::cmp::Eq for DEBUG_EFI_IOMMU_DATA {}
impl ::core::default::Default for DEBUG_EFI_IOMMU_DATA {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub struct DEBUG_MEMORY_REQUIREMENTS {
pub Start: i64,
pub MaxEnd: i64,
pub VirtualAddress: *mut ::core::ffi::c_void,
pub Length: u32,
pub Cached: super::super::super::Win32::Foundation::BOOLEAN,
pub Aligned: super::super::super::Win32::Foundation::BOOLEAN,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for DEBUG_MEMORY_REQUIREMENTS {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for DEBUG_MEMORY_REQUIREMENTS {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::fmt::Debug for DEBUG_MEMORY_REQUIREMENTS {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("DEBUG_MEMORY_REQUIREMENTS").field("Start", &self.Start).field("MaxEnd", &self.MaxEnd).field("VirtualAddress", &self.VirtualAddress).field("Length", &self.Length).field("Cached", &self.Cached).field("Aligned", &self.Aligned).finish()
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for DEBUG_MEMORY_REQUIREMENTS {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::PartialEq for DEBUG_MEMORY_REQUIREMENTS {
fn eq(&self, other: &Self) -> bool {
self.Start == other.Start && self.MaxEnd == other.MaxEnd && self.VirtualAddress == other.VirtualAddress && self.Length == other.Length && self.Cached == other.Cached && self.Aligned == other.Aligned
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::Eq for DEBUG_MEMORY_REQUIREMENTS {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for DEBUG_MEMORY_REQUIREMENTS {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub struct DEBUG_TRANSPORT_DATA {
pub HwContextSize: u32,
pub SharedVisibleDataSize: u32,
pub UseSerialFraming: super::super::super::Win32::Foundation::BOOLEAN,
pub ValidUSBCoreId: super::super::super::Win32::Foundation::BOOLEAN,
pub USBCoreId: u8,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for DEBUG_TRANSPORT_DATA {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for DEBUG_TRANSPORT_DATA {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::fmt::Debug for DEBUG_TRANSPORT_DATA {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("DEBUG_TRANSPORT_DATA").field("HwContextSize", &self.HwContextSize).field("SharedVisibleDataSize", &self.SharedVisibleDataSize).field("UseSerialFraming", &self.UseSerialFraming).field("ValidUSBCoreId", &self.ValidUSBCoreId).field("USBCoreId", &self.USBCoreId).finish()
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for DEBUG_TRANSPORT_DATA {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::PartialEq for DEBUG_TRANSPORT_DATA {
fn eq(&self, other: &Self) -> bool {
self.HwContextSize == other.HwContextSize && self.SharedVisibleDataSize == other.SharedVisibleDataSize && self.UseSerialFraming == other.UseSerialFraming && self.ValidUSBCoreId == other.ValidUSBCoreId && self.USBCoreId == other.USBCoreId
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::Eq for DEBUG_TRANSPORT_DATA {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for DEBUG_TRANSPORT_DATA {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct DEVICE_BUS_SPECIFIC_RESET_INFO {
pub BusTypeGuid: ::windows_core::GUID,
pub ResetTypeSupported: DEVICE_BUS_SPECIFIC_RESET_TYPE,
}
impl ::core::marker::Copy for DEVICE_BUS_SPECIFIC_RESET_INFO {}
impl ::core::clone::Clone for DEVICE_BUS_SPECIFIC_RESET_INFO {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for DEVICE_BUS_SPECIFIC_RESET_INFO {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for DEVICE_BUS_SPECIFIC_RESET_INFO {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub union DEVICE_BUS_SPECIFIC_RESET_TYPE {
pub Pci: DEVICE_BUS_SPECIFIC_RESET_TYPE_1,
pub Acpi: DEVICE_BUS_SPECIFIC_RESET_TYPE_0,
pub AsULONGLONG: u64,
}
impl ::core::marker::Copy for DEVICE_BUS_SPECIFIC_RESET_TYPE {}
impl ::core::clone::Clone for DEVICE_BUS_SPECIFIC_RESET_TYPE {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for DEVICE_BUS_SPECIFIC_RESET_TYPE {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for DEVICE_BUS_SPECIFIC_RESET_TYPE {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct DEVICE_BUS_SPECIFIC_RESET_TYPE_0 {
pub _bitfield: u64,
}
impl ::core::marker::Copy for DEVICE_BUS_SPECIFIC_RESET_TYPE_0 {}
impl ::core::clone::Clone for DEVICE_BUS_SPECIFIC_RESET_TYPE_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for DEVICE_BUS_SPECIFIC_RESET_TYPE_0 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("DEVICE_BUS_SPECIFIC_RESET_TYPE_0").field("_bitfield", &self._bitfield).finish()
}
}
impl ::windows_core::TypeKind for DEVICE_BUS_SPECIFIC_RESET_TYPE_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for DEVICE_BUS_SPECIFIC_RESET_TYPE_0 {
fn eq(&self, other: &Self) -> bool {
self._bitfield == other._bitfield
}
}
impl ::core::cmp::Eq for DEVICE_BUS_SPECIFIC_RESET_TYPE_0 {}
impl ::core::default::Default for DEVICE_BUS_SPECIFIC_RESET_TYPE_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct DEVICE_BUS_SPECIFIC_RESET_TYPE_1 {
pub _bitfield: u64,
}
impl ::core::marker::Copy for DEVICE_BUS_SPECIFIC_RESET_TYPE_1 {}
impl ::core::clone::Clone for DEVICE_BUS_SPECIFIC_RESET_TYPE_1 {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for DEVICE_BUS_SPECIFIC_RESET_TYPE_1 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("DEVICE_BUS_SPECIFIC_RESET_TYPE_1").field("_bitfield", &self._bitfield).finish()
}
}
impl ::windows_core::TypeKind for DEVICE_BUS_SPECIFIC_RESET_TYPE_1 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for DEVICE_BUS_SPECIFIC_RESET_TYPE_1 {
fn eq(&self, other: &Self) -> bool {
self._bitfield == other._bitfield
}
}
impl ::core::cmp::Eq for DEVICE_BUS_SPECIFIC_RESET_TYPE_1 {}
impl ::core::default::Default for DEVICE_BUS_SPECIFIC_RESET_TYPE_1 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_System_Power\"`*"]
#[cfg(feature = "Win32_System_Power")]
pub struct DEVICE_CAPABILITIES {
pub Size: u16,
pub Version: u16,
pub _bitfield: u32,
pub Address: u32,
pub UINumber: u32,
pub DeviceState: [super::super::super::Win32::System::Power::DEVICE_POWER_STATE; 7],
pub SystemWake: super::super::super::Win32::System::Power::SYSTEM_POWER_STATE,
pub DeviceWake: super::super::super::Win32::System::Power::DEVICE_POWER_STATE,
pub D1Latency: u32,
pub D2Latency: u32,
pub D3Latency: u32,
}
#[cfg(feature = "Win32_System_Power")]
impl ::core::marker::Copy for DEVICE_CAPABILITIES {}
#[cfg(feature = "Win32_System_Power")]
impl ::core::clone::Clone for DEVICE_CAPABILITIES {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_System_Power")]
impl ::core::fmt::Debug for DEVICE_CAPABILITIES {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("DEVICE_CAPABILITIES").field("Size", &self.Size).field("Version", &self.Version).field("_bitfield", &self._bitfield).field("Address", &self.Address).field("UINumber", &self.UINumber).field("DeviceState", &self.DeviceState).field("SystemWake", &self.SystemWake).field("DeviceWake", &self.DeviceWake).field("D1Latency", &self.D1Latency).field("D2Latency", &self.D2Latency).field("D3Latency", &self.D3Latency).finish()
}
}
#[cfg(feature = "Win32_System_Power")]
impl ::windows_core::TypeKind for DEVICE_CAPABILITIES {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_System_Power")]
impl ::core::cmp::PartialEq for DEVICE_CAPABILITIES {
fn eq(&self, other: &Self) -> bool {
self.Size == other.Size && self.Version == other.Version && self._bitfield == other._bitfield && self.Address == other.Address && self.UINumber == other.UINumber && self.DeviceState == other.DeviceState && self.SystemWake == other.SystemWake && self.DeviceWake == other.DeviceWake && self.D1Latency == other.D1Latency && self.D2Latency == other.D2Latency && self.D3Latency == other.D3Latency
}
}
#[cfg(feature = "Win32_System_Power")]
impl ::core::cmp::Eq for DEVICE_CAPABILITIES {}
#[cfg(feature = "Win32_System_Power")]
impl ::core::default::Default for DEVICE_CAPABILITIES {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub struct DEVICE_DESCRIPTION {
pub Version: u32,
pub Master: super::super::super::Win32::Foundation::BOOLEAN,
pub ScatterGather: super::super::super::Win32::Foundation::BOOLEAN,
pub DemandMode: super::super::super::Win32::Foundation::BOOLEAN,
pub AutoInitialize: super::super::super::Win32::Foundation::BOOLEAN,
pub Dma32BitAddresses: super::super::super::Win32::Foundation::BOOLEAN,
pub IgnoreCount: super::super::super::Win32::Foundation::BOOLEAN,
pub Reserved1: super::super::super::Win32::Foundation::BOOLEAN,
pub Dma64BitAddresses: super::super::super::Win32::Foundation::BOOLEAN,
pub BusNumber: u32,
pub DmaChannel: u32,
pub InterfaceType: INTERFACE_TYPE,
pub DmaWidth: DMA_WIDTH,
pub DmaSpeed: DMA_SPEED,
pub MaximumLength: u32,
pub DmaPort: u32,
pub DmaAddressWidth: u32,
pub DmaControllerInstance: u32,
pub DmaRequestLine: u32,
pub DeviceAddress: i64,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for DEVICE_DESCRIPTION {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for DEVICE_DESCRIPTION {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::fmt::Debug for DEVICE_DESCRIPTION {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("DEVICE_DESCRIPTION")
.field("Version", &self.Version)
.field("Master", &self.Master)
.field("ScatterGather", &self.ScatterGather)
.field("DemandMode", &self.DemandMode)
.field("AutoInitialize", &self.AutoInitialize)
.field("Dma32BitAddresses", &self.Dma32BitAddresses)
.field("IgnoreCount", &self.IgnoreCount)
.field("Reserved1", &self.Reserved1)
.field("Dma64BitAddresses", &self.Dma64BitAddresses)
.field("BusNumber", &self.BusNumber)
.field("DmaChannel", &self.DmaChannel)
.field("InterfaceType", &self.InterfaceType)
.field("DmaWidth", &self.DmaWidth)
.field("DmaSpeed", &self.DmaSpeed)
.field("MaximumLength", &self.MaximumLength)
.field("DmaPort", &self.DmaPort)
.field("DmaAddressWidth", &self.DmaAddressWidth)
.field("DmaControllerInstance", &self.DmaControllerInstance)
.field("DmaRequestLine", &self.DmaRequestLine)
.field("DeviceAddress", &self.DeviceAddress)
.finish()
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for DEVICE_DESCRIPTION {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::PartialEq for DEVICE_DESCRIPTION {
fn eq(&self, other: &Self) -> bool {
self.Version == other.Version
&& self.Master == other.Master
&& self.ScatterGather == other.ScatterGather
&& self.DemandMode == other.DemandMode
&& self.AutoInitialize == other.AutoInitialize
&& self.Dma32BitAddresses == other.Dma32BitAddresses
&& self.IgnoreCount == other.IgnoreCount
&& self.Reserved1 == other.Reserved1
&& self.Dma64BitAddresses == other.Dma64BitAddresses
&& self.BusNumber == other.BusNumber
&& self.DmaChannel == other.DmaChannel
&& self.InterfaceType == other.InterfaceType
&& self.DmaWidth == other.DmaWidth
&& self.DmaSpeed == other.DmaSpeed
&& self.MaximumLength == other.MaximumLength
&& self.DmaPort == other.DmaPort
&& self.DmaAddressWidth == other.DmaAddressWidth
&& self.DmaControllerInstance == other.DmaControllerInstance
&& self.DmaRequestLine == other.DmaRequestLine
&& self.DeviceAddress == other.DeviceAddress
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::Eq for DEVICE_DESCRIPTION {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for DEVICE_DESCRIPTION {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct DEVICE_FAULT_CONFIGURATION {
pub FaultHandler: PIOMMU_DEVICE_FAULT_HANDLER,
pub FaultContext: *mut ::core::ffi::c_void,
}
impl ::core::marker::Copy for DEVICE_FAULT_CONFIGURATION {}
impl ::core::clone::Clone for DEVICE_FAULT_CONFIGURATION {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for DEVICE_FAULT_CONFIGURATION {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("DEVICE_FAULT_CONFIGURATION").field("FaultContext", &self.FaultContext).finish()
}
}
impl ::windows_core::TypeKind for DEVICE_FAULT_CONFIGURATION {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for DEVICE_FAULT_CONFIGURATION {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct DEVICE_FLAGS {
pub _bitfield: u32,
}
impl ::core::marker::Copy for DEVICE_FLAGS {}
impl ::core::clone::Clone for DEVICE_FLAGS {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for DEVICE_FLAGS {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("DEVICE_FLAGS").field("_bitfield", &self._bitfield).finish()
}
}
impl ::windows_core::TypeKind for DEVICE_FLAGS {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for DEVICE_FLAGS {
fn eq(&self, other: &Self) -> bool {
self._bitfield == other._bitfield
}
}
impl ::core::cmp::Eq for DEVICE_FLAGS {}
impl ::core::default::Default for DEVICE_FLAGS {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub struct DEVICE_INTERFACE_CHANGE_NOTIFICATION {
pub Version: u16,
pub Size: u16,
pub Event: ::windows_core::GUID,
pub InterfaceClassGuid: ::windows_core::GUID,
pub SymbolicLinkName: *mut super::super::super::Win32::Foundation::UNICODE_STRING,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for DEVICE_INTERFACE_CHANGE_NOTIFICATION {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for DEVICE_INTERFACE_CHANGE_NOTIFICATION {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::fmt::Debug for DEVICE_INTERFACE_CHANGE_NOTIFICATION {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("DEVICE_INTERFACE_CHANGE_NOTIFICATION").field("Version", &self.Version).field("Size", &self.Size).field("Event", &self.Event).field("InterfaceClassGuid", &self.InterfaceClassGuid).field("SymbolicLinkName", &self.SymbolicLinkName).finish()
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for DEVICE_INTERFACE_CHANGE_NOTIFICATION {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::PartialEq for DEVICE_INTERFACE_CHANGE_NOTIFICATION {
fn eq(&self, other: &Self) -> bool {
self.Version == other.Version && self.Size == other.Size && self.Event == other.Event && self.InterfaceClassGuid == other.InterfaceClassGuid && self.SymbolicLinkName == other.SymbolicLinkName
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::Eq for DEVICE_INTERFACE_CHANGE_NOTIFICATION {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for DEVICE_INTERFACE_CHANGE_NOTIFICATION {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
pub struct DEVICE_RELATIONS {
pub Count: u32,
pub Objects: [*mut super::super::Foundation::DEVICE_OBJECT; 1],
}
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
impl ::core::marker::Copy for DEVICE_RELATIONS {}
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
impl ::core::clone::Clone for DEVICE_RELATIONS {
fn clone(&self) -> Self {
*self
}
}
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
impl ::core::fmt::Debug for DEVICE_RELATIONS {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("DEVICE_RELATIONS").field("Count", &self.Count).field("Objects", &self.Objects).finish()
}
}
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
impl ::windows_core::TypeKind for DEVICE_RELATIONS {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
impl ::core::cmp::PartialEq for DEVICE_RELATIONS {
fn eq(&self, other: &Self) -> bool {
self.Count == other.Count && self.Objects == other.Objects
}
}
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
impl ::core::cmp::Eq for DEVICE_RELATIONS {}
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
impl ::core::default::Default for DEVICE_RELATIONS {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub struct DEVICE_RESET_INTERFACE_STANDARD {
pub Size: u16,
pub Version: u16,
pub Context: *mut ::core::ffi::c_void,
pub InterfaceReference: PINTERFACE_REFERENCE,
pub InterfaceDereference: PINTERFACE_DEREFERENCE,
pub DeviceReset: PDEVICE_RESET_HANDLER,
pub SupportedResetTypes: u32,
pub Reserved: *mut ::core::ffi::c_void,
pub QueryBusSpecificResetInfo: PDEVICE_QUERY_BUS_SPECIFIC_RESET_HANDLER,
pub DeviceBusSpecificReset: PDEVICE_BUS_SPECIFIC_RESET_HANDLER,
pub GetDeviceResetStatus: PGET_DEVICE_RESET_STATUS,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for DEVICE_RESET_INTERFACE_STANDARD {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for DEVICE_RESET_INTERFACE_STANDARD {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::fmt::Debug for DEVICE_RESET_INTERFACE_STANDARD {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("DEVICE_RESET_INTERFACE_STANDARD").field("Size", &self.Size).field("Version", &self.Version).field("Context", &self.Context).field("SupportedResetTypes", &self.SupportedResetTypes).field("Reserved", &self.Reserved).finish()
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for DEVICE_RESET_INTERFACE_STANDARD {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for DEVICE_RESET_INTERFACE_STANDARD {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub union DEVICE_RESET_STATUS_FLAGS {
pub u: DEVICE_RESET_STATUS_FLAGS_0,
pub AsUlonglong: u64,
}
impl ::core::marker::Copy for DEVICE_RESET_STATUS_FLAGS {}
impl ::core::clone::Clone for DEVICE_RESET_STATUS_FLAGS {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for DEVICE_RESET_STATUS_FLAGS {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for DEVICE_RESET_STATUS_FLAGS {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct DEVICE_RESET_STATUS_FLAGS_0 {
pub _bitfield: u64,
}
impl ::core::marker::Copy for DEVICE_RESET_STATUS_FLAGS_0 {}
impl ::core::clone::Clone for DEVICE_RESET_STATUS_FLAGS_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for DEVICE_RESET_STATUS_FLAGS_0 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("DEVICE_RESET_STATUS_FLAGS_0").field("_bitfield", &self._bitfield).finish()
}
}
impl ::windows_core::TypeKind for DEVICE_RESET_STATUS_FLAGS_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for DEVICE_RESET_STATUS_FLAGS_0 {
fn eq(&self, other: &Self) -> bool {
self._bitfield == other._bitfield
}
}
impl ::core::cmp::Eq for DEVICE_RESET_STATUS_FLAGS_0 {}
impl ::core::default::Default for DEVICE_RESET_STATUS_FLAGS_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct DISK_SIGNATURE {
pub PartitionStyle: u32,
pub Anonymous: DISK_SIGNATURE_0,
}
impl ::core::marker::Copy for DISK_SIGNATURE {}
impl ::core::clone::Clone for DISK_SIGNATURE {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for DISK_SIGNATURE {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for DISK_SIGNATURE {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub union DISK_SIGNATURE_0 {
pub Mbr: DISK_SIGNATURE_0_1,
pub Gpt: DISK_SIGNATURE_0_0,
}
impl ::core::marker::Copy for DISK_SIGNATURE_0 {}
impl ::core::clone::Clone for DISK_SIGNATURE_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for DISK_SIGNATURE_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for DISK_SIGNATURE_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct DISK_SIGNATURE_0_0 {
pub DiskId: ::windows_core::GUID,
}
impl ::core::marker::Copy for DISK_SIGNATURE_0_0 {}
impl ::core::clone::Clone for DISK_SIGNATURE_0_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for DISK_SIGNATURE_0_0 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("DISK_SIGNATURE_0_0").field("DiskId", &self.DiskId).finish()
}
}
impl ::windows_core::TypeKind for DISK_SIGNATURE_0_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for DISK_SIGNATURE_0_0 {
fn eq(&self, other: &Self) -> bool {
self.DiskId == other.DiskId
}
}
impl ::core::cmp::Eq for DISK_SIGNATURE_0_0 {}
impl ::core::default::Default for DISK_SIGNATURE_0_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct DISK_SIGNATURE_0_1 {
pub Signature: u32,
pub CheckSum: u32,
}
impl ::core::marker::Copy for DISK_SIGNATURE_0_1 {}
impl ::core::clone::Clone for DISK_SIGNATURE_0_1 {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for DISK_SIGNATURE_0_1 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("DISK_SIGNATURE_0_1").field("Signature", &self.Signature).field("CheckSum", &self.CheckSum).finish()
}
}
impl ::windows_core::TypeKind for DISK_SIGNATURE_0_1 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for DISK_SIGNATURE_0_1 {
fn eq(&self, other: &Self) -> bool {
self.Signature == other.Signature && self.CheckSum == other.CheckSum
}
}
impl ::core::cmp::Eq for DISK_SIGNATURE_0_1 {}
impl ::core::default::Default for DISK_SIGNATURE_0_1 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
pub struct DMA_ADAPTER {
pub Version: u16,
pub Size: u16,
pub DmaOperations: *mut DMA_OPERATIONS,
}
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
impl ::core::marker::Copy for DMA_ADAPTER {}
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
impl ::core::clone::Clone for DMA_ADAPTER {
fn clone(&self) -> Self {
*self
}
}
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
impl ::core::fmt::Debug for DMA_ADAPTER {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("DMA_ADAPTER").field("Version", &self.Version).field("Size", &self.Size).field("DmaOperations", &self.DmaOperations).finish()
}
}
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
impl ::windows_core::TypeKind for DMA_ADAPTER {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
impl ::core::cmp::PartialEq for DMA_ADAPTER {
fn eq(&self, other: &Self) -> bool {
self.Version == other.Version && self.Size == other.Size && self.DmaOperations == other.DmaOperations
}
}
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
impl ::core::cmp::Eq for DMA_ADAPTER {}
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
impl ::core::default::Default for DMA_ADAPTER {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub struct DMA_ADAPTER_INFO {
pub Version: u32,
pub Anonymous: DMA_ADAPTER_INFO_0,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for DMA_ADAPTER_INFO {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for DMA_ADAPTER_INFO {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for DMA_ADAPTER_INFO {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for DMA_ADAPTER_INFO {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub union DMA_ADAPTER_INFO_0 {
pub V1: DMA_ADAPTER_INFO_V1,
pub Crashdump: DMA_ADAPTER_INFO_CRASHDUMP,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for DMA_ADAPTER_INFO_0 {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for DMA_ADAPTER_INFO_0 {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for DMA_ADAPTER_INFO_0 {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for DMA_ADAPTER_INFO_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub struct DMA_ADAPTER_INFO_CRASHDUMP {
pub DeviceDescription: DEVICE_DESCRIPTION,
pub DeviceIdSize: usize,
pub DeviceId: *mut ::core::ffi::c_void,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for DMA_ADAPTER_INFO_CRASHDUMP {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for DMA_ADAPTER_INFO_CRASHDUMP {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::fmt::Debug for DMA_ADAPTER_INFO_CRASHDUMP {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("DMA_ADAPTER_INFO_CRASHDUMP").field("DeviceDescription", &self.DeviceDescription).field("DeviceIdSize", &self.DeviceIdSize).field("DeviceId", &self.DeviceId).finish()
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for DMA_ADAPTER_INFO_CRASHDUMP {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::PartialEq for DMA_ADAPTER_INFO_CRASHDUMP {
fn eq(&self, other: &Self) -> bool {
self.DeviceDescription == other.DeviceDescription && self.DeviceIdSize == other.DeviceIdSize && self.DeviceId == other.DeviceId
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::Eq for DMA_ADAPTER_INFO_CRASHDUMP {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for DMA_ADAPTER_INFO_CRASHDUMP {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct DMA_ADAPTER_INFO_V1 {
pub ReadDmaCounterAvailable: u32,
pub ScatterGatherLimit: u32,
pub DmaAddressWidth: u32,
pub Flags: u32,
pub MinimumTransferUnit: u32,
}
impl ::core::marker::Copy for DMA_ADAPTER_INFO_V1 {}
impl ::core::clone::Clone for DMA_ADAPTER_INFO_V1 {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for DMA_ADAPTER_INFO_V1 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("DMA_ADAPTER_INFO_V1").field("ReadDmaCounterAvailable", &self.ReadDmaCounterAvailable).field("ScatterGatherLimit", &self.ScatterGatherLimit).field("DmaAddressWidth", &self.DmaAddressWidth).field("Flags", &self.Flags).field("MinimumTransferUnit", &self.MinimumTransferUnit).finish()
}
}
impl ::windows_core::TypeKind for DMA_ADAPTER_INFO_V1 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for DMA_ADAPTER_INFO_V1 {
fn eq(&self, other: &Self) -> bool {
self.ReadDmaCounterAvailable == other.ReadDmaCounterAvailable && self.ScatterGatherLimit == other.ScatterGatherLimit && self.DmaAddressWidth == other.DmaAddressWidth && self.Flags == other.Flags && self.MinimumTransferUnit == other.MinimumTransferUnit
}
}
impl ::core::cmp::Eq for DMA_ADAPTER_INFO_V1 {}
impl ::core::default::Default for DMA_ADAPTER_INFO_V1 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct DMA_COMMON_BUFFER_EXTENDED_CONFIGURATION {
pub ConfigType: DMA_COMMON_BUFFER_EXTENDED_CONFIGURATION_TYPE,
pub Anonymous: DMA_COMMON_BUFFER_EXTENDED_CONFIGURATION_0,
}
impl ::core::marker::Copy for DMA_COMMON_BUFFER_EXTENDED_CONFIGURATION {}
impl ::core::clone::Clone for DMA_COMMON_BUFFER_EXTENDED_CONFIGURATION {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for DMA_COMMON_BUFFER_EXTENDED_CONFIGURATION {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for DMA_COMMON_BUFFER_EXTENDED_CONFIGURATION {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub union DMA_COMMON_BUFFER_EXTENDED_CONFIGURATION_0 {
pub LogicalAddressLimits: DMA_COMMON_BUFFER_EXTENDED_CONFIGURATION_0_0,
pub SubSection: DMA_COMMON_BUFFER_EXTENDED_CONFIGURATION_0_1,
pub HardwareAccessType: DMA_COMMON_BUFFER_EXTENDED_CONFIGURATION_ACCESS_TYPE,
pub Reserved: [u64; 4],
}
impl ::core::marker::Copy for DMA_COMMON_BUFFER_EXTENDED_CONFIGURATION_0 {}
impl ::core::clone::Clone for DMA_COMMON_BUFFER_EXTENDED_CONFIGURATION_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for DMA_COMMON_BUFFER_EXTENDED_CONFIGURATION_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for DMA_COMMON_BUFFER_EXTENDED_CONFIGURATION_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct DMA_COMMON_BUFFER_EXTENDED_CONFIGURATION_0_0 {
pub MinimumAddress: i64,
pub MaximumAddress: i64,
}
impl ::core::marker::Copy for DMA_COMMON_BUFFER_EXTENDED_CONFIGURATION_0_0 {}
impl ::core::clone::Clone for DMA_COMMON_BUFFER_EXTENDED_CONFIGURATION_0_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for DMA_COMMON_BUFFER_EXTENDED_CONFIGURATION_0_0 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("DMA_COMMON_BUFFER_EXTENDED_CONFIGURATION_0_0").field("MinimumAddress", &self.MinimumAddress).field("MaximumAddress", &self.MaximumAddress).finish()
}
}
impl ::windows_core::TypeKind for DMA_COMMON_BUFFER_EXTENDED_CONFIGURATION_0_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for DMA_COMMON_BUFFER_EXTENDED_CONFIGURATION_0_0 {
fn eq(&self, other: &Self) -> bool {
self.MinimumAddress == other.MinimumAddress && self.MaximumAddress == other.MaximumAddress
}
}
impl ::core::cmp::Eq for DMA_COMMON_BUFFER_EXTENDED_CONFIGURATION_0_0 {}
impl ::core::default::Default for DMA_COMMON_BUFFER_EXTENDED_CONFIGURATION_0_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct DMA_COMMON_BUFFER_EXTENDED_CONFIGURATION_0_1 {
pub Offset: u64,
pub Length: u32,
}
impl ::core::marker::Copy for DMA_COMMON_BUFFER_EXTENDED_CONFIGURATION_0_1 {}
impl ::core::clone::Clone for DMA_COMMON_BUFFER_EXTENDED_CONFIGURATION_0_1 {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for DMA_COMMON_BUFFER_EXTENDED_CONFIGURATION_0_1 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("DMA_COMMON_BUFFER_EXTENDED_CONFIGURATION_0_1").field("Offset", &self.Offset).field("Length", &self.Length).finish()
}
}
impl ::windows_core::TypeKind for DMA_COMMON_BUFFER_EXTENDED_CONFIGURATION_0_1 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for DMA_COMMON_BUFFER_EXTENDED_CONFIGURATION_0_1 {
fn eq(&self, other: &Self) -> bool {
self.Offset == other.Offset && self.Length == other.Length
}
}
impl ::core::cmp::Eq for DMA_COMMON_BUFFER_EXTENDED_CONFIGURATION_0_1 {}
impl ::core::default::Default for DMA_COMMON_BUFFER_EXTENDED_CONFIGURATION_0_1 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct DMA_CONFIGURATION_BYTE0 {
pub _bitfield: u8,
}
impl ::core::marker::Copy for DMA_CONFIGURATION_BYTE0 {}
impl ::core::clone::Clone for DMA_CONFIGURATION_BYTE0 {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for DMA_CONFIGURATION_BYTE0 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("DMA_CONFIGURATION_BYTE0").field("_bitfield", &self._bitfield).finish()
}
}
impl ::windows_core::TypeKind for DMA_CONFIGURATION_BYTE0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for DMA_CONFIGURATION_BYTE0 {
fn eq(&self, other: &Self) -> bool {
self._bitfield == other._bitfield
}
}
impl ::core::cmp::Eq for DMA_CONFIGURATION_BYTE0 {}
impl ::core::default::Default for DMA_CONFIGURATION_BYTE0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct DMA_CONFIGURATION_BYTE1 {
pub _bitfield: u8,
}
impl ::core::marker::Copy for DMA_CONFIGURATION_BYTE1 {}
impl ::core::clone::Clone for DMA_CONFIGURATION_BYTE1 {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for DMA_CONFIGURATION_BYTE1 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("DMA_CONFIGURATION_BYTE1").field("_bitfield", &self._bitfield).finish()
}
}
impl ::windows_core::TypeKind for DMA_CONFIGURATION_BYTE1 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for DMA_CONFIGURATION_BYTE1 {
fn eq(&self, other: &Self) -> bool {
self._bitfield == other._bitfield
}
}
impl ::core::cmp::Eq for DMA_CONFIGURATION_BYTE1 {}
impl ::core::default::Default for DMA_CONFIGURATION_BYTE1 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub struct DMA_IOMMU_INTERFACE {
pub Version: u32,
pub CreateDomain: PIOMMU_DOMAIN_CREATE,
pub DeleteDomain: PIOMMU_DOMAIN_DELETE,
pub AttachDevice: PIOMMU_DOMAIN_ATTACH_DEVICE,
pub DetachDevice: PIOMMU_DOMAIN_DETACH_DEVICE,
pub FlushDomain: PIOMMU_FLUSH_DOMAIN,
pub FlushDomainByVaList: PIOMMU_FLUSH_DOMAIN_VA_LIST,
pub QueryInputMappings: PIOMMU_QUERY_INPUT_MAPPINGS,
pub MapLogicalRange: PIOMMU_MAP_LOGICAL_RANGE,
pub UnmapLogicalRange: PIOMMU_UNMAP_LOGICAL_RANGE,
pub MapIdentityRange: PIOMMU_MAP_IDENTITY_RANGE,
pub UnmapIdentityRange: PIOMMU_UNMAP_IDENTITY_RANGE,
pub SetDeviceFaultReporting: PIOMMU_SET_DEVICE_FAULT_REPORTING,
pub ConfigureDomain: PIOMMU_DOMAIN_CONFIGURE,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for DMA_IOMMU_INTERFACE {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for DMA_IOMMU_INTERFACE {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::fmt::Debug for DMA_IOMMU_INTERFACE {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("DMA_IOMMU_INTERFACE").field("Version", &self.Version).finish()
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for DMA_IOMMU_INTERFACE {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for DMA_IOMMU_INTERFACE {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub struct DMA_IOMMU_INTERFACE_EX {
pub Size: usize,
pub Version: u32,
pub Anonymous: DMA_IOMMU_INTERFACE_EX_0,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for DMA_IOMMU_INTERFACE_EX {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for DMA_IOMMU_INTERFACE_EX {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for DMA_IOMMU_INTERFACE_EX {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for DMA_IOMMU_INTERFACE_EX {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub union DMA_IOMMU_INTERFACE_EX_0 {
pub V1: DMA_IOMMU_INTERFACE_V1,
pub V2: DMA_IOMMU_INTERFACE_V2,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for DMA_IOMMU_INTERFACE_EX_0 {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for DMA_IOMMU_INTERFACE_EX_0 {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for DMA_IOMMU_INTERFACE_EX_0 {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for DMA_IOMMU_INTERFACE_EX_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub struct DMA_IOMMU_INTERFACE_V1 {
pub CreateDomain: PIOMMU_DOMAIN_CREATE,
pub DeleteDomain: PIOMMU_DOMAIN_DELETE,
pub AttachDevice: PIOMMU_DOMAIN_ATTACH_DEVICE,
pub DetachDevice: PIOMMU_DOMAIN_DETACH_DEVICE,
pub FlushDomain: PIOMMU_FLUSH_DOMAIN,
pub FlushDomainByVaList: PIOMMU_FLUSH_DOMAIN_VA_LIST,
pub QueryInputMappings: PIOMMU_QUERY_INPUT_MAPPINGS,
pub MapLogicalRange: PIOMMU_MAP_LOGICAL_RANGE,
pub UnmapLogicalRange: PIOMMU_UNMAP_LOGICAL_RANGE,
pub MapIdentityRange: PIOMMU_MAP_IDENTITY_RANGE,
pub UnmapIdentityRange: PIOMMU_UNMAP_IDENTITY_RANGE,
pub SetDeviceFaultReporting: PIOMMU_SET_DEVICE_FAULT_REPORTING,
pub ConfigureDomain: PIOMMU_DOMAIN_CONFIGURE,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for DMA_IOMMU_INTERFACE_V1 {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for DMA_IOMMU_INTERFACE_V1 {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::fmt::Debug for DMA_IOMMU_INTERFACE_V1 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("DMA_IOMMU_INTERFACE_V1").finish()
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for DMA_IOMMU_INTERFACE_V1 {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for DMA_IOMMU_INTERFACE_V1 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub struct DMA_IOMMU_INTERFACE_V2 {
pub CreateDomainEx: PIOMMU_DOMAIN_CREATE_EX,
pub DeleteDomain: PIOMMU_DOMAIN_DELETE,
pub AttachDeviceEx: PIOMMU_DOMAIN_ATTACH_DEVICE_EX,
pub DetachDeviceEx: PIOMMU_DOMAIN_DETACH_DEVICE_EX,
pub FlushDomain: PIOMMU_FLUSH_DOMAIN,
pub FlushDomainByVaList: PIOMMU_FLUSH_DOMAIN_VA_LIST,
pub QueryInputMappings: PIOMMU_QUERY_INPUT_MAPPINGS,
pub MapLogicalRangeEx: PIOMMU_MAP_LOGICAL_RANGE_EX,
pub UnmapLogicalRange: PIOMMU_UNMAP_LOGICAL_RANGE,
pub MapIdentityRangeEx: PIOMMU_MAP_IDENTITY_RANGE_EX,
pub UnmapIdentityRangeEx: PIOMMU_UNMAP_IDENTITY_RANGE_EX,
pub SetDeviceFaultReportingEx: PIOMMU_SET_DEVICE_FAULT_REPORTING_EX,
pub ConfigureDomain: PIOMMU_DOMAIN_CONFIGURE,
pub QueryAvailableDomainTypes: PIOMMU_DEVICE_QUERY_DOMAIN_TYPES,
pub RegisterInterfaceStateChangeCallback: PIOMMU_REGISTER_INTERFACE_STATE_CHANGE_CALLBACK,
pub UnregisterInterfaceStateChangeCallback: PIOMMU_UNREGISTER_INTERFACE_STATE_CHANGE_CALLBACK,
pub ReserveLogicalAddressRange: PIOMMU_RESERVE_LOGICAL_ADDRESS_RANGE,
pub FreeReservedLogicalAddressRange: PIOMMU_FREE_RESERVED_LOGICAL_ADDRESS_RANGE,
pub MapReservedLogicalRange: PIOMMU_MAP_RESERVED_LOGICAL_RANGE,
pub UnmapReservedLogicalRange: PIOMMU_UNMAP_RESERVED_LOGICAL_RANGE,
pub CreateDevice: PIOMMU_DEVICE_CREATE,
pub DeleteDevice: PIOMMU_DEVICE_DELETE,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for DMA_IOMMU_INTERFACE_V2 {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for DMA_IOMMU_INTERFACE_V2 {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::fmt::Debug for DMA_IOMMU_INTERFACE_V2 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("DMA_IOMMU_INTERFACE_V2").finish()
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for DMA_IOMMU_INTERFACE_V2 {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for DMA_IOMMU_INTERFACE_V2 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
pub struct DMA_OPERATIONS {
pub Size: u32,
pub PutDmaAdapter: PPUT_DMA_ADAPTER,
pub AllocateCommonBuffer: PALLOCATE_COMMON_BUFFER,
pub FreeCommonBuffer: PFREE_COMMON_BUFFER,
pub AllocateAdapterChannel: PALLOCATE_ADAPTER_CHANNEL,
pub FlushAdapterBuffers: PFLUSH_ADAPTER_BUFFERS,
pub FreeAdapterChannel: PFREE_ADAPTER_CHANNEL,
pub FreeMapRegisters: PFREE_MAP_REGISTERS,
pub MapTransfer: PMAP_TRANSFER,
pub GetDmaAlignment: PGET_DMA_ALIGNMENT,
pub ReadDmaCounter: PREAD_DMA_COUNTER,
pub GetScatterGatherList: PGET_SCATTER_GATHER_LIST,
pub PutScatterGatherList: PPUT_SCATTER_GATHER_LIST,
pub CalculateScatterGatherList: PCALCULATE_SCATTER_GATHER_LIST_SIZE,
pub BuildScatterGatherList: PBUILD_SCATTER_GATHER_LIST,
pub BuildMdlFromScatterGatherList: PBUILD_MDL_FROM_SCATTER_GATHER_LIST,
pub GetDmaAdapterInfo: PGET_DMA_ADAPTER_INFO,
pub GetDmaTransferInfo: PGET_DMA_TRANSFER_INFO,
pub InitializeDmaTransferContext: PINITIALIZE_DMA_TRANSFER_CONTEXT,
pub AllocateCommonBufferEx: PALLOCATE_COMMON_BUFFER_EX,
pub AllocateAdapterChannelEx: PALLOCATE_ADAPTER_CHANNEL_EX,
pub ConfigureAdapterChannel: PCONFIGURE_ADAPTER_CHANNEL,
pub CancelAdapterChannel: PCANCEL_ADAPTER_CHANNEL,
pub MapTransferEx: PMAP_TRANSFER_EX,
pub GetScatterGatherListEx: PGET_SCATTER_GATHER_LIST_EX,
pub BuildScatterGatherListEx: PBUILD_SCATTER_GATHER_LIST_EX,
pub FlushAdapterBuffersEx: PFLUSH_ADAPTER_BUFFERS_EX,
pub FreeAdapterObject: PFREE_ADAPTER_OBJECT,
pub CancelMappedTransfer: PCANCEL_MAPPED_TRANSFER,
pub AllocateDomainCommonBuffer: PALLOCATE_DOMAIN_COMMON_BUFFER,
pub FlushDmaBuffer: PFLUSH_DMA_BUFFER,
pub JoinDmaDomain: PJOIN_DMA_DOMAIN,
pub LeaveDmaDomain: PLEAVE_DMA_DOMAIN,
pub GetDmaDomain: PGET_DMA_DOMAIN,
pub AllocateCommonBufferWithBounds: PALLOCATE_COMMON_BUFFER_WITH_BOUNDS,
pub AllocateCommonBufferVector: PALLOCATE_COMMON_BUFFER_VECTOR,
pub GetCommonBufferFromVectorByIndex: PGET_COMMON_BUFFER_FROM_VECTOR_BY_INDEX,
pub FreeCommonBufferFromVector: PFREE_COMMON_BUFFER_FROM_VECTOR,
pub FreeCommonBufferVector: PFREE_COMMON_BUFFER_VECTOR,
pub CreateCommonBufferFromMdl: PCREATE_COMMON_BUFFER_FROM_MDL,
}
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
impl ::core::marker::Copy for DMA_OPERATIONS {}
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
impl ::core::clone::Clone for DMA_OPERATIONS {
fn clone(&self) -> Self {
*self
}
}
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
impl ::core::fmt::Debug for DMA_OPERATIONS {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("DMA_OPERATIONS").field("Size", &self.Size).finish()
}
}
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
impl ::windows_core::TypeKind for DMA_OPERATIONS {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
impl ::core::default::Default for DMA_OPERATIONS {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct DMA_TRANSFER_INFO {
pub Version: u32,
pub Anonymous: DMA_TRANSFER_INFO_0,
}
impl ::core::marker::Copy for DMA_TRANSFER_INFO {}
impl ::core::clone::Clone for DMA_TRANSFER_INFO {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for DMA_TRANSFER_INFO {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for DMA_TRANSFER_INFO {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub union DMA_TRANSFER_INFO_0 {
pub V1: DMA_TRANSFER_INFO_V1,
pub V2: DMA_TRANSFER_INFO_V2,
}
impl ::core::marker::Copy for DMA_TRANSFER_INFO_0 {}
impl ::core::clone::Clone for DMA_TRANSFER_INFO_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for DMA_TRANSFER_INFO_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for DMA_TRANSFER_INFO_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct DMA_TRANSFER_INFO_V1 {
pub MapRegisterCount: u32,
pub ScatterGatherElementCount: u32,
pub ScatterGatherListSize: u32,
}
impl ::core::marker::Copy for DMA_TRANSFER_INFO_V1 {}
impl ::core::clone::Clone for DMA_TRANSFER_INFO_V1 {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for DMA_TRANSFER_INFO_V1 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("DMA_TRANSFER_INFO_V1").field("MapRegisterCount", &self.MapRegisterCount).field("ScatterGatherElementCount", &self.ScatterGatherElementCount).field("ScatterGatherListSize", &self.ScatterGatherListSize).finish()
}
}
impl ::windows_core::TypeKind for DMA_TRANSFER_INFO_V1 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for DMA_TRANSFER_INFO_V1 {
fn eq(&self, other: &Self) -> bool {
self.MapRegisterCount == other.MapRegisterCount && self.ScatterGatherElementCount == other.ScatterGatherElementCount && self.ScatterGatherListSize == other.ScatterGatherListSize
}
}
impl ::core::cmp::Eq for DMA_TRANSFER_INFO_V1 {}
impl ::core::default::Default for DMA_TRANSFER_INFO_V1 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct DMA_TRANSFER_INFO_V2 {
pub MapRegisterCount: u32,
pub ScatterGatherElementCount: u32,
pub ScatterGatherListSize: u32,
pub LogicalPageCount: u32,
}
impl ::core::marker::Copy for DMA_TRANSFER_INFO_V2 {}
impl ::core::clone::Clone for DMA_TRANSFER_INFO_V2 {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for DMA_TRANSFER_INFO_V2 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("DMA_TRANSFER_INFO_V2").field("MapRegisterCount", &self.MapRegisterCount).field("ScatterGatherElementCount", &self.ScatterGatherElementCount).field("ScatterGatherListSize", &self.ScatterGatherListSize).field("LogicalPageCount", &self.LogicalPageCount).finish()
}
}
impl ::windows_core::TypeKind for DMA_TRANSFER_INFO_V2 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for DMA_TRANSFER_INFO_V2 {
fn eq(&self, other: &Self) -> bool {
self.MapRegisterCount == other.MapRegisterCount && self.ScatterGatherElementCount == other.ScatterGatherElementCount && self.ScatterGatherListSize == other.ScatterGatherListSize && self.LogicalPageCount == other.LogicalPageCount
}
}
impl ::core::cmp::Eq for DMA_TRANSFER_INFO_V2 {}
impl ::core::default::Default for DMA_TRANSFER_INFO_V2 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub struct DOMAIN_CONFIGURATION {
pub Type: DOMAIN_CONFIGURATION_ARCH,
pub Anonymous: DOMAIN_CONFIGURATION_0,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for DOMAIN_CONFIGURATION {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for DOMAIN_CONFIGURATION {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for DOMAIN_CONFIGURATION {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for DOMAIN_CONFIGURATION {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub union DOMAIN_CONFIGURATION_0 {
pub Arm64: DOMAIN_CONFIGURATION_ARM64,
pub X64: DOMAIN_CONFIGURATION_X64,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for DOMAIN_CONFIGURATION_0 {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for DOMAIN_CONFIGURATION_0 {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for DOMAIN_CONFIGURATION_0 {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for DOMAIN_CONFIGURATION_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub struct DOMAIN_CONFIGURATION_ARM64 {
pub Ttbr0: i64,
pub Ttbr1: i64,
pub Mair0: u32,
pub Mair1: u32,
pub InputSize0: u8,
pub InputSize1: u8,
pub CoherentTableWalks: super::super::super::Win32::Foundation::BOOLEAN,
pub TranslationEnabled: super::super::super::Win32::Foundation::BOOLEAN,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for DOMAIN_CONFIGURATION_ARM64 {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for DOMAIN_CONFIGURATION_ARM64 {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::fmt::Debug for DOMAIN_CONFIGURATION_ARM64 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("DOMAIN_CONFIGURATION_ARM64").field("Ttbr0", &self.Ttbr0).field("Ttbr1", &self.Ttbr1).field("Mair0", &self.Mair0).field("Mair1", &self.Mair1).field("InputSize0", &self.InputSize0).field("InputSize1", &self.InputSize1).field("CoherentTableWalks", &self.CoherentTableWalks).field("TranslationEnabled", &self.TranslationEnabled).finish()
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for DOMAIN_CONFIGURATION_ARM64 {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::PartialEq for DOMAIN_CONFIGURATION_ARM64 {
fn eq(&self, other: &Self) -> bool {
self.Ttbr0 == other.Ttbr0 && self.Ttbr1 == other.Ttbr1 && self.Mair0 == other.Mair0 && self.Mair1 == other.Mair1 && self.InputSize0 == other.InputSize0 && self.InputSize1 == other.InputSize1 && self.CoherentTableWalks == other.CoherentTableWalks && self.TranslationEnabled == other.TranslationEnabled
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::Eq for DOMAIN_CONFIGURATION_ARM64 {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for DOMAIN_CONFIGURATION_ARM64 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub struct DOMAIN_CONFIGURATION_X64 {
pub FirstLevelPageTableRoot: i64,
pub TranslationEnabled: super::super::super::Win32::Foundation::BOOLEAN,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for DOMAIN_CONFIGURATION_X64 {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for DOMAIN_CONFIGURATION_X64 {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::fmt::Debug for DOMAIN_CONFIGURATION_X64 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("DOMAIN_CONFIGURATION_X64").field("FirstLevelPageTableRoot", &self.FirstLevelPageTableRoot).field("TranslationEnabled", &self.TranslationEnabled).finish()
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for DOMAIN_CONFIGURATION_X64 {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::PartialEq for DOMAIN_CONFIGURATION_X64 {
fn eq(&self, other: &Self) -> bool {
self.FirstLevelPageTableRoot == other.FirstLevelPageTableRoot && self.TranslationEnabled == other.TranslationEnabled
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::Eq for DOMAIN_CONFIGURATION_X64 {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for DOMAIN_CONFIGURATION_X64 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct DPC_WATCHDOG_GLOBAL_TRIAGE_BLOCK {
pub Signature: u32,
pub Revision: u16,
pub Size: u16,
pub DpcWatchdogProfileOffset: u16,
pub DpcWatchdogProfileLength: u32,
}
impl ::core::marker::Copy for DPC_WATCHDOG_GLOBAL_TRIAGE_BLOCK {}
impl ::core::clone::Clone for DPC_WATCHDOG_GLOBAL_TRIAGE_BLOCK {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for DPC_WATCHDOG_GLOBAL_TRIAGE_BLOCK {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("DPC_WATCHDOG_GLOBAL_TRIAGE_BLOCK").field("Signature", &self.Signature).field("Revision", &self.Revision).field("Size", &self.Size).field("DpcWatchdogProfileOffset", &self.DpcWatchdogProfileOffset).field("DpcWatchdogProfileLength", &self.DpcWatchdogProfileLength).finish()
}
}
impl ::windows_core::TypeKind for DPC_WATCHDOG_GLOBAL_TRIAGE_BLOCK {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for DPC_WATCHDOG_GLOBAL_TRIAGE_BLOCK {
fn eq(&self, other: &Self) -> bool {
self.Signature == other.Signature && self.Revision == other.Revision && self.Size == other.Size && self.DpcWatchdogProfileOffset == other.DpcWatchdogProfileOffset && self.DpcWatchdogProfileLength == other.DpcWatchdogProfileLength
}
}
impl ::core::cmp::Eq for DPC_WATCHDOG_GLOBAL_TRIAGE_BLOCK {}
impl ::core::default::Default for DPC_WATCHDOG_GLOBAL_TRIAGE_BLOCK {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct DRIVER_VERIFIER_THUNK_PAIRS {
pub PristineRoutine: PDRIVER_VERIFIER_THUNK_ROUTINE,
pub NewRoutine: PDRIVER_VERIFIER_THUNK_ROUTINE,
}
impl ::core::marker::Copy for DRIVER_VERIFIER_THUNK_PAIRS {}
impl ::core::clone::Clone for DRIVER_VERIFIER_THUNK_PAIRS {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for DRIVER_VERIFIER_THUNK_PAIRS {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("DRIVER_VERIFIER_THUNK_PAIRS").finish()
}
}
impl ::windows_core::TypeKind for DRIVER_VERIFIER_THUNK_PAIRS {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for DRIVER_VERIFIER_THUNK_PAIRS {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(1))]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct EFI_ACPI_RAS_SIGNAL_TABLE {
pub Header: WHEA_ACPI_HEADER,
pub NumberRecord: u32,
pub Entries: [SIGNAL_REG_VALUE; 1],
}
impl ::core::marker::Copy for EFI_ACPI_RAS_SIGNAL_TABLE {}
impl ::core::clone::Clone for EFI_ACPI_RAS_SIGNAL_TABLE {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for EFI_ACPI_RAS_SIGNAL_TABLE {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for EFI_ACPI_RAS_SIGNAL_TABLE {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct EISA_DMA_CONFIGURATION {
pub ConfigurationByte0: DMA_CONFIGURATION_BYTE0,
pub ConfigurationByte1: DMA_CONFIGURATION_BYTE1,
}
impl ::core::marker::Copy for EISA_DMA_CONFIGURATION {}
impl ::core::clone::Clone for EISA_DMA_CONFIGURATION {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for EISA_DMA_CONFIGURATION {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("EISA_DMA_CONFIGURATION").field("ConfigurationByte0", &self.ConfigurationByte0).field("ConfigurationByte1", &self.ConfigurationByte1).finish()
}
}
impl ::windows_core::TypeKind for EISA_DMA_CONFIGURATION {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for EISA_DMA_CONFIGURATION {
fn eq(&self, other: &Self) -> bool {
self.ConfigurationByte0 == other.ConfigurationByte0 && self.ConfigurationByte1 == other.ConfigurationByte1
}
}
impl ::core::cmp::Eq for EISA_DMA_CONFIGURATION {}
impl ::core::default::Default for EISA_DMA_CONFIGURATION {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct EISA_IRQ_CONFIGURATION {
pub ConfigurationByte: EISA_IRQ_DESCRIPTOR,
pub Reserved: u8,
}
impl ::core::marker::Copy for EISA_IRQ_CONFIGURATION {}
impl ::core::clone::Clone for EISA_IRQ_CONFIGURATION {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for EISA_IRQ_CONFIGURATION {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("EISA_IRQ_CONFIGURATION").field("ConfigurationByte", &self.ConfigurationByte).field("Reserved", &self.Reserved).finish()
}
}
impl ::windows_core::TypeKind for EISA_IRQ_CONFIGURATION {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for EISA_IRQ_CONFIGURATION {
fn eq(&self, other: &Self) -> bool {
self.ConfigurationByte == other.ConfigurationByte && self.Reserved == other.Reserved
}
}
impl ::core::cmp::Eq for EISA_IRQ_CONFIGURATION {}
impl ::core::default::Default for EISA_IRQ_CONFIGURATION {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct EISA_IRQ_DESCRIPTOR {
pub _bitfield: u8,
}
impl ::core::marker::Copy for EISA_IRQ_DESCRIPTOR {}
impl ::core::clone::Clone for EISA_IRQ_DESCRIPTOR {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for EISA_IRQ_DESCRIPTOR {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("EISA_IRQ_DESCRIPTOR").field("_bitfield", &self._bitfield).finish()
}
}
impl ::windows_core::TypeKind for EISA_IRQ_DESCRIPTOR {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for EISA_IRQ_DESCRIPTOR {
fn eq(&self, other: &Self) -> bool {
self._bitfield == other._bitfield
}
}
impl ::core::cmp::Eq for EISA_IRQ_DESCRIPTOR {}
impl ::core::default::Default for EISA_IRQ_DESCRIPTOR {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(1))]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct EISA_MEMORY_CONFIGURATION {
pub ConfigurationByte: EISA_MEMORY_TYPE,
pub DataSize: u8,
pub AddressLowWord: u16,
pub AddressHighByte: u8,
pub MemorySize: u16,
}
impl ::core::marker::Copy for EISA_MEMORY_CONFIGURATION {}
impl ::core::clone::Clone for EISA_MEMORY_CONFIGURATION {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for EISA_MEMORY_CONFIGURATION {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for EISA_MEMORY_CONFIGURATION {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct EISA_MEMORY_TYPE {
pub _bitfield: u8,
}
impl ::core::marker::Copy for EISA_MEMORY_TYPE {}
impl ::core::clone::Clone for EISA_MEMORY_TYPE {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for EISA_MEMORY_TYPE {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("EISA_MEMORY_TYPE").field("_bitfield", &self._bitfield).finish()
}
}
impl ::windows_core::TypeKind for EISA_MEMORY_TYPE {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for EISA_MEMORY_TYPE {
fn eq(&self, other: &Self) -> bool {
self._bitfield == other._bitfield
}
}
impl ::core::cmp::Eq for EISA_MEMORY_TYPE {}
impl ::core::default::Default for EISA_MEMORY_TYPE {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(1))]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct EISA_PORT_CONFIGURATION {
pub Configuration: EISA_PORT_DESCRIPTOR,
pub PortAddress: u16,
}
impl ::core::marker::Copy for EISA_PORT_CONFIGURATION {}
impl ::core::clone::Clone for EISA_PORT_CONFIGURATION {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for EISA_PORT_CONFIGURATION {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for EISA_PORT_CONFIGURATION {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct EISA_PORT_DESCRIPTOR {
pub _bitfield: u8,
}
impl ::core::marker::Copy for EISA_PORT_DESCRIPTOR {}
impl ::core::clone::Clone for EISA_PORT_DESCRIPTOR {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for EISA_PORT_DESCRIPTOR {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("EISA_PORT_DESCRIPTOR").field("_bitfield", &self._bitfield).finish()
}
}
impl ::windows_core::TypeKind for EISA_PORT_DESCRIPTOR {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for EISA_PORT_DESCRIPTOR {
fn eq(&self, other: &Self) -> bool {
self._bitfield == other._bitfield
}
}
impl ::core::cmp::Eq for EISA_PORT_DESCRIPTOR {}
impl ::core::default::Default for EISA_PORT_DESCRIPTOR {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct ETW_TRACE_SESSION_SETTINGS {
pub Version: u32,
pub BufferSize: u32,
pub MinimumBuffers: u32,
pub MaximumBuffers: u32,
pub LoggerMode: u32,
pub FlushTimer: u32,
pub FlushThreshold: u32,
pub ClockType: u32,
}
impl ::core::marker::Copy for ETW_TRACE_SESSION_SETTINGS {}
impl ::core::clone::Clone for ETW_TRACE_SESSION_SETTINGS {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for ETW_TRACE_SESSION_SETTINGS {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("ETW_TRACE_SESSION_SETTINGS").field("Version", &self.Version).field("BufferSize", &self.BufferSize).field("MinimumBuffers", &self.MinimumBuffers).field("MaximumBuffers", &self.MaximumBuffers).field("LoggerMode", &self.LoggerMode).field("FlushTimer", &self.FlushTimer).field("FlushThreshold", &self.FlushThreshold).field("ClockType", &self.ClockType).finish()
}
}
impl ::windows_core::TypeKind for ETW_TRACE_SESSION_SETTINGS {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for ETW_TRACE_SESSION_SETTINGS {
fn eq(&self, other: &Self) -> bool {
self.Version == other.Version && self.BufferSize == other.BufferSize && self.MinimumBuffers == other.MinimumBuffers && self.MaximumBuffers == other.MaximumBuffers && self.LoggerMode == other.LoggerMode && self.FlushTimer == other.FlushTimer && self.FlushThreshold == other.FlushThreshold && self.ClockType == other.ClockType
}
}
impl ::core::cmp::Eq for ETW_TRACE_SESSION_SETTINGS {}
impl ::core::default::Default for ETW_TRACE_SESSION_SETTINGS {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct EXTENDED_CREATE_INFORMATION {
pub ExtendedCreateFlags: i64,
pub EaBuffer: *mut ::core::ffi::c_void,
pub EaLength: u32,
}
impl ::core::marker::Copy for EXTENDED_CREATE_INFORMATION {}
impl ::core::clone::Clone for EXTENDED_CREATE_INFORMATION {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for EXTENDED_CREATE_INFORMATION {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("EXTENDED_CREATE_INFORMATION").field("ExtendedCreateFlags", &self.ExtendedCreateFlags).field("EaBuffer", &self.EaBuffer).field("EaLength", &self.EaLength).finish()
}
}
impl ::windows_core::TypeKind for EXTENDED_CREATE_INFORMATION {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for EXTENDED_CREATE_INFORMATION {
fn eq(&self, other: &Self) -> bool {
self.ExtendedCreateFlags == other.ExtendedCreateFlags && self.EaBuffer == other.EaBuffer && self.EaLength == other.EaLength
}
}
impl ::core::cmp::Eq for EXTENDED_CREATE_INFORMATION {}
impl ::core::default::Default for EXTENDED_CREATE_INFORMATION {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct EXTENDED_CREATE_INFORMATION_32 {
pub ExtendedCreateFlags: i64,
pub EaBuffer: *mut ::core::ffi::c_void,
pub EaLength: u32,
}
impl ::core::marker::Copy for EXTENDED_CREATE_INFORMATION_32 {}
impl ::core::clone::Clone for EXTENDED_CREATE_INFORMATION_32 {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for EXTENDED_CREATE_INFORMATION_32 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("EXTENDED_CREATE_INFORMATION_32").field("ExtendedCreateFlags", &self.ExtendedCreateFlags).field("EaBuffer", &self.EaBuffer).field("EaLength", &self.EaLength).finish()
}
}
impl ::windows_core::TypeKind for EXTENDED_CREATE_INFORMATION_32 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for EXTENDED_CREATE_INFORMATION_32 {
fn eq(&self, other: &Self) -> bool {
self.ExtendedCreateFlags == other.ExtendedCreateFlags && self.EaBuffer == other.EaBuffer && self.EaLength == other.EaLength
}
}
impl ::core::cmp::Eq for EXTENDED_CREATE_INFORMATION_32 {}
impl ::core::default::Default for EXTENDED_CREATE_INFORMATION_32 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct EXT_DELETE_PARAMETERS {
pub Version: u32,
pub Reserved: u32,
pub DeleteCallback: PEXT_DELETE_CALLBACK,
pub DeleteContext: *mut ::core::ffi::c_void,
}
impl ::core::marker::Copy for EXT_DELETE_PARAMETERS {}
impl ::core::clone::Clone for EXT_DELETE_PARAMETERS {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for EXT_DELETE_PARAMETERS {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("EXT_DELETE_PARAMETERS").field("Version", &self.Version).field("Reserved", &self.Reserved).field("DeleteContext", &self.DeleteContext).finish()
}
}
impl ::windows_core::TypeKind for EXT_DELETE_PARAMETERS {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for EXT_DELETE_PARAMETERS {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct EX_RUNDOWN_REF {
pub Anonymous: EX_RUNDOWN_REF_0,
}
impl ::core::marker::Copy for EX_RUNDOWN_REF {}
impl ::core::clone::Clone for EX_RUNDOWN_REF {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for EX_RUNDOWN_REF {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for EX_RUNDOWN_REF {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub union EX_RUNDOWN_REF_0 {
pub Count: usize,
pub Ptr: *mut ::core::ffi::c_void,
}
impl ::core::marker::Copy for EX_RUNDOWN_REF_0 {}
impl ::core::clone::Clone for EX_RUNDOWN_REF_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for EX_RUNDOWN_REF_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for EX_RUNDOWN_REF_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
pub struct FAULT_INFORMATION {
pub Type: FAULT_INFORMATION_ARCH,
pub IsStage1: super::super::super::Win32::Foundation::BOOLEAN,
pub Anonymous: FAULT_INFORMATION_0,
}
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
impl ::core::marker::Copy for FAULT_INFORMATION {}
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
impl ::core::clone::Clone for FAULT_INFORMATION {
fn clone(&self) -> Self {
*self
}
}
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
impl ::windows_core::TypeKind for FAULT_INFORMATION {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
impl ::core::default::Default for FAULT_INFORMATION {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
pub union FAULT_INFORMATION_0 {
pub Arm64: FAULT_INFORMATION_ARM64,
pub X64: FAULT_INFORMATION_X64,
}
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
impl ::core::marker::Copy for FAULT_INFORMATION_0 {}
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
impl ::core::clone::Clone for FAULT_INFORMATION_0 {
fn clone(&self) -> Self {
*self
}
}
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
impl ::windows_core::TypeKind for FAULT_INFORMATION_0 {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
impl ::core::default::Default for FAULT_INFORMATION_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
pub struct FAULT_INFORMATION_ARM64 {
pub DomainHandle: *mut ::core::ffi::c_void,
pub FaultAddress: *mut ::core::ffi::c_void,
pub PhysicalDeviceObject: *mut super::super::Foundation::DEVICE_OBJECT,
pub InputMappingId: u32,
pub Flags: FAULT_INFORMATION_ARM64_FLAGS,
pub Type: FAULT_INFORMATION_ARM64_TYPE,
pub IommuBaseAddress: u64,
}
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
impl ::core::marker::Copy for FAULT_INFORMATION_ARM64 {}
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
impl ::core::clone::Clone for FAULT_INFORMATION_ARM64 {
fn clone(&self) -> Self {
*self
}
}
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
impl ::core::fmt::Debug for FAULT_INFORMATION_ARM64 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("FAULT_INFORMATION_ARM64").field("DomainHandle", &self.DomainHandle).field("FaultAddress", &self.FaultAddress).field("PhysicalDeviceObject", &self.PhysicalDeviceObject).field("InputMappingId", &self.InputMappingId).field("Flags", &self.Flags).field("Type", &self.Type).field("IommuBaseAddress", &self.IommuBaseAddress).finish()
}
}
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
impl ::windows_core::TypeKind for FAULT_INFORMATION_ARM64 {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
impl ::core::cmp::PartialEq for FAULT_INFORMATION_ARM64 {
fn eq(&self, other: &Self) -> bool {
self.DomainHandle == other.DomainHandle && self.FaultAddress == other.FaultAddress && self.PhysicalDeviceObject == other.PhysicalDeviceObject && self.InputMappingId == other.InputMappingId && self.Flags == other.Flags && self.Type == other.Type && self.IommuBaseAddress == other.IommuBaseAddress
}
}
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
impl ::core::cmp::Eq for FAULT_INFORMATION_ARM64 {}
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
impl ::core::default::Default for FAULT_INFORMATION_ARM64 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct FAULT_INFORMATION_ARM64_FLAGS {
pub _bitfield: u32,
}
impl ::core::marker::Copy for FAULT_INFORMATION_ARM64_FLAGS {}
impl ::core::clone::Clone for FAULT_INFORMATION_ARM64_FLAGS {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for FAULT_INFORMATION_ARM64_FLAGS {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("FAULT_INFORMATION_ARM64_FLAGS").field("_bitfield", &self._bitfield).finish()
}
}
impl ::windows_core::TypeKind for FAULT_INFORMATION_ARM64_FLAGS {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for FAULT_INFORMATION_ARM64_FLAGS {
fn eq(&self, other: &Self) -> bool {
self._bitfield == other._bitfield
}
}
impl ::core::cmp::Eq for FAULT_INFORMATION_ARM64_FLAGS {}
impl ::core::default::Default for FAULT_INFORMATION_ARM64_FLAGS {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct FAULT_INFORMATION_X64 {
pub DomainHandle: *mut ::core::ffi::c_void,
pub FaultAddress: *mut ::core::ffi::c_void,
pub Flags: FAULT_INFORMATION_X64_FLAGS,
pub Type: FAULT_INFORMATION_ARM64_TYPE,
pub IommuBaseAddress: u64,
pub PciSegment: u32,
}
impl ::core::marker::Copy for FAULT_INFORMATION_X64 {}
impl ::core::clone::Clone for FAULT_INFORMATION_X64 {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for FAULT_INFORMATION_X64 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("FAULT_INFORMATION_X64").field("DomainHandle", &self.DomainHandle).field("FaultAddress", &self.FaultAddress).field("Flags", &self.Flags).field("Type", &self.Type).field("IommuBaseAddress", &self.IommuBaseAddress).field("PciSegment", &self.PciSegment).finish()
}
}
impl ::windows_core::TypeKind for FAULT_INFORMATION_X64 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for FAULT_INFORMATION_X64 {
fn eq(&self, other: &Self) -> bool {
self.DomainHandle == other.DomainHandle && self.FaultAddress == other.FaultAddress && self.Flags == other.Flags && self.Type == other.Type && self.IommuBaseAddress == other.IommuBaseAddress && self.PciSegment == other.PciSegment
}
}
impl ::core::cmp::Eq for FAULT_INFORMATION_X64 {}
impl ::core::default::Default for FAULT_INFORMATION_X64 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct FAULT_INFORMATION_X64_FLAGS {
pub _bitfield: u32,
}
impl ::core::marker::Copy for FAULT_INFORMATION_X64_FLAGS {}
impl ::core::clone::Clone for FAULT_INFORMATION_X64_FLAGS {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for FAULT_INFORMATION_X64_FLAGS {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("FAULT_INFORMATION_X64_FLAGS").field("_bitfield", &self._bitfield).finish()
}
}
impl ::windows_core::TypeKind for FAULT_INFORMATION_X64_FLAGS {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for FAULT_INFORMATION_X64_FLAGS {
fn eq(&self, other: &Self) -> bool {
self._bitfield == other._bitfield
}
}
impl ::core::cmp::Eq for FAULT_INFORMATION_X64_FLAGS {}
impl ::core::default::Default for FAULT_INFORMATION_X64_FLAGS {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct FILE_ATTRIBUTE_TAG_INFORMATION {
pub FileAttributes: u32,
pub ReparseTag: u32,
}
impl ::core::marker::Copy for FILE_ATTRIBUTE_TAG_INFORMATION {}
impl ::core::clone::Clone for FILE_ATTRIBUTE_TAG_INFORMATION {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for FILE_ATTRIBUTE_TAG_INFORMATION {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("FILE_ATTRIBUTE_TAG_INFORMATION").field("FileAttributes", &self.FileAttributes).field("ReparseTag", &self.ReparseTag).finish()
}
}
impl ::windows_core::TypeKind for FILE_ATTRIBUTE_TAG_INFORMATION {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for FILE_ATTRIBUTE_TAG_INFORMATION {
fn eq(&self, other: &Self) -> bool {
self.FileAttributes == other.FileAttributes && self.ReparseTag == other.ReparseTag
}
}
impl ::core::cmp::Eq for FILE_ATTRIBUTE_TAG_INFORMATION {}
impl ::core::default::Default for FILE_ATTRIBUTE_TAG_INFORMATION {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct FILE_END_OF_FILE_INFORMATION {
pub EndOfFile: i64,
}
impl ::core::marker::Copy for FILE_END_OF_FILE_INFORMATION {}
impl ::core::clone::Clone for FILE_END_OF_FILE_INFORMATION {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for FILE_END_OF_FILE_INFORMATION {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("FILE_END_OF_FILE_INFORMATION").field("EndOfFile", &self.EndOfFile).finish()
}
}
impl ::windows_core::TypeKind for FILE_END_OF_FILE_INFORMATION {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for FILE_END_OF_FILE_INFORMATION {
fn eq(&self, other: &Self) -> bool {
self.EndOfFile == other.EndOfFile
}
}
impl ::core::cmp::Eq for FILE_END_OF_FILE_INFORMATION {}
impl ::core::default::Default for FILE_END_OF_FILE_INFORMATION {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct FILE_FS_DEVICE_INFORMATION {
pub DeviceType: u32,
pub Characteristics: u32,
}
impl ::core::marker::Copy for FILE_FS_DEVICE_INFORMATION {}
impl ::core::clone::Clone for FILE_FS_DEVICE_INFORMATION {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for FILE_FS_DEVICE_INFORMATION {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("FILE_FS_DEVICE_INFORMATION").field("DeviceType", &self.DeviceType).field("Characteristics", &self.Characteristics).finish()
}
}
impl ::windows_core::TypeKind for FILE_FS_DEVICE_INFORMATION {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for FILE_FS_DEVICE_INFORMATION {
fn eq(&self, other: &Self) -> bool {
self.DeviceType == other.DeviceType && self.Characteristics == other.Characteristics
}
}
impl ::core::cmp::Eq for FILE_FS_DEVICE_INFORMATION {}
impl ::core::default::Default for FILE_FS_DEVICE_INFORMATION {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct FILE_FS_FULL_SIZE_INFORMATION {
pub TotalAllocationUnits: i64,
pub CallerAvailableAllocationUnits: i64,
pub ActualAvailableAllocationUnits: i64,
pub SectorsPerAllocationUnit: u32,
pub BytesPerSector: u32,
}
impl ::core::marker::Copy for FILE_FS_FULL_SIZE_INFORMATION {}
impl ::core::clone::Clone for FILE_FS_FULL_SIZE_INFORMATION {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for FILE_FS_FULL_SIZE_INFORMATION {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("FILE_FS_FULL_SIZE_INFORMATION").field("TotalAllocationUnits", &self.TotalAllocationUnits).field("CallerAvailableAllocationUnits", &self.CallerAvailableAllocationUnits).field("ActualAvailableAllocationUnits", &self.ActualAvailableAllocationUnits).field("SectorsPerAllocationUnit", &self.SectorsPerAllocationUnit).field("BytesPerSector", &self.BytesPerSector).finish()
}
}
impl ::windows_core::TypeKind for FILE_FS_FULL_SIZE_INFORMATION {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for FILE_FS_FULL_SIZE_INFORMATION {
fn eq(&self, other: &Self) -> bool {
self.TotalAllocationUnits == other.TotalAllocationUnits && self.CallerAvailableAllocationUnits == other.CallerAvailableAllocationUnits && self.ActualAvailableAllocationUnits == other.ActualAvailableAllocationUnits && self.SectorsPerAllocationUnit == other.SectorsPerAllocationUnit && self.BytesPerSector == other.BytesPerSector
}
}
impl ::core::cmp::Eq for FILE_FS_FULL_SIZE_INFORMATION {}
impl ::core::default::Default for FILE_FS_FULL_SIZE_INFORMATION {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct FILE_FS_FULL_SIZE_INFORMATION_EX {
pub ActualTotalAllocationUnits: u64,
pub ActualAvailableAllocationUnits: u64,
pub ActualPoolUnavailableAllocationUnits: u64,
pub CallerTotalAllocationUnits: u64,
pub CallerAvailableAllocationUnits: u64,
pub CallerPoolUnavailableAllocationUnits: u64,
pub UsedAllocationUnits: u64,
pub TotalReservedAllocationUnits: u64,
pub VolumeStorageReserveAllocationUnits: u64,
pub AvailableCommittedAllocationUnits: u64,
pub PoolAvailableAllocationUnits: u64,
pub SectorsPerAllocationUnit: u32,
pub BytesPerSector: u32,
}
impl ::core::marker::Copy for FILE_FS_FULL_SIZE_INFORMATION_EX {}
impl ::core::clone::Clone for FILE_FS_FULL_SIZE_INFORMATION_EX {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for FILE_FS_FULL_SIZE_INFORMATION_EX {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("FILE_FS_FULL_SIZE_INFORMATION_EX")
.field("ActualTotalAllocationUnits", &self.ActualTotalAllocationUnits)
.field("ActualAvailableAllocationUnits", &self.ActualAvailableAllocationUnits)
.field("ActualPoolUnavailableAllocationUnits", &self.ActualPoolUnavailableAllocationUnits)
.field("CallerTotalAllocationUnits", &self.CallerTotalAllocationUnits)
.field("CallerAvailableAllocationUnits", &self.CallerAvailableAllocationUnits)
.field("CallerPoolUnavailableAllocationUnits", &self.CallerPoolUnavailableAllocationUnits)
.field("UsedAllocationUnits", &self.UsedAllocationUnits)
.field("TotalReservedAllocationUnits", &self.TotalReservedAllocationUnits)
.field("VolumeStorageReserveAllocationUnits", &self.VolumeStorageReserveAllocationUnits)
.field("AvailableCommittedAllocationUnits", &self.AvailableCommittedAllocationUnits)
.field("PoolAvailableAllocationUnits", &self.PoolAvailableAllocationUnits)
.field("SectorsPerAllocationUnit", &self.SectorsPerAllocationUnit)
.field("BytesPerSector", &self.BytesPerSector)
.finish()
}
}
impl ::windows_core::TypeKind for FILE_FS_FULL_SIZE_INFORMATION_EX {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for FILE_FS_FULL_SIZE_INFORMATION_EX {
fn eq(&self, other: &Self) -> bool {
self.ActualTotalAllocationUnits == other.ActualTotalAllocationUnits
&& self.ActualAvailableAllocationUnits == other.ActualAvailableAllocationUnits
&& self.ActualPoolUnavailableAllocationUnits == other.ActualPoolUnavailableAllocationUnits
&& self.CallerTotalAllocationUnits == other.CallerTotalAllocationUnits
&& self.CallerAvailableAllocationUnits == other.CallerAvailableAllocationUnits
&& self.CallerPoolUnavailableAllocationUnits == other.CallerPoolUnavailableAllocationUnits
&& self.UsedAllocationUnits == other.UsedAllocationUnits
&& self.TotalReservedAllocationUnits == other.TotalReservedAllocationUnits
&& self.VolumeStorageReserveAllocationUnits == other.VolumeStorageReserveAllocationUnits
&& self.AvailableCommittedAllocationUnits == other.AvailableCommittedAllocationUnits
&& self.PoolAvailableAllocationUnits == other.PoolAvailableAllocationUnits
&& self.SectorsPerAllocationUnit == other.SectorsPerAllocationUnit
&& self.BytesPerSector == other.BytesPerSector
}
}
impl ::core::cmp::Eq for FILE_FS_FULL_SIZE_INFORMATION_EX {}
impl ::core::default::Default for FILE_FS_FULL_SIZE_INFORMATION_EX {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct FILE_FS_LABEL_INFORMATION {
pub VolumeLabelLength: u32,
pub VolumeLabel: [u16; 1],
}
impl ::core::marker::Copy for FILE_FS_LABEL_INFORMATION {}
impl ::core::clone::Clone for FILE_FS_LABEL_INFORMATION {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for FILE_FS_LABEL_INFORMATION {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("FILE_FS_LABEL_INFORMATION").field("VolumeLabelLength", &self.VolumeLabelLength).field("VolumeLabel", &self.VolumeLabel).finish()
}
}
impl ::windows_core::TypeKind for FILE_FS_LABEL_INFORMATION {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for FILE_FS_LABEL_INFORMATION {
fn eq(&self, other: &Self) -> bool {
self.VolumeLabelLength == other.VolumeLabelLength && self.VolumeLabel == other.VolumeLabel
}
}
impl ::core::cmp::Eq for FILE_FS_LABEL_INFORMATION {}
impl ::core::default::Default for FILE_FS_LABEL_INFORMATION {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct FILE_FS_METADATA_SIZE_INFORMATION {
pub TotalMetadataAllocationUnits: i64,
pub SectorsPerAllocationUnit: u32,
pub BytesPerSector: u32,
}
impl ::core::marker::Copy for FILE_FS_METADATA_SIZE_INFORMATION {}
impl ::core::clone::Clone for FILE_FS_METADATA_SIZE_INFORMATION {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for FILE_FS_METADATA_SIZE_INFORMATION {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("FILE_FS_METADATA_SIZE_INFORMATION").field("TotalMetadataAllocationUnits", &self.TotalMetadataAllocationUnits).field("SectorsPerAllocationUnit", &self.SectorsPerAllocationUnit).field("BytesPerSector", &self.BytesPerSector).finish()
}
}
impl ::windows_core::TypeKind for FILE_FS_METADATA_SIZE_INFORMATION {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for FILE_FS_METADATA_SIZE_INFORMATION {
fn eq(&self, other: &Self) -> bool {
self.TotalMetadataAllocationUnits == other.TotalMetadataAllocationUnits && self.SectorsPerAllocationUnit == other.SectorsPerAllocationUnit && self.BytesPerSector == other.BytesPerSector
}
}
impl ::core::cmp::Eq for FILE_FS_METADATA_SIZE_INFORMATION {}
impl ::core::default::Default for FILE_FS_METADATA_SIZE_INFORMATION {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct FILE_FS_OBJECTID_INFORMATION {
pub ObjectId: [u8; 16],
pub ExtendedInfo: [u8; 48],
}
impl ::core::marker::Copy for FILE_FS_OBJECTID_INFORMATION {}
impl ::core::clone::Clone for FILE_FS_OBJECTID_INFORMATION {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for FILE_FS_OBJECTID_INFORMATION {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("FILE_FS_OBJECTID_INFORMATION").field("ObjectId", &self.ObjectId).field("ExtendedInfo", &self.ExtendedInfo).finish()
}
}
impl ::windows_core::TypeKind for FILE_FS_OBJECTID_INFORMATION {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for FILE_FS_OBJECTID_INFORMATION {
fn eq(&self, other: &Self) -> bool {
self.ObjectId == other.ObjectId && self.ExtendedInfo == other.ExtendedInfo
}
}
impl ::core::cmp::Eq for FILE_FS_OBJECTID_INFORMATION {}
impl ::core::default::Default for FILE_FS_OBJECTID_INFORMATION {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct FILE_FS_SIZE_INFORMATION {
pub TotalAllocationUnits: i64,
pub AvailableAllocationUnits: i64,
pub SectorsPerAllocationUnit: u32,
pub BytesPerSector: u32,
}
impl ::core::marker::Copy for FILE_FS_SIZE_INFORMATION {}
impl ::core::clone::Clone for FILE_FS_SIZE_INFORMATION {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for FILE_FS_SIZE_INFORMATION {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("FILE_FS_SIZE_INFORMATION").field("TotalAllocationUnits", &self.TotalAllocationUnits).field("AvailableAllocationUnits", &self.AvailableAllocationUnits).field("SectorsPerAllocationUnit", &self.SectorsPerAllocationUnit).field("BytesPerSector", &self.BytesPerSector).finish()
}
}
impl ::windows_core::TypeKind for FILE_FS_SIZE_INFORMATION {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for FILE_FS_SIZE_INFORMATION {
fn eq(&self, other: &Self) -> bool {
self.TotalAllocationUnits == other.TotalAllocationUnits && self.AvailableAllocationUnits == other.AvailableAllocationUnits && self.SectorsPerAllocationUnit == other.SectorsPerAllocationUnit && self.BytesPerSector == other.BytesPerSector
}
}
impl ::core::cmp::Eq for FILE_FS_SIZE_INFORMATION {}
impl ::core::default::Default for FILE_FS_SIZE_INFORMATION {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub struct FILE_FS_VOLUME_INFORMATION {
pub VolumeCreationTime: i64,
pub VolumeSerialNumber: u32,
pub VolumeLabelLength: u32,
pub SupportsObjects: super::super::super::Win32::Foundation::BOOLEAN,
pub VolumeLabel: [u16; 1],
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for FILE_FS_VOLUME_INFORMATION {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for FILE_FS_VOLUME_INFORMATION {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::fmt::Debug for FILE_FS_VOLUME_INFORMATION {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("FILE_FS_VOLUME_INFORMATION").field("VolumeCreationTime", &self.VolumeCreationTime).field("VolumeSerialNumber", &self.VolumeSerialNumber).field("VolumeLabelLength", &self.VolumeLabelLength).field("SupportsObjects", &self.SupportsObjects).field("VolumeLabel", &self.VolumeLabel).finish()
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for FILE_FS_VOLUME_INFORMATION {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::PartialEq for FILE_FS_VOLUME_INFORMATION {
fn eq(&self, other: &Self) -> bool {
self.VolumeCreationTime == other.VolumeCreationTime && self.VolumeSerialNumber == other.VolumeSerialNumber && self.VolumeLabelLength == other.VolumeLabelLength && self.SupportsObjects == other.SupportsObjects && self.VolumeLabel == other.VolumeLabel
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::Eq for FILE_FS_VOLUME_INFORMATION {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for FILE_FS_VOLUME_INFORMATION {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct FILE_IOSTATUSBLOCK_RANGE_INFORMATION {
pub IoStatusBlockRange: *mut u8,
pub Length: u32,
}
impl ::core::marker::Copy for FILE_IOSTATUSBLOCK_RANGE_INFORMATION {}
impl ::core::clone::Clone for FILE_IOSTATUSBLOCK_RANGE_INFORMATION {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for FILE_IOSTATUSBLOCK_RANGE_INFORMATION {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("FILE_IOSTATUSBLOCK_RANGE_INFORMATION").field("IoStatusBlockRange", &self.IoStatusBlockRange).field("Length", &self.Length).finish()
}
}
impl ::windows_core::TypeKind for FILE_IOSTATUSBLOCK_RANGE_INFORMATION {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for FILE_IOSTATUSBLOCK_RANGE_INFORMATION {
fn eq(&self, other: &Self) -> bool {
self.IoStatusBlockRange == other.IoStatusBlockRange && self.Length == other.Length
}
}
impl ::core::cmp::Eq for FILE_IOSTATUSBLOCK_RANGE_INFORMATION {}
impl ::core::default::Default for FILE_IOSTATUSBLOCK_RANGE_INFORMATION {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct FILE_IO_COMPLETION_NOTIFICATION_INFORMATION {
pub Flags: u32,
}
impl ::core::marker::Copy for FILE_IO_COMPLETION_NOTIFICATION_INFORMATION {}
impl ::core::clone::Clone for FILE_IO_COMPLETION_NOTIFICATION_INFORMATION {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for FILE_IO_COMPLETION_NOTIFICATION_INFORMATION {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("FILE_IO_COMPLETION_NOTIFICATION_INFORMATION").field("Flags", &self.Flags).finish()
}
}
impl ::windows_core::TypeKind for FILE_IO_COMPLETION_NOTIFICATION_INFORMATION {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for FILE_IO_COMPLETION_NOTIFICATION_INFORMATION {
fn eq(&self, other: &Self) -> bool {
self.Flags == other.Flags
}
}
impl ::core::cmp::Eq for FILE_IO_COMPLETION_NOTIFICATION_INFORMATION {}
impl ::core::default::Default for FILE_IO_COMPLETION_NOTIFICATION_INFORMATION {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`*"]
#[cfg(feature = "Wdk_Foundation")]
pub struct FILE_IO_PRIORITY_HINT_INFORMATION {
pub PriorityHint: super::super::Foundation::IO_PRIORITY_HINT,
}
#[cfg(feature = "Wdk_Foundation")]
impl ::core::marker::Copy for FILE_IO_PRIORITY_HINT_INFORMATION {}
#[cfg(feature = "Wdk_Foundation")]
impl ::core::clone::Clone for FILE_IO_PRIORITY_HINT_INFORMATION {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Wdk_Foundation")]
impl ::core::fmt::Debug for FILE_IO_PRIORITY_HINT_INFORMATION {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("FILE_IO_PRIORITY_HINT_INFORMATION").field("PriorityHint", &self.PriorityHint).finish()
}
}
#[cfg(feature = "Wdk_Foundation")]
impl ::windows_core::TypeKind for FILE_IO_PRIORITY_HINT_INFORMATION {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Wdk_Foundation")]
impl ::core::cmp::PartialEq for FILE_IO_PRIORITY_HINT_INFORMATION {
fn eq(&self, other: &Self) -> bool {
self.PriorityHint == other.PriorityHint
}
}
#[cfg(feature = "Wdk_Foundation")]
impl ::core::cmp::Eq for FILE_IO_PRIORITY_HINT_INFORMATION {}
#[cfg(feature = "Wdk_Foundation")]
impl ::core::default::Default for FILE_IO_PRIORITY_HINT_INFORMATION {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))]
pub struct FILE_IO_PRIORITY_HINT_INFORMATION_EX {
pub PriorityHint: super::super::Foundation::IO_PRIORITY_HINT,
pub BoostOutstanding: super::super::super::Win32::Foundation::BOOLEAN,
}
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))]
impl ::core::marker::Copy for FILE_IO_PRIORITY_HINT_INFORMATION_EX {}
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))]
impl ::core::clone::Clone for FILE_IO_PRIORITY_HINT_INFORMATION_EX {
fn clone(&self) -> Self {
*self
}
}
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))]
impl ::core::fmt::Debug for FILE_IO_PRIORITY_HINT_INFORMATION_EX {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("FILE_IO_PRIORITY_HINT_INFORMATION_EX").field("PriorityHint", &self.PriorityHint).field("BoostOutstanding", &self.BoostOutstanding).finish()
}
}
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))]
impl ::windows_core::TypeKind for FILE_IO_PRIORITY_HINT_INFORMATION_EX {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))]
impl ::core::cmp::PartialEq for FILE_IO_PRIORITY_HINT_INFORMATION_EX {
fn eq(&self, other: &Self) -> bool {
self.PriorityHint == other.PriorityHint && self.BoostOutstanding == other.BoostOutstanding
}
}
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))]
impl ::core::cmp::Eq for FILE_IO_PRIORITY_HINT_INFORMATION_EX {}
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))]
impl ::core::default::Default for FILE_IO_PRIORITY_HINT_INFORMATION_EX {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub struct FILE_IS_REMOTE_DEVICE_INFORMATION {
pub IsRemote: super::super::super::Win32::Foundation::BOOLEAN,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for FILE_IS_REMOTE_DEVICE_INFORMATION {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for FILE_IS_REMOTE_DEVICE_INFORMATION {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::fmt::Debug for FILE_IS_REMOTE_DEVICE_INFORMATION {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("FILE_IS_REMOTE_DEVICE_INFORMATION").field("IsRemote", &self.IsRemote).finish()
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for FILE_IS_REMOTE_DEVICE_INFORMATION {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::PartialEq for FILE_IS_REMOTE_DEVICE_INFORMATION {
fn eq(&self, other: &Self) -> bool {
self.IsRemote == other.IsRemote
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::Eq for FILE_IS_REMOTE_DEVICE_INFORMATION {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for FILE_IS_REMOTE_DEVICE_INFORMATION {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct FILE_MEMORY_PARTITION_INFORMATION {
pub OwnerPartitionHandle: usize,
pub Flags: FILE_MEMORY_PARTITION_INFORMATION_0,
}
impl ::core::marker::Copy for FILE_MEMORY_PARTITION_INFORMATION {}
impl ::core::clone::Clone for FILE_MEMORY_PARTITION_INFORMATION {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for FILE_MEMORY_PARTITION_INFORMATION {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for FILE_MEMORY_PARTITION_INFORMATION {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub union FILE_MEMORY_PARTITION_INFORMATION_0 {
pub Anonymous: FILE_MEMORY_PARTITION_INFORMATION_0_0,
pub AllFlags: u32,
}
impl ::core::marker::Copy for FILE_MEMORY_PARTITION_INFORMATION_0 {}
impl ::core::clone::Clone for FILE_MEMORY_PARTITION_INFORMATION_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for FILE_MEMORY_PARTITION_INFORMATION_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for FILE_MEMORY_PARTITION_INFORMATION_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct FILE_MEMORY_PARTITION_INFORMATION_0_0 {
pub NoCrossPartitionAccess: u8,
pub Spare: [u8; 3],
}
impl ::core::marker::Copy for FILE_MEMORY_PARTITION_INFORMATION_0_0 {}
impl ::core::clone::Clone for FILE_MEMORY_PARTITION_INFORMATION_0_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for FILE_MEMORY_PARTITION_INFORMATION_0_0 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("FILE_MEMORY_PARTITION_INFORMATION_0_0").field("NoCrossPartitionAccess", &self.NoCrossPartitionAccess).field("Spare", &self.Spare).finish()
}
}
impl ::windows_core::TypeKind for FILE_MEMORY_PARTITION_INFORMATION_0_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for FILE_MEMORY_PARTITION_INFORMATION_0_0 {
fn eq(&self, other: &Self) -> bool {
self.NoCrossPartitionAccess == other.NoCrossPartitionAccess && self.Spare == other.Spare
}
}
impl ::core::cmp::Eq for FILE_MEMORY_PARTITION_INFORMATION_0_0 {}
impl ::core::default::Default for FILE_MEMORY_PARTITION_INFORMATION_0_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct FILE_NUMA_NODE_INFORMATION {
pub NodeNumber: u16,
}
impl ::core::marker::Copy for FILE_NUMA_NODE_INFORMATION {}
impl ::core::clone::Clone for FILE_NUMA_NODE_INFORMATION {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for FILE_NUMA_NODE_INFORMATION {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("FILE_NUMA_NODE_INFORMATION").field("NodeNumber", &self.NodeNumber).finish()
}
}
impl ::windows_core::TypeKind for FILE_NUMA_NODE_INFORMATION {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for FILE_NUMA_NODE_INFORMATION {
fn eq(&self, other: &Self) -> bool {
self.NodeNumber == other.NodeNumber
}
}
impl ::core::cmp::Eq for FILE_NUMA_NODE_INFORMATION {}
impl ::core::default::Default for FILE_NUMA_NODE_INFORMATION {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct FILE_PROCESS_IDS_USING_FILE_INFORMATION {
pub NumberOfProcessIdsInList: u32,
pub ProcessIdList: [usize; 1],
}
impl ::core::marker::Copy for FILE_PROCESS_IDS_USING_FILE_INFORMATION {}
impl ::core::clone::Clone for FILE_PROCESS_IDS_USING_FILE_INFORMATION {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for FILE_PROCESS_IDS_USING_FILE_INFORMATION {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("FILE_PROCESS_IDS_USING_FILE_INFORMATION").field("NumberOfProcessIdsInList", &self.NumberOfProcessIdsInList).field("ProcessIdList", &self.ProcessIdList).finish()
}
}
impl ::windows_core::TypeKind for FILE_PROCESS_IDS_USING_FILE_INFORMATION {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for FILE_PROCESS_IDS_USING_FILE_INFORMATION {
fn eq(&self, other: &Self) -> bool {
self.NumberOfProcessIdsInList == other.NumberOfProcessIdsInList && self.ProcessIdList == other.ProcessIdList
}
}
impl ::core::cmp::Eq for FILE_PROCESS_IDS_USING_FILE_INFORMATION {}
impl ::core::default::Default for FILE_PROCESS_IDS_USING_FILE_INFORMATION {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub struct FILE_SFIO_RESERVE_INFORMATION {
pub RequestsPerPeriod: u32,
pub Period: u32,
pub RetryFailures: super::super::super::Win32::Foundation::BOOLEAN,
pub Discardable: super::super::super::Win32::Foundation::BOOLEAN,
pub RequestSize: u32,
pub NumOutstandingRequests: u32,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for FILE_SFIO_RESERVE_INFORMATION {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for FILE_SFIO_RESERVE_INFORMATION {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::fmt::Debug for FILE_SFIO_RESERVE_INFORMATION {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("FILE_SFIO_RESERVE_INFORMATION").field("RequestsPerPeriod", &self.RequestsPerPeriod).field("Period", &self.Period).field("RetryFailures", &self.RetryFailures).field("Discardable", &self.Discardable).field("RequestSize", &self.RequestSize).field("NumOutstandingRequests", &self.NumOutstandingRequests).finish()
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for FILE_SFIO_RESERVE_INFORMATION {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::PartialEq for FILE_SFIO_RESERVE_INFORMATION {
fn eq(&self, other: &Self) -> bool {
self.RequestsPerPeriod == other.RequestsPerPeriod && self.Period == other.Period && self.RetryFailures == other.RetryFailures && self.Discardable == other.Discardable && self.RequestSize == other.RequestSize && self.NumOutstandingRequests == other.NumOutstandingRequests
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::Eq for FILE_SFIO_RESERVE_INFORMATION {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for FILE_SFIO_RESERVE_INFORMATION {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct FILE_SFIO_VOLUME_INFORMATION {
pub MaximumRequestsPerPeriod: u32,
pub MinimumPeriod: u32,
pub MinimumTransferSize: u32,
}
impl ::core::marker::Copy for FILE_SFIO_VOLUME_INFORMATION {}
impl ::core::clone::Clone for FILE_SFIO_VOLUME_INFORMATION {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for FILE_SFIO_VOLUME_INFORMATION {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("FILE_SFIO_VOLUME_INFORMATION").field("MaximumRequestsPerPeriod", &self.MaximumRequestsPerPeriod).field("MinimumPeriod", &self.MinimumPeriod).field("MinimumTransferSize", &self.MinimumTransferSize).finish()
}
}
impl ::windows_core::TypeKind for FILE_SFIO_VOLUME_INFORMATION {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for FILE_SFIO_VOLUME_INFORMATION {
fn eq(&self, other: &Self) -> bool {
self.MaximumRequestsPerPeriod == other.MaximumRequestsPerPeriod && self.MinimumPeriod == other.MinimumPeriod && self.MinimumTransferSize == other.MinimumTransferSize
}
}
impl ::core::cmp::Eq for FILE_SFIO_VOLUME_INFORMATION {}
impl ::core::default::Default for FILE_SFIO_VOLUME_INFORMATION {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub struct FILE_STANDARD_INFORMATION_EX {
pub AllocationSize: i64,
pub EndOfFile: i64,
pub NumberOfLinks: u32,
pub DeletePending: super::super::super::Win32::Foundation::BOOLEAN,
pub Directory: super::super::super::Win32::Foundation::BOOLEAN,
pub AlternateStream: super::super::super::Win32::Foundation::BOOLEAN,
pub MetadataAttribute: super::super::super::Win32::Foundation::BOOLEAN,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for FILE_STANDARD_INFORMATION_EX {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for FILE_STANDARD_INFORMATION_EX {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::fmt::Debug for FILE_STANDARD_INFORMATION_EX {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("FILE_STANDARD_INFORMATION_EX").field("AllocationSize", &self.AllocationSize).field("EndOfFile", &self.EndOfFile).field("NumberOfLinks", &self.NumberOfLinks).field("DeletePending", &self.DeletePending).field("Directory", &self.Directory).field("AlternateStream", &self.AlternateStream).field("MetadataAttribute", &self.MetadataAttribute).finish()
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for FILE_STANDARD_INFORMATION_EX {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::PartialEq for FILE_STANDARD_INFORMATION_EX {
fn eq(&self, other: &Self) -> bool {
self.AllocationSize == other.AllocationSize && self.EndOfFile == other.EndOfFile && self.NumberOfLinks == other.NumberOfLinks && self.DeletePending == other.DeletePending && self.Directory == other.Directory && self.AlternateStream == other.AlternateStream && self.MetadataAttribute == other.MetadataAttribute
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::Eq for FILE_STANDARD_INFORMATION_EX {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for FILE_STANDARD_INFORMATION_EX {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct FILE_VALID_DATA_LENGTH_INFORMATION {
pub ValidDataLength: i64,
}
impl ::core::marker::Copy for FILE_VALID_DATA_LENGTH_INFORMATION {}
impl ::core::clone::Clone for FILE_VALID_DATA_LENGTH_INFORMATION {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for FILE_VALID_DATA_LENGTH_INFORMATION {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("FILE_VALID_DATA_LENGTH_INFORMATION").field("ValidDataLength", &self.ValidDataLength).finish()
}
}
impl ::windows_core::TypeKind for FILE_VALID_DATA_LENGTH_INFORMATION {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for FILE_VALID_DATA_LENGTH_INFORMATION {
fn eq(&self, other: &Self) -> bool {
self.ValidDataLength == other.ValidDataLength
}
}
impl ::core::cmp::Eq for FILE_VALID_DATA_LENGTH_INFORMATION {}
impl ::core::default::Default for FILE_VALID_DATA_LENGTH_INFORMATION {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct FLOATING_SAVE_AREA {
pub ControlWord: u32,
pub StatusWord: u32,
pub TagWord: u32,
pub ErrorOffset: u32,
pub ErrorSelector: u32,
pub DataOffset: u32,
pub DataSelector: u32,
pub RegisterArea: [u8; 80],
pub Spare0: u32,
}
impl ::core::marker::Copy for FLOATING_SAVE_AREA {}
impl ::core::clone::Clone for FLOATING_SAVE_AREA {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for FLOATING_SAVE_AREA {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("FLOATING_SAVE_AREA").field("ControlWord", &self.ControlWord).field("StatusWord", &self.StatusWord).field("TagWord", &self.TagWord).field("ErrorOffset", &self.ErrorOffset).field("ErrorSelector", &self.ErrorSelector).field("DataOffset", &self.DataOffset).field("DataSelector", &self.DataSelector).field("RegisterArea", &self.RegisterArea).field("Spare0", &self.Spare0).finish()
}
}
impl ::windows_core::TypeKind for FLOATING_SAVE_AREA {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for FLOATING_SAVE_AREA {
fn eq(&self, other: &Self) -> bool {
self.ControlWord == other.ControlWord && self.StatusWord == other.StatusWord && self.TagWord == other.TagWord && self.ErrorOffset == other.ErrorOffset && self.ErrorSelector == other.ErrorSelector && self.DataOffset == other.DataOffset && self.DataSelector == other.DataSelector && self.RegisterArea == other.RegisterArea && self.Spare0 == other.Spare0
}
}
impl ::core::cmp::Eq for FLOATING_SAVE_AREA {}
impl ::core::default::Default for FLOATING_SAVE_AREA {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub struct FPGA_CONTROL_INTERFACE {
pub Size: u16,
pub Version: u16,
pub Context: *mut ::core::ffi::c_void,
pub InterfaceReference: PINTERFACE_REFERENCE,
pub InterfaceDereference: PINTERFACE_DEREFERENCE,
pub BusScan: PFPGA_BUS_SCAN,
pub ControlLink: PFPGA_CONTROL_LINK,
pub ControlConfigSpace: PFPGA_CONTROL_CONFIG_SPACE,
pub ControlErrorReporting: PFPGA_CONTROL_ERROR_REPORTING,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for FPGA_CONTROL_INTERFACE {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for FPGA_CONTROL_INTERFACE {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::fmt::Debug for FPGA_CONTROL_INTERFACE {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("FPGA_CONTROL_INTERFACE").field("Size", &self.Size).field("Version", &self.Version).field("Context", &self.Context).finish()
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for FPGA_CONTROL_INTERFACE {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for FPGA_CONTROL_INTERFACE {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct FUNCTION_LEVEL_DEVICE_RESET_PARAMETERS {
pub Size: u32,
pub DeviceResetCompletion: PDEVICE_RESET_COMPLETION,
pub CompletionContext: *mut ::core::ffi::c_void,
}
impl ::core::marker::Copy for FUNCTION_LEVEL_DEVICE_RESET_PARAMETERS {}
impl ::core::clone::Clone for FUNCTION_LEVEL_DEVICE_RESET_PARAMETERS {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for FUNCTION_LEVEL_DEVICE_RESET_PARAMETERS {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("FUNCTION_LEVEL_DEVICE_RESET_PARAMETERS").field("Size", &self.Size).field("CompletionContext", &self.CompletionContext).finish()
}
}
impl ::windows_core::TypeKind for FUNCTION_LEVEL_DEVICE_RESET_PARAMETERS {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for FUNCTION_LEVEL_DEVICE_RESET_PARAMETERS {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub struct HAL_AMLI_BAD_IO_ADDRESS_LIST {
pub BadAddrBegin: u32,
pub BadAddrSize: u32,
pub OSVersionTrigger: u32,
pub IOHandler: PHALIOREADWRITEHANDLER,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for HAL_AMLI_BAD_IO_ADDRESS_LIST {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for HAL_AMLI_BAD_IO_ADDRESS_LIST {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::fmt::Debug for HAL_AMLI_BAD_IO_ADDRESS_LIST {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("HAL_AMLI_BAD_IO_ADDRESS_LIST").field("BadAddrBegin", &self.BadAddrBegin).field("BadAddrSize", &self.BadAddrSize).field("OSVersionTrigger", &self.OSVersionTrigger).finish()
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for HAL_AMLI_BAD_IO_ADDRESS_LIST {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for HAL_AMLI_BAD_IO_ADDRESS_LIST {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct HAL_BUS_INFORMATION {
pub BusType: INTERFACE_TYPE,
pub ConfigurationType: BUS_DATA_TYPE,
pub BusNumber: u32,
pub Reserved: u32,
}
impl ::core::marker::Copy for HAL_BUS_INFORMATION {}
impl ::core::clone::Clone for HAL_BUS_INFORMATION {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for HAL_BUS_INFORMATION {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("HAL_BUS_INFORMATION").field("BusType", &self.BusType).field("ConfigurationType", &self.ConfigurationType).field("BusNumber", &self.BusNumber).field("Reserved", &self.Reserved).finish()
}
}
impl ::windows_core::TypeKind for HAL_BUS_INFORMATION {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for HAL_BUS_INFORMATION {
fn eq(&self, other: &Self) -> bool {
self.BusType == other.BusType && self.ConfigurationType == other.ConfigurationType && self.BusNumber == other.BusNumber && self.Reserved == other.Reserved
}
}
impl ::core::cmp::Eq for HAL_BUS_INFORMATION {}
impl ::core::default::Default for HAL_BUS_INFORMATION {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`*"]
#[cfg(feature = "Wdk_Foundation")]
pub struct HAL_CALLBACKS {
pub SetSystemInformation: super::super::Foundation::PCALLBACK_OBJECT,
pub BusCheck: super::super::Foundation::PCALLBACK_OBJECT,
}
#[cfg(feature = "Wdk_Foundation")]
impl ::core::marker::Copy for HAL_CALLBACKS {}
#[cfg(feature = "Wdk_Foundation")]
impl ::core::clone::Clone for HAL_CALLBACKS {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Wdk_Foundation")]
impl ::core::fmt::Debug for HAL_CALLBACKS {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("HAL_CALLBACKS").field("SetSystemInformation", &self.SetSystemInformation).field("BusCheck", &self.BusCheck).finish()
}
}
#[cfg(feature = "Wdk_Foundation")]
impl ::windows_core::TypeKind for HAL_CALLBACKS {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Wdk_Foundation")]
impl ::core::cmp::PartialEq for HAL_CALLBACKS {
fn eq(&self, other: &Self) -> bool {
self.SetSystemInformation == other.SetSystemInformation && self.BusCheck == other.BusCheck
}
}
#[cfg(feature = "Wdk_Foundation")]
impl ::core::cmp::Eq for HAL_CALLBACKS {}
#[cfg(feature = "Wdk_Foundation")]
impl ::core::default::Default for HAL_CALLBACKS {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Ioctl\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Ioctl", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
pub struct HAL_DISPATCH {
pub Version: u32,
pub HalQuerySystemInformation: pHalQuerySystemInformation,
pub HalSetSystemInformation: pHalSetSystemInformation,
pub HalQueryBusSlots: pHalQueryBusSlots,
pub Spare1: u32,
pub HalExamineMBR: pHalExamineMBR,
pub HalIoReadPartitionTable: pHalIoReadPartitionTable,
pub HalIoSetPartitionInformation: pHalIoSetPartitionInformation,
pub HalIoWritePartitionTable: pHalIoWritePartitionTable,
pub HalReferenceHandlerForBus: pHalHandlerForBus,
pub HalReferenceBusHandler: pHalReferenceBusHandler,
pub HalDereferenceBusHandler: pHalReferenceBusHandler,
pub HalInitPnpDriver: pHalInitPnpDriver,
pub HalInitPowerManagement: pHalInitPowerManagement,
pub HalGetDmaAdapter: pHalGetDmaAdapter,
pub HalGetInterruptTranslator: pHalGetInterruptTranslator,
pub HalStartMirroring: pHalStartMirroring,
pub HalEndMirroring: pHalEndMirroring,
pub HalMirrorPhysicalMemory: pHalMirrorPhysicalMemory,
pub HalEndOfBoot: pHalEndOfBoot,
pub HalMirrorVerify: pHalMirrorVerify,
pub HalGetCachedAcpiTable: pHalGetAcpiTable,
pub HalSetPciErrorHandlerCallback: pHalSetPciErrorHandlerCallback,
pub HalGetPrmCache: pHalGetPrmCache,
}
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Ioctl", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
impl ::core::marker::Copy for HAL_DISPATCH {}
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Ioctl", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
impl ::core::clone::Clone for HAL_DISPATCH {
fn clone(&self) -> Self {
*self
}
}
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Ioctl", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
impl ::core::fmt::Debug for HAL_DISPATCH {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("HAL_DISPATCH").field("Version", &self.Version).field("Spare1", &self.Spare1).finish()
}
}
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Ioctl", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
impl ::windows_core::TypeKind for HAL_DISPATCH {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Ioctl", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
impl ::core::default::Default for HAL_DISPATCH {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct HAL_ERROR_INFO {
pub Version: u32,
pub InitMaxSize: u32,
pub McaMaxSize: u32,
pub McaPreviousEventsCount: u32,
pub McaCorrectedEventsCount: u32,
pub McaKernelDeliveryFails: u32,
pub McaDriverDpcQueueFails: u32,
pub McaReserved: u32,
pub CmcMaxSize: u32,
pub CmcPollingInterval: u32,
pub CmcInterruptsCount: u32,
pub CmcKernelDeliveryFails: u32,
pub CmcDriverDpcQueueFails: u32,
pub CmcGetStateFails: u32,
pub CmcClearStateFails: u32,
pub CmcReserved: u32,
pub CmcLogId: u64,
pub CpeMaxSize: u32,
pub CpePollingInterval: u32,
pub CpeInterruptsCount: u32,
pub CpeKernelDeliveryFails: u32,
pub CpeDriverDpcQueueFails: u32,
pub CpeGetStateFails: u32,
pub CpeClearStateFails: u32,
pub CpeInterruptSources: u32,
pub CpeLogId: u64,
pub KernelReserved: [u64; 4],
}
impl ::core::marker::Copy for HAL_ERROR_INFO {}
impl ::core::clone::Clone for HAL_ERROR_INFO {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for HAL_ERROR_INFO {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("HAL_ERROR_INFO")
.field("Version", &self.Version)
.field("InitMaxSize", &self.InitMaxSize)
.field("McaMaxSize", &self.McaMaxSize)
.field("McaPreviousEventsCount", &self.McaPreviousEventsCount)
.field("McaCorrectedEventsCount", &self.McaCorrectedEventsCount)
.field("McaKernelDeliveryFails", &self.McaKernelDeliveryFails)
.field("McaDriverDpcQueueFails", &self.McaDriverDpcQueueFails)
.field("McaReserved", &self.McaReserved)
.field("CmcMaxSize", &self.CmcMaxSize)
.field("CmcPollingInterval", &self.CmcPollingInterval)
.field("CmcInterruptsCount", &self.CmcInterruptsCount)
.field("CmcKernelDeliveryFails", &self.CmcKernelDeliveryFails)
.field("CmcDriverDpcQueueFails", &self.CmcDriverDpcQueueFails)
.field("CmcGetStateFails", &self.CmcGetStateFails)
.field("CmcClearStateFails", &self.CmcClearStateFails)
.field("CmcReserved", &self.CmcReserved)
.field("CmcLogId", &self.CmcLogId)
.field("CpeMaxSize", &self.CpeMaxSize)
.field("CpePollingInterval", &self.CpePollingInterval)
.field("CpeInterruptsCount", &self.CpeInterruptsCount)
.field("CpeKernelDeliveryFails", &self.CpeKernelDeliveryFails)
.field("CpeDriverDpcQueueFails", &self.CpeDriverDpcQueueFails)
.field("CpeGetStateFails", &self.CpeGetStateFails)
.field("CpeClearStateFails", &self.CpeClearStateFails)
.field("CpeInterruptSources", &self.CpeInterruptSources)
.field("CpeLogId", &self.CpeLogId)
.field("KernelReserved", &self.KernelReserved)
.finish()
}
}
impl ::windows_core::TypeKind for HAL_ERROR_INFO {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for HAL_ERROR_INFO {
fn eq(&self, other: &Self) -> bool {
self.Version == other.Version
&& self.InitMaxSize == other.InitMaxSize
&& self.McaMaxSize == other.McaMaxSize
&& self.McaPreviousEventsCount == other.McaPreviousEventsCount
&& self.McaCorrectedEventsCount == other.McaCorrectedEventsCount
&& self.McaKernelDeliveryFails == other.McaKernelDeliveryFails
&& self.McaDriverDpcQueueFails == other.McaDriverDpcQueueFails
&& self.McaReserved == other.McaReserved
&& self.CmcMaxSize == other.CmcMaxSize
&& self.CmcPollingInterval == other.CmcPollingInterval
&& self.CmcInterruptsCount == other.CmcInterruptsCount
&& self.CmcKernelDeliveryFails == other.CmcKernelDeliveryFails
&& self.CmcDriverDpcQueueFails == other.CmcDriverDpcQueueFails
&& self.CmcGetStateFails == other.CmcGetStateFails
&& self.CmcClearStateFails == other.CmcClearStateFails
&& self.CmcReserved == other.CmcReserved
&& self.CmcLogId == other.CmcLogId
&& self.CpeMaxSize == other.CpeMaxSize
&& self.CpePollingInterval == other.CpePollingInterval
&& self.CpeInterruptsCount == other.CpeInterruptsCount
&& self.CpeKernelDeliveryFails == other.CpeKernelDeliveryFails
&& self.CpeDriverDpcQueueFails == other.CpeDriverDpcQueueFails
&& self.CpeGetStateFails == other.CpeGetStateFails
&& self.CpeClearStateFails == other.CpeClearStateFails
&& self.CpeInterruptSources == other.CpeInterruptSources
&& self.CpeLogId == other.CpeLogId
&& self.KernelReserved == other.KernelReserved
}
}
impl ::core::cmp::Eq for HAL_ERROR_INFO {}
impl ::core::default::Default for HAL_ERROR_INFO {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub struct HAL_MCA_INTERFACE {
pub Lock: PHALMCAINTERFACELOCK,
pub Unlock: PHALMCAINTERFACEUNLOCK,
pub ReadRegister: PHALMCAINTERFACEREADREGISTER,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for HAL_MCA_INTERFACE {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for HAL_MCA_INTERFACE {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::fmt::Debug for HAL_MCA_INTERFACE {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("HAL_MCA_INTERFACE").finish()
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for HAL_MCA_INTERFACE {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for HAL_MCA_INTERFACE {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct HAL_PLATFORM_INFORMATION {
pub PlatformFlags: u32,
}
impl ::core::marker::Copy for HAL_PLATFORM_INFORMATION {}
impl ::core::clone::Clone for HAL_PLATFORM_INFORMATION {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for HAL_PLATFORM_INFORMATION {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("HAL_PLATFORM_INFORMATION").field("PlatformFlags", &self.PlatformFlags).finish()
}
}
impl ::windows_core::TypeKind for HAL_PLATFORM_INFORMATION {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for HAL_PLATFORM_INFORMATION {
fn eq(&self, other: &Self) -> bool {
self.PlatformFlags == other.PlatformFlags
}
}
impl ::core::cmp::Eq for HAL_PLATFORM_INFORMATION {}
impl ::core::default::Default for HAL_PLATFORM_INFORMATION {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct HAL_POWER_INFORMATION {
pub TBD: u32,
}
impl ::core::marker::Copy for HAL_POWER_INFORMATION {}
impl ::core::clone::Clone for HAL_POWER_INFORMATION {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for HAL_POWER_INFORMATION {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("HAL_POWER_INFORMATION").field("TBD", &self.TBD).finish()
}
}
impl ::windows_core::TypeKind for HAL_POWER_INFORMATION {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for HAL_POWER_INFORMATION {
fn eq(&self, other: &Self) -> bool {
self.TBD == other.TBD
}
}
impl ::core::cmp::Eq for HAL_POWER_INFORMATION {}
impl ::core::default::Default for HAL_POWER_INFORMATION {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct HAL_PROCESSOR_FEATURE {
pub UsableFeatureBits: u32,
}
impl ::core::marker::Copy for HAL_PROCESSOR_FEATURE {}
impl ::core::clone::Clone for HAL_PROCESSOR_FEATURE {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for HAL_PROCESSOR_FEATURE {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("HAL_PROCESSOR_FEATURE").field("UsableFeatureBits", &self.UsableFeatureBits).finish()
}
}
impl ::windows_core::TypeKind for HAL_PROCESSOR_FEATURE {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for HAL_PROCESSOR_FEATURE {
fn eq(&self, other: &Self) -> bool {
self.UsableFeatureBits == other.UsableFeatureBits
}
}
impl ::core::cmp::Eq for HAL_PROCESSOR_FEATURE {}
impl ::core::default::Default for HAL_PROCESSOR_FEATURE {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct HAL_PROCESSOR_SPEED_INFORMATION {
pub ProcessorSpeed: u32,
}
impl ::core::marker::Copy for HAL_PROCESSOR_SPEED_INFORMATION {}
impl ::core::clone::Clone for HAL_PROCESSOR_SPEED_INFORMATION {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for HAL_PROCESSOR_SPEED_INFORMATION {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("HAL_PROCESSOR_SPEED_INFORMATION").field("ProcessorSpeed", &self.ProcessorSpeed).finish()
}
}
impl ::windows_core::TypeKind for HAL_PROCESSOR_SPEED_INFORMATION {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for HAL_PROCESSOR_SPEED_INFORMATION {
fn eq(&self, other: &Self) -> bool {
self.ProcessorSpeed == other.ProcessorSpeed
}
}
impl ::core::cmp::Eq for HAL_PROCESSOR_SPEED_INFORMATION {}
impl ::core::default::Default for HAL_PROCESSOR_SPEED_INFORMATION {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct HARDWARE_COUNTER {
pub Type: HARDWARE_COUNTER_TYPE,
pub Reserved: u32,
pub Index: u64,
}
impl ::core::marker::Copy for HARDWARE_COUNTER {}
impl ::core::clone::Clone for HARDWARE_COUNTER {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for HARDWARE_COUNTER {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("HARDWARE_COUNTER").field("Type", &self.Type).field("Reserved", &self.Reserved).field("Index", &self.Index).finish()
}
}
impl ::windows_core::TypeKind for HARDWARE_COUNTER {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for HARDWARE_COUNTER {
fn eq(&self, other: &Self) -> bool {
self.Type == other.Type && self.Reserved == other.Reserved && self.Index == other.Index
}
}
impl ::core::cmp::Eq for HARDWARE_COUNTER {}
impl ::core::default::Default for HARDWARE_COUNTER {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct HWPROFILE_CHANGE_NOTIFICATION {
pub Version: u16,
pub Size: u16,
pub Event: ::windows_core::GUID,
}
impl ::core::marker::Copy for HWPROFILE_CHANGE_NOTIFICATION {}
impl ::core::clone::Clone for HWPROFILE_CHANGE_NOTIFICATION {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for HWPROFILE_CHANGE_NOTIFICATION {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("HWPROFILE_CHANGE_NOTIFICATION").field("Version", &self.Version).field("Size", &self.Size).field("Event", &self.Event).finish()
}
}
impl ::windows_core::TypeKind for HWPROFILE_CHANGE_NOTIFICATION {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for HWPROFILE_CHANGE_NOTIFICATION {
fn eq(&self, other: &Self) -> bool {
self.Version == other.Version && self.Size == other.Size && self.Event == other.Event
}
}
impl ::core::cmp::Eq for HWPROFILE_CHANGE_NOTIFICATION {}
impl ::core::default::Default for HWPROFILE_CHANGE_NOTIFICATION {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct IMAGE_INFO {
pub Anonymous: IMAGE_INFO_0,
pub ImageBase: *mut ::core::ffi::c_void,
pub ImageSelector: u32,
pub ImageSize: usize,
pub ImageSectionNumber: u32,
}
impl ::core::marker::Copy for IMAGE_INFO {}
impl ::core::clone::Clone for IMAGE_INFO {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for IMAGE_INFO {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for IMAGE_INFO {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub union IMAGE_INFO_0 {
pub Properties: u32,
pub Anonymous: IMAGE_INFO_0_0,
}
impl ::core::marker::Copy for IMAGE_INFO_0 {}
impl ::core::clone::Clone for IMAGE_INFO_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for IMAGE_INFO_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for IMAGE_INFO_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct IMAGE_INFO_0_0 {
pub _bitfield: u32,
}
impl ::core::marker::Copy for IMAGE_INFO_0_0 {}
impl ::core::clone::Clone for IMAGE_INFO_0_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for IMAGE_INFO_0_0 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("IMAGE_INFO_0_0").field("_bitfield", &self._bitfield).finish()
}
}
impl ::windows_core::TypeKind for IMAGE_INFO_0_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for IMAGE_INFO_0_0 {
fn eq(&self, other: &Self) -> bool {
self._bitfield == other._bitfield
}
}
impl ::core::cmp::Eq for IMAGE_INFO_0_0 {}
impl ::core::default::Default for IMAGE_INFO_0_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
pub struct IMAGE_INFO_EX {
pub Size: usize,
pub ImageInfo: IMAGE_INFO,
pub FileObject: *mut super::super::Foundation::FILE_OBJECT,
}
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
impl ::core::marker::Copy for IMAGE_INFO_EX {}
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
impl ::core::clone::Clone for IMAGE_INFO_EX {
fn clone(&self) -> Self {
*self
}
}
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
impl ::windows_core::TypeKind for IMAGE_INFO_EX {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
impl ::core::default::Default for IMAGE_INFO_EX {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`*"]
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))]
pub struct INITIAL_PRIVILEGE_SET {
pub PrivilegeCount: u32,
pub Control: u32,
pub Privilege: [super::super::super::Win32::Security::LUID_AND_ATTRIBUTES; 3],
}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))]
impl ::core::marker::Copy for INITIAL_PRIVILEGE_SET {}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))]
impl ::core::clone::Clone for INITIAL_PRIVILEGE_SET {
fn clone(&self) -> Self {
*self
}
}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))]
impl ::core::fmt::Debug for INITIAL_PRIVILEGE_SET {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("INITIAL_PRIVILEGE_SET").field("PrivilegeCount", &self.PrivilegeCount).field("Control", &self.Control).field("Privilege", &self.Privilege).finish()
}
}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))]
impl ::windows_core::TypeKind for INITIAL_PRIVILEGE_SET {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))]
impl ::core::cmp::PartialEq for INITIAL_PRIVILEGE_SET {
fn eq(&self, other: &Self) -> bool {
self.PrivilegeCount == other.PrivilegeCount && self.Control == other.Control && self.Privilege == other.Privilege
}
}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))]
impl ::core::cmp::Eq for INITIAL_PRIVILEGE_SET {}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))]
impl ::core::default::Default for INITIAL_PRIVILEGE_SET {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct INPUT_MAPPING_ELEMENT {
pub InputMappingId: u32,
}
impl ::core::marker::Copy for INPUT_MAPPING_ELEMENT {}
impl ::core::clone::Clone for INPUT_MAPPING_ELEMENT {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for INPUT_MAPPING_ELEMENT {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("INPUT_MAPPING_ELEMENT").field("InputMappingId", &self.InputMappingId).finish()
}
}
impl ::windows_core::TypeKind for INPUT_MAPPING_ELEMENT {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for INPUT_MAPPING_ELEMENT {
fn eq(&self, other: &Self) -> bool {
self.InputMappingId == other.InputMappingId
}
}
impl ::core::cmp::Eq for INPUT_MAPPING_ELEMENT {}
impl ::core::default::Default for INPUT_MAPPING_ELEMENT {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub union INTEL_CACHE_INFO_EAX {
pub Ulong: u32,
pub Anonymous: INTEL_CACHE_INFO_EAX_0,
}
impl ::core::marker::Copy for INTEL_CACHE_INFO_EAX {}
impl ::core::clone::Clone for INTEL_CACHE_INFO_EAX {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for INTEL_CACHE_INFO_EAX {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for INTEL_CACHE_INFO_EAX {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct INTEL_CACHE_INFO_EAX_0 {
pub _bitfield: i32,
}
impl ::core::marker::Copy for INTEL_CACHE_INFO_EAX_0 {}
impl ::core::clone::Clone for INTEL_CACHE_INFO_EAX_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for INTEL_CACHE_INFO_EAX_0 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("INTEL_CACHE_INFO_EAX_0").field("_bitfield", &self._bitfield).finish()
}
}
impl ::windows_core::TypeKind for INTEL_CACHE_INFO_EAX_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for INTEL_CACHE_INFO_EAX_0 {
fn eq(&self, other: &Self) -> bool {
self._bitfield == other._bitfield
}
}
impl ::core::cmp::Eq for INTEL_CACHE_INFO_EAX_0 {}
impl ::core::default::Default for INTEL_CACHE_INFO_EAX_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub union INTEL_CACHE_INFO_EBX {
pub Ulong: u32,
pub Anonymous: INTEL_CACHE_INFO_EBX_0,
}
impl ::core::marker::Copy for INTEL_CACHE_INFO_EBX {}
impl ::core::clone::Clone for INTEL_CACHE_INFO_EBX {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for INTEL_CACHE_INFO_EBX {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for INTEL_CACHE_INFO_EBX {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct INTEL_CACHE_INFO_EBX_0 {
pub _bitfield: u32,
}
impl ::core::marker::Copy for INTEL_CACHE_INFO_EBX_0 {}
impl ::core::clone::Clone for INTEL_CACHE_INFO_EBX_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for INTEL_CACHE_INFO_EBX_0 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("INTEL_CACHE_INFO_EBX_0").field("_bitfield", &self._bitfield).finish()
}
}
impl ::windows_core::TypeKind for INTEL_CACHE_INFO_EBX_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for INTEL_CACHE_INFO_EBX_0 {
fn eq(&self, other: &Self) -> bool {
self._bitfield == other._bitfield
}
}
impl ::core::cmp::Eq for INTEL_CACHE_INFO_EBX_0 {}
impl ::core::default::Default for INTEL_CACHE_INFO_EBX_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct INTERFACE {
pub Size: u16,
pub Version: u16,
pub Context: *mut ::core::ffi::c_void,
pub InterfaceReference: PINTERFACE_REFERENCE,
pub InterfaceDereference: PINTERFACE_DEREFERENCE,
}
impl ::core::marker::Copy for INTERFACE {}
impl ::core::clone::Clone for INTERFACE {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for INTERFACE {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("INTERFACE").field("Size", &self.Size).field("Version", &self.Version).field("Context", &self.Context).finish()
}
}
impl ::windows_core::TypeKind for INTERFACE {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for INTERFACE {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_System_Kernel\"`*"]
#[cfg(feature = "Win32_System_Kernel")]
pub struct IOMMU_DEVICE_CREATION_CONFIGURATION {
pub NextConfiguration: super::super::super::Win32::System::Kernel::LIST_ENTRY,
pub ConfigType: IOMMU_DEVICE_CREATION_CONFIGURATION_TYPE,
pub Anonymous: IOMMU_DEVICE_CREATION_CONFIGURATION_0,
}
#[cfg(feature = "Win32_System_Kernel")]
impl ::core::marker::Copy for IOMMU_DEVICE_CREATION_CONFIGURATION {}
#[cfg(feature = "Win32_System_Kernel")]
impl ::core::clone::Clone for IOMMU_DEVICE_CREATION_CONFIGURATION {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_System_Kernel")]
impl ::windows_core::TypeKind for IOMMU_DEVICE_CREATION_CONFIGURATION {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_System_Kernel")]
impl ::core::default::Default for IOMMU_DEVICE_CREATION_CONFIGURATION {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_System_Kernel\"`*"]
#[cfg(feature = "Win32_System_Kernel")]
pub union IOMMU_DEVICE_CREATION_CONFIGURATION_0 {
pub Acpi: IOMMU_DEVICE_CREATION_CONFIGURATION_ACPI,
pub DeviceId: *mut ::core::ffi::c_void,
}
#[cfg(feature = "Win32_System_Kernel")]
impl ::core::marker::Copy for IOMMU_DEVICE_CREATION_CONFIGURATION_0 {}
#[cfg(feature = "Win32_System_Kernel")]
impl ::core::clone::Clone for IOMMU_DEVICE_CREATION_CONFIGURATION_0 {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_System_Kernel")]
impl ::windows_core::TypeKind for IOMMU_DEVICE_CREATION_CONFIGURATION_0 {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_System_Kernel")]
impl ::core::default::Default for IOMMU_DEVICE_CREATION_CONFIGURATION_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct IOMMU_DEVICE_CREATION_CONFIGURATION_ACPI {
pub InputMappingBase: u32,
pub MappingsCount: u32,
}
impl ::core::marker::Copy for IOMMU_DEVICE_CREATION_CONFIGURATION_ACPI {}
impl ::core::clone::Clone for IOMMU_DEVICE_CREATION_CONFIGURATION_ACPI {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for IOMMU_DEVICE_CREATION_CONFIGURATION_ACPI {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("IOMMU_DEVICE_CREATION_CONFIGURATION_ACPI").field("InputMappingBase", &self.InputMappingBase).field("MappingsCount", &self.MappingsCount).finish()
}
}
impl ::windows_core::TypeKind for IOMMU_DEVICE_CREATION_CONFIGURATION_ACPI {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for IOMMU_DEVICE_CREATION_CONFIGURATION_ACPI {
fn eq(&self, other: &Self) -> bool {
self.InputMappingBase == other.InputMappingBase && self.MappingsCount == other.MappingsCount
}
}
impl ::core::cmp::Eq for IOMMU_DEVICE_CREATION_CONFIGURATION_ACPI {}
impl ::core::default::Default for IOMMU_DEVICE_CREATION_CONFIGURATION_ACPI {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub union IOMMU_DMA_DOMAIN_CREATION_FLAGS {
pub Anonymous: IOMMU_DMA_DOMAIN_CREATION_FLAGS_0,
pub AsUlonglong: u64,
}
impl ::core::marker::Copy for IOMMU_DMA_DOMAIN_CREATION_FLAGS {}
impl ::core::clone::Clone for IOMMU_DMA_DOMAIN_CREATION_FLAGS {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for IOMMU_DMA_DOMAIN_CREATION_FLAGS {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for IOMMU_DMA_DOMAIN_CREATION_FLAGS {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct IOMMU_DMA_DOMAIN_CREATION_FLAGS_0 {
pub _bitfield: u64,
}
impl ::core::marker::Copy for IOMMU_DMA_DOMAIN_CREATION_FLAGS_0 {}
impl ::core::clone::Clone for IOMMU_DMA_DOMAIN_CREATION_FLAGS_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for IOMMU_DMA_DOMAIN_CREATION_FLAGS_0 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("IOMMU_DMA_DOMAIN_CREATION_FLAGS_0").field("_bitfield", &self._bitfield).finish()
}
}
impl ::windows_core::TypeKind for IOMMU_DMA_DOMAIN_CREATION_FLAGS_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for IOMMU_DMA_DOMAIN_CREATION_FLAGS_0 {
fn eq(&self, other: &Self) -> bool {
self._bitfield == other._bitfield
}
}
impl ::core::cmp::Eq for IOMMU_DMA_DOMAIN_CREATION_FLAGS_0 {}
impl ::core::default::Default for IOMMU_DMA_DOMAIN_CREATION_FLAGS_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct IOMMU_DMA_LOGICAL_ADDRESS_TOKEN {
pub LogicalAddressBase: u64,
pub Size: usize,
}
impl ::core::marker::Copy for IOMMU_DMA_LOGICAL_ADDRESS_TOKEN {}
impl ::core::clone::Clone for IOMMU_DMA_LOGICAL_ADDRESS_TOKEN {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for IOMMU_DMA_LOGICAL_ADDRESS_TOKEN {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("IOMMU_DMA_LOGICAL_ADDRESS_TOKEN").field("LogicalAddressBase", &self.LogicalAddressBase).field("Size", &self.Size).finish()
}
}
impl ::windows_core::TypeKind for IOMMU_DMA_LOGICAL_ADDRESS_TOKEN {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for IOMMU_DMA_LOGICAL_ADDRESS_TOKEN {
fn eq(&self, other: &Self) -> bool {
self.LogicalAddressBase == other.LogicalAddressBase && self.Size == other.Size
}
}
impl ::core::cmp::Eq for IOMMU_DMA_LOGICAL_ADDRESS_TOKEN {}
impl ::core::default::Default for IOMMU_DMA_LOGICAL_ADDRESS_TOKEN {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct IOMMU_DMA_LOGICAL_ADDRESS_TOKEN_MAPPED_SEGMENT {
pub OwningToken: *mut IOMMU_DMA_LOGICAL_ADDRESS_TOKEN,
pub Offset: usize,
pub Size: usize,
}
impl ::core::marker::Copy for IOMMU_DMA_LOGICAL_ADDRESS_TOKEN_MAPPED_SEGMENT {}
impl ::core::clone::Clone for IOMMU_DMA_LOGICAL_ADDRESS_TOKEN_MAPPED_SEGMENT {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for IOMMU_DMA_LOGICAL_ADDRESS_TOKEN_MAPPED_SEGMENT {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("IOMMU_DMA_LOGICAL_ADDRESS_TOKEN_MAPPED_SEGMENT").field("OwningToken", &self.OwningToken).field("Offset", &self.Offset).field("Size", &self.Size).finish()
}
}
impl ::windows_core::TypeKind for IOMMU_DMA_LOGICAL_ADDRESS_TOKEN_MAPPED_SEGMENT {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for IOMMU_DMA_LOGICAL_ADDRESS_TOKEN_MAPPED_SEGMENT {
fn eq(&self, other: &Self) -> bool {
self.OwningToken == other.OwningToken && self.Offset == other.Offset && self.Size == other.Size
}
}
impl ::core::cmp::Eq for IOMMU_DMA_LOGICAL_ADDRESS_TOKEN_MAPPED_SEGMENT {}
impl ::core::default::Default for IOMMU_DMA_LOGICAL_ADDRESS_TOKEN_MAPPED_SEGMENT {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct IOMMU_DMA_LOGICAL_ALLOCATOR_CONFIG {
pub LogicalAllocatorType: IOMMU_DMA_LOGICAL_ALLOCATOR_TYPE,
pub Anonymous: IOMMU_DMA_LOGICAL_ALLOCATOR_CONFIG_0,
}
impl ::core::marker::Copy for IOMMU_DMA_LOGICAL_ALLOCATOR_CONFIG {}
impl ::core::clone::Clone for IOMMU_DMA_LOGICAL_ALLOCATOR_CONFIG {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for IOMMU_DMA_LOGICAL_ALLOCATOR_CONFIG {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for IOMMU_DMA_LOGICAL_ALLOCATOR_CONFIG {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub union IOMMU_DMA_LOGICAL_ALLOCATOR_CONFIG_0 {
pub BuddyAllocatorConfig: IOMMU_DMA_LOGICAL_ALLOCATOR_CONFIG_0_0,
}
impl ::core::marker::Copy for IOMMU_DMA_LOGICAL_ALLOCATOR_CONFIG_0 {}
impl ::core::clone::Clone for IOMMU_DMA_LOGICAL_ALLOCATOR_CONFIG_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for IOMMU_DMA_LOGICAL_ALLOCATOR_CONFIG_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for IOMMU_DMA_LOGICAL_ALLOCATOR_CONFIG_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct IOMMU_DMA_LOGICAL_ALLOCATOR_CONFIG_0_0 {
pub AddressWidth: u32,
}
impl ::core::marker::Copy for IOMMU_DMA_LOGICAL_ALLOCATOR_CONFIG_0_0 {}
impl ::core::clone::Clone for IOMMU_DMA_LOGICAL_ALLOCATOR_CONFIG_0_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for IOMMU_DMA_LOGICAL_ALLOCATOR_CONFIG_0_0 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("IOMMU_DMA_LOGICAL_ALLOCATOR_CONFIG_0_0").field("AddressWidth", &self.AddressWidth).finish()
}
}
impl ::windows_core::TypeKind for IOMMU_DMA_LOGICAL_ALLOCATOR_CONFIG_0_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for IOMMU_DMA_LOGICAL_ALLOCATOR_CONFIG_0_0 {
fn eq(&self, other: &Self) -> bool {
self.AddressWidth == other.AddressWidth
}
}
impl ::core::cmp::Eq for IOMMU_DMA_LOGICAL_ALLOCATOR_CONFIG_0_0 {}
impl ::core::default::Default for IOMMU_DMA_LOGICAL_ALLOCATOR_CONFIG_0_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub struct IOMMU_DMA_RESERVED_REGION {
pub RegionNext: *mut IOMMU_DMA_RESERVED_REGION,
pub Base: u64,
pub NumberOfPages: usize,
pub ShouldMap: super::super::super::Win32::Foundation::BOOLEAN,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for IOMMU_DMA_RESERVED_REGION {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for IOMMU_DMA_RESERVED_REGION {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::fmt::Debug for IOMMU_DMA_RESERVED_REGION {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("IOMMU_DMA_RESERVED_REGION").field("RegionNext", &self.RegionNext).field("Base", &self.Base).field("NumberOfPages", &self.NumberOfPages).field("ShouldMap", &self.ShouldMap).finish()
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for IOMMU_DMA_RESERVED_REGION {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::PartialEq for IOMMU_DMA_RESERVED_REGION {
fn eq(&self, other: &Self) -> bool {
self.RegionNext == other.RegionNext && self.Base == other.Base && self.NumberOfPages == other.NumberOfPages && self.ShouldMap == other.ShouldMap
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::Eq for IOMMU_DMA_RESERVED_REGION {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for IOMMU_DMA_RESERVED_REGION {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct IOMMU_INTERFACE_STATE_CHANGE {
pub PresentFields: IOMMU_INTERFACE_STATE_CHANGE_FIELDS,
pub AvailableDomainTypes: u32,
}
impl ::core::marker::Copy for IOMMU_INTERFACE_STATE_CHANGE {}
impl ::core::clone::Clone for IOMMU_INTERFACE_STATE_CHANGE {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for IOMMU_INTERFACE_STATE_CHANGE {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for IOMMU_INTERFACE_STATE_CHANGE {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub union IOMMU_INTERFACE_STATE_CHANGE_FIELDS {
pub Anonymous: IOMMU_INTERFACE_STATE_CHANGE_FIELDS_0,
pub AsULONG: u32,
}
impl ::core::marker::Copy for IOMMU_INTERFACE_STATE_CHANGE_FIELDS {}
impl ::core::clone::Clone for IOMMU_INTERFACE_STATE_CHANGE_FIELDS {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for IOMMU_INTERFACE_STATE_CHANGE_FIELDS {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for IOMMU_INTERFACE_STATE_CHANGE_FIELDS {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct IOMMU_INTERFACE_STATE_CHANGE_FIELDS_0 {
pub _bitfield: u32,
}
impl ::core::marker::Copy for IOMMU_INTERFACE_STATE_CHANGE_FIELDS_0 {}
impl ::core::clone::Clone for IOMMU_INTERFACE_STATE_CHANGE_FIELDS_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for IOMMU_INTERFACE_STATE_CHANGE_FIELDS_0 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("IOMMU_INTERFACE_STATE_CHANGE_FIELDS_0").field("_bitfield", &self._bitfield).finish()
}
}
impl ::windows_core::TypeKind for IOMMU_INTERFACE_STATE_CHANGE_FIELDS_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for IOMMU_INTERFACE_STATE_CHANGE_FIELDS_0 {
fn eq(&self, other: &Self) -> bool {
self._bitfield == other._bitfield
}
}
impl ::core::cmp::Eq for IOMMU_INTERFACE_STATE_CHANGE_FIELDS_0 {}
impl ::core::default::Default for IOMMU_INTERFACE_STATE_CHANGE_FIELDS_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`*"]
#[cfg(feature = "Wdk_Foundation")]
pub struct IOMMU_MAP_PHYSICAL_ADDRESS {
pub MapType: IOMMU_MAP_PHYSICAL_ADDRESS_TYPE,
pub Anonymous: IOMMU_MAP_PHYSICAL_ADDRESS_0,
}
#[cfg(feature = "Wdk_Foundation")]
impl ::core::marker::Copy for IOMMU_MAP_PHYSICAL_ADDRESS {}
#[cfg(feature = "Wdk_Foundation")]
impl ::core::clone::Clone for IOMMU_MAP_PHYSICAL_ADDRESS {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Wdk_Foundation")]
impl ::windows_core::TypeKind for IOMMU_MAP_PHYSICAL_ADDRESS {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Wdk_Foundation")]
impl ::core::default::Default for IOMMU_MAP_PHYSICAL_ADDRESS {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`*"]
#[cfg(feature = "Wdk_Foundation")]
pub union IOMMU_MAP_PHYSICAL_ADDRESS_0 {
pub Mdl: IOMMU_MAP_PHYSICAL_ADDRESS_0_1,
pub ContiguousRange: IOMMU_MAP_PHYSICAL_ADDRESS_0_0,
pub PfnArray: IOMMU_MAP_PHYSICAL_ADDRESS_0_2,
}
#[cfg(feature = "Wdk_Foundation")]
impl ::core::marker::Copy for IOMMU_MAP_PHYSICAL_ADDRESS_0 {}
#[cfg(feature = "Wdk_Foundation")]
impl ::core::clone::Clone for IOMMU_MAP_PHYSICAL_ADDRESS_0 {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Wdk_Foundation")]
impl ::windows_core::TypeKind for IOMMU_MAP_PHYSICAL_ADDRESS_0 {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Wdk_Foundation")]
impl ::core::default::Default for IOMMU_MAP_PHYSICAL_ADDRESS_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`*"]
#[cfg(feature = "Wdk_Foundation")]
pub struct IOMMU_MAP_PHYSICAL_ADDRESS_0_0 {
pub Base: i64,
pub Size: usize,
}
#[cfg(feature = "Wdk_Foundation")]
impl ::core::marker::Copy for IOMMU_MAP_PHYSICAL_ADDRESS_0_0 {}
#[cfg(feature = "Wdk_Foundation")]
impl ::core::clone::Clone for IOMMU_MAP_PHYSICAL_ADDRESS_0_0 {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Wdk_Foundation")]
impl ::core::fmt::Debug for IOMMU_MAP_PHYSICAL_ADDRESS_0_0 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("IOMMU_MAP_PHYSICAL_ADDRESS_0_0").field("Base", &self.Base).field("Size", &self.Size).finish()
}
}
#[cfg(feature = "Wdk_Foundation")]
impl ::windows_core::TypeKind for IOMMU_MAP_PHYSICAL_ADDRESS_0_0 {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Wdk_Foundation")]
impl ::core::cmp::PartialEq for IOMMU_MAP_PHYSICAL_ADDRESS_0_0 {
fn eq(&self, other: &Self) -> bool {
self.Base == other.Base && self.Size == other.Size
}
}
#[cfg(feature = "Wdk_Foundation")]
impl ::core::cmp::Eq for IOMMU_MAP_PHYSICAL_ADDRESS_0_0 {}
#[cfg(feature = "Wdk_Foundation")]
impl ::core::default::Default for IOMMU_MAP_PHYSICAL_ADDRESS_0_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`*"]
#[cfg(feature = "Wdk_Foundation")]
pub struct IOMMU_MAP_PHYSICAL_ADDRESS_0_1 {
pub Mdl: *mut super::super::Foundation::MDL,
}
#[cfg(feature = "Wdk_Foundation")]
impl ::core::marker::Copy for IOMMU_MAP_PHYSICAL_ADDRESS_0_1 {}
#[cfg(feature = "Wdk_Foundation")]
impl ::core::clone::Clone for IOMMU_MAP_PHYSICAL_ADDRESS_0_1 {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Wdk_Foundation")]
impl ::core::fmt::Debug for IOMMU_MAP_PHYSICAL_ADDRESS_0_1 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("IOMMU_MAP_PHYSICAL_ADDRESS_0_1").field("Mdl", &self.Mdl).finish()
}
}
#[cfg(feature = "Wdk_Foundation")]
impl ::windows_core::TypeKind for IOMMU_MAP_PHYSICAL_ADDRESS_0_1 {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Wdk_Foundation")]
impl ::core::cmp::PartialEq for IOMMU_MAP_PHYSICAL_ADDRESS_0_1 {
fn eq(&self, other: &Self) -> bool {
self.Mdl == other.Mdl
}
}
#[cfg(feature = "Wdk_Foundation")]
impl ::core::cmp::Eq for IOMMU_MAP_PHYSICAL_ADDRESS_0_1 {}
#[cfg(feature = "Wdk_Foundation")]
impl ::core::default::Default for IOMMU_MAP_PHYSICAL_ADDRESS_0_1 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`*"]
#[cfg(feature = "Wdk_Foundation")]
pub struct IOMMU_MAP_PHYSICAL_ADDRESS_0_2 {
pub PageFrame: *mut u32,
pub NumberOfPages: usize,
}
#[cfg(feature = "Wdk_Foundation")]
impl ::core::marker::Copy for IOMMU_MAP_PHYSICAL_ADDRESS_0_2 {}
#[cfg(feature = "Wdk_Foundation")]
impl ::core::clone::Clone for IOMMU_MAP_PHYSICAL_ADDRESS_0_2 {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Wdk_Foundation")]
impl ::core::fmt::Debug for IOMMU_MAP_PHYSICAL_ADDRESS_0_2 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("IOMMU_MAP_PHYSICAL_ADDRESS_0_2").field("PageFrame", &self.PageFrame).field("NumberOfPages", &self.NumberOfPages).finish()
}
}
#[cfg(feature = "Wdk_Foundation")]
impl ::windows_core::TypeKind for IOMMU_MAP_PHYSICAL_ADDRESS_0_2 {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Wdk_Foundation")]
impl ::core::cmp::PartialEq for IOMMU_MAP_PHYSICAL_ADDRESS_0_2 {
fn eq(&self, other: &Self) -> bool {
self.PageFrame == other.PageFrame && self.NumberOfPages == other.NumberOfPages
}
}
#[cfg(feature = "Wdk_Foundation")]
impl ::core::cmp::Eq for IOMMU_MAP_PHYSICAL_ADDRESS_0_2 {}
#[cfg(feature = "Wdk_Foundation")]
impl ::core::default::Default for IOMMU_MAP_PHYSICAL_ADDRESS_0_2 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct IO_ATTRIBUTION_INFORMATION {
pub Version: u32,
pub Flags: IO_ATTRIBUTION_INFORMATION_0,
pub Length: u32,
pub ServiceStartTime: u64,
pub CurrentTime: u64,
}
impl ::core::marker::Copy for IO_ATTRIBUTION_INFORMATION {}
impl ::core::clone::Clone for IO_ATTRIBUTION_INFORMATION {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for IO_ATTRIBUTION_INFORMATION {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for IO_ATTRIBUTION_INFORMATION {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub union IO_ATTRIBUTION_INFORMATION_0 {
pub Anonymous: IO_ATTRIBUTION_INFORMATION_0_0,
pub AllFlags: u32,
}
impl ::core::marker::Copy for IO_ATTRIBUTION_INFORMATION_0 {}
impl ::core::clone::Clone for IO_ATTRIBUTION_INFORMATION_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for IO_ATTRIBUTION_INFORMATION_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for IO_ATTRIBUTION_INFORMATION_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct IO_ATTRIBUTION_INFORMATION_0_0 {
pub _bitfield: u32,
}
impl ::core::marker::Copy for IO_ATTRIBUTION_INFORMATION_0_0 {}
impl ::core::clone::Clone for IO_ATTRIBUTION_INFORMATION_0_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for IO_ATTRIBUTION_INFORMATION_0_0 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("IO_ATTRIBUTION_INFORMATION_0_0").field("_bitfield", &self._bitfield).finish()
}
}
impl ::windows_core::TypeKind for IO_ATTRIBUTION_INFORMATION_0_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for IO_ATTRIBUTION_INFORMATION_0_0 {
fn eq(&self, other: &Self) -> bool {
self._bitfield == other._bitfield
}
}
impl ::core::cmp::Eq for IO_ATTRIBUTION_INFORMATION_0_0 {}
impl ::core::default::Default for IO_ATTRIBUTION_INFORMATION_0_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
pub struct IO_CONNECT_INTERRUPT_FULLY_SPECIFIED_PARAMETERS {
pub PhysicalDeviceObject: *mut super::super::Foundation::DEVICE_OBJECT,
pub InterruptObject: *mut super::super::Foundation::PKINTERRUPT,
pub ServiceRoutine: PKSERVICE_ROUTINE,
pub ServiceContext: *mut ::core::ffi::c_void,
pub SpinLock: *mut usize,
pub SynchronizeIrql: u8,
pub FloatingSave: super::super::super::Win32::Foundation::BOOLEAN,
pub ShareVector: super::super::super::Win32::Foundation::BOOLEAN,
pub Vector: u32,
pub Irql: u8,
pub InterruptMode: KINTERRUPT_MODE,
pub ProcessorEnableMask: usize,
pub Group: u16,
}
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
impl ::core::marker::Copy for IO_CONNECT_INTERRUPT_FULLY_SPECIFIED_PARAMETERS {}
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
impl ::core::clone::Clone for IO_CONNECT_INTERRUPT_FULLY_SPECIFIED_PARAMETERS {
fn clone(&self) -> Self {
*self
}
}
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
impl ::core::fmt::Debug for IO_CONNECT_INTERRUPT_FULLY_SPECIFIED_PARAMETERS {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("IO_CONNECT_INTERRUPT_FULLY_SPECIFIED_PARAMETERS")
.field("PhysicalDeviceObject", &self.PhysicalDeviceObject)
.field("InterruptObject", &self.InterruptObject)
.field("ServiceContext", &self.ServiceContext)
.field("SpinLock", &self.SpinLock)
.field("SynchronizeIrql", &self.SynchronizeIrql)
.field("FloatingSave", &self.FloatingSave)
.field("ShareVector", &self.ShareVector)
.field("Vector", &self.Vector)
.field("Irql", &self.Irql)
.field("InterruptMode", &self.InterruptMode)
.field("ProcessorEnableMask", &self.ProcessorEnableMask)
.field("Group", &self.Group)
.finish()
}
}
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
impl ::windows_core::TypeKind for IO_CONNECT_INTERRUPT_FULLY_SPECIFIED_PARAMETERS {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
impl ::core::default::Default for IO_CONNECT_INTERRUPT_FULLY_SPECIFIED_PARAMETERS {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
pub struct IO_CONNECT_INTERRUPT_LINE_BASED_PARAMETERS {
pub PhysicalDeviceObject: *mut super::super::Foundation::DEVICE_OBJECT,
pub InterruptObject: *mut super::super::Foundation::PKINTERRUPT,
pub ServiceRoutine: PKSERVICE_ROUTINE,
pub ServiceContext: *mut ::core::ffi::c_void,
pub SpinLock: *mut usize,
pub SynchronizeIrql: u8,
pub FloatingSave: super::super::super::Win32::Foundation::BOOLEAN,
}
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
impl ::core::marker::Copy for IO_CONNECT_INTERRUPT_LINE_BASED_PARAMETERS {}
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
impl ::core::clone::Clone for IO_CONNECT_INTERRUPT_LINE_BASED_PARAMETERS {
fn clone(&self) -> Self {
*self
}
}
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
impl ::core::fmt::Debug for IO_CONNECT_INTERRUPT_LINE_BASED_PARAMETERS {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("IO_CONNECT_INTERRUPT_LINE_BASED_PARAMETERS").field("PhysicalDeviceObject", &self.PhysicalDeviceObject).field("InterruptObject", &self.InterruptObject).field("ServiceContext", &self.ServiceContext).field("SpinLock", &self.SpinLock).field("SynchronizeIrql", &self.SynchronizeIrql).field("FloatingSave", &self.FloatingSave).finish()
}
}
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
impl ::windows_core::TypeKind for IO_CONNECT_INTERRUPT_LINE_BASED_PARAMETERS {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
impl ::core::default::Default for IO_CONNECT_INTERRUPT_LINE_BASED_PARAMETERS {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
pub struct IO_CONNECT_INTERRUPT_MESSAGE_BASED_PARAMETERS {
pub PhysicalDeviceObject: *mut super::super::Foundation::DEVICE_OBJECT,
pub ConnectionContext: IO_CONNECT_INTERRUPT_MESSAGE_BASED_PARAMETERS_0,
pub MessageServiceRoutine: PKMESSAGE_SERVICE_ROUTINE,
pub ServiceContext: *mut ::core::ffi::c_void,
pub SpinLock: *mut usize,
pub SynchronizeIrql: u8,
pub FloatingSave: super::super::super::Win32::Foundation::BOOLEAN,
pub FallBackServiceRoutine: PKSERVICE_ROUTINE,
}
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
impl ::core::marker::Copy for IO_CONNECT_INTERRUPT_MESSAGE_BASED_PARAMETERS {}
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
impl ::core::clone::Clone for IO_CONNECT_INTERRUPT_MESSAGE_BASED_PARAMETERS {
fn clone(&self) -> Self {
*self
}
}
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
impl ::windows_core::TypeKind for IO_CONNECT_INTERRUPT_MESSAGE_BASED_PARAMETERS {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
impl ::core::default::Default for IO_CONNECT_INTERRUPT_MESSAGE_BASED_PARAMETERS {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
pub union IO_CONNECT_INTERRUPT_MESSAGE_BASED_PARAMETERS_0 {
pub Generic: *mut *mut ::core::ffi::c_void,
pub InterruptMessageTable: *mut *mut IO_INTERRUPT_MESSAGE_INFO,
pub InterruptObject: *mut super::super::Foundation::PKINTERRUPT,
}
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
impl ::core::marker::Copy for IO_CONNECT_INTERRUPT_MESSAGE_BASED_PARAMETERS_0 {}
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
impl ::core::clone::Clone for IO_CONNECT_INTERRUPT_MESSAGE_BASED_PARAMETERS_0 {
fn clone(&self) -> Self {
*self
}
}
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
impl ::windows_core::TypeKind for IO_CONNECT_INTERRUPT_MESSAGE_BASED_PARAMETERS_0 {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
impl ::core::default::Default for IO_CONNECT_INTERRUPT_MESSAGE_BASED_PARAMETERS_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
pub struct IO_CONNECT_INTERRUPT_PARAMETERS {
pub Version: u32,
pub Anonymous: IO_CONNECT_INTERRUPT_PARAMETERS_0,
}
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
impl ::core::marker::Copy for IO_CONNECT_INTERRUPT_PARAMETERS {}
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
impl ::core::clone::Clone for IO_CONNECT_INTERRUPT_PARAMETERS {
fn clone(&self) -> Self {
*self
}
}
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
impl ::windows_core::TypeKind for IO_CONNECT_INTERRUPT_PARAMETERS {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
impl ::core::default::Default for IO_CONNECT_INTERRUPT_PARAMETERS {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
pub union IO_CONNECT_INTERRUPT_PARAMETERS_0 {
pub FullySpecified: IO_CONNECT_INTERRUPT_FULLY_SPECIFIED_PARAMETERS,
pub LineBased: IO_CONNECT_INTERRUPT_LINE_BASED_PARAMETERS,
pub MessageBased: IO_CONNECT_INTERRUPT_MESSAGE_BASED_PARAMETERS,
}
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
impl ::core::marker::Copy for IO_CONNECT_INTERRUPT_PARAMETERS_0 {}
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
impl ::core::clone::Clone for IO_CONNECT_INTERRUPT_PARAMETERS_0 {
fn clone(&self) -> Self {
*self
}
}
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
impl ::windows_core::TypeKind for IO_CONNECT_INTERRUPT_PARAMETERS_0 {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
impl ::core::default::Default for IO_CONNECT_INTERRUPT_PARAMETERS_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
pub struct IO_CSQ {
pub Type: u32,
pub CsqInsertIrp: PIO_CSQ_INSERT_IRP,
pub CsqRemoveIrp: PIO_CSQ_REMOVE_IRP,
pub CsqPeekNextIrp: PIO_CSQ_PEEK_NEXT_IRP,
pub CsqAcquireLock: PIO_CSQ_ACQUIRE_LOCK,
pub CsqReleaseLock: PIO_CSQ_RELEASE_LOCK,
pub CsqCompleteCanceledIrp: PIO_CSQ_COMPLETE_CANCELED_IRP,
pub ReservePointer: *mut ::core::ffi::c_void,
}
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
impl ::core::marker::Copy for IO_CSQ {}
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
impl ::core::clone::Clone for IO_CSQ {
fn clone(&self) -> Self {
*self
}
}
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
impl ::core::fmt::Debug for IO_CSQ {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("IO_CSQ").field("Type", &self.Type).field("ReservePointer", &self.ReservePointer).finish()
}
}
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
impl ::windows_core::TypeKind for IO_CSQ {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
impl ::core::default::Default for IO_CSQ {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
pub struct IO_CSQ_IRP_CONTEXT {
pub Type: u32,
pub Irp: *mut super::super::Foundation::IRP,
pub Csq: *mut IO_CSQ,
}
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
impl ::core::marker::Copy for IO_CSQ_IRP_CONTEXT {}
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
impl ::core::clone::Clone for IO_CSQ_IRP_CONTEXT {
fn clone(&self) -> Self {
*self
}
}
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
impl ::core::fmt::Debug for IO_CSQ_IRP_CONTEXT {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("IO_CSQ_IRP_CONTEXT").field("Type", &self.Type).field("Irp", &self.Irp).field("Csq", &self.Csq).finish()
}
}
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
impl ::windows_core::TypeKind for IO_CSQ_IRP_CONTEXT {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
impl ::core::cmp::PartialEq for IO_CSQ_IRP_CONTEXT {
fn eq(&self, other: &Self) -> bool {
self.Type == other.Type && self.Irp == other.Irp && self.Csq == other.Csq
}
}
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
impl ::core::cmp::Eq for IO_CSQ_IRP_CONTEXT {}
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
impl ::core::default::Default for IO_CSQ_IRP_CONTEXT {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`*"]
#[cfg(feature = "Wdk_Foundation")]
pub struct IO_DISCONNECT_INTERRUPT_PARAMETERS {
pub Version: u32,
pub ConnectionContext: IO_DISCONNECT_INTERRUPT_PARAMETERS_0,
}
#[cfg(feature = "Wdk_Foundation")]
impl ::core::marker::Copy for IO_DISCONNECT_INTERRUPT_PARAMETERS {}
#[cfg(feature = "Wdk_Foundation")]
impl ::core::clone::Clone for IO_DISCONNECT_INTERRUPT_PARAMETERS {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Wdk_Foundation")]
impl ::windows_core::TypeKind for IO_DISCONNECT_INTERRUPT_PARAMETERS {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Wdk_Foundation")]
impl ::core::default::Default for IO_DISCONNECT_INTERRUPT_PARAMETERS {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`*"]
#[cfg(feature = "Wdk_Foundation")]
pub union IO_DISCONNECT_INTERRUPT_PARAMETERS_0 {
pub Generic: *mut ::core::ffi::c_void,
pub InterruptObject: super::super::Foundation::PKINTERRUPT,
pub InterruptMessageTable: *mut IO_INTERRUPT_MESSAGE_INFO,
}
#[cfg(feature = "Wdk_Foundation")]
impl ::core::marker::Copy for IO_DISCONNECT_INTERRUPT_PARAMETERS_0 {}
#[cfg(feature = "Wdk_Foundation")]
impl ::core::clone::Clone for IO_DISCONNECT_INTERRUPT_PARAMETERS_0 {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Wdk_Foundation")]
impl ::windows_core::TypeKind for IO_DISCONNECT_INTERRUPT_PARAMETERS_0 {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Wdk_Foundation")]
impl ::core::default::Default for IO_DISCONNECT_INTERRUPT_PARAMETERS_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`*"]
#[cfg(feature = "Wdk_Foundation")]
pub struct IO_DRIVER_CREATE_CONTEXT {
pub Size: i16,
pub ExtraCreateParameter: *mut isize,
pub DeviceObjectHint: *mut ::core::ffi::c_void,
pub TxnParameters: *mut TXN_PARAMETER_BLOCK,
pub SiloContext: super::super::Foundation::PESILO,
}
#[cfg(feature = "Wdk_Foundation")]
impl ::core::marker::Copy for IO_DRIVER_CREATE_CONTEXT {}
#[cfg(feature = "Wdk_Foundation")]
impl ::core::clone::Clone for IO_DRIVER_CREATE_CONTEXT {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Wdk_Foundation")]
impl ::core::fmt::Debug for IO_DRIVER_CREATE_CONTEXT {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("IO_DRIVER_CREATE_CONTEXT").field("Size", &self.Size).field("ExtraCreateParameter", &self.ExtraCreateParameter).field("DeviceObjectHint", &self.DeviceObjectHint).field("TxnParameters", &self.TxnParameters).field("SiloContext", &self.SiloContext).finish()
}
}
#[cfg(feature = "Wdk_Foundation")]
impl ::windows_core::TypeKind for IO_DRIVER_CREATE_CONTEXT {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Wdk_Foundation")]
impl ::core::cmp::PartialEq for IO_DRIVER_CREATE_CONTEXT {
fn eq(&self, other: &Self) -> bool {
self.Size == other.Size && self.ExtraCreateParameter == other.ExtraCreateParameter && self.DeviceObjectHint == other.DeviceObjectHint && self.TxnParameters == other.TxnParameters && self.SiloContext == other.SiloContext
}
}
#[cfg(feature = "Wdk_Foundation")]
impl ::core::cmp::Eq for IO_DRIVER_CREATE_CONTEXT {}
#[cfg(feature = "Wdk_Foundation")]
impl ::core::default::Default for IO_DRIVER_CREATE_CONTEXT {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub struct IO_ERROR_LOG_MESSAGE {
pub Type: u16,
pub Size: u16,
pub DriverNameLength: u16,
pub TimeStamp: i64,
pub DriverNameOffset: u32,
pub EntryData: IO_ERROR_LOG_PACKET,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for IO_ERROR_LOG_MESSAGE {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for IO_ERROR_LOG_MESSAGE {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::fmt::Debug for IO_ERROR_LOG_MESSAGE {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("IO_ERROR_LOG_MESSAGE").field("Type", &self.Type).field("Size", &self.Size).field("DriverNameLength", &self.DriverNameLength).field("TimeStamp", &self.TimeStamp).field("DriverNameOffset", &self.DriverNameOffset).field("EntryData", &self.EntryData).finish()
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for IO_ERROR_LOG_MESSAGE {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::PartialEq for IO_ERROR_LOG_MESSAGE {
fn eq(&self, other: &Self) -> bool {
self.Type == other.Type && self.Size == other.Size && self.DriverNameLength == other.DriverNameLength && self.TimeStamp == other.TimeStamp && self.DriverNameOffset == other.DriverNameOffset && self.EntryData == other.EntryData
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::Eq for IO_ERROR_LOG_MESSAGE {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for IO_ERROR_LOG_MESSAGE {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub struct IO_ERROR_LOG_PACKET {
pub MajorFunctionCode: u8,
pub RetryCount: u8,
pub DumpDataSize: u16,
pub NumberOfStrings: u16,
pub StringOffset: u16,
pub EventCategory: u16,
pub ErrorCode: super::super::super::Win32::Foundation::NTSTATUS,
pub UniqueErrorValue: u32,
pub FinalStatus: super::super::super::Win32::Foundation::NTSTATUS,
pub SequenceNumber: u32,
pub IoControlCode: u32,
pub DeviceOffset: i64,
pub DumpData: [u32; 1],
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for IO_ERROR_LOG_PACKET {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for IO_ERROR_LOG_PACKET {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::fmt::Debug for IO_ERROR_LOG_PACKET {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("IO_ERROR_LOG_PACKET")
.field("MajorFunctionCode", &self.MajorFunctionCode)
.field("RetryCount", &self.RetryCount)
.field("DumpDataSize", &self.DumpDataSize)
.field("NumberOfStrings", &self.NumberOfStrings)
.field("StringOffset", &self.StringOffset)
.field("EventCategory", &self.EventCategory)
.field("ErrorCode", &self.ErrorCode)
.field("UniqueErrorValue", &self.UniqueErrorValue)
.field("FinalStatus", &self.FinalStatus)
.field("SequenceNumber", &self.SequenceNumber)
.field("IoControlCode", &self.IoControlCode)
.field("DeviceOffset", &self.DeviceOffset)
.field("DumpData", &self.DumpData)
.finish()
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for IO_ERROR_LOG_PACKET {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::PartialEq for IO_ERROR_LOG_PACKET {
fn eq(&self, other: &Self) -> bool {
self.MajorFunctionCode == other.MajorFunctionCode && self.RetryCount == other.RetryCount && self.DumpDataSize == other.DumpDataSize && self.NumberOfStrings == other.NumberOfStrings && self.StringOffset == other.StringOffset && self.EventCategory == other.EventCategory && self.ErrorCode == other.ErrorCode && self.UniqueErrorValue == other.UniqueErrorValue && self.FinalStatus == other.FinalStatus && self.SequenceNumber == other.SequenceNumber && self.IoControlCode == other.IoControlCode && self.DeviceOffset == other.DeviceOffset && self.DumpData == other.DumpData
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::Eq for IO_ERROR_LOG_PACKET {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for IO_ERROR_LOG_PACKET {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
pub struct IO_FOEXT_SHADOW_FILE {
pub BackingFileObject: *mut super::super::Foundation::FILE_OBJECT,
pub BackingFltInstance: *mut ::core::ffi::c_void,
}
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
impl ::core::marker::Copy for IO_FOEXT_SHADOW_FILE {}
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
impl ::core::clone::Clone for IO_FOEXT_SHADOW_FILE {
fn clone(&self) -> Self {
*self
}
}
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
impl ::core::fmt::Debug for IO_FOEXT_SHADOW_FILE {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("IO_FOEXT_SHADOW_FILE").field("BackingFileObject", &self.BackingFileObject).field("BackingFltInstance", &self.BackingFltInstance).finish()
}
}
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
impl ::windows_core::TypeKind for IO_FOEXT_SHADOW_FILE {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
impl ::core::cmp::PartialEq for IO_FOEXT_SHADOW_FILE {
fn eq(&self, other: &Self) -> bool {
self.BackingFileObject == other.BackingFileObject && self.BackingFltInstance == other.BackingFltInstance
}
}
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
impl ::core::cmp::Eq for IO_FOEXT_SHADOW_FILE {}
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
impl ::core::default::Default for IO_FOEXT_SHADOW_FILE {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`*"]
#[cfg(feature = "Wdk_Foundation")]
pub struct IO_FOEXT_SILO_PARAMETERS {
pub Length: u32,
pub Anonymous: IO_FOEXT_SILO_PARAMETERS_0,
pub SiloContext: super::super::Foundation::PESILO,
}
#[cfg(feature = "Wdk_Foundation")]
impl ::core::marker::Copy for IO_FOEXT_SILO_PARAMETERS {}
#[cfg(feature = "Wdk_Foundation")]
impl ::core::clone::Clone for IO_FOEXT_SILO_PARAMETERS {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Wdk_Foundation")]
impl ::windows_core::TypeKind for IO_FOEXT_SILO_PARAMETERS {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Wdk_Foundation")]
impl ::core::default::Default for IO_FOEXT_SILO_PARAMETERS {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`*"]
#[cfg(feature = "Wdk_Foundation")]
pub union IO_FOEXT_SILO_PARAMETERS_0 {
pub Anonymous: IO_FOEXT_SILO_PARAMETERS_0_0,
pub Flags: u32,
}
#[cfg(feature = "Wdk_Foundation")]
impl ::core::marker::Copy for IO_FOEXT_SILO_PARAMETERS_0 {}
#[cfg(feature = "Wdk_Foundation")]
impl ::core::clone::Clone for IO_FOEXT_SILO_PARAMETERS_0 {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Wdk_Foundation")]
impl ::windows_core::TypeKind for IO_FOEXT_SILO_PARAMETERS_0 {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Wdk_Foundation")]
impl ::core::default::Default for IO_FOEXT_SILO_PARAMETERS_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`*"]
#[cfg(feature = "Wdk_Foundation")]
pub struct IO_FOEXT_SILO_PARAMETERS_0_0 {
pub _bitfield: u32,
}
#[cfg(feature = "Wdk_Foundation")]
impl ::core::marker::Copy for IO_FOEXT_SILO_PARAMETERS_0_0 {}
#[cfg(feature = "Wdk_Foundation")]
impl ::core::clone::Clone for IO_FOEXT_SILO_PARAMETERS_0_0 {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Wdk_Foundation")]
impl ::core::fmt::Debug for IO_FOEXT_SILO_PARAMETERS_0_0 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("IO_FOEXT_SILO_PARAMETERS_0_0").field("_bitfield", &self._bitfield).finish()
}
}
#[cfg(feature = "Wdk_Foundation")]
impl ::windows_core::TypeKind for IO_FOEXT_SILO_PARAMETERS_0_0 {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Wdk_Foundation")]
impl ::core::cmp::PartialEq for IO_FOEXT_SILO_PARAMETERS_0_0 {
fn eq(&self, other: &Self) -> bool {
self._bitfield == other._bitfield
}
}
#[cfg(feature = "Wdk_Foundation")]
impl ::core::cmp::Eq for IO_FOEXT_SILO_PARAMETERS_0_0 {}
#[cfg(feature = "Wdk_Foundation")]
impl ::core::default::Default for IO_FOEXT_SILO_PARAMETERS_0_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`*"]
#[cfg(feature = "Wdk_Foundation")]
pub struct IO_INTERRUPT_MESSAGE_INFO {
pub UnifiedIrql: u8,
pub MessageCount: u32,
pub MessageInfo: [IO_INTERRUPT_MESSAGE_INFO_ENTRY; 1],
}
#[cfg(feature = "Wdk_Foundation")]
impl ::core::marker::Copy for IO_INTERRUPT_MESSAGE_INFO {}
#[cfg(feature = "Wdk_Foundation")]
impl ::core::clone::Clone for IO_INTERRUPT_MESSAGE_INFO {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Wdk_Foundation")]
impl ::core::fmt::Debug for IO_INTERRUPT_MESSAGE_INFO {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("IO_INTERRUPT_MESSAGE_INFO").field("UnifiedIrql", &self.UnifiedIrql).field("MessageCount", &self.MessageCount).field("MessageInfo", &self.MessageInfo).finish()
}
}
#[cfg(feature = "Wdk_Foundation")]
impl ::windows_core::TypeKind for IO_INTERRUPT_MESSAGE_INFO {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Wdk_Foundation")]
impl ::core::cmp::PartialEq for IO_INTERRUPT_MESSAGE_INFO {
fn eq(&self, other: &Self) -> bool {
self.UnifiedIrql == other.UnifiedIrql && self.MessageCount == other.MessageCount && self.MessageInfo == other.MessageInfo
}
}
#[cfg(feature = "Wdk_Foundation")]
impl ::core::cmp::Eq for IO_INTERRUPT_MESSAGE_INFO {}
#[cfg(feature = "Wdk_Foundation")]
impl ::core::default::Default for IO_INTERRUPT_MESSAGE_INFO {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`*"]
#[cfg(feature = "Wdk_Foundation")]
pub struct IO_INTERRUPT_MESSAGE_INFO_ENTRY {
pub MessageAddress: i64,
pub TargetProcessorSet: usize,
pub InterruptObject: super::super::Foundation::PKINTERRUPT,
pub MessageData: u32,
pub Vector: u32,
pub Irql: u8,
pub Mode: KINTERRUPT_MODE,
pub Polarity: KINTERRUPT_POLARITY,
}
#[cfg(feature = "Wdk_Foundation")]
impl ::core::marker::Copy for IO_INTERRUPT_MESSAGE_INFO_ENTRY {}
#[cfg(feature = "Wdk_Foundation")]
impl ::core::clone::Clone for IO_INTERRUPT_MESSAGE_INFO_ENTRY {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Wdk_Foundation")]
impl ::core::fmt::Debug for IO_INTERRUPT_MESSAGE_INFO_ENTRY {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("IO_INTERRUPT_MESSAGE_INFO_ENTRY").field("MessageAddress", &self.MessageAddress).field("TargetProcessorSet", &self.TargetProcessorSet).field("InterruptObject", &self.InterruptObject).field("MessageData", &self.MessageData).field("Vector", &self.Vector).field("Irql", &self.Irql).field("Mode", &self.Mode).field("Polarity", &self.Polarity).finish()
}
}
#[cfg(feature = "Wdk_Foundation")]
impl ::windows_core::TypeKind for IO_INTERRUPT_MESSAGE_INFO_ENTRY {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Wdk_Foundation")]
impl ::core::cmp::PartialEq for IO_INTERRUPT_MESSAGE_INFO_ENTRY {
fn eq(&self, other: &Self) -> bool {
self.MessageAddress == other.MessageAddress && self.TargetProcessorSet == other.TargetProcessorSet && self.InterruptObject == other.InterruptObject && self.MessageData == other.MessageData && self.Vector == other.Vector && self.Irql == other.Irql && self.Mode == other.Mode && self.Polarity == other.Polarity
}
}
#[cfg(feature = "Wdk_Foundation")]
impl ::core::cmp::Eq for IO_INTERRUPT_MESSAGE_INFO_ENTRY {}
#[cfg(feature = "Wdk_Foundation")]
impl ::core::default::Default for IO_INTERRUPT_MESSAGE_INFO_ENTRY {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
pub struct IO_REMOVE_LOCK {
pub Common: IO_REMOVE_LOCK_COMMON_BLOCK,
}
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
impl ::core::marker::Copy for IO_REMOVE_LOCK {}
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
impl ::core::clone::Clone for IO_REMOVE_LOCK {
fn clone(&self) -> Self {
*self
}
}
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
impl ::windows_core::TypeKind for IO_REMOVE_LOCK {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
impl ::core::default::Default for IO_REMOVE_LOCK {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
pub struct IO_REMOVE_LOCK_COMMON_BLOCK {
pub Removed: super::super::super::Win32::Foundation::BOOLEAN,
pub Reserved: [super::super::super::Win32::Foundation::BOOLEAN; 3],
pub IoCount: i32,
pub RemoveEvent: super::super::Foundation::KEVENT,
}
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
impl ::core::marker::Copy for IO_REMOVE_LOCK_COMMON_BLOCK {}
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
impl ::core::clone::Clone for IO_REMOVE_LOCK_COMMON_BLOCK {
fn clone(&self) -> Self {
*self
}
}
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
impl ::windows_core::TypeKind for IO_REMOVE_LOCK_COMMON_BLOCK {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
impl ::core::default::Default for IO_REMOVE_LOCK_COMMON_BLOCK {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_System_Kernel\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_System_Kernel"))]
pub struct IO_REMOVE_LOCK_DBG_BLOCK {
pub Signature: i32,
pub HighWatermark: u32,
pub MaxLockedTicks: i64,
pub AllocateTag: i32,
pub LockList: super::super::super::Win32::System::Kernel::LIST_ENTRY,
pub Spin: usize,
pub LowMemoryCount: i32,
pub Reserved1: [u32; 4],
pub Reserved2: *mut ::core::ffi::c_void,
pub Blocks: super::super::Foundation::PIO_REMOVE_LOCK_TRACKING_BLOCK,
}
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_System_Kernel"))]
impl ::core::marker::Copy for IO_REMOVE_LOCK_DBG_BLOCK {}
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_System_Kernel"))]
impl ::core::clone::Clone for IO_REMOVE_LOCK_DBG_BLOCK {
fn clone(&self) -> Self {
*self
}
}
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_System_Kernel"))]
impl ::core::fmt::Debug for IO_REMOVE_LOCK_DBG_BLOCK {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("IO_REMOVE_LOCK_DBG_BLOCK").field("Signature", &self.Signature).field("HighWatermark", &self.HighWatermark).field("MaxLockedTicks", &self.MaxLockedTicks).field("AllocateTag", &self.AllocateTag).field("LockList", &self.LockList).field("Spin", &self.Spin).field("LowMemoryCount", &self.LowMemoryCount).field("Reserved1", &self.Reserved1).field("Reserved2", &self.Reserved2).field("Blocks", &self.Blocks).finish()
}
}
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_System_Kernel"))]
impl ::windows_core::TypeKind for IO_REMOVE_LOCK_DBG_BLOCK {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_System_Kernel"))]
impl ::core::cmp::PartialEq for IO_REMOVE_LOCK_DBG_BLOCK {
fn eq(&self, other: &Self) -> bool {
self.Signature == other.Signature && self.HighWatermark == other.HighWatermark && self.MaxLockedTicks == other.MaxLockedTicks && self.AllocateTag == other.AllocateTag && self.LockList == other.LockList && self.Spin == other.Spin && self.LowMemoryCount == other.LowMemoryCount && self.Reserved1 == other.Reserved1 && self.Reserved2 == other.Reserved2 && self.Blocks == other.Blocks
}
}
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_System_Kernel"))]
impl ::core::cmp::Eq for IO_REMOVE_LOCK_DBG_BLOCK {}
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_System_Kernel"))]
impl ::core::default::Default for IO_REMOVE_LOCK_DBG_BLOCK {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`*"]
#[cfg(feature = "Wdk_Foundation")]
pub struct IO_REPORT_INTERRUPT_ACTIVE_STATE_PARAMETERS {
pub Version: u32,
pub ConnectionContext: IO_REPORT_INTERRUPT_ACTIVE_STATE_PARAMETERS_0,
}
#[cfg(feature = "Wdk_Foundation")]
impl ::core::marker::Copy for IO_REPORT_INTERRUPT_ACTIVE_STATE_PARAMETERS {}
#[cfg(feature = "Wdk_Foundation")]
impl ::core::clone::Clone for IO_REPORT_INTERRUPT_ACTIVE_STATE_PARAMETERS {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Wdk_Foundation")]
impl ::windows_core::TypeKind for IO_REPORT_INTERRUPT_ACTIVE_STATE_PARAMETERS {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Wdk_Foundation")]
impl ::core::default::Default for IO_REPORT_INTERRUPT_ACTIVE_STATE_PARAMETERS {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`*"]
#[cfg(feature = "Wdk_Foundation")]
pub union IO_REPORT_INTERRUPT_ACTIVE_STATE_PARAMETERS_0 {
pub Generic: *mut ::core::ffi::c_void,
pub InterruptObject: super::super::Foundation::PKINTERRUPT,
pub InterruptMessageTable: *mut IO_INTERRUPT_MESSAGE_INFO,
}
#[cfg(feature = "Wdk_Foundation")]
impl ::core::marker::Copy for IO_REPORT_INTERRUPT_ACTIVE_STATE_PARAMETERS_0 {}
#[cfg(feature = "Wdk_Foundation")]
impl ::core::clone::Clone for IO_REPORT_INTERRUPT_ACTIVE_STATE_PARAMETERS_0 {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Wdk_Foundation")]
impl ::windows_core::TypeKind for IO_REPORT_INTERRUPT_ACTIVE_STATE_PARAMETERS_0 {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Wdk_Foundation")]
impl ::core::default::Default for IO_REPORT_INTERRUPT_ACTIVE_STATE_PARAMETERS_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct IO_RESOURCE_DESCRIPTOR {
pub Option: u8,
pub Type: u8,
pub ShareDisposition: u8,
pub Spare1: u8,
pub Flags: u16,
pub Spare2: u16,
pub u: IO_RESOURCE_DESCRIPTOR_0,
}
impl ::core::marker::Copy for IO_RESOURCE_DESCRIPTOR {}
impl ::core::clone::Clone for IO_RESOURCE_DESCRIPTOR {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for IO_RESOURCE_DESCRIPTOR {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for IO_RESOURCE_DESCRIPTOR {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub union IO_RESOURCE_DESCRIPTOR_0 {
pub Port: IO_RESOURCE_DESCRIPTOR_0_12,
pub Memory: IO_RESOURCE_DESCRIPTOR_0_11,
pub Interrupt: IO_RESOURCE_DESCRIPTOR_0_7,
pub Dma: IO_RESOURCE_DESCRIPTOR_0_5,
pub DmaV3: IO_RESOURCE_DESCRIPTOR_0_4,
pub Generic: IO_RESOURCE_DESCRIPTOR_0_6,
pub DevicePrivate: IO_RESOURCE_DESCRIPTOR_0_3,
pub BusNumber: IO_RESOURCE_DESCRIPTOR_0_0,
pub ConfigData: IO_RESOURCE_DESCRIPTOR_0_1,
pub Memory40: IO_RESOURCE_DESCRIPTOR_0_8,
pub Memory48: IO_RESOURCE_DESCRIPTOR_0_9,
pub Memory64: IO_RESOURCE_DESCRIPTOR_0_10,
pub Connection: IO_RESOURCE_DESCRIPTOR_0_2,
}
impl ::core::marker::Copy for IO_RESOURCE_DESCRIPTOR_0 {}
impl ::core::clone::Clone for IO_RESOURCE_DESCRIPTOR_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for IO_RESOURCE_DESCRIPTOR_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for IO_RESOURCE_DESCRIPTOR_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct IO_RESOURCE_DESCRIPTOR_0_0 {
pub Length: u32,
pub MinBusNumber: u32,
pub MaxBusNumber: u32,
pub Reserved: u32,
}
impl ::core::marker::Copy for IO_RESOURCE_DESCRIPTOR_0_0 {}
impl ::core::clone::Clone for IO_RESOURCE_DESCRIPTOR_0_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for IO_RESOURCE_DESCRIPTOR_0_0 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("IO_RESOURCE_DESCRIPTOR_0_0").field("Length", &self.Length).field("MinBusNumber", &self.MinBusNumber).field("MaxBusNumber", &self.MaxBusNumber).field("Reserved", &self.Reserved).finish()
}
}
impl ::windows_core::TypeKind for IO_RESOURCE_DESCRIPTOR_0_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for IO_RESOURCE_DESCRIPTOR_0_0 {
fn eq(&self, other: &Self) -> bool {
self.Length == other.Length && self.MinBusNumber == other.MinBusNumber && self.MaxBusNumber == other.MaxBusNumber && self.Reserved == other.Reserved
}
}
impl ::core::cmp::Eq for IO_RESOURCE_DESCRIPTOR_0_0 {}
impl ::core::default::Default for IO_RESOURCE_DESCRIPTOR_0_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct IO_RESOURCE_DESCRIPTOR_0_1 {
pub Priority: u32,
pub Reserved1: u32,
pub Reserved2: u32,
}
impl ::core::marker::Copy for IO_RESOURCE_DESCRIPTOR_0_1 {}
impl ::core::clone::Clone for IO_RESOURCE_DESCRIPTOR_0_1 {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for IO_RESOURCE_DESCRIPTOR_0_1 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("IO_RESOURCE_DESCRIPTOR_0_1").field("Priority", &self.Priority).field("Reserved1", &self.Reserved1).field("Reserved2", &self.Reserved2).finish()
}
}
impl ::windows_core::TypeKind for IO_RESOURCE_DESCRIPTOR_0_1 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for IO_RESOURCE_DESCRIPTOR_0_1 {
fn eq(&self, other: &Self) -> bool {
self.Priority == other.Priority && self.Reserved1 == other.Reserved1 && self.Reserved2 == other.Reserved2
}
}
impl ::core::cmp::Eq for IO_RESOURCE_DESCRIPTOR_0_1 {}
impl ::core::default::Default for IO_RESOURCE_DESCRIPTOR_0_1 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct IO_RESOURCE_DESCRIPTOR_0_2 {
pub Class: u8,
pub Type: u8,
pub Reserved1: u8,
pub Reserved2: u8,
pub IdLowPart: u32,
pub IdHighPart: u32,
}
impl ::core::marker::Copy for IO_RESOURCE_DESCRIPTOR_0_2 {}
impl ::core::clone::Clone for IO_RESOURCE_DESCRIPTOR_0_2 {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for IO_RESOURCE_DESCRIPTOR_0_2 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("IO_RESOURCE_DESCRIPTOR_0_2").field("Class", &self.Class).field("Type", &self.Type).field("Reserved1", &self.Reserved1).field("Reserved2", &self.Reserved2).field("IdLowPart", &self.IdLowPart).field("IdHighPart", &self.IdHighPart).finish()
}
}
impl ::windows_core::TypeKind for IO_RESOURCE_DESCRIPTOR_0_2 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for IO_RESOURCE_DESCRIPTOR_0_2 {
fn eq(&self, other: &Self) -> bool {
self.Class == other.Class && self.Type == other.Type && self.Reserved1 == other.Reserved1 && self.Reserved2 == other.Reserved2 && self.IdLowPart == other.IdLowPart && self.IdHighPart == other.IdHighPart
}
}
impl ::core::cmp::Eq for IO_RESOURCE_DESCRIPTOR_0_2 {}
impl ::core::default::Default for IO_RESOURCE_DESCRIPTOR_0_2 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct IO_RESOURCE_DESCRIPTOR_0_3 {
pub Data: [u32; 3],
}
impl ::core::marker::Copy for IO_RESOURCE_DESCRIPTOR_0_3 {}
impl ::core::clone::Clone for IO_RESOURCE_DESCRIPTOR_0_3 {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for IO_RESOURCE_DESCRIPTOR_0_3 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("IO_RESOURCE_DESCRIPTOR_0_3").field("Data", &self.Data).finish()
}
}
impl ::windows_core::TypeKind for IO_RESOURCE_DESCRIPTOR_0_3 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for IO_RESOURCE_DESCRIPTOR_0_3 {
fn eq(&self, other: &Self) -> bool {
self.Data == other.Data
}
}
impl ::core::cmp::Eq for IO_RESOURCE_DESCRIPTOR_0_3 {}
impl ::core::default::Default for IO_RESOURCE_DESCRIPTOR_0_3 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct IO_RESOURCE_DESCRIPTOR_0_4 {
pub RequestLine: u32,
pub Reserved: u32,
pub Channel: u32,
pub TransferWidth: u32,
}
impl ::core::marker::Copy for IO_RESOURCE_DESCRIPTOR_0_4 {}
impl ::core::clone::Clone for IO_RESOURCE_DESCRIPTOR_0_4 {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for IO_RESOURCE_DESCRIPTOR_0_4 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("IO_RESOURCE_DESCRIPTOR_0_4").field("RequestLine", &self.RequestLine).field("Reserved", &self.Reserved).field("Channel", &self.Channel).field("TransferWidth", &self.TransferWidth).finish()
}
}
impl ::windows_core::TypeKind for IO_RESOURCE_DESCRIPTOR_0_4 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for IO_RESOURCE_DESCRIPTOR_0_4 {
fn eq(&self, other: &Self) -> bool {
self.RequestLine == other.RequestLine && self.Reserved == other.Reserved && self.Channel == other.Channel && self.TransferWidth == other.TransferWidth
}
}
impl ::core::cmp::Eq for IO_RESOURCE_DESCRIPTOR_0_4 {}
impl ::core::default::Default for IO_RESOURCE_DESCRIPTOR_0_4 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct IO_RESOURCE_DESCRIPTOR_0_5 {
pub MinimumChannel: u32,
pub MaximumChannel: u32,
}
impl ::core::marker::Copy for IO_RESOURCE_DESCRIPTOR_0_5 {}
impl ::core::clone::Clone for IO_RESOURCE_DESCRIPTOR_0_5 {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for IO_RESOURCE_DESCRIPTOR_0_5 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("IO_RESOURCE_DESCRIPTOR_0_5").field("MinimumChannel", &self.MinimumChannel).field("MaximumChannel", &self.MaximumChannel).finish()
}
}
impl ::windows_core::TypeKind for IO_RESOURCE_DESCRIPTOR_0_5 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for IO_RESOURCE_DESCRIPTOR_0_5 {
fn eq(&self, other: &Self) -> bool {
self.MinimumChannel == other.MinimumChannel && self.MaximumChannel == other.MaximumChannel
}
}
impl ::core::cmp::Eq for IO_RESOURCE_DESCRIPTOR_0_5 {}
impl ::core::default::Default for IO_RESOURCE_DESCRIPTOR_0_5 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct IO_RESOURCE_DESCRIPTOR_0_6 {
pub Length: u32,
pub Alignment: u32,
pub MinimumAddress: i64,
pub MaximumAddress: i64,
}
impl ::core::marker::Copy for IO_RESOURCE_DESCRIPTOR_0_6 {}
impl ::core::clone::Clone for IO_RESOURCE_DESCRIPTOR_0_6 {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for IO_RESOURCE_DESCRIPTOR_0_6 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("IO_RESOURCE_DESCRIPTOR_0_6").field("Length", &self.Length).field("Alignment", &self.Alignment).field("MinimumAddress", &self.MinimumAddress).field("MaximumAddress", &self.MaximumAddress).finish()
}
}
impl ::windows_core::TypeKind for IO_RESOURCE_DESCRIPTOR_0_6 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for IO_RESOURCE_DESCRIPTOR_0_6 {
fn eq(&self, other: &Self) -> bool {
self.Length == other.Length && self.Alignment == other.Alignment && self.MinimumAddress == other.MinimumAddress && self.MaximumAddress == other.MaximumAddress
}
}
impl ::core::cmp::Eq for IO_RESOURCE_DESCRIPTOR_0_6 {}
impl ::core::default::Default for IO_RESOURCE_DESCRIPTOR_0_6 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct IO_RESOURCE_DESCRIPTOR_0_7 {
pub MinimumVector: u32,
pub MaximumVector: u32,
pub AffinityPolicy: IRQ_DEVICE_POLICY,
pub PriorityPolicy: IRQ_PRIORITY,
pub TargetedProcessors: usize,
}
impl ::core::marker::Copy for IO_RESOURCE_DESCRIPTOR_0_7 {}
impl ::core::clone::Clone for IO_RESOURCE_DESCRIPTOR_0_7 {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for IO_RESOURCE_DESCRIPTOR_0_7 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("IO_RESOURCE_DESCRIPTOR_0_7").field("MinimumVector", &self.MinimumVector).field("MaximumVector", &self.MaximumVector).field("AffinityPolicy", &self.AffinityPolicy).field("PriorityPolicy", &self.PriorityPolicy).field("TargetedProcessors", &self.TargetedProcessors).finish()
}
}
impl ::windows_core::TypeKind for IO_RESOURCE_DESCRIPTOR_0_7 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for IO_RESOURCE_DESCRIPTOR_0_7 {
fn eq(&self, other: &Self) -> bool {
self.MinimumVector == other.MinimumVector && self.MaximumVector == other.MaximumVector && self.AffinityPolicy == other.AffinityPolicy && self.PriorityPolicy == other.PriorityPolicy && self.TargetedProcessors == other.TargetedProcessors
}
}
impl ::core::cmp::Eq for IO_RESOURCE_DESCRIPTOR_0_7 {}
impl ::core::default::Default for IO_RESOURCE_DESCRIPTOR_0_7 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct IO_RESOURCE_DESCRIPTOR_0_8 {
pub Length40: u32,
pub Alignment40: u32,
pub MinimumAddress: i64,
pub MaximumAddress: i64,
}
impl ::core::marker::Copy for IO_RESOURCE_DESCRIPTOR_0_8 {}
impl ::core::clone::Clone for IO_RESOURCE_DESCRIPTOR_0_8 {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for IO_RESOURCE_DESCRIPTOR_0_8 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("IO_RESOURCE_DESCRIPTOR_0_8").field("Length40", &self.Length40).field("Alignment40", &self.Alignment40).field("MinimumAddress", &self.MinimumAddress).field("MaximumAddress", &self.MaximumAddress).finish()
}
}
impl ::windows_core::TypeKind for IO_RESOURCE_DESCRIPTOR_0_8 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for IO_RESOURCE_DESCRIPTOR_0_8 {
fn eq(&self, other: &Self) -> bool {
self.Length40 == other.Length40 && self.Alignment40 == other.Alignment40 && self.MinimumAddress == other.MinimumAddress && self.MaximumAddress == other.MaximumAddress
}
}
impl ::core::cmp::Eq for IO_RESOURCE_DESCRIPTOR_0_8 {}
impl ::core::default::Default for IO_RESOURCE_DESCRIPTOR_0_8 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct IO_RESOURCE_DESCRIPTOR_0_9 {
pub Length48: u32,
pub Alignment48: u32,
pub MinimumAddress: i64,
pub MaximumAddress: i64,
}
impl ::core::marker::Copy for IO_RESOURCE_DESCRIPTOR_0_9 {}
impl ::core::clone::Clone for IO_RESOURCE_DESCRIPTOR_0_9 {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for IO_RESOURCE_DESCRIPTOR_0_9 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("IO_RESOURCE_DESCRIPTOR_0_9").field("Length48", &self.Length48).field("Alignment48", &self.Alignment48).field("MinimumAddress", &self.MinimumAddress).field("MaximumAddress", &self.MaximumAddress).finish()
}
}
impl ::windows_core::TypeKind for IO_RESOURCE_DESCRIPTOR_0_9 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for IO_RESOURCE_DESCRIPTOR_0_9 {
fn eq(&self, other: &Self) -> bool {
self.Length48 == other.Length48 && self.Alignment48 == other.Alignment48 && self.MinimumAddress == other.MinimumAddress && self.MaximumAddress == other.MaximumAddress
}
}
impl ::core::cmp::Eq for IO_RESOURCE_DESCRIPTOR_0_9 {}
impl ::core::default::Default for IO_RESOURCE_DESCRIPTOR_0_9 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct IO_RESOURCE_DESCRIPTOR_0_10 {
pub Length64: u32,
pub Alignment64: u32,
pub MinimumAddress: i64,
pub MaximumAddress: i64,
}
impl ::core::marker::Copy for IO_RESOURCE_DESCRIPTOR_0_10 {}
impl ::core::clone::Clone for IO_RESOURCE_DESCRIPTOR_0_10 {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for IO_RESOURCE_DESCRIPTOR_0_10 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("IO_RESOURCE_DESCRIPTOR_0_10").field("Length64", &self.Length64).field("Alignment64", &self.Alignment64).field("MinimumAddress", &self.MinimumAddress).field("MaximumAddress", &self.MaximumAddress).finish()
}
}
impl ::windows_core::TypeKind for IO_RESOURCE_DESCRIPTOR_0_10 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for IO_RESOURCE_DESCRIPTOR_0_10 {
fn eq(&self, other: &Self) -> bool {
self.Length64 == other.Length64 && self.Alignment64 == other.Alignment64 && self.MinimumAddress == other.MinimumAddress && self.MaximumAddress == other.MaximumAddress
}
}
impl ::core::cmp::Eq for IO_RESOURCE_DESCRIPTOR_0_10 {}
impl ::core::default::Default for IO_RESOURCE_DESCRIPTOR_0_10 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct IO_RESOURCE_DESCRIPTOR_0_11 {
pub Length: u32,
pub Alignment: u32,
pub MinimumAddress: i64,
pub MaximumAddress: i64,
}
impl ::core::marker::Copy for IO_RESOURCE_DESCRIPTOR_0_11 {}
impl ::core::clone::Clone for IO_RESOURCE_DESCRIPTOR_0_11 {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for IO_RESOURCE_DESCRIPTOR_0_11 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("IO_RESOURCE_DESCRIPTOR_0_11").field("Length", &self.Length).field("Alignment", &self.Alignment).field("MinimumAddress", &self.MinimumAddress).field("MaximumAddress", &self.MaximumAddress).finish()
}
}
impl ::windows_core::TypeKind for IO_RESOURCE_DESCRIPTOR_0_11 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for IO_RESOURCE_DESCRIPTOR_0_11 {
fn eq(&self, other: &Self) -> bool {
self.Length == other.Length && self.Alignment == other.Alignment && self.MinimumAddress == other.MinimumAddress && self.MaximumAddress == other.MaximumAddress
}
}
impl ::core::cmp::Eq for IO_RESOURCE_DESCRIPTOR_0_11 {}
impl ::core::default::Default for IO_RESOURCE_DESCRIPTOR_0_11 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct IO_RESOURCE_DESCRIPTOR_0_12 {
pub Length: u32,
pub Alignment: u32,
pub MinimumAddress: i64,
pub MaximumAddress: i64,
}
impl ::core::marker::Copy for IO_RESOURCE_DESCRIPTOR_0_12 {}
impl ::core::clone::Clone for IO_RESOURCE_DESCRIPTOR_0_12 {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for IO_RESOURCE_DESCRIPTOR_0_12 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("IO_RESOURCE_DESCRIPTOR_0_12").field("Length", &self.Length).field("Alignment", &self.Alignment).field("MinimumAddress", &self.MinimumAddress).field("MaximumAddress", &self.MaximumAddress).finish()
}
}
impl ::windows_core::TypeKind for IO_RESOURCE_DESCRIPTOR_0_12 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for IO_RESOURCE_DESCRIPTOR_0_12 {
fn eq(&self, other: &Self) -> bool {
self.Length == other.Length && self.Alignment == other.Alignment && self.MinimumAddress == other.MinimumAddress && self.MaximumAddress == other.MaximumAddress
}
}
impl ::core::cmp::Eq for IO_RESOURCE_DESCRIPTOR_0_12 {}
impl ::core::default::Default for IO_RESOURCE_DESCRIPTOR_0_12 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct IO_RESOURCE_LIST {
pub Version: u16,
pub Revision: u16,
pub Count: u32,
pub Descriptors: [IO_RESOURCE_DESCRIPTOR; 1],
}
impl ::core::marker::Copy for IO_RESOURCE_LIST {}
impl ::core::clone::Clone for IO_RESOURCE_LIST {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for IO_RESOURCE_LIST {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for IO_RESOURCE_LIST {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct IO_RESOURCE_REQUIREMENTS_LIST {
pub ListSize: u32,
pub InterfaceType: INTERFACE_TYPE,
pub BusNumber: u32,
pub SlotNumber: u32,
pub Reserved: [u32; 3],
pub AlternativeLists: u32,
pub List: [IO_RESOURCE_LIST; 1],
}
impl ::core::marker::Copy for IO_RESOURCE_REQUIREMENTS_LIST {}
impl ::core::clone::Clone for IO_RESOURCE_REQUIREMENTS_LIST {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for IO_RESOURCE_REQUIREMENTS_LIST {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for IO_RESOURCE_REQUIREMENTS_LIST {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub struct IO_SESSION_CONNECT_INFO {
pub SessionId: u32,
pub LocalSession: super::super::super::Win32::Foundation::BOOLEAN,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for IO_SESSION_CONNECT_INFO {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for IO_SESSION_CONNECT_INFO {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::fmt::Debug for IO_SESSION_CONNECT_INFO {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("IO_SESSION_CONNECT_INFO").field("SessionId", &self.SessionId).field("LocalSession", &self.LocalSession).finish()
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for IO_SESSION_CONNECT_INFO {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::PartialEq for IO_SESSION_CONNECT_INFO {
fn eq(&self, other: &Self) -> bool {
self.SessionId == other.SessionId && self.LocalSession == other.LocalSession
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::Eq for IO_SESSION_CONNECT_INFO {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for IO_SESSION_CONNECT_INFO {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub struct IO_SESSION_STATE_INFORMATION {
pub SessionId: u32,
pub SessionState: IO_SESSION_STATE,
pub LocalSession: super::super::super::Win32::Foundation::BOOLEAN,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for IO_SESSION_STATE_INFORMATION {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for IO_SESSION_STATE_INFORMATION {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::fmt::Debug for IO_SESSION_STATE_INFORMATION {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("IO_SESSION_STATE_INFORMATION").field("SessionId", &self.SessionId).field("SessionState", &self.SessionState).field("LocalSession", &self.LocalSession).finish()
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for IO_SESSION_STATE_INFORMATION {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::PartialEq for IO_SESSION_STATE_INFORMATION {
fn eq(&self, other: &Self) -> bool {
self.SessionId == other.SessionId && self.SessionState == other.SessionState && self.LocalSession == other.LocalSession
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::Eq for IO_SESSION_STATE_INFORMATION {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for IO_SESSION_STATE_INFORMATION {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct IO_SESSION_STATE_NOTIFICATION {
pub Size: u32,
pub Flags: u32,
pub IoObject: *mut ::core::ffi::c_void,
pub EventMask: u32,
pub Context: *mut ::core::ffi::c_void,
}
impl ::core::marker::Copy for IO_SESSION_STATE_NOTIFICATION {}
impl ::core::clone::Clone for IO_SESSION_STATE_NOTIFICATION {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for IO_SESSION_STATE_NOTIFICATION {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("IO_SESSION_STATE_NOTIFICATION").field("Size", &self.Size).field("Flags", &self.Flags).field("IoObject", &self.IoObject).field("EventMask", &self.EventMask).field("Context", &self.Context).finish()
}
}
impl ::windows_core::TypeKind for IO_SESSION_STATE_NOTIFICATION {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for IO_SESSION_STATE_NOTIFICATION {
fn eq(&self, other: &Self) -> bool {
self.Size == other.Size && self.Flags == other.Flags && self.IoObject == other.IoObject && self.EventMask == other.EventMask && self.Context == other.Context
}
}
impl ::core::cmp::Eq for IO_SESSION_STATE_NOTIFICATION {}
impl ::core::default::Default for IO_SESSION_STATE_NOTIFICATION {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub struct IO_STATUS_BLOCK32 {
pub Status: super::super::super::Win32::Foundation::NTSTATUS,
pub Information: u32,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for IO_STATUS_BLOCK32 {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for IO_STATUS_BLOCK32 {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::fmt::Debug for IO_STATUS_BLOCK32 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("IO_STATUS_BLOCK32").field("Status", &self.Status).field("Information", &self.Information).finish()
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for IO_STATUS_BLOCK32 {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::PartialEq for IO_STATUS_BLOCK32 {
fn eq(&self, other: &Self) -> bool {
self.Status == other.Status && self.Information == other.Information
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::Eq for IO_STATUS_BLOCK32 {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for IO_STATUS_BLOCK32 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub struct IO_STATUS_BLOCK64 {
pub Anonymous: IO_STATUS_BLOCK64_0,
pub Information: u64,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for IO_STATUS_BLOCK64 {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for IO_STATUS_BLOCK64 {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for IO_STATUS_BLOCK64 {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for IO_STATUS_BLOCK64 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub union IO_STATUS_BLOCK64_0 {
pub Status: super::super::super::Win32::Foundation::NTSTATUS,
pub Pointer: *mut ::core::ffi::c_void,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for IO_STATUS_BLOCK64_0 {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for IO_STATUS_BLOCK64_0 {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for IO_STATUS_BLOCK64_0 {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for IO_STATUS_BLOCK64_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct KADDRESS_RANGE {
pub Address: *mut ::core::ffi::c_void,
pub Size: usize,
}
impl ::core::marker::Copy for KADDRESS_RANGE {}
impl ::core::clone::Clone for KADDRESS_RANGE {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for KADDRESS_RANGE {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("KADDRESS_RANGE").field("Address", &self.Address).field("Size", &self.Size).finish()
}
}
impl ::windows_core::TypeKind for KADDRESS_RANGE {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for KADDRESS_RANGE {
fn eq(&self, other: &Self) -> bool {
self.Address == other.Address && self.Size == other.Size
}
}
impl ::core::cmp::Eq for KADDRESS_RANGE {}
impl ::core::default::Default for KADDRESS_RANGE {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct KADDRESS_RANGE_DESCRIPTOR {
pub AddressRanges: *const KADDRESS_RANGE,
pub AddressRangeCount: usize,
}
impl ::core::marker::Copy for KADDRESS_RANGE_DESCRIPTOR {}
impl ::core::clone::Clone for KADDRESS_RANGE_DESCRIPTOR {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for KADDRESS_RANGE_DESCRIPTOR {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("KADDRESS_RANGE_DESCRIPTOR").field("AddressRanges", &self.AddressRanges).field("AddressRangeCount", &self.AddressRangeCount).finish()
}
}
impl ::windows_core::TypeKind for KADDRESS_RANGE_DESCRIPTOR {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for KADDRESS_RANGE_DESCRIPTOR {
fn eq(&self, other: &Self) -> bool {
self.AddressRanges == other.AddressRanges && self.AddressRangeCount == other.AddressRangeCount
}
}
impl ::core::cmp::Eq for KADDRESS_RANGE_DESCRIPTOR {}
impl ::core::default::Default for KADDRESS_RANGE_DESCRIPTOR {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"]
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
pub struct KAPC {
pub Type: u8,
pub AllFlags: u8,
pub Size: u8,
pub SpareByte1: u8,
pub SpareLong0: u32,
pub Thread: *mut isize,
pub ApcListEntry: super::super::super::Win32::System::Kernel::LIST_ENTRY,
pub Reserved: [*mut ::core::ffi::c_void; 3],
pub NormalContext: *mut ::core::ffi::c_void,
pub SystemArgument1: *mut ::core::ffi::c_void,
pub SystemArgument2: *mut ::core::ffi::c_void,
pub ApcStateIndex: i8,
pub ApcMode: i8,
pub Inserted: super::super::super::Win32::Foundation::BOOLEAN,
}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
impl ::core::marker::Copy for KAPC {}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
impl ::core::clone::Clone for KAPC {
fn clone(&self) -> Self {
*self
}
}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
impl ::core::fmt::Debug for KAPC {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("KAPC")
.field("Type", &self.Type)
.field("AllFlags", &self.AllFlags)
.field("Size", &self.Size)
.field("SpareByte1", &self.SpareByte1)
.field("SpareLong0", &self.SpareLong0)
.field("Thread", &self.Thread)
.field("ApcListEntry", &self.ApcListEntry)
.field("Reserved", &self.Reserved)
.field("NormalContext", &self.NormalContext)
.field("SystemArgument1", &self.SystemArgument1)
.field("SystemArgument2", &self.SystemArgument2)
.field("ApcStateIndex", &self.ApcStateIndex)
.field("ApcMode", &self.ApcMode)
.field("Inserted", &self.Inserted)
.finish()
}
}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
impl ::windows_core::TypeKind for KAPC {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
impl ::core::cmp::PartialEq for KAPC {
fn eq(&self, other: &Self) -> bool {
self.Type == other.Type && self.AllFlags == other.AllFlags && self.Size == other.Size && self.SpareByte1 == other.SpareByte1 && self.SpareLong0 == other.SpareLong0 && self.Thread == other.Thread && self.ApcListEntry == other.ApcListEntry && self.Reserved == other.Reserved && self.NormalContext == other.NormalContext && self.SystemArgument1 == other.SystemArgument1 && self.SystemArgument2 == other.SystemArgument2 && self.ApcStateIndex == other.ApcStateIndex && self.ApcMode == other.ApcMode && self.Inserted == other.Inserted
}
}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
impl ::core::cmp::Eq for KAPC {}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
impl ::core::default::Default for KAPC {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct KBUGCHECK_ADD_PAGES {
pub Context: *mut ::core::ffi::c_void,
pub Flags: u32,
pub BugCheckCode: u32,
pub Address: usize,
pub Count: usize,
}
impl ::core::marker::Copy for KBUGCHECK_ADD_PAGES {}
impl ::core::clone::Clone for KBUGCHECK_ADD_PAGES {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for KBUGCHECK_ADD_PAGES {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("KBUGCHECK_ADD_PAGES").field("Context", &self.Context).field("Flags", &self.Flags).field("BugCheckCode", &self.BugCheckCode).field("Address", &self.Address).field("Count", &self.Count).finish()
}
}
impl ::windows_core::TypeKind for KBUGCHECK_ADD_PAGES {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for KBUGCHECK_ADD_PAGES {
fn eq(&self, other: &Self) -> bool {
self.Context == other.Context && self.Flags == other.Flags && self.BugCheckCode == other.BugCheckCode && self.Address == other.Address && self.Count == other.Count
}
}
impl ::core::cmp::Eq for KBUGCHECK_ADD_PAGES {}
impl ::core::default::Default for KBUGCHECK_ADD_PAGES {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_System_Kernel\"`*"]
#[cfg(feature = "Win32_System_Kernel")]
pub struct KBUGCHECK_CALLBACK_RECORD {
pub Entry: super::super::super::Win32::System::Kernel::LIST_ENTRY,
pub CallbackRoutine: PKBUGCHECK_CALLBACK_ROUTINE,
pub Buffer: *mut ::core::ffi::c_void,
pub Length: u32,
pub Component: *mut u8,
pub Checksum: usize,
pub State: u8,
}
#[cfg(feature = "Win32_System_Kernel")]
impl ::core::marker::Copy for KBUGCHECK_CALLBACK_RECORD {}
#[cfg(feature = "Win32_System_Kernel")]
impl ::core::clone::Clone for KBUGCHECK_CALLBACK_RECORD {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_System_Kernel")]
impl ::core::fmt::Debug for KBUGCHECK_CALLBACK_RECORD {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("KBUGCHECK_CALLBACK_RECORD").field("Entry", &self.Entry).field("Buffer", &self.Buffer).field("Length", &self.Length).field("Component", &self.Component).field("Checksum", &self.Checksum).field("State", &self.State).finish()
}
}
#[cfg(feature = "Win32_System_Kernel")]
impl ::windows_core::TypeKind for KBUGCHECK_CALLBACK_RECORD {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_System_Kernel")]
impl ::core::default::Default for KBUGCHECK_CALLBACK_RECORD {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct KBUGCHECK_DUMP_IO {
pub Offset: u64,
pub Buffer: *mut ::core::ffi::c_void,
pub BufferLength: u32,
pub Type: KBUGCHECK_DUMP_IO_TYPE,
}
impl ::core::marker::Copy for KBUGCHECK_DUMP_IO {}
impl ::core::clone::Clone for KBUGCHECK_DUMP_IO {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for KBUGCHECK_DUMP_IO {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("KBUGCHECK_DUMP_IO").field("Offset", &self.Offset).field("Buffer", &self.Buffer).field("BufferLength", &self.BufferLength).field("Type", &self.Type).finish()
}
}
impl ::windows_core::TypeKind for KBUGCHECK_DUMP_IO {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for KBUGCHECK_DUMP_IO {
fn eq(&self, other: &Self) -> bool {
self.Offset == other.Offset && self.Buffer == other.Buffer && self.BufferLength == other.BufferLength && self.Type == other.Type
}
}
impl ::core::cmp::Eq for KBUGCHECK_DUMP_IO {}
impl ::core::default::Default for KBUGCHECK_DUMP_IO {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_System_Kernel\"`*"]
#[cfg(feature = "Win32_System_Kernel")]
pub struct KBUGCHECK_REASON_CALLBACK_RECORD {
pub Entry: super::super::super::Win32::System::Kernel::LIST_ENTRY,
pub CallbackRoutine: PKBUGCHECK_REASON_CALLBACK_ROUTINE,
pub Component: *mut u8,
pub Checksum: usize,
pub Reason: KBUGCHECK_CALLBACK_REASON,
pub State: u8,
}
#[cfg(feature = "Win32_System_Kernel")]
impl ::core::marker::Copy for KBUGCHECK_REASON_CALLBACK_RECORD {}
#[cfg(feature = "Win32_System_Kernel")]
impl ::core::clone::Clone for KBUGCHECK_REASON_CALLBACK_RECORD {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_System_Kernel")]
impl ::core::fmt::Debug for KBUGCHECK_REASON_CALLBACK_RECORD {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("KBUGCHECK_REASON_CALLBACK_RECORD").field("Entry", &self.Entry).field("Component", &self.Component).field("Checksum", &self.Checksum).field("Reason", &self.Reason).field("State", &self.State).finish()
}
}
#[cfg(feature = "Win32_System_Kernel")]
impl ::windows_core::TypeKind for KBUGCHECK_REASON_CALLBACK_RECORD {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_System_Kernel")]
impl ::core::default::Default for KBUGCHECK_REASON_CALLBACK_RECORD {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct KBUGCHECK_REMOVE_PAGES {
pub Context: *mut ::core::ffi::c_void,
pub Flags: u32,
pub BugCheckCode: u32,
pub Address: usize,
pub Count: usize,
}
impl ::core::marker::Copy for KBUGCHECK_REMOVE_PAGES {}
impl ::core::clone::Clone for KBUGCHECK_REMOVE_PAGES {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for KBUGCHECK_REMOVE_PAGES {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("KBUGCHECK_REMOVE_PAGES").field("Context", &self.Context).field("Flags", &self.Flags).field("BugCheckCode", &self.BugCheckCode).field("Address", &self.Address).field("Count", &self.Count).finish()
}
}
impl ::windows_core::TypeKind for KBUGCHECK_REMOVE_PAGES {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for KBUGCHECK_REMOVE_PAGES {
fn eq(&self, other: &Self) -> bool {
self.Context == other.Context && self.Flags == other.Flags && self.BugCheckCode == other.BugCheckCode && self.Address == other.Address && self.Count == other.Count
}
}
impl ::core::cmp::Eq for KBUGCHECK_REMOVE_PAGES {}
impl ::core::default::Default for KBUGCHECK_REMOVE_PAGES {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct KBUGCHECK_SECONDARY_DUMP_DATA {
pub InBuffer: *mut ::core::ffi::c_void,
pub InBufferLength: u32,
pub MaximumAllowed: u32,
pub Guid: ::windows_core::GUID,
pub OutBuffer: *mut ::core::ffi::c_void,
pub OutBufferLength: u32,
}
impl ::core::marker::Copy for KBUGCHECK_SECONDARY_DUMP_DATA {}
impl ::core::clone::Clone for KBUGCHECK_SECONDARY_DUMP_DATA {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for KBUGCHECK_SECONDARY_DUMP_DATA {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("KBUGCHECK_SECONDARY_DUMP_DATA").field("InBuffer", &self.InBuffer).field("InBufferLength", &self.InBufferLength).field("MaximumAllowed", &self.MaximumAllowed).field("Guid", &self.Guid).field("OutBuffer", &self.OutBuffer).field("OutBufferLength", &self.OutBufferLength).finish()
}
}
impl ::windows_core::TypeKind for KBUGCHECK_SECONDARY_DUMP_DATA {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for KBUGCHECK_SECONDARY_DUMP_DATA {
fn eq(&self, other: &Self) -> bool {
self.InBuffer == other.InBuffer && self.InBufferLength == other.InBufferLength && self.MaximumAllowed == other.MaximumAllowed && self.Guid == other.Guid && self.OutBuffer == other.OutBuffer && self.OutBufferLength == other.OutBufferLength
}
}
impl ::core::cmp::Eq for KBUGCHECK_SECONDARY_DUMP_DATA {}
impl ::core::default::Default for KBUGCHECK_SECONDARY_DUMP_DATA {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct KBUGCHECK_SECONDARY_DUMP_DATA_EX {
pub InBuffer: *mut ::core::ffi::c_void,
pub InBufferLength: u32,
pub MaximumAllowed: u32,
pub Guid: ::windows_core::GUID,
pub OutBuffer: *mut ::core::ffi::c_void,
pub OutBufferLength: u32,
pub Context: *mut ::core::ffi::c_void,
pub Flags: u32,
pub DumpType: u32,
pub BugCheckCode: u32,
pub BugCheckParameter1: usize,
pub BugCheckParameter2: usize,
pub BugCheckParameter3: usize,
pub BugCheckParameter4: usize,
}
impl ::core::marker::Copy for KBUGCHECK_SECONDARY_DUMP_DATA_EX {}
impl ::core::clone::Clone for KBUGCHECK_SECONDARY_DUMP_DATA_EX {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for KBUGCHECK_SECONDARY_DUMP_DATA_EX {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("KBUGCHECK_SECONDARY_DUMP_DATA_EX")
.field("InBuffer", &self.InBuffer)
.field("InBufferLength", &self.InBufferLength)
.field("MaximumAllowed", &self.MaximumAllowed)
.field("Guid", &self.Guid)
.field("OutBuffer", &self.OutBuffer)
.field("OutBufferLength", &self.OutBufferLength)
.field("Context", &self.Context)
.field("Flags", &self.Flags)
.field("DumpType", &self.DumpType)
.field("BugCheckCode", &self.BugCheckCode)
.field("BugCheckParameter1", &self.BugCheckParameter1)
.field("BugCheckParameter2", &self.BugCheckParameter2)
.field("BugCheckParameter3", &self.BugCheckParameter3)
.field("BugCheckParameter4", &self.BugCheckParameter4)
.finish()
}
}
impl ::windows_core::TypeKind for KBUGCHECK_SECONDARY_DUMP_DATA_EX {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for KBUGCHECK_SECONDARY_DUMP_DATA_EX {
fn eq(&self, other: &Self) -> bool {
self.InBuffer == other.InBuffer && self.InBufferLength == other.InBufferLength && self.MaximumAllowed == other.MaximumAllowed && self.Guid == other.Guid && self.OutBuffer == other.OutBuffer && self.OutBufferLength == other.OutBufferLength && self.Context == other.Context && self.Flags == other.Flags && self.DumpType == other.DumpType && self.BugCheckCode == other.BugCheckCode && self.BugCheckParameter1 == other.BugCheckParameter1 && self.BugCheckParameter2 == other.BugCheckParameter2 && self.BugCheckParameter3 == other.BugCheckParameter3 && self.BugCheckParameter4 == other.BugCheckParameter4
}
}
impl ::core::cmp::Eq for KBUGCHECK_SECONDARY_DUMP_DATA_EX {}
impl ::core::default::Default for KBUGCHECK_SECONDARY_DUMP_DATA_EX {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_System_Kernel\"`*"]
#[cfg(feature = "Win32_System_Kernel")]
pub struct KBUGCHECK_TRIAGE_DUMP_DATA {
pub DataArray: *mut KTRIAGE_DUMP_DATA_ARRAY,
pub Flags: u32,
pub MaxVirtMemSize: u32,
pub BugCheckCode: u32,
pub BugCheckParameter1: usize,
pub BugCheckParameter2: usize,
pub BugCheckParameter3: usize,
pub BugCheckParameter4: usize,
}
#[cfg(feature = "Win32_System_Kernel")]
impl ::core::marker::Copy for KBUGCHECK_TRIAGE_DUMP_DATA {}
#[cfg(feature = "Win32_System_Kernel")]
impl ::core::clone::Clone for KBUGCHECK_TRIAGE_DUMP_DATA {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_System_Kernel")]
impl ::core::fmt::Debug for KBUGCHECK_TRIAGE_DUMP_DATA {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("KBUGCHECK_TRIAGE_DUMP_DATA").field("DataArray", &self.DataArray).field("Flags", &self.Flags).field("MaxVirtMemSize", &self.MaxVirtMemSize).field("BugCheckCode", &self.BugCheckCode).field("BugCheckParameter1", &self.BugCheckParameter1).field("BugCheckParameter2", &self.BugCheckParameter2).field("BugCheckParameter3", &self.BugCheckParameter3).field("BugCheckParameter4", &self.BugCheckParameter4).finish()
}
}
#[cfg(feature = "Win32_System_Kernel")]
impl ::windows_core::TypeKind for KBUGCHECK_TRIAGE_DUMP_DATA {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_System_Kernel")]
impl ::core::cmp::PartialEq for KBUGCHECK_TRIAGE_DUMP_DATA {
fn eq(&self, other: &Self) -> bool {
self.DataArray == other.DataArray && self.Flags == other.Flags && self.MaxVirtMemSize == other.MaxVirtMemSize && self.BugCheckCode == other.BugCheckCode && self.BugCheckParameter1 == other.BugCheckParameter1 && self.BugCheckParameter2 == other.BugCheckParameter2 && self.BugCheckParameter3 == other.BugCheckParameter3 && self.BugCheckParameter4 == other.BugCheckParameter4
}
}
#[cfg(feature = "Win32_System_Kernel")]
impl ::core::cmp::Eq for KBUGCHECK_TRIAGE_DUMP_DATA {}
#[cfg(feature = "Win32_System_Kernel")]
impl ::core::default::Default for KBUGCHECK_TRIAGE_DUMP_DATA {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"]
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
pub struct KDEVICE_QUEUE_ENTRY {
pub DeviceListEntry: super::super::super::Win32::System::Kernel::LIST_ENTRY,
pub SortKey: u32,
pub Inserted: super::super::super::Win32::Foundation::BOOLEAN,
}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
impl ::core::marker::Copy for KDEVICE_QUEUE_ENTRY {}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
impl ::core::clone::Clone for KDEVICE_QUEUE_ENTRY {
fn clone(&self) -> Self {
*self
}
}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
impl ::core::fmt::Debug for KDEVICE_QUEUE_ENTRY {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("KDEVICE_QUEUE_ENTRY").field("DeviceListEntry", &self.DeviceListEntry).field("SortKey", &self.SortKey).field("Inserted", &self.Inserted).finish()
}
}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
impl ::windows_core::TypeKind for KDEVICE_QUEUE_ENTRY {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
impl ::core::cmp::PartialEq for KDEVICE_QUEUE_ENTRY {
fn eq(&self, other: &Self) -> bool {
self.DeviceListEntry == other.DeviceListEntry && self.SortKey == other.SortKey && self.Inserted == other.Inserted
}
}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
impl ::core::cmp::Eq for KDEVICE_QUEUE_ENTRY {}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
impl ::core::default::Default for KDEVICE_QUEUE_ENTRY {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct KDPC_WATCHDOG_INFORMATION {
pub DpcTimeLimit: u32,
pub DpcTimeCount: u32,
pub DpcWatchdogLimit: u32,
pub DpcWatchdogCount: u32,
pub Reserved: u32,
}
impl ::core::marker::Copy for KDPC_WATCHDOG_INFORMATION {}
impl ::core::clone::Clone for KDPC_WATCHDOG_INFORMATION {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for KDPC_WATCHDOG_INFORMATION {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("KDPC_WATCHDOG_INFORMATION").field("DpcTimeLimit", &self.DpcTimeLimit).field("DpcTimeCount", &self.DpcTimeCount).field("DpcWatchdogLimit", &self.DpcWatchdogLimit).field("DpcWatchdogCount", &self.DpcWatchdogCount).field("Reserved", &self.Reserved).finish()
}
}
impl ::windows_core::TypeKind for KDPC_WATCHDOG_INFORMATION {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for KDPC_WATCHDOG_INFORMATION {
fn eq(&self, other: &Self) -> bool {
self.DpcTimeLimit == other.DpcTimeLimit && self.DpcTimeCount == other.DpcTimeCount && self.DpcWatchdogLimit == other.DpcWatchdogLimit && self.DpcWatchdogCount == other.DpcWatchdogCount && self.Reserved == other.Reserved
}
}
impl ::core::cmp::Eq for KDPC_WATCHDOG_INFORMATION {}
impl ::core::default::Default for KDPC_WATCHDOG_INFORMATION {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct KERNEL_SOFT_RESTART_NOTIFICATION {
pub Version: u16,
pub Size: u16,
pub Event: ::windows_core::GUID,
}
impl ::core::marker::Copy for KERNEL_SOFT_RESTART_NOTIFICATION {}
impl ::core::clone::Clone for KERNEL_SOFT_RESTART_NOTIFICATION {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for KERNEL_SOFT_RESTART_NOTIFICATION {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("KERNEL_SOFT_RESTART_NOTIFICATION").field("Version", &self.Version).field("Size", &self.Size).field("Event", &self.Event).finish()
}
}
impl ::windows_core::TypeKind for KERNEL_SOFT_RESTART_NOTIFICATION {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for KERNEL_SOFT_RESTART_NOTIFICATION {
fn eq(&self, other: &Self) -> bool {
self.Version == other.Version && self.Size == other.Size && self.Event == other.Event
}
}
impl ::core::cmp::Eq for KERNEL_SOFT_RESTART_NOTIFICATION {}
impl ::core::default::Default for KERNEL_SOFT_RESTART_NOTIFICATION {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct KERNEL_USER_TIMES {
pub CreateTime: i64,
pub ExitTime: i64,
pub KernelTime: i64,
pub UserTime: i64,
}
impl ::core::marker::Copy for KERNEL_USER_TIMES {}
impl ::core::clone::Clone for KERNEL_USER_TIMES {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for KERNEL_USER_TIMES {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("KERNEL_USER_TIMES").field("CreateTime", &self.CreateTime).field("ExitTime", &self.ExitTime).field("KernelTime", &self.KernelTime).field("UserTime", &self.UserTime).finish()
}
}
impl ::windows_core::TypeKind for KERNEL_USER_TIMES {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for KERNEL_USER_TIMES {
fn eq(&self, other: &Self) -> bool {
self.CreateTime == other.CreateTime && self.ExitTime == other.ExitTime && self.KernelTime == other.KernelTime && self.UserTime == other.UserTime
}
}
impl ::core::cmp::Eq for KERNEL_USER_TIMES {}
impl ::core::default::Default for KERNEL_USER_TIMES {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct KEY_BASIC_INFORMATION {
pub LastWriteTime: i64,
pub TitleIndex: u32,
pub NameLength: u32,
pub Name: [u16; 1],
}
impl ::core::marker::Copy for KEY_BASIC_INFORMATION {}
impl ::core::clone::Clone for KEY_BASIC_INFORMATION {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for KEY_BASIC_INFORMATION {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("KEY_BASIC_INFORMATION").field("LastWriteTime", &self.LastWriteTime).field("TitleIndex", &self.TitleIndex).field("NameLength", &self.NameLength).field("Name", &self.Name).finish()
}
}
impl ::windows_core::TypeKind for KEY_BASIC_INFORMATION {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for KEY_BASIC_INFORMATION {
fn eq(&self, other: &Self) -> bool {
self.LastWriteTime == other.LastWriteTime && self.TitleIndex == other.TitleIndex && self.NameLength == other.NameLength && self.Name == other.Name
}
}
impl ::core::cmp::Eq for KEY_BASIC_INFORMATION {}
impl ::core::default::Default for KEY_BASIC_INFORMATION {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct KEY_CACHED_INFORMATION {
pub LastWriteTime: i64,
pub TitleIndex: u32,
pub SubKeys: u32,
pub MaxNameLen: u32,
pub Values: u32,
pub MaxValueNameLen: u32,
pub MaxValueDataLen: u32,
pub NameLength: u32,
}
impl ::core::marker::Copy for KEY_CACHED_INFORMATION {}
impl ::core::clone::Clone for KEY_CACHED_INFORMATION {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for KEY_CACHED_INFORMATION {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("KEY_CACHED_INFORMATION").field("LastWriteTime", &self.LastWriteTime).field("TitleIndex", &self.TitleIndex).field("SubKeys", &self.SubKeys).field("MaxNameLen", &self.MaxNameLen).field("Values", &self.Values).field("MaxValueNameLen", &self.MaxValueNameLen).field("MaxValueDataLen", &self.MaxValueDataLen).field("NameLength", &self.NameLength).finish()
}
}
impl ::windows_core::TypeKind for KEY_CACHED_INFORMATION {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for KEY_CACHED_INFORMATION {
fn eq(&self, other: &Self) -> bool {
self.LastWriteTime == other.LastWriteTime && self.TitleIndex == other.TitleIndex && self.SubKeys == other.SubKeys && self.MaxNameLen == other.MaxNameLen && self.Values == other.Values && self.MaxValueNameLen == other.MaxValueNameLen && self.MaxValueDataLen == other.MaxValueDataLen && self.NameLength == other.NameLength
}
}
impl ::core::cmp::Eq for KEY_CACHED_INFORMATION {}
impl ::core::default::Default for KEY_CACHED_INFORMATION {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct KEY_CONTROL_FLAGS_INFORMATION {
pub ControlFlags: u32,
}
impl ::core::marker::Copy for KEY_CONTROL_FLAGS_INFORMATION {}
impl ::core::clone::Clone for KEY_CONTROL_FLAGS_INFORMATION {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for KEY_CONTROL_FLAGS_INFORMATION {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("KEY_CONTROL_FLAGS_INFORMATION").field("ControlFlags", &self.ControlFlags).finish()
}
}
impl ::windows_core::TypeKind for KEY_CONTROL_FLAGS_INFORMATION {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for KEY_CONTROL_FLAGS_INFORMATION {
fn eq(&self, other: &Self) -> bool {
self.ControlFlags == other.ControlFlags
}
}
impl ::core::cmp::Eq for KEY_CONTROL_FLAGS_INFORMATION {}
impl ::core::default::Default for KEY_CONTROL_FLAGS_INFORMATION {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct KEY_FULL_INFORMATION {
pub LastWriteTime: i64,
pub TitleIndex: u32,
pub ClassOffset: u32,
pub ClassLength: u32,
pub SubKeys: u32,
pub MaxNameLen: u32,
pub MaxClassLen: u32,
pub Values: u32,
pub MaxValueNameLen: u32,
pub MaxValueDataLen: u32,
pub Class: [u16; 1],
}
impl ::core::marker::Copy for KEY_FULL_INFORMATION {}
impl ::core::clone::Clone for KEY_FULL_INFORMATION {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for KEY_FULL_INFORMATION {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("KEY_FULL_INFORMATION").field("LastWriteTime", &self.LastWriteTime).field("TitleIndex", &self.TitleIndex).field("ClassOffset", &self.ClassOffset).field("ClassLength", &self.ClassLength).field("SubKeys", &self.SubKeys).field("MaxNameLen", &self.MaxNameLen).field("MaxClassLen", &self.MaxClassLen).field("Values", &self.Values).field("MaxValueNameLen", &self.MaxValueNameLen).field("MaxValueDataLen", &self.MaxValueDataLen).field("Class", &self.Class).finish()
}
}
impl ::windows_core::TypeKind for KEY_FULL_INFORMATION {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for KEY_FULL_INFORMATION {
fn eq(&self, other: &Self) -> bool {
self.LastWriteTime == other.LastWriteTime && self.TitleIndex == other.TitleIndex && self.ClassOffset == other.ClassOffset && self.ClassLength == other.ClassLength && self.SubKeys == other.SubKeys && self.MaxNameLen == other.MaxNameLen && self.MaxClassLen == other.MaxClassLen && self.Values == other.Values && self.MaxValueNameLen == other.MaxValueNameLen && self.MaxValueDataLen == other.MaxValueDataLen && self.Class == other.Class
}
}
impl ::core::cmp::Eq for KEY_FULL_INFORMATION {}
impl ::core::default::Default for KEY_FULL_INFORMATION {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct KEY_LAYER_INFORMATION {
pub _bitfield: u32,
}
impl ::core::marker::Copy for KEY_LAYER_INFORMATION {}
impl ::core::clone::Clone for KEY_LAYER_INFORMATION {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for KEY_LAYER_INFORMATION {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("KEY_LAYER_INFORMATION").field("_bitfield", &self._bitfield).finish()
}
}
impl ::windows_core::TypeKind for KEY_LAYER_INFORMATION {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for KEY_LAYER_INFORMATION {
fn eq(&self, other: &Self) -> bool {
self._bitfield == other._bitfield
}
}
impl ::core::cmp::Eq for KEY_LAYER_INFORMATION {}
impl ::core::default::Default for KEY_LAYER_INFORMATION {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct KEY_NAME_INFORMATION {
pub NameLength: u32,
pub Name: [u16; 1],
}
impl ::core::marker::Copy for KEY_NAME_INFORMATION {}
impl ::core::clone::Clone for KEY_NAME_INFORMATION {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for KEY_NAME_INFORMATION {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("KEY_NAME_INFORMATION").field("NameLength", &self.NameLength).field("Name", &self.Name).finish()
}
}
impl ::windows_core::TypeKind for KEY_NAME_INFORMATION {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for KEY_NAME_INFORMATION {
fn eq(&self, other: &Self) -> bool {
self.NameLength == other.NameLength && self.Name == other.Name
}
}
impl ::core::cmp::Eq for KEY_NAME_INFORMATION {}
impl ::core::default::Default for KEY_NAME_INFORMATION {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct KEY_NODE_INFORMATION {
pub LastWriteTime: i64,
pub TitleIndex: u32,
pub ClassOffset: u32,
pub ClassLength: u32,
pub NameLength: u32,
pub Name: [u16; 1],
}
impl ::core::marker::Copy for KEY_NODE_INFORMATION {}
impl ::core::clone::Clone for KEY_NODE_INFORMATION {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for KEY_NODE_INFORMATION {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("KEY_NODE_INFORMATION").field("LastWriteTime", &self.LastWriteTime).field("TitleIndex", &self.TitleIndex).field("ClassOffset", &self.ClassOffset).field("ClassLength", &self.ClassLength).field("NameLength", &self.NameLength).field("Name", &self.Name).finish()
}
}
impl ::windows_core::TypeKind for KEY_NODE_INFORMATION {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for KEY_NODE_INFORMATION {
fn eq(&self, other: &Self) -> bool {
self.LastWriteTime == other.LastWriteTime && self.TitleIndex == other.TitleIndex && self.ClassOffset == other.ClassOffset && self.ClassLength == other.ClassLength && self.NameLength == other.NameLength && self.Name == other.Name
}
}
impl ::core::cmp::Eq for KEY_NODE_INFORMATION {}
impl ::core::default::Default for KEY_NODE_INFORMATION {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct KEY_SET_VIRTUALIZATION_INFORMATION {
pub _bitfield: u32,
}
impl ::core::marker::Copy for KEY_SET_VIRTUALIZATION_INFORMATION {}
impl ::core::clone::Clone for KEY_SET_VIRTUALIZATION_INFORMATION {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for KEY_SET_VIRTUALIZATION_INFORMATION {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("KEY_SET_VIRTUALIZATION_INFORMATION").field("_bitfield", &self._bitfield).finish()
}
}
impl ::windows_core::TypeKind for KEY_SET_VIRTUALIZATION_INFORMATION {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for KEY_SET_VIRTUALIZATION_INFORMATION {
fn eq(&self, other: &Self) -> bool {
self._bitfield == other._bitfield
}
}
impl ::core::cmp::Eq for KEY_SET_VIRTUALIZATION_INFORMATION {}
impl ::core::default::Default for KEY_SET_VIRTUALIZATION_INFORMATION {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct KEY_TRUST_INFORMATION {
pub _bitfield: u32,
}
impl ::core::marker::Copy for KEY_TRUST_INFORMATION {}
impl ::core::clone::Clone for KEY_TRUST_INFORMATION {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for KEY_TRUST_INFORMATION {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("KEY_TRUST_INFORMATION").field("_bitfield", &self._bitfield).finish()
}
}
impl ::windows_core::TypeKind for KEY_TRUST_INFORMATION {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for KEY_TRUST_INFORMATION {
fn eq(&self, other: &Self) -> bool {
self._bitfield == other._bitfield
}
}
impl ::core::cmp::Eq for KEY_TRUST_INFORMATION {}
impl ::core::default::Default for KEY_TRUST_INFORMATION {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct KEY_VALUE_BASIC_INFORMATION {
pub TitleIndex: u32,
pub Type: u32,
pub NameLength: u32,
pub Name: [u16; 1],
}
impl ::core::marker::Copy for KEY_VALUE_BASIC_INFORMATION {}
impl ::core::clone::Clone for KEY_VALUE_BASIC_INFORMATION {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for KEY_VALUE_BASIC_INFORMATION {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("KEY_VALUE_BASIC_INFORMATION").field("TitleIndex", &self.TitleIndex).field("Type", &self.Type).field("NameLength", &self.NameLength).field("Name", &self.Name).finish()
}
}
impl ::windows_core::TypeKind for KEY_VALUE_BASIC_INFORMATION {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for KEY_VALUE_BASIC_INFORMATION {
fn eq(&self, other: &Self) -> bool {
self.TitleIndex == other.TitleIndex && self.Type == other.Type && self.NameLength == other.NameLength && self.Name == other.Name
}
}
impl ::core::cmp::Eq for KEY_VALUE_BASIC_INFORMATION {}
impl ::core::default::Default for KEY_VALUE_BASIC_INFORMATION {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct KEY_VALUE_FULL_INFORMATION {
pub TitleIndex: u32,
pub Type: u32,
pub DataOffset: u32,
pub DataLength: u32,
pub NameLength: u32,
pub Name: [u16; 1],
}
impl ::core::marker::Copy for KEY_VALUE_FULL_INFORMATION {}
impl ::core::clone::Clone for KEY_VALUE_FULL_INFORMATION {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for KEY_VALUE_FULL_INFORMATION {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("KEY_VALUE_FULL_INFORMATION").field("TitleIndex", &self.TitleIndex).field("Type", &self.Type).field("DataOffset", &self.DataOffset).field("DataLength", &self.DataLength).field("NameLength", &self.NameLength).field("Name", &self.Name).finish()
}
}
impl ::windows_core::TypeKind for KEY_VALUE_FULL_INFORMATION {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for KEY_VALUE_FULL_INFORMATION {
fn eq(&self, other: &Self) -> bool {
self.TitleIndex == other.TitleIndex && self.Type == other.Type && self.DataOffset == other.DataOffset && self.DataLength == other.DataLength && self.NameLength == other.NameLength && self.Name == other.Name
}
}
impl ::core::cmp::Eq for KEY_VALUE_FULL_INFORMATION {}
impl ::core::default::Default for KEY_VALUE_FULL_INFORMATION {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct KEY_VALUE_LAYER_INFORMATION {
pub _bitfield: u32,
}
impl ::core::marker::Copy for KEY_VALUE_LAYER_INFORMATION {}
impl ::core::clone::Clone for KEY_VALUE_LAYER_INFORMATION {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for KEY_VALUE_LAYER_INFORMATION {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("KEY_VALUE_LAYER_INFORMATION").field("_bitfield", &self._bitfield).finish()
}
}
impl ::windows_core::TypeKind for KEY_VALUE_LAYER_INFORMATION {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for KEY_VALUE_LAYER_INFORMATION {
fn eq(&self, other: &Self) -> bool {
self._bitfield == other._bitfield
}
}
impl ::core::cmp::Eq for KEY_VALUE_LAYER_INFORMATION {}
impl ::core::default::Default for KEY_VALUE_LAYER_INFORMATION {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct KEY_VALUE_PARTIAL_INFORMATION {
pub TitleIndex: u32,
pub Type: u32,
pub DataLength: u32,
pub Data: [u8; 1],
}
impl ::core::marker::Copy for KEY_VALUE_PARTIAL_INFORMATION {}
impl ::core::clone::Clone for KEY_VALUE_PARTIAL_INFORMATION {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for KEY_VALUE_PARTIAL_INFORMATION {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("KEY_VALUE_PARTIAL_INFORMATION").field("TitleIndex", &self.TitleIndex).field("Type", &self.Type).field("DataLength", &self.DataLength).field("Data", &self.Data).finish()
}
}
impl ::windows_core::TypeKind for KEY_VALUE_PARTIAL_INFORMATION {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for KEY_VALUE_PARTIAL_INFORMATION {
fn eq(&self, other: &Self) -> bool {
self.TitleIndex == other.TitleIndex && self.Type == other.Type && self.DataLength == other.DataLength && self.Data == other.Data
}
}
impl ::core::cmp::Eq for KEY_VALUE_PARTIAL_INFORMATION {}
impl ::core::default::Default for KEY_VALUE_PARTIAL_INFORMATION {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct KEY_VALUE_PARTIAL_INFORMATION_ALIGN64 {
pub Type: u32,
pub DataLength: u32,
pub Data: [u8; 1],
}
impl ::core::marker::Copy for KEY_VALUE_PARTIAL_INFORMATION_ALIGN64 {}
impl ::core::clone::Clone for KEY_VALUE_PARTIAL_INFORMATION_ALIGN64 {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for KEY_VALUE_PARTIAL_INFORMATION_ALIGN64 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("KEY_VALUE_PARTIAL_INFORMATION_ALIGN64").field("Type", &self.Type).field("DataLength", &self.DataLength).field("Data", &self.Data).finish()
}
}
impl ::windows_core::TypeKind for KEY_VALUE_PARTIAL_INFORMATION_ALIGN64 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for KEY_VALUE_PARTIAL_INFORMATION_ALIGN64 {
fn eq(&self, other: &Self) -> bool {
self.Type == other.Type && self.DataLength == other.DataLength && self.Data == other.Data
}
}
impl ::core::cmp::Eq for KEY_VALUE_PARTIAL_INFORMATION_ALIGN64 {}
impl ::core::default::Default for KEY_VALUE_PARTIAL_INFORMATION_ALIGN64 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct KEY_VIRTUALIZATION_INFORMATION {
pub _bitfield: u32,
}
impl ::core::marker::Copy for KEY_VIRTUALIZATION_INFORMATION {}
impl ::core::clone::Clone for KEY_VIRTUALIZATION_INFORMATION {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for KEY_VIRTUALIZATION_INFORMATION {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("KEY_VIRTUALIZATION_INFORMATION").field("_bitfield", &self._bitfield).finish()
}
}
impl ::windows_core::TypeKind for KEY_VIRTUALIZATION_INFORMATION {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for KEY_VIRTUALIZATION_INFORMATION {
fn eq(&self, other: &Self) -> bool {
self._bitfield == other._bitfield
}
}
impl ::core::cmp::Eq for KEY_VIRTUALIZATION_INFORMATION {}
impl ::core::default::Default for KEY_VIRTUALIZATION_INFORMATION {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct KEY_WOW64_FLAGS_INFORMATION {
pub UserFlags: u32,
}
impl ::core::marker::Copy for KEY_WOW64_FLAGS_INFORMATION {}
impl ::core::clone::Clone for KEY_WOW64_FLAGS_INFORMATION {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for KEY_WOW64_FLAGS_INFORMATION {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("KEY_WOW64_FLAGS_INFORMATION").field("UserFlags", &self.UserFlags).finish()
}
}
impl ::windows_core::TypeKind for KEY_WOW64_FLAGS_INFORMATION {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for KEY_WOW64_FLAGS_INFORMATION {
fn eq(&self, other: &Self) -> bool {
self.UserFlags == other.UserFlags
}
}
impl ::core::cmp::Eq for KEY_WOW64_FLAGS_INFORMATION {}
impl ::core::default::Default for KEY_WOW64_FLAGS_INFORMATION {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct KEY_WRITE_TIME_INFORMATION {
pub LastWriteTime: i64,
}
impl ::core::marker::Copy for KEY_WRITE_TIME_INFORMATION {}
impl ::core::clone::Clone for KEY_WRITE_TIME_INFORMATION {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for KEY_WRITE_TIME_INFORMATION {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("KEY_WRITE_TIME_INFORMATION").field("LastWriteTime", &self.LastWriteTime).finish()
}
}
impl ::windows_core::TypeKind for KEY_WRITE_TIME_INFORMATION {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for KEY_WRITE_TIME_INFORMATION {
fn eq(&self, other: &Self) -> bool {
self.LastWriteTime == other.LastWriteTime
}
}
impl ::core::cmp::Eq for KEY_WRITE_TIME_INFORMATION {}
impl ::core::default::Default for KEY_WRITE_TIME_INFORMATION {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"]
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
pub struct KE_PROCESSOR_CHANGE_NOTIFY_CONTEXT {
pub State: KE_PROCESSOR_CHANGE_NOTIFY_STATE,
pub NtNumber: u32,
pub Status: super::super::super::Win32::Foundation::NTSTATUS,
pub ProcNumber: super::super::super::Win32::System::Kernel::PROCESSOR_NUMBER,
}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
impl ::core::marker::Copy for KE_PROCESSOR_CHANGE_NOTIFY_CONTEXT {}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
impl ::core::clone::Clone for KE_PROCESSOR_CHANGE_NOTIFY_CONTEXT {
fn clone(&self) -> Self {
*self
}
}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
impl ::core::fmt::Debug for KE_PROCESSOR_CHANGE_NOTIFY_CONTEXT {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("KE_PROCESSOR_CHANGE_NOTIFY_CONTEXT").field("State", &self.State).field("NtNumber", &self.NtNumber).field("Status", &self.Status).field("ProcNumber", &self.ProcNumber).finish()
}
}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
impl ::windows_core::TypeKind for KE_PROCESSOR_CHANGE_NOTIFY_CONTEXT {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
impl ::core::cmp::PartialEq for KE_PROCESSOR_CHANGE_NOTIFY_CONTEXT {
fn eq(&self, other: &Self) -> bool {
self.State == other.State && self.NtNumber == other.NtNumber && self.Status == other.Status && self.ProcNumber == other.ProcNumber
}
}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
impl ::core::cmp::Eq for KE_PROCESSOR_CHANGE_NOTIFY_CONTEXT {}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
impl ::core::default::Default for KE_PROCESSOR_CHANGE_NOTIFY_CONTEXT {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct KFLOATING_SAVE {
pub ControlWord: u32,
pub StatusWord: u32,
pub ErrorOffset: u32,
pub ErrorSelector: u32,
pub DataOffset: u32,
pub DataSelector: u32,
pub Spare0: u32,
pub Spare1: u32,
}
impl ::core::marker::Copy for KFLOATING_SAVE {}
impl ::core::clone::Clone for KFLOATING_SAVE {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for KFLOATING_SAVE {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("KFLOATING_SAVE").field("ControlWord", &self.ControlWord).field("StatusWord", &self.StatusWord).field("ErrorOffset", &self.ErrorOffset).field("ErrorSelector", &self.ErrorSelector).field("DataOffset", &self.DataOffset).field("DataSelector", &self.DataSelector).field("Spare0", &self.Spare0).field("Spare1", &self.Spare1).finish()
}
}
impl ::windows_core::TypeKind for KFLOATING_SAVE {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for KFLOATING_SAVE {
fn eq(&self, other: &Self) -> bool {
self.ControlWord == other.ControlWord && self.StatusWord == other.StatusWord && self.ErrorOffset == other.ErrorOffset && self.ErrorSelector == other.ErrorSelector && self.DataOffset == other.DataOffset && self.DataSelector == other.DataSelector && self.Spare0 == other.Spare0 && self.Spare1 == other.Spare1
}
}
impl ::core::cmp::Eq for KFLOATING_SAVE {}
impl ::core::default::Default for KFLOATING_SAVE {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
pub struct KGATE {
pub Header: super::super::Foundation::DISPATCHER_HEADER,
}
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
impl ::core::marker::Copy for KGATE {}
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
impl ::core::clone::Clone for KGATE {
fn clone(&self) -> Self {
*self
}
}
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
impl ::windows_core::TypeKind for KGATE {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
impl ::core::default::Default for KGATE {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct KLOCK_QUEUE_HANDLE {
pub LockQueue: KSPIN_LOCK_QUEUE,
pub OldIrql: u8,
}
impl ::core::marker::Copy for KLOCK_QUEUE_HANDLE {}
impl ::core::clone::Clone for KLOCK_QUEUE_HANDLE {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for KLOCK_QUEUE_HANDLE {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("KLOCK_QUEUE_HANDLE").field("LockQueue", &self.LockQueue).field("OldIrql", &self.OldIrql).finish()
}
}
impl ::windows_core::TypeKind for KLOCK_QUEUE_HANDLE {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for KLOCK_QUEUE_HANDLE {
fn eq(&self, other: &Self) -> bool {
self.LockQueue == other.LockQueue && self.OldIrql == other.OldIrql
}
}
impl ::core::cmp::Eq for KLOCK_QUEUE_HANDLE {}
impl ::core::default::Default for KLOCK_QUEUE_HANDLE {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
pub struct KSEMAPHORE {
pub Header: super::super::Foundation::DISPATCHER_HEADER,
pub Limit: i32,
}
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
impl ::core::marker::Copy for KSEMAPHORE {}
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
impl ::core::clone::Clone for KSEMAPHORE {
fn clone(&self) -> Self {
*self
}
}
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
impl ::windows_core::TypeKind for KSEMAPHORE {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
impl ::core::default::Default for KSEMAPHORE {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct KSPIN_LOCK_QUEUE {
pub Next: *mut KSPIN_LOCK_QUEUE,
pub Lock: *mut usize,
}
impl ::core::marker::Copy for KSPIN_LOCK_QUEUE {}
impl ::core::clone::Clone for KSPIN_LOCK_QUEUE {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for KSPIN_LOCK_QUEUE {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("KSPIN_LOCK_QUEUE").field("Next", &self.Next).field("Lock", &self.Lock).finish()
}
}
impl ::windows_core::TypeKind for KSPIN_LOCK_QUEUE {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for KSPIN_LOCK_QUEUE {
fn eq(&self, other: &Self) -> bool {
self.Next == other.Next && self.Lock == other.Lock
}
}
impl ::core::cmp::Eq for KSPIN_LOCK_QUEUE {}
impl ::core::default::Default for KSPIN_LOCK_QUEUE {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct KSYSTEM_TIME {
pub LowPart: u32,
pub High1Time: i32,
pub High2Time: i32,
}
impl ::core::marker::Copy for KSYSTEM_TIME {}
impl ::core::clone::Clone for KSYSTEM_TIME {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for KSYSTEM_TIME {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("KSYSTEM_TIME").field("LowPart", &self.LowPart).field("High1Time", &self.High1Time).field("High2Time", &self.High2Time).finish()
}
}
impl ::windows_core::TypeKind for KSYSTEM_TIME {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for KSYSTEM_TIME {
fn eq(&self, other: &Self) -> bool {
self.LowPart == other.LowPart && self.High1Time == other.High1Time && self.High2Time == other.High2Time
}
}
impl ::core::cmp::Eq for KSYSTEM_TIME {}
impl ::core::default::Default for KSYSTEM_TIME {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
pub struct KTIMER {
pub Header: super::super::Foundation::DISPATCHER_HEADER,
pub DueTime: u64,
pub TimerListEntry: super::super::super::Win32::System::Kernel::LIST_ENTRY,
pub Dpc: *mut super::super::Foundation::KDPC,
pub Period: u32,
}
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
impl ::core::marker::Copy for KTIMER {}
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
impl ::core::clone::Clone for KTIMER {
fn clone(&self) -> Self {
*self
}
}
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
impl ::windows_core::TypeKind for KTIMER {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
impl ::core::default::Default for KTIMER {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_System_Kernel\"`*"]
#[cfg(feature = "Win32_System_Kernel")]
pub struct KTRIAGE_DUMP_DATA_ARRAY {
pub List: super::super::super::Win32::System::Kernel::LIST_ENTRY,
pub NumBlocksUsed: u32,
pub NumBlocksTotal: u32,
pub DataSize: u32,
pub MaxDataSize: u32,
pub ComponentNameBufferLength: u32,
pub ComponentName: *mut u8,
pub Blocks: [KADDRESS_RANGE; 1],
}
#[cfg(feature = "Win32_System_Kernel")]
impl ::core::marker::Copy for KTRIAGE_DUMP_DATA_ARRAY {}
#[cfg(feature = "Win32_System_Kernel")]
impl ::core::clone::Clone for KTRIAGE_DUMP_DATA_ARRAY {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_System_Kernel")]
impl ::core::fmt::Debug for KTRIAGE_DUMP_DATA_ARRAY {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("KTRIAGE_DUMP_DATA_ARRAY").field("List", &self.List).field("NumBlocksUsed", &self.NumBlocksUsed).field("NumBlocksTotal", &self.NumBlocksTotal).field("DataSize", &self.DataSize).field("MaxDataSize", &self.MaxDataSize).field("ComponentNameBufferLength", &self.ComponentNameBufferLength).field("ComponentName", &self.ComponentName).field("Blocks", &self.Blocks).finish()
}
}
#[cfg(feature = "Win32_System_Kernel")]
impl ::windows_core::TypeKind for KTRIAGE_DUMP_DATA_ARRAY {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_System_Kernel")]
impl ::core::cmp::PartialEq for KTRIAGE_DUMP_DATA_ARRAY {
fn eq(&self, other: &Self) -> bool {
self.List == other.List && self.NumBlocksUsed == other.NumBlocksUsed && self.NumBlocksTotal == other.NumBlocksTotal && self.DataSize == other.DataSize && self.MaxDataSize == other.MaxDataSize && self.ComponentNameBufferLength == other.ComponentNameBufferLength && self.ComponentName == other.ComponentName && self.Blocks == other.Blocks
}
}
#[cfg(feature = "Win32_System_Kernel")]
impl ::core::cmp::Eq for KTRIAGE_DUMP_DATA_ARRAY {}
#[cfg(feature = "Win32_System_Kernel")]
impl ::core::default::Default for KTRIAGE_DUMP_DATA_ARRAY {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_System_Kernel\"`*"]
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Diagnostics_Debug", feature = "Win32_System_Kernel"))]
pub struct KUSER_SHARED_DATA {
pub TickCountLowDeprecated: u32,
pub TickCountMultiplier: u32,
pub InterruptTime: KSYSTEM_TIME,
pub SystemTime: KSYSTEM_TIME,
pub TimeZoneBias: KSYSTEM_TIME,
pub ImageNumberLow: u16,
pub ImageNumberHigh: u16,
pub NtSystemRoot: [u16; 260],
pub MaxStackTraceDepth: u32,
pub CryptoExponent: u32,
pub TimeZoneId: u32,
pub LargePageMinimum: u32,
pub AitSamplingValue: u32,
pub AppCompatFlag: u32,
pub RNGSeedVersion: u64,
pub GlobalValidationRunlevel: u32,
pub TimeZoneBiasStamp: i32,
pub NtBuildNumber: u32,
pub NtProductType: super::super::super::Win32::System::Kernel::NT_PRODUCT_TYPE,
pub ProductTypeIsValid: super::super::super::Win32::Foundation::BOOLEAN,
pub Reserved0: [super::super::super::Win32::Foundation::BOOLEAN; 1],
pub NativeProcessorArchitecture: u16,
pub NtMajorVersion: u32,
pub NtMinorVersion: u32,
pub ProcessorFeatures: [super::super::super::Win32::Foundation::BOOLEAN; 64],
pub Reserved1: u32,
pub Reserved3: u32,
pub TimeSlip: u32,
pub AlternativeArchitecture: ALTERNATIVE_ARCHITECTURE_TYPE,
pub BootId: u32,
pub SystemExpirationDate: i64,
pub SuiteMask: u32,
pub KdDebuggerEnabled: super::super::super::Win32::Foundation::BOOLEAN,
pub Anonymous1: KUSER_SHARED_DATA_0,
pub CyclesPerYield: u16,
pub ActiveConsoleId: u32,
pub DismountCount: u32,
pub ComPlusPackage: u32,
pub LastSystemRITEventTickCount: u32,
pub NumberOfPhysicalPages: u32,
pub SafeBootMode: super::super::super::Win32::Foundation::BOOLEAN,
pub Anonymous2: KUSER_SHARED_DATA_1,
pub Reserved12: [u8; 2],
pub Anonymous3: KUSER_SHARED_DATA_2,
pub DataFlagsPad: [u32; 1],
pub TestRetInstruction: u64,
pub QpcFrequency: i64,
pub SystemCall: u32,
pub Reserved2: u32,
pub SystemCallPad: [u64; 2],
pub Anonymous4: KUSER_SHARED_DATA_3,
pub Cookie: u32,
pub CookiePad: [u32; 1],
pub ConsoleSessionForegroundProcessId: i64,
pub TimeUpdateLock: u64,
pub BaselineSystemTimeQpc: u64,
pub BaselineInterruptTimeQpc: u64,
pub QpcSystemTimeIncrement: u64,
pub QpcInterruptTimeIncrement: u64,
pub QpcSystemTimeIncrementShift: u8,
pub QpcInterruptTimeIncrementShift: u8,
pub UnparkedProcessorCount: u16,
pub EnclaveFeatureMask: [u32; 4],
pub TelemetryCoverageRound: u32,
pub UserModeGlobalLogger: [u16; 16],
pub ImageFileExecutionOptions: u32,
pub LangGenerationCount: u32,
pub Reserved4: u64,
pub InterruptTimeBias: u64,
pub QpcBias: u64,
pub ActiveProcessorCount: u32,
pub ActiveGroupCount: u8,
pub Reserved9: u8,
pub Anonymous5: KUSER_SHARED_DATA_4,
pub TimeZoneBiasEffectiveStart: i64,
pub TimeZoneBiasEffectiveEnd: i64,
pub XState: super::super::super::Win32::System::Diagnostics::Debug::XSTATE_CONFIGURATION,
pub FeatureConfigurationChangeStamp: KSYSTEM_TIME,
pub Spare: u32,
pub UserPointerAuthMask: u64,
}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Diagnostics_Debug", feature = "Win32_System_Kernel"))]
impl ::core::marker::Copy for KUSER_SHARED_DATA {}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Diagnostics_Debug", feature = "Win32_System_Kernel"))]
impl ::core::clone::Clone for KUSER_SHARED_DATA {
fn clone(&self) -> Self {
*self
}
}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Diagnostics_Debug", feature = "Win32_System_Kernel"))]
impl ::windows_core::TypeKind for KUSER_SHARED_DATA {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Diagnostics_Debug", feature = "Win32_System_Kernel"))]
impl ::core::default::Default for KUSER_SHARED_DATA {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_System_Kernel\"`*"]
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Diagnostics_Debug", feature = "Win32_System_Kernel"))]
pub union KUSER_SHARED_DATA_0 {
pub MitigationPolicies: u8,
pub Anonymous: KUSER_SHARED_DATA_0_0,
}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Diagnostics_Debug", feature = "Win32_System_Kernel"))]
impl ::core::marker::Copy for KUSER_SHARED_DATA_0 {}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Diagnostics_Debug", feature = "Win32_System_Kernel"))]
impl ::core::clone::Clone for KUSER_SHARED_DATA_0 {
fn clone(&self) -> Self {
*self
}
}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Diagnostics_Debug", feature = "Win32_System_Kernel"))]
impl ::windows_core::TypeKind for KUSER_SHARED_DATA_0 {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Diagnostics_Debug", feature = "Win32_System_Kernel"))]
impl ::core::default::Default for KUSER_SHARED_DATA_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_System_Kernel\"`*"]
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Diagnostics_Debug", feature = "Win32_System_Kernel"))]
pub struct KUSER_SHARED_DATA_0_0 {
pub _bitfield: u8,
}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Diagnostics_Debug", feature = "Win32_System_Kernel"))]
impl ::core::marker::Copy for KUSER_SHARED_DATA_0_0 {}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Diagnostics_Debug", feature = "Win32_System_Kernel"))]
impl ::core::clone::Clone for KUSER_SHARED_DATA_0_0 {
fn clone(&self) -> Self {
*self
}
}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Diagnostics_Debug", feature = "Win32_System_Kernel"))]
impl ::core::fmt::Debug for KUSER_SHARED_DATA_0_0 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("KUSER_SHARED_DATA_0_0").field("_bitfield", &self._bitfield).finish()
}
}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Diagnostics_Debug", feature = "Win32_System_Kernel"))]
impl ::windows_core::TypeKind for KUSER_SHARED_DATA_0_0 {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Diagnostics_Debug", feature = "Win32_System_Kernel"))]
impl ::core::cmp::PartialEq for KUSER_SHARED_DATA_0_0 {
fn eq(&self, other: &Self) -> bool {
self._bitfield == other._bitfield
}
}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Diagnostics_Debug", feature = "Win32_System_Kernel"))]
impl ::core::cmp::Eq for KUSER_SHARED_DATA_0_0 {}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Diagnostics_Debug", feature = "Win32_System_Kernel"))]
impl ::core::default::Default for KUSER_SHARED_DATA_0_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_System_Kernel\"`*"]
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Diagnostics_Debug", feature = "Win32_System_Kernel"))]
pub union KUSER_SHARED_DATA_1 {
pub VirtualizationFlags: u8,
}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Diagnostics_Debug", feature = "Win32_System_Kernel"))]
impl ::core::marker::Copy for KUSER_SHARED_DATA_1 {}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Diagnostics_Debug", feature = "Win32_System_Kernel"))]
impl ::core::clone::Clone for KUSER_SHARED_DATA_1 {
fn clone(&self) -> Self {
*self
}
}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Diagnostics_Debug", feature = "Win32_System_Kernel"))]
impl ::windows_core::TypeKind for KUSER_SHARED_DATA_1 {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Diagnostics_Debug", feature = "Win32_System_Kernel"))]
impl ::core::default::Default for KUSER_SHARED_DATA_1 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_System_Kernel\"`*"]
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Diagnostics_Debug", feature = "Win32_System_Kernel"))]
pub union KUSER_SHARED_DATA_2 {
pub SharedDataFlags: u32,
pub Anonymous: KUSER_SHARED_DATA_2_0,
}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Diagnostics_Debug", feature = "Win32_System_Kernel"))]
impl ::core::marker::Copy for KUSER_SHARED_DATA_2 {}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Diagnostics_Debug", feature = "Win32_System_Kernel"))]
impl ::core::clone::Clone for KUSER_SHARED_DATA_2 {
fn clone(&self) -> Self {
*self
}
}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Diagnostics_Debug", feature = "Win32_System_Kernel"))]
impl ::windows_core::TypeKind for KUSER_SHARED_DATA_2 {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Diagnostics_Debug", feature = "Win32_System_Kernel"))]
impl ::core::default::Default for KUSER_SHARED_DATA_2 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_System_Kernel\"`*"]
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Diagnostics_Debug", feature = "Win32_System_Kernel"))]
pub struct KUSER_SHARED_DATA_2_0 {
pub _bitfield: u32,
}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Diagnostics_Debug", feature = "Win32_System_Kernel"))]
impl ::core::marker::Copy for KUSER_SHARED_DATA_2_0 {}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Diagnostics_Debug", feature = "Win32_System_Kernel"))]
impl ::core::clone::Clone for KUSER_SHARED_DATA_2_0 {
fn clone(&self) -> Self {
*self
}
}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Diagnostics_Debug", feature = "Win32_System_Kernel"))]
impl ::core::fmt::Debug for KUSER_SHARED_DATA_2_0 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("KUSER_SHARED_DATA_2_0").field("_bitfield", &self._bitfield).finish()
}
}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Diagnostics_Debug", feature = "Win32_System_Kernel"))]
impl ::windows_core::TypeKind for KUSER_SHARED_DATA_2_0 {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Diagnostics_Debug", feature = "Win32_System_Kernel"))]
impl ::core::cmp::PartialEq for KUSER_SHARED_DATA_2_0 {
fn eq(&self, other: &Self) -> bool {
self._bitfield == other._bitfield
}
}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Diagnostics_Debug", feature = "Win32_System_Kernel"))]
impl ::core::cmp::Eq for KUSER_SHARED_DATA_2_0 {}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Diagnostics_Debug", feature = "Win32_System_Kernel"))]
impl ::core::default::Default for KUSER_SHARED_DATA_2_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_System_Kernel\"`*"]
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Diagnostics_Debug", feature = "Win32_System_Kernel"))]
pub union KUSER_SHARED_DATA_3 {
pub TickCount: KSYSTEM_TIME,
pub TickCountQuad: u64,
pub Anonymous: KUSER_SHARED_DATA_3_0,
}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Diagnostics_Debug", feature = "Win32_System_Kernel"))]
impl ::core::marker::Copy for KUSER_SHARED_DATA_3 {}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Diagnostics_Debug", feature = "Win32_System_Kernel"))]
impl ::core::clone::Clone for KUSER_SHARED_DATA_3 {
fn clone(&self) -> Self {
*self
}
}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Diagnostics_Debug", feature = "Win32_System_Kernel"))]
impl ::windows_core::TypeKind for KUSER_SHARED_DATA_3 {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Diagnostics_Debug", feature = "Win32_System_Kernel"))]
impl ::core::default::Default for KUSER_SHARED_DATA_3 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_System_Kernel\"`*"]
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Diagnostics_Debug", feature = "Win32_System_Kernel"))]
pub struct KUSER_SHARED_DATA_3_0 {
pub ReservedTickCountOverlay: [u32; 3],
pub TickCountPad: [u32; 1],
}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Diagnostics_Debug", feature = "Win32_System_Kernel"))]
impl ::core::marker::Copy for KUSER_SHARED_DATA_3_0 {}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Diagnostics_Debug", feature = "Win32_System_Kernel"))]
impl ::core::clone::Clone for KUSER_SHARED_DATA_3_0 {
fn clone(&self) -> Self {
*self
}
}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Diagnostics_Debug", feature = "Win32_System_Kernel"))]
impl ::core::fmt::Debug for KUSER_SHARED_DATA_3_0 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("KUSER_SHARED_DATA_3_0").field("ReservedTickCountOverlay", &self.ReservedTickCountOverlay).field("TickCountPad", &self.TickCountPad).finish()
}
}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Diagnostics_Debug", feature = "Win32_System_Kernel"))]
impl ::windows_core::TypeKind for KUSER_SHARED_DATA_3_0 {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Diagnostics_Debug", feature = "Win32_System_Kernel"))]
impl ::core::cmp::PartialEq for KUSER_SHARED_DATA_3_0 {
fn eq(&self, other: &Self) -> bool {
self.ReservedTickCountOverlay == other.ReservedTickCountOverlay && self.TickCountPad == other.TickCountPad
}
}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Diagnostics_Debug", feature = "Win32_System_Kernel"))]
impl ::core::cmp::Eq for KUSER_SHARED_DATA_3_0 {}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Diagnostics_Debug", feature = "Win32_System_Kernel"))]
impl ::core::default::Default for KUSER_SHARED_DATA_3_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_System_Kernel\"`*"]
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Diagnostics_Debug", feature = "Win32_System_Kernel"))]
pub union KUSER_SHARED_DATA_4 {
pub QpcData: u16,
pub Anonymous: KUSER_SHARED_DATA_4_0,
}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Diagnostics_Debug", feature = "Win32_System_Kernel"))]
impl ::core::marker::Copy for KUSER_SHARED_DATA_4 {}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Diagnostics_Debug", feature = "Win32_System_Kernel"))]
impl ::core::clone::Clone for KUSER_SHARED_DATA_4 {
fn clone(&self) -> Self {
*self
}
}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Diagnostics_Debug", feature = "Win32_System_Kernel"))]
impl ::windows_core::TypeKind for KUSER_SHARED_DATA_4 {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Diagnostics_Debug", feature = "Win32_System_Kernel"))]
impl ::core::default::Default for KUSER_SHARED_DATA_4 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_System_Kernel\"`*"]
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Diagnostics_Debug", feature = "Win32_System_Kernel"))]
pub struct KUSER_SHARED_DATA_4_0 {
pub QpcBypassEnabled: u8,
pub QpcShift: u8,
}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Diagnostics_Debug", feature = "Win32_System_Kernel"))]
impl ::core::marker::Copy for KUSER_SHARED_DATA_4_0 {}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Diagnostics_Debug", feature = "Win32_System_Kernel"))]
impl ::core::clone::Clone for KUSER_SHARED_DATA_4_0 {
fn clone(&self) -> Self {
*self
}
}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Diagnostics_Debug", feature = "Win32_System_Kernel"))]
impl ::core::fmt::Debug for KUSER_SHARED_DATA_4_0 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("KUSER_SHARED_DATA_4_0").field("QpcBypassEnabled", &self.QpcBypassEnabled).field("QpcShift", &self.QpcShift).finish()
}
}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Diagnostics_Debug", feature = "Win32_System_Kernel"))]
impl ::windows_core::TypeKind for KUSER_SHARED_DATA_4_0 {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Diagnostics_Debug", feature = "Win32_System_Kernel"))]
impl ::core::cmp::PartialEq for KUSER_SHARED_DATA_4_0 {
fn eq(&self, other: &Self) -> bool {
self.QpcBypassEnabled == other.QpcBypassEnabled && self.QpcShift == other.QpcShift
}
}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Diagnostics_Debug", feature = "Win32_System_Kernel"))]
impl ::core::cmp::Eq for KUSER_SHARED_DATA_4_0 {}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Diagnostics_Debug", feature = "Win32_System_Kernel"))]
impl ::core::default::Default for KUSER_SHARED_DATA_4_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct KWAIT_CHAIN {
pub Head: *mut ::core::ffi::c_void,
}
impl ::core::marker::Copy for KWAIT_CHAIN {}
impl ::core::clone::Clone for KWAIT_CHAIN {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for KWAIT_CHAIN {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("KWAIT_CHAIN").field("Head", &self.Head).finish()
}
}
impl ::windows_core::TypeKind for KWAIT_CHAIN {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for KWAIT_CHAIN {
fn eq(&self, other: &Self) -> bool {
self.Head == other.Head
}
}
impl ::core::cmp::Eq for KWAIT_CHAIN {}
impl ::core::default::Default for KWAIT_CHAIN {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct LEGACY_BUS_INFORMATION {
pub BusTypeGuid: ::windows_core::GUID,
pub LegacyBusType: INTERFACE_TYPE,
pub BusNumber: u32,
}
impl ::core::marker::Copy for LEGACY_BUS_INFORMATION {}
impl ::core::clone::Clone for LEGACY_BUS_INFORMATION {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for LEGACY_BUS_INFORMATION {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("LEGACY_BUS_INFORMATION").field("BusTypeGuid", &self.BusTypeGuid).field("LegacyBusType", &self.LegacyBusType).field("BusNumber", &self.BusNumber).finish()
}
}
impl ::windows_core::TypeKind for LEGACY_BUS_INFORMATION {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for LEGACY_BUS_INFORMATION {
fn eq(&self, other: &Self) -> bool {
self.BusTypeGuid == other.BusTypeGuid && self.LegacyBusType == other.LegacyBusType && self.BusNumber == other.BusNumber
}
}
impl ::core::cmp::Eq for LEGACY_BUS_INFORMATION {}
impl ::core::default::Default for LEGACY_BUS_INFORMATION {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct LINK_SHARE_ACCESS {
pub OpenCount: u32,
pub Deleters: u32,
pub SharedDelete: u32,
}
impl ::core::marker::Copy for LINK_SHARE_ACCESS {}
impl ::core::clone::Clone for LINK_SHARE_ACCESS {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for LINK_SHARE_ACCESS {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("LINK_SHARE_ACCESS").field("OpenCount", &self.OpenCount).field("Deleters", &self.Deleters).field("SharedDelete", &self.SharedDelete).finish()
}
}
impl ::windows_core::TypeKind for LINK_SHARE_ACCESS {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for LINK_SHARE_ACCESS {
fn eq(&self, other: &Self) -> bool {
self.OpenCount == other.OpenCount && self.Deleters == other.Deleters && self.SharedDelete == other.SharedDelete
}
}
impl ::core::cmp::Eq for LINK_SHARE_ACCESS {}
impl ::core::default::Default for LINK_SHARE_ACCESS {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct LOADER_PARTITION_INFORMATION_EX {
pub PartitionStyle: u32,
pub PartitionNumber: u32,
pub Anonymous: LOADER_PARTITION_INFORMATION_EX_0,
pub Flags: u32,
}
impl ::core::marker::Copy for LOADER_PARTITION_INFORMATION_EX {}
impl ::core::clone::Clone for LOADER_PARTITION_INFORMATION_EX {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for LOADER_PARTITION_INFORMATION_EX {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for LOADER_PARTITION_INFORMATION_EX {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub union LOADER_PARTITION_INFORMATION_EX_0 {
pub Signature: u32,
pub DeviceId: ::windows_core::GUID,
}
impl ::core::marker::Copy for LOADER_PARTITION_INFORMATION_EX_0 {}
impl ::core::clone::Clone for LOADER_PARTITION_INFORMATION_EX_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for LOADER_PARTITION_INFORMATION_EX_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for LOADER_PARTITION_INFORMATION_EX_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub struct MAILSLOT_CREATE_PARAMETERS {
pub MailslotQuota: u32,
pub MaximumMessageSize: u32,
pub ReadTimeout: i64,
pub TimeoutSpecified: super::super::super::Win32::Foundation::BOOLEAN,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for MAILSLOT_CREATE_PARAMETERS {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for MAILSLOT_CREATE_PARAMETERS {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::fmt::Debug for MAILSLOT_CREATE_PARAMETERS {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("MAILSLOT_CREATE_PARAMETERS").field("MailslotQuota", &self.MailslotQuota).field("MaximumMessageSize", &self.MaximumMessageSize).field("ReadTimeout", &self.ReadTimeout).field("TimeoutSpecified", &self.TimeoutSpecified).finish()
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for MAILSLOT_CREATE_PARAMETERS {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::PartialEq for MAILSLOT_CREATE_PARAMETERS {
fn eq(&self, other: &Self) -> bool {
self.MailslotQuota == other.MailslotQuota && self.MaximumMessageSize == other.MaximumMessageSize && self.ReadTimeout == other.ReadTimeout && self.TimeoutSpecified == other.TimeoutSpecified
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::Eq for MAILSLOT_CREATE_PARAMETERS {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for MAILSLOT_CREATE_PARAMETERS {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub struct MAP_REGISTER_ENTRY {
pub MapRegister: *mut ::core::ffi::c_void,
pub WriteToDevice: super::super::super::Win32::Foundation::BOOLEAN,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for MAP_REGISTER_ENTRY {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for MAP_REGISTER_ENTRY {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::fmt::Debug for MAP_REGISTER_ENTRY {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("MAP_REGISTER_ENTRY").field("MapRegister", &self.MapRegister).field("WriteToDevice", &self.WriteToDevice).finish()
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for MAP_REGISTER_ENTRY {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::PartialEq for MAP_REGISTER_ENTRY {
fn eq(&self, other: &Self) -> bool {
self.MapRegister == other.MapRegister && self.WriteToDevice == other.WriteToDevice
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::Eq for MAP_REGISTER_ENTRY {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for MAP_REGISTER_ENTRY {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`*"]
#[cfg(feature = "Wdk_Foundation")]
pub struct MCA_DRIVER_INFO {
pub ExceptionCallback: PDRIVER_MCA_EXCEPTION_CALLBACK,
pub DpcCallback: super::super::Foundation::PKDEFERRED_ROUTINE,
pub DeviceContext: *mut ::core::ffi::c_void,
}
#[cfg(feature = "Wdk_Foundation")]
impl ::core::marker::Copy for MCA_DRIVER_INFO {}
#[cfg(feature = "Wdk_Foundation")]
impl ::core::clone::Clone for MCA_DRIVER_INFO {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Wdk_Foundation")]
impl ::core::fmt::Debug for MCA_DRIVER_INFO {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("MCA_DRIVER_INFO").field("DeviceContext", &self.DeviceContext).finish()
}
}
#[cfg(feature = "Wdk_Foundation")]
impl ::windows_core::TypeKind for MCA_DRIVER_INFO {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Wdk_Foundation")]
impl ::core::default::Default for MCA_DRIVER_INFO {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct MCA_EXCEPTION {
pub VersionNumber: u32,
pub ExceptionType: MCA_EXCEPTION_TYPE,
pub TimeStamp: i64,
pub ProcessorNumber: u32,
pub Reserved1: u32,
pub u: MCA_EXCEPTION_0,
pub ExtCnt: u32,
pub Reserved3: u32,
pub ExtReg: [u64; 24],
}
impl ::core::marker::Copy for MCA_EXCEPTION {}
impl ::core::clone::Clone for MCA_EXCEPTION {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for MCA_EXCEPTION {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for MCA_EXCEPTION {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub union MCA_EXCEPTION_0 {
pub Mca: MCA_EXCEPTION_0_0,
pub Mce: MCA_EXCEPTION_0_1,
}
impl ::core::marker::Copy for MCA_EXCEPTION_0 {}
impl ::core::clone::Clone for MCA_EXCEPTION_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for MCA_EXCEPTION_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for MCA_EXCEPTION_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct MCA_EXCEPTION_0_0 {
pub BankNumber: u8,
pub Reserved2: [u8; 7],
pub Status: MCI_STATS,
pub Address: MCI_ADDR,
pub Misc: u64,
}
impl ::core::marker::Copy for MCA_EXCEPTION_0_0 {}
impl ::core::clone::Clone for MCA_EXCEPTION_0_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for MCA_EXCEPTION_0_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for MCA_EXCEPTION_0_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct MCA_EXCEPTION_0_1 {
pub Address: u64,
pub Type: u64,
}
impl ::core::marker::Copy for MCA_EXCEPTION_0_1 {}
impl ::core::clone::Clone for MCA_EXCEPTION_0_1 {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for MCA_EXCEPTION_0_1 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("MCA_EXCEPTION_0_1").field("Address", &self.Address).field("Type", &self.Type).finish()
}
}
impl ::windows_core::TypeKind for MCA_EXCEPTION_0_1 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for MCA_EXCEPTION_0_1 {
fn eq(&self, other: &Self) -> bool {
self.Address == other.Address && self.Type == other.Type
}
}
impl ::core::cmp::Eq for MCA_EXCEPTION_0_1 {}
impl ::core::default::Default for MCA_EXCEPTION_0_1 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(1))]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub union MCG_CAP {
pub Anonymous: MCG_CAP_0,
pub QuadPart: u64,
}
impl ::core::marker::Copy for MCG_CAP {}
impl ::core::clone::Clone for MCG_CAP {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for MCG_CAP {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for MCG_CAP {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(1))]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct MCG_CAP_0 {
pub _bitfield: u64,
}
impl ::core::marker::Copy for MCG_CAP_0 {}
impl ::core::clone::Clone for MCG_CAP_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for MCG_CAP_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for MCG_CAP_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(1))]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub union MCG_STATUS {
pub Anonymous: MCG_STATUS_0,
pub QuadPart: u64,
}
impl ::core::marker::Copy for MCG_STATUS {}
impl ::core::clone::Clone for MCG_STATUS {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for MCG_STATUS {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for MCG_STATUS {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(1))]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct MCG_STATUS_0 {
pub _bitfield: u32,
pub Reserved2: u32,
}
impl ::core::marker::Copy for MCG_STATUS_0 {}
impl ::core::clone::Clone for MCG_STATUS_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for MCG_STATUS_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for MCG_STATUS_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub union MCI_ADDR {
pub Anonymous: MCI_ADDR_0,
pub QuadPart: u64,
}
impl ::core::marker::Copy for MCI_ADDR {}
impl ::core::clone::Clone for MCI_ADDR {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for MCI_ADDR {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for MCI_ADDR {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct MCI_ADDR_0 {
pub Address: u32,
pub Reserved: u32,
}
impl ::core::marker::Copy for MCI_ADDR_0 {}
impl ::core::clone::Clone for MCI_ADDR_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for MCI_ADDR_0 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("MCI_ADDR_0").field("Address", &self.Address).field("Reserved", &self.Reserved).finish()
}
}
impl ::windows_core::TypeKind for MCI_ADDR_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for MCI_ADDR_0 {
fn eq(&self, other: &Self) -> bool {
self.Address == other.Address && self.Reserved == other.Reserved
}
}
impl ::core::cmp::Eq for MCI_ADDR_0 {}
impl ::core::default::Default for MCI_ADDR_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub union MCI_STATS {
pub MciStats: MCI_STATS_0,
pub QuadPart: u64,
}
impl ::core::marker::Copy for MCI_STATS {}
impl ::core::clone::Clone for MCI_STATS {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for MCI_STATS {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for MCI_STATS {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct MCI_STATS_0 {
pub McaCod: u16,
pub MsCod: u16,
pub _bitfield: u32,
}
impl ::core::marker::Copy for MCI_STATS_0 {}
impl ::core::clone::Clone for MCI_STATS_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for MCI_STATS_0 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("MCI_STATS_0").field("McaCod", &self.McaCod).field("MsCod", &self.MsCod).field("_bitfield", &self._bitfield).finish()
}
}
impl ::windows_core::TypeKind for MCI_STATS_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for MCI_STATS_0 {
fn eq(&self, other: &Self) -> bool {
self.McaCod == other.McaCod && self.MsCod == other.MsCod && self._bitfield == other._bitfield
}
}
impl ::core::cmp::Eq for MCI_STATS_0 {}
impl ::core::default::Default for MCI_STATS_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(1))]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub union MCI_STATUS {
pub CommonBits: MCI_STATUS_BITS_COMMON,
pub AmdBits: MCI_STATUS_AMD_BITS,
pub IntelBits: MCI_STATUS_INTEL_BITS,
pub QuadPart: u64,
}
impl ::core::marker::Copy for MCI_STATUS {}
impl ::core::clone::Clone for MCI_STATUS {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for MCI_STATUS {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for MCI_STATUS {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(1))]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct MCI_STATUS_AMD_BITS {
pub _bitfield: u64,
}
impl ::core::marker::Copy for MCI_STATUS_AMD_BITS {}
impl ::core::clone::Clone for MCI_STATUS_AMD_BITS {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for MCI_STATUS_AMD_BITS {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for MCI_STATUS_AMD_BITS {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(1))]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct MCI_STATUS_BITS_COMMON {
pub _bitfield: u64,
}
impl ::core::marker::Copy for MCI_STATUS_BITS_COMMON {}
impl ::core::clone::Clone for MCI_STATUS_BITS_COMMON {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for MCI_STATUS_BITS_COMMON {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for MCI_STATUS_BITS_COMMON {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(1))]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct MCI_STATUS_INTEL_BITS {
pub _bitfield: u64,
}
impl ::core::marker::Copy for MCI_STATUS_INTEL_BITS {}
impl ::core::clone::Clone for MCI_STATUS_INTEL_BITS {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for MCI_STATUS_INTEL_BITS {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for MCI_STATUS_INTEL_BITS {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub struct MEMORY_PARTITION_DEDICATED_MEMORY_OPEN_INFORMATION {
pub DedicatedMemoryTypeId: u64,
pub HandleAttributes: u32,
pub DesiredAccess: u32,
pub DedicatedMemoryPartitionHandle: super::super::super::Win32::Foundation::HANDLE,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for MEMORY_PARTITION_DEDICATED_MEMORY_OPEN_INFORMATION {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for MEMORY_PARTITION_DEDICATED_MEMORY_OPEN_INFORMATION {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::fmt::Debug for MEMORY_PARTITION_DEDICATED_MEMORY_OPEN_INFORMATION {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("MEMORY_PARTITION_DEDICATED_MEMORY_OPEN_INFORMATION").field("DedicatedMemoryTypeId", &self.DedicatedMemoryTypeId).field("HandleAttributes", &self.HandleAttributes).field("DesiredAccess", &self.DesiredAccess).field("DedicatedMemoryPartitionHandle", &self.DedicatedMemoryPartitionHandle).finish()
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for MEMORY_PARTITION_DEDICATED_MEMORY_OPEN_INFORMATION {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::PartialEq for MEMORY_PARTITION_DEDICATED_MEMORY_OPEN_INFORMATION {
fn eq(&self, other: &Self) -> bool {
self.DedicatedMemoryTypeId == other.DedicatedMemoryTypeId && self.HandleAttributes == other.HandleAttributes && self.DesiredAccess == other.DesiredAccess && self.DedicatedMemoryPartitionHandle == other.DedicatedMemoryPartitionHandle
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::Eq for MEMORY_PARTITION_DEDICATED_MEMORY_OPEN_INFORMATION {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for MEMORY_PARTITION_DEDICATED_MEMORY_OPEN_INFORMATION {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct MM_COPY_ADDRESS {
pub Anonymous: MM_COPY_ADDRESS_0,
}
impl ::core::marker::Copy for MM_COPY_ADDRESS {}
impl ::core::clone::Clone for MM_COPY_ADDRESS {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for MM_COPY_ADDRESS {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for MM_COPY_ADDRESS {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub union MM_COPY_ADDRESS_0 {
pub VirtualAddress: *mut ::core::ffi::c_void,
pub PhysicalAddress: i64,
}
impl ::core::marker::Copy for MM_COPY_ADDRESS_0 {}
impl ::core::clone::Clone for MM_COPY_ADDRESS_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for MM_COPY_ADDRESS_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for MM_COPY_ADDRESS_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct MM_PHYSICAL_ADDRESS_LIST {
pub PhysicalAddress: i64,
pub NumberOfBytes: usize,
}
impl ::core::marker::Copy for MM_PHYSICAL_ADDRESS_LIST {}
impl ::core::clone::Clone for MM_PHYSICAL_ADDRESS_LIST {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for MM_PHYSICAL_ADDRESS_LIST {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("MM_PHYSICAL_ADDRESS_LIST").field("PhysicalAddress", &self.PhysicalAddress).field("NumberOfBytes", &self.NumberOfBytes).finish()
}
}
impl ::windows_core::TypeKind for MM_PHYSICAL_ADDRESS_LIST {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for MM_PHYSICAL_ADDRESS_LIST {
fn eq(&self, other: &Self) -> bool {
self.PhysicalAddress == other.PhysicalAddress && self.NumberOfBytes == other.NumberOfBytes
}
}
impl ::core::cmp::Eq for MM_PHYSICAL_ADDRESS_LIST {}
impl ::core::default::Default for MM_PHYSICAL_ADDRESS_LIST {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(1))]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct MU_TELEMETRY_SECTION {
pub ComponentID: ::windows_core::GUID,
pub SubComponentID: ::windows_core::GUID,
pub Reserved: u32,
pub ErrorStatusValue: u32,
pub AdditionalInfo1: u64,
pub AdditionalInfo2: u64,
}
impl ::core::marker::Copy for MU_TELEMETRY_SECTION {}
impl ::core::clone::Clone for MU_TELEMETRY_SECTION {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for MU_TELEMETRY_SECTION {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for MU_TELEMETRY_SECTION {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub struct NAMED_PIPE_CREATE_PARAMETERS {
pub NamedPipeType: u32,
pub ReadMode: u32,
pub CompletionMode: u32,
pub MaximumInstances: u32,
pub InboundQuota: u32,
pub OutboundQuota: u32,
pub DefaultTimeout: i64,
pub TimeoutSpecified: super::super::super::Win32::Foundation::BOOLEAN,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for NAMED_PIPE_CREATE_PARAMETERS {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for NAMED_PIPE_CREATE_PARAMETERS {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::fmt::Debug for NAMED_PIPE_CREATE_PARAMETERS {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("NAMED_PIPE_CREATE_PARAMETERS").field("NamedPipeType", &self.NamedPipeType).field("ReadMode", &self.ReadMode).field("CompletionMode", &self.CompletionMode).field("MaximumInstances", &self.MaximumInstances).field("InboundQuota", &self.InboundQuota).field("OutboundQuota", &self.OutboundQuota).field("DefaultTimeout", &self.DefaultTimeout).field("TimeoutSpecified", &self.TimeoutSpecified).finish()
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for NAMED_PIPE_CREATE_PARAMETERS {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::PartialEq for NAMED_PIPE_CREATE_PARAMETERS {
fn eq(&self, other: &Self) -> bool {
self.NamedPipeType == other.NamedPipeType && self.ReadMode == other.ReadMode && self.CompletionMode == other.CompletionMode && self.MaximumInstances == other.MaximumInstances && self.InboundQuota == other.InboundQuota && self.OutboundQuota == other.OutboundQuota && self.DefaultTimeout == other.DefaultTimeout && self.TimeoutSpecified == other.TimeoutSpecified
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::Eq for NAMED_PIPE_CREATE_PARAMETERS {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for NAMED_PIPE_CREATE_PARAMETERS {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub union NPEM_CAPABILITY_STANDARD {
pub Anonymous: NPEM_CAPABILITY_STANDARD_0,
pub AsULONG: u32,
}
impl ::core::marker::Copy for NPEM_CAPABILITY_STANDARD {}
impl ::core::clone::Clone for NPEM_CAPABILITY_STANDARD {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for NPEM_CAPABILITY_STANDARD {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for NPEM_CAPABILITY_STANDARD {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct NPEM_CAPABILITY_STANDARD_0 {
pub _bitfield: u32,
}
impl ::core::marker::Copy for NPEM_CAPABILITY_STANDARD_0 {}
impl ::core::clone::Clone for NPEM_CAPABILITY_STANDARD_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for NPEM_CAPABILITY_STANDARD_0 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("NPEM_CAPABILITY_STANDARD_0").field("_bitfield", &self._bitfield).finish()
}
}
impl ::windows_core::TypeKind for NPEM_CAPABILITY_STANDARD_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for NPEM_CAPABILITY_STANDARD_0 {
fn eq(&self, other: &Self) -> bool {
self._bitfield == other._bitfield
}
}
impl ::core::cmp::Eq for NPEM_CAPABILITY_STANDARD_0 {}
impl ::core::default::Default for NPEM_CAPABILITY_STANDARD_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub struct NPEM_CONTROL_INTERFACE {
pub Size: u16,
pub Version: u16,
pub Context: *mut ::core::ffi::c_void,
pub InterfaceReference: PINTERFACE_REFERENCE,
pub InterfaceDereference: PINTERFACE_DEREFERENCE,
pub SetNpemSupportState: PNPEM_CONTROL_ENABLE_DISABLE,
pub QueryStandardCapabilities: PNPEM_CONTROL_QUERY_STANDARD_CAPABILITIES,
pub SetStandardControl: PNPEM_CONTROL_SET_STANDARD_CONTROL,
pub QueryNpemControl: PNPEM_CONTROL_QUERY_CONTROL,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for NPEM_CONTROL_INTERFACE {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for NPEM_CONTROL_INTERFACE {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::fmt::Debug for NPEM_CONTROL_INTERFACE {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("NPEM_CONTROL_INTERFACE").field("Size", &self.Size).field("Version", &self.Version).field("Context", &self.Context).finish()
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for NPEM_CONTROL_INTERFACE {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for NPEM_CONTROL_INTERFACE {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct NT_TIB32 {
pub ExceptionList: u32,
pub StackBase: u32,
pub StackLimit: u32,
pub SubSystemTib: u32,
pub Anonymous: NT_TIB32_0,
pub ArbitraryUserPointer: u32,
pub Self_: u32,
}
impl ::core::marker::Copy for NT_TIB32 {}
impl ::core::clone::Clone for NT_TIB32 {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for NT_TIB32 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for NT_TIB32 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub union NT_TIB32_0 {
pub FiberData: u32,
pub Version: u32,
}
impl ::core::marker::Copy for NT_TIB32_0 {}
impl ::core::clone::Clone for NT_TIB32_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for NT_TIB32_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for NT_TIB32_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct OBJECT_HANDLE_INFORMATION {
pub HandleAttributes: u32,
pub GrantedAccess: u32,
}
impl ::core::marker::Copy for OBJECT_HANDLE_INFORMATION {}
impl ::core::clone::Clone for OBJECT_HANDLE_INFORMATION {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for OBJECT_HANDLE_INFORMATION {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("OBJECT_HANDLE_INFORMATION").field("HandleAttributes", &self.HandleAttributes).field("GrantedAccess", &self.GrantedAccess).finish()
}
}
impl ::windows_core::TypeKind for OBJECT_HANDLE_INFORMATION {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for OBJECT_HANDLE_INFORMATION {
fn eq(&self, other: &Self) -> bool {
self.HandleAttributes == other.HandleAttributes && self.GrantedAccess == other.GrantedAccess
}
}
impl ::core::cmp::Eq for OBJECT_HANDLE_INFORMATION {}
impl ::core::default::Default for OBJECT_HANDLE_INFORMATION {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))]
pub struct OB_CALLBACK_REGISTRATION {
pub Version: u16,
pub OperationRegistrationCount: u16,
pub Altitude: super::super::super::Win32::Foundation::UNICODE_STRING,
pub RegistrationContext: *mut ::core::ffi::c_void,
pub OperationRegistration: *mut OB_OPERATION_REGISTRATION,
}
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))]
impl ::core::marker::Copy for OB_CALLBACK_REGISTRATION {}
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))]
impl ::core::clone::Clone for OB_CALLBACK_REGISTRATION {
fn clone(&self) -> Self {
*self
}
}
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))]
impl ::core::fmt::Debug for OB_CALLBACK_REGISTRATION {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("OB_CALLBACK_REGISTRATION").field("Version", &self.Version).field("OperationRegistrationCount", &self.OperationRegistrationCount).field("Altitude", &self.Altitude).field("RegistrationContext", &self.RegistrationContext).field("OperationRegistration", &self.OperationRegistration).finish()
}
}
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))]
impl ::windows_core::TypeKind for OB_CALLBACK_REGISTRATION {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))]
impl ::core::cmp::PartialEq for OB_CALLBACK_REGISTRATION {
fn eq(&self, other: &Self) -> bool {
self.Version == other.Version && self.OperationRegistrationCount == other.OperationRegistrationCount && self.Altitude == other.Altitude && self.RegistrationContext == other.RegistrationContext && self.OperationRegistration == other.OperationRegistration
}
}
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))]
impl ::core::cmp::Eq for OB_CALLBACK_REGISTRATION {}
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))]
impl ::core::default::Default for OB_CALLBACK_REGISTRATION {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))]
pub struct OB_OPERATION_REGISTRATION {
pub ObjectType: *mut super::super::Foundation::POBJECT_TYPE,
pub Operations: u32,
pub PreOperation: POB_PRE_OPERATION_CALLBACK,
pub PostOperation: POB_POST_OPERATION_CALLBACK,
}
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))]
impl ::core::marker::Copy for OB_OPERATION_REGISTRATION {}
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))]
impl ::core::clone::Clone for OB_OPERATION_REGISTRATION {
fn clone(&self) -> Self {
*self
}
}
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))]
impl ::core::fmt::Debug for OB_OPERATION_REGISTRATION {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("OB_OPERATION_REGISTRATION").field("ObjectType", &self.ObjectType).field("Operations", &self.Operations).finish()
}
}
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))]
impl ::windows_core::TypeKind for OB_OPERATION_REGISTRATION {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))]
impl ::core::default::Default for OB_OPERATION_REGISTRATION {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct OB_POST_CREATE_HANDLE_INFORMATION {
pub GrantedAccess: u32,
}
impl ::core::marker::Copy for OB_POST_CREATE_HANDLE_INFORMATION {}
impl ::core::clone::Clone for OB_POST_CREATE_HANDLE_INFORMATION {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for OB_POST_CREATE_HANDLE_INFORMATION {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("OB_POST_CREATE_HANDLE_INFORMATION").field("GrantedAccess", &self.GrantedAccess).finish()
}
}
impl ::windows_core::TypeKind for OB_POST_CREATE_HANDLE_INFORMATION {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for OB_POST_CREATE_HANDLE_INFORMATION {
fn eq(&self, other: &Self) -> bool {
self.GrantedAccess == other.GrantedAccess
}
}
impl ::core::cmp::Eq for OB_POST_CREATE_HANDLE_INFORMATION {}
impl ::core::default::Default for OB_POST_CREATE_HANDLE_INFORMATION {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct OB_POST_DUPLICATE_HANDLE_INFORMATION {
pub GrantedAccess: u32,
}
impl ::core::marker::Copy for OB_POST_DUPLICATE_HANDLE_INFORMATION {}
impl ::core::clone::Clone for OB_POST_DUPLICATE_HANDLE_INFORMATION {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for OB_POST_DUPLICATE_HANDLE_INFORMATION {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("OB_POST_DUPLICATE_HANDLE_INFORMATION").field("GrantedAccess", &self.GrantedAccess).finish()
}
}
impl ::windows_core::TypeKind for OB_POST_DUPLICATE_HANDLE_INFORMATION {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for OB_POST_DUPLICATE_HANDLE_INFORMATION {
fn eq(&self, other: &Self) -> bool {
self.GrantedAccess == other.GrantedAccess
}
}
impl ::core::cmp::Eq for OB_POST_DUPLICATE_HANDLE_INFORMATION {}
impl ::core::default::Default for OB_POST_DUPLICATE_HANDLE_INFORMATION {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))]
pub struct OB_POST_OPERATION_INFORMATION {
pub Operation: u32,
pub Anonymous: OB_POST_OPERATION_INFORMATION_0,
pub Object: *mut ::core::ffi::c_void,
pub ObjectType: super::super::Foundation::POBJECT_TYPE,
pub CallContext: *mut ::core::ffi::c_void,
pub ReturnStatus: super::super::super::Win32::Foundation::NTSTATUS,
pub Parameters: *mut OB_POST_OPERATION_PARAMETERS,
}
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))]
impl ::core::marker::Copy for OB_POST_OPERATION_INFORMATION {}
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))]
impl ::core::clone::Clone for OB_POST_OPERATION_INFORMATION {
fn clone(&self) -> Self {
*self
}
}
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))]
impl ::windows_core::TypeKind for OB_POST_OPERATION_INFORMATION {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))]
impl ::core::default::Default for OB_POST_OPERATION_INFORMATION {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))]
pub union OB_POST_OPERATION_INFORMATION_0 {
pub Flags: u32,
pub Anonymous: OB_POST_OPERATION_INFORMATION_0_0,
}
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))]
impl ::core::marker::Copy for OB_POST_OPERATION_INFORMATION_0 {}
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))]
impl ::core::clone::Clone for OB_POST_OPERATION_INFORMATION_0 {
fn clone(&self) -> Self {
*self
}
}
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))]
impl ::windows_core::TypeKind for OB_POST_OPERATION_INFORMATION_0 {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))]
impl ::core::default::Default for OB_POST_OPERATION_INFORMATION_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))]
pub struct OB_POST_OPERATION_INFORMATION_0_0 {
pub _bitfield: u32,
}
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))]
impl ::core::marker::Copy for OB_POST_OPERATION_INFORMATION_0_0 {}
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))]
impl ::core::clone::Clone for OB_POST_OPERATION_INFORMATION_0_0 {
fn clone(&self) -> Self {
*self
}
}
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))]
impl ::core::fmt::Debug for OB_POST_OPERATION_INFORMATION_0_0 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("OB_POST_OPERATION_INFORMATION_0_0").field("_bitfield", &self._bitfield).finish()
}
}
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))]
impl ::windows_core::TypeKind for OB_POST_OPERATION_INFORMATION_0_0 {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))]
impl ::core::cmp::PartialEq for OB_POST_OPERATION_INFORMATION_0_0 {
fn eq(&self, other: &Self) -> bool {
self._bitfield == other._bitfield
}
}
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))]
impl ::core::cmp::Eq for OB_POST_OPERATION_INFORMATION_0_0 {}
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))]
impl ::core::default::Default for OB_POST_OPERATION_INFORMATION_0_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub union OB_POST_OPERATION_PARAMETERS {
pub CreateHandleInformation: OB_POST_CREATE_HANDLE_INFORMATION,
pub DuplicateHandleInformation: OB_POST_DUPLICATE_HANDLE_INFORMATION,
}
impl ::core::marker::Copy for OB_POST_OPERATION_PARAMETERS {}
impl ::core::clone::Clone for OB_POST_OPERATION_PARAMETERS {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for OB_POST_OPERATION_PARAMETERS {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for OB_POST_OPERATION_PARAMETERS {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct OB_PRE_CREATE_HANDLE_INFORMATION {
pub DesiredAccess: u32,
pub OriginalDesiredAccess: u32,
}
impl ::core::marker::Copy for OB_PRE_CREATE_HANDLE_INFORMATION {}
impl ::core::clone::Clone for OB_PRE_CREATE_HANDLE_INFORMATION {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for OB_PRE_CREATE_HANDLE_INFORMATION {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("OB_PRE_CREATE_HANDLE_INFORMATION").field("DesiredAccess", &self.DesiredAccess).field("OriginalDesiredAccess", &self.OriginalDesiredAccess).finish()
}
}
impl ::windows_core::TypeKind for OB_PRE_CREATE_HANDLE_INFORMATION {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for OB_PRE_CREATE_HANDLE_INFORMATION {
fn eq(&self, other: &Self) -> bool {
self.DesiredAccess == other.DesiredAccess && self.OriginalDesiredAccess == other.OriginalDesiredAccess
}
}
impl ::core::cmp::Eq for OB_PRE_CREATE_HANDLE_INFORMATION {}
impl ::core::default::Default for OB_PRE_CREATE_HANDLE_INFORMATION {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct OB_PRE_DUPLICATE_HANDLE_INFORMATION {
pub DesiredAccess: u32,
pub OriginalDesiredAccess: u32,
pub SourceProcess: *mut ::core::ffi::c_void,
pub TargetProcess: *mut ::core::ffi::c_void,
}
impl ::core::marker::Copy for OB_PRE_DUPLICATE_HANDLE_INFORMATION {}
impl ::core::clone::Clone for OB_PRE_DUPLICATE_HANDLE_INFORMATION {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for OB_PRE_DUPLICATE_HANDLE_INFORMATION {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("OB_PRE_DUPLICATE_HANDLE_INFORMATION").field("DesiredAccess", &self.DesiredAccess).field("OriginalDesiredAccess", &self.OriginalDesiredAccess).field("SourceProcess", &self.SourceProcess).field("TargetProcess", &self.TargetProcess).finish()
}
}
impl ::windows_core::TypeKind for OB_PRE_DUPLICATE_HANDLE_INFORMATION {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for OB_PRE_DUPLICATE_HANDLE_INFORMATION {
fn eq(&self, other: &Self) -> bool {
self.DesiredAccess == other.DesiredAccess && self.OriginalDesiredAccess == other.OriginalDesiredAccess && self.SourceProcess == other.SourceProcess && self.TargetProcess == other.TargetProcess
}
}
impl ::core::cmp::Eq for OB_PRE_DUPLICATE_HANDLE_INFORMATION {}
impl ::core::default::Default for OB_PRE_DUPLICATE_HANDLE_INFORMATION {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`*"]
#[cfg(feature = "Wdk_Foundation")]
pub struct OB_PRE_OPERATION_INFORMATION {
pub Operation: u32,
pub Anonymous: OB_PRE_OPERATION_INFORMATION_0,
pub Object: *mut ::core::ffi::c_void,
pub ObjectType: super::super::Foundation::POBJECT_TYPE,
pub CallContext: *mut ::core::ffi::c_void,
pub Parameters: *mut OB_PRE_OPERATION_PARAMETERS,
}
#[cfg(feature = "Wdk_Foundation")]
impl ::core::marker::Copy for OB_PRE_OPERATION_INFORMATION {}
#[cfg(feature = "Wdk_Foundation")]
impl ::core::clone::Clone for OB_PRE_OPERATION_INFORMATION {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Wdk_Foundation")]
impl ::windows_core::TypeKind for OB_PRE_OPERATION_INFORMATION {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Wdk_Foundation")]
impl ::core::default::Default for OB_PRE_OPERATION_INFORMATION {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`*"]
#[cfg(feature = "Wdk_Foundation")]
pub union OB_PRE_OPERATION_INFORMATION_0 {
pub Flags: u32,
pub Anonymous: OB_PRE_OPERATION_INFORMATION_0_0,
}
#[cfg(feature = "Wdk_Foundation")]
impl ::core::marker::Copy for OB_PRE_OPERATION_INFORMATION_0 {}
#[cfg(feature = "Wdk_Foundation")]
impl ::core::clone::Clone for OB_PRE_OPERATION_INFORMATION_0 {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Wdk_Foundation")]
impl ::windows_core::TypeKind for OB_PRE_OPERATION_INFORMATION_0 {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Wdk_Foundation")]
impl ::core::default::Default for OB_PRE_OPERATION_INFORMATION_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`*"]
#[cfg(feature = "Wdk_Foundation")]
pub struct OB_PRE_OPERATION_INFORMATION_0_0 {
pub _bitfield: u32,
}
#[cfg(feature = "Wdk_Foundation")]
impl ::core::marker::Copy for OB_PRE_OPERATION_INFORMATION_0_0 {}
#[cfg(feature = "Wdk_Foundation")]
impl ::core::clone::Clone for OB_PRE_OPERATION_INFORMATION_0_0 {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Wdk_Foundation")]
impl ::core::fmt::Debug for OB_PRE_OPERATION_INFORMATION_0_0 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("OB_PRE_OPERATION_INFORMATION_0_0").field("_bitfield", &self._bitfield).finish()
}
}
#[cfg(feature = "Wdk_Foundation")]
impl ::windows_core::TypeKind for OB_PRE_OPERATION_INFORMATION_0_0 {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Wdk_Foundation")]
impl ::core::cmp::PartialEq for OB_PRE_OPERATION_INFORMATION_0_0 {
fn eq(&self, other: &Self) -> bool {
self._bitfield == other._bitfield
}
}
#[cfg(feature = "Wdk_Foundation")]
impl ::core::cmp::Eq for OB_PRE_OPERATION_INFORMATION_0_0 {}
#[cfg(feature = "Wdk_Foundation")]
impl ::core::default::Default for OB_PRE_OPERATION_INFORMATION_0_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub union OB_PRE_OPERATION_PARAMETERS {
pub CreateHandleInformation: OB_PRE_CREATE_HANDLE_INFORMATION,
pub DuplicateHandleInformation: OB_PRE_DUPLICATE_HANDLE_INFORMATION,
}
impl ::core::marker::Copy for OB_PRE_OPERATION_PARAMETERS {}
impl ::core::clone::Clone for OB_PRE_OPERATION_PARAMETERS {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for OB_PRE_OPERATION_PARAMETERS {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for OB_PRE_OPERATION_PARAMETERS {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct PAGE_PRIORITY_INFORMATION {
pub PagePriority: u32,
}
impl ::core::marker::Copy for PAGE_PRIORITY_INFORMATION {}
impl ::core::clone::Clone for PAGE_PRIORITY_INFORMATION {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for PAGE_PRIORITY_INFORMATION {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("PAGE_PRIORITY_INFORMATION").field("PagePriority", &self.PagePriority).finish()
}
}
impl ::windows_core::TypeKind for PAGE_PRIORITY_INFORMATION {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for PAGE_PRIORITY_INFORMATION {
fn eq(&self, other: &Self) -> bool {
self.PagePriority == other.PagePriority
}
}
impl ::core::cmp::Eq for PAGE_PRIORITY_INFORMATION {}
impl ::core::default::Default for PAGE_PRIORITY_INFORMATION {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct PCIBUSDATA {
pub Tag: u32,
pub Version: u32,
pub ReadConfig: PciReadWriteConfig,
pub WriteConfig: PciReadWriteConfig,
pub Pin2Line: PciPin2Line,
pub Line2Pin: PciLine2Pin,
pub ParentSlot: PCI_SLOT_NUMBER,
pub Reserved: [*mut ::core::ffi::c_void; 4],
}
impl ::core::marker::Copy for PCIBUSDATA {}
impl ::core::clone::Clone for PCIBUSDATA {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for PCIBUSDATA {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for PCIBUSDATA {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct PCIX_BRIDGE_CAPABILITY {
pub Header: PCI_CAPABILITIES_HEADER,
pub SecondaryStatus: PCIX_BRIDGE_CAPABILITY_2,
pub BridgeStatus: PCIX_BRIDGE_CAPABILITY_0,
pub UpstreamSplitTransactionCapacity: u16,
pub UpstreamSplitTransactionLimit: u16,
pub DownstreamSplitTransactionCapacity: u16,
pub DownstreamSplitTransactionLimit: u16,
pub EccControlStatus: PCIX_BRIDGE_CAPABILITY_1,
pub EccFirstAddress: u32,
pub EccSecondAddress: u32,
pub EccAttribute: u32,
}
impl ::core::marker::Copy for PCIX_BRIDGE_CAPABILITY {}
impl ::core::clone::Clone for PCIX_BRIDGE_CAPABILITY {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for PCIX_BRIDGE_CAPABILITY {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for PCIX_BRIDGE_CAPABILITY {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub union PCIX_BRIDGE_CAPABILITY_0 {
pub Anonymous: PCIX_BRIDGE_CAPABILITY_0_0,
pub AsULONG: u32,
}
impl ::core::marker::Copy for PCIX_BRIDGE_CAPABILITY_0 {}
impl ::core::clone::Clone for PCIX_BRIDGE_CAPABILITY_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for PCIX_BRIDGE_CAPABILITY_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for PCIX_BRIDGE_CAPABILITY_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct PCIX_BRIDGE_CAPABILITY_0_0 {
pub _bitfield: u32,
}
impl ::core::marker::Copy for PCIX_BRIDGE_CAPABILITY_0_0 {}
impl ::core::clone::Clone for PCIX_BRIDGE_CAPABILITY_0_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for PCIX_BRIDGE_CAPABILITY_0_0 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("PCIX_BRIDGE_CAPABILITY_0_0").field("_bitfield", &self._bitfield).finish()
}
}
impl ::windows_core::TypeKind for PCIX_BRIDGE_CAPABILITY_0_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for PCIX_BRIDGE_CAPABILITY_0_0 {
fn eq(&self, other: &Self) -> bool {
self._bitfield == other._bitfield
}
}
impl ::core::cmp::Eq for PCIX_BRIDGE_CAPABILITY_0_0 {}
impl ::core::default::Default for PCIX_BRIDGE_CAPABILITY_0_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub union PCIX_BRIDGE_CAPABILITY_1 {
pub Anonymous: PCIX_BRIDGE_CAPABILITY_1_0,
pub AsULONG: u32,
}
impl ::core::marker::Copy for PCIX_BRIDGE_CAPABILITY_1 {}
impl ::core::clone::Clone for PCIX_BRIDGE_CAPABILITY_1 {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for PCIX_BRIDGE_CAPABILITY_1 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for PCIX_BRIDGE_CAPABILITY_1 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct PCIX_BRIDGE_CAPABILITY_1_0 {
pub _bitfield: u32,
}
impl ::core::marker::Copy for PCIX_BRIDGE_CAPABILITY_1_0 {}
impl ::core::clone::Clone for PCIX_BRIDGE_CAPABILITY_1_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for PCIX_BRIDGE_CAPABILITY_1_0 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("PCIX_BRIDGE_CAPABILITY_1_0").field("_bitfield", &self._bitfield).finish()
}
}
impl ::windows_core::TypeKind for PCIX_BRIDGE_CAPABILITY_1_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for PCIX_BRIDGE_CAPABILITY_1_0 {
fn eq(&self, other: &Self) -> bool {
self._bitfield == other._bitfield
}
}
impl ::core::cmp::Eq for PCIX_BRIDGE_CAPABILITY_1_0 {}
impl ::core::default::Default for PCIX_BRIDGE_CAPABILITY_1_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub union PCIX_BRIDGE_CAPABILITY_2 {
pub Anonymous: PCIX_BRIDGE_CAPABILITY_2_0,
pub AsUSHORT: u16,
}
impl ::core::marker::Copy for PCIX_BRIDGE_CAPABILITY_2 {}
impl ::core::clone::Clone for PCIX_BRIDGE_CAPABILITY_2 {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for PCIX_BRIDGE_CAPABILITY_2 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for PCIX_BRIDGE_CAPABILITY_2 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct PCIX_BRIDGE_CAPABILITY_2_0 {
pub _bitfield: u16,
}
impl ::core::marker::Copy for PCIX_BRIDGE_CAPABILITY_2_0 {}
impl ::core::clone::Clone for PCIX_BRIDGE_CAPABILITY_2_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for PCIX_BRIDGE_CAPABILITY_2_0 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("PCIX_BRIDGE_CAPABILITY_2_0").field("_bitfield", &self._bitfield).finish()
}
}
impl ::windows_core::TypeKind for PCIX_BRIDGE_CAPABILITY_2_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for PCIX_BRIDGE_CAPABILITY_2_0 {
fn eq(&self, other: &Self) -> bool {
self._bitfield == other._bitfield
}
}
impl ::core::cmp::Eq for PCIX_BRIDGE_CAPABILITY_2_0 {}
impl ::core::default::Default for PCIX_BRIDGE_CAPABILITY_2_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct PCI_ADVANCED_FEATURES_CAPABILITY {
pub Header: PCI_CAPABILITIES_HEADER,
pub Length: u8,
pub Capabilities: PCI_ADVANCED_FEATURES_CAPABILITY_0,
pub Control: PCI_ADVANCED_FEATURES_CAPABILITY_1,
pub Status: PCI_ADVANCED_FEATURES_CAPABILITY_2,
}
impl ::core::marker::Copy for PCI_ADVANCED_FEATURES_CAPABILITY {}
impl ::core::clone::Clone for PCI_ADVANCED_FEATURES_CAPABILITY {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for PCI_ADVANCED_FEATURES_CAPABILITY {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for PCI_ADVANCED_FEATURES_CAPABILITY {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub union PCI_ADVANCED_FEATURES_CAPABILITY_0 {
pub Anonymous: PCI_ADVANCED_FEATURES_CAPABILITY_0_0,
pub AsUCHAR: u8,
}
impl ::core::marker::Copy for PCI_ADVANCED_FEATURES_CAPABILITY_0 {}
impl ::core::clone::Clone for PCI_ADVANCED_FEATURES_CAPABILITY_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for PCI_ADVANCED_FEATURES_CAPABILITY_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for PCI_ADVANCED_FEATURES_CAPABILITY_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct PCI_ADVANCED_FEATURES_CAPABILITY_0_0 {
pub _bitfield: u8,
}
impl ::core::marker::Copy for PCI_ADVANCED_FEATURES_CAPABILITY_0_0 {}
impl ::core::clone::Clone for PCI_ADVANCED_FEATURES_CAPABILITY_0_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for PCI_ADVANCED_FEATURES_CAPABILITY_0_0 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("PCI_ADVANCED_FEATURES_CAPABILITY_0_0").field("_bitfield", &self._bitfield).finish()
}
}
impl ::windows_core::TypeKind for PCI_ADVANCED_FEATURES_CAPABILITY_0_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for PCI_ADVANCED_FEATURES_CAPABILITY_0_0 {
fn eq(&self, other: &Self) -> bool {
self._bitfield == other._bitfield
}
}
impl ::core::cmp::Eq for PCI_ADVANCED_FEATURES_CAPABILITY_0_0 {}
impl ::core::default::Default for PCI_ADVANCED_FEATURES_CAPABILITY_0_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub union PCI_ADVANCED_FEATURES_CAPABILITY_1 {
pub Anonymous: PCI_ADVANCED_FEATURES_CAPABILITY_1_0,
pub AsUCHAR: u8,
}
impl ::core::marker::Copy for PCI_ADVANCED_FEATURES_CAPABILITY_1 {}
impl ::core::clone::Clone for PCI_ADVANCED_FEATURES_CAPABILITY_1 {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for PCI_ADVANCED_FEATURES_CAPABILITY_1 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for PCI_ADVANCED_FEATURES_CAPABILITY_1 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct PCI_ADVANCED_FEATURES_CAPABILITY_1_0 {
pub _bitfield: u8,
}
impl ::core::marker::Copy for PCI_ADVANCED_FEATURES_CAPABILITY_1_0 {}
impl ::core::clone::Clone for PCI_ADVANCED_FEATURES_CAPABILITY_1_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for PCI_ADVANCED_FEATURES_CAPABILITY_1_0 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("PCI_ADVANCED_FEATURES_CAPABILITY_1_0").field("_bitfield", &self._bitfield).finish()
}
}
impl ::windows_core::TypeKind for PCI_ADVANCED_FEATURES_CAPABILITY_1_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for PCI_ADVANCED_FEATURES_CAPABILITY_1_0 {
fn eq(&self, other: &Self) -> bool {
self._bitfield == other._bitfield
}
}
impl ::core::cmp::Eq for PCI_ADVANCED_FEATURES_CAPABILITY_1_0 {}
impl ::core::default::Default for PCI_ADVANCED_FEATURES_CAPABILITY_1_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub union PCI_ADVANCED_FEATURES_CAPABILITY_2 {
pub Anonymous: PCI_ADVANCED_FEATURES_CAPABILITY_2_0,
pub AsUCHAR: u8,
}
impl ::core::marker::Copy for PCI_ADVANCED_FEATURES_CAPABILITY_2 {}
impl ::core::clone::Clone for PCI_ADVANCED_FEATURES_CAPABILITY_2 {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for PCI_ADVANCED_FEATURES_CAPABILITY_2 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for PCI_ADVANCED_FEATURES_CAPABILITY_2 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct PCI_ADVANCED_FEATURES_CAPABILITY_2_0 {
pub _bitfield: u8,
}
impl ::core::marker::Copy for PCI_ADVANCED_FEATURES_CAPABILITY_2_0 {}
impl ::core::clone::Clone for PCI_ADVANCED_FEATURES_CAPABILITY_2_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for PCI_ADVANCED_FEATURES_CAPABILITY_2_0 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("PCI_ADVANCED_FEATURES_CAPABILITY_2_0").field("_bitfield", &self._bitfield).finish()
}
}
impl ::windows_core::TypeKind for PCI_ADVANCED_FEATURES_CAPABILITY_2_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for PCI_ADVANCED_FEATURES_CAPABILITY_2_0 {
fn eq(&self, other: &Self) -> bool {
self._bitfield == other._bitfield
}
}
impl ::core::cmp::Eq for PCI_ADVANCED_FEATURES_CAPABILITY_2_0 {}
impl ::core::default::Default for PCI_ADVANCED_FEATURES_CAPABILITY_2_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct PCI_AGP_APERTURE_PAGE_SIZE {
pub _bitfield: u16,
}
impl ::core::marker::Copy for PCI_AGP_APERTURE_PAGE_SIZE {}
impl ::core::clone::Clone for PCI_AGP_APERTURE_PAGE_SIZE {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for PCI_AGP_APERTURE_PAGE_SIZE {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("PCI_AGP_APERTURE_PAGE_SIZE").field("_bitfield", &self._bitfield).finish()
}
}
impl ::windows_core::TypeKind for PCI_AGP_APERTURE_PAGE_SIZE {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for PCI_AGP_APERTURE_PAGE_SIZE {
fn eq(&self, other: &Self) -> bool {
self._bitfield == other._bitfield
}
}
impl ::core::cmp::Eq for PCI_AGP_APERTURE_PAGE_SIZE {}
impl ::core::default::Default for PCI_AGP_APERTURE_PAGE_SIZE {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct PCI_AGP_CAPABILITY {
pub Header: PCI_CAPABILITIES_HEADER,
pub _bitfield: u16,
pub AGPStatus: PCI_AGP_CAPABILITY_1,
pub AGPCommand: PCI_AGP_CAPABILITY_0,
}
impl ::core::marker::Copy for PCI_AGP_CAPABILITY {}
impl ::core::clone::Clone for PCI_AGP_CAPABILITY {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for PCI_AGP_CAPABILITY {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("PCI_AGP_CAPABILITY").field("Header", &self.Header).field("_bitfield", &self._bitfield).field("AGPStatus", &self.AGPStatus).field("AGPCommand", &self.AGPCommand).finish()
}
}
impl ::windows_core::TypeKind for PCI_AGP_CAPABILITY {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for PCI_AGP_CAPABILITY {
fn eq(&self, other: &Self) -> bool {
self.Header == other.Header && self._bitfield == other._bitfield && self.AGPStatus == other.AGPStatus && self.AGPCommand == other.AGPCommand
}
}
impl ::core::cmp::Eq for PCI_AGP_CAPABILITY {}
impl ::core::default::Default for PCI_AGP_CAPABILITY {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct PCI_AGP_CAPABILITY_0 {
pub _bitfield: u32,
}
impl ::core::marker::Copy for PCI_AGP_CAPABILITY_0 {}
impl ::core::clone::Clone for PCI_AGP_CAPABILITY_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for PCI_AGP_CAPABILITY_0 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("PCI_AGP_CAPABILITY_0").field("_bitfield", &self._bitfield).finish()
}
}
impl ::windows_core::TypeKind for PCI_AGP_CAPABILITY_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for PCI_AGP_CAPABILITY_0 {
fn eq(&self, other: &Self) -> bool {
self._bitfield == other._bitfield
}
}
impl ::core::cmp::Eq for PCI_AGP_CAPABILITY_0 {}
impl ::core::default::Default for PCI_AGP_CAPABILITY_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct PCI_AGP_CAPABILITY_1 {
pub _bitfield: u32,
}
impl ::core::marker::Copy for PCI_AGP_CAPABILITY_1 {}
impl ::core::clone::Clone for PCI_AGP_CAPABILITY_1 {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for PCI_AGP_CAPABILITY_1 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("PCI_AGP_CAPABILITY_1").field("_bitfield", &self._bitfield).finish()
}
}
impl ::windows_core::TypeKind for PCI_AGP_CAPABILITY_1 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for PCI_AGP_CAPABILITY_1 {
fn eq(&self, other: &Self) -> bool {
self._bitfield == other._bitfield
}
}
impl ::core::cmp::Eq for PCI_AGP_CAPABILITY_1 {}
impl ::core::default::Default for PCI_AGP_CAPABILITY_1 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct PCI_AGP_CONTROL {
pub _bitfield: u32,
}
impl ::core::marker::Copy for PCI_AGP_CONTROL {}
impl ::core::clone::Clone for PCI_AGP_CONTROL {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for PCI_AGP_CONTROL {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("PCI_AGP_CONTROL").field("_bitfield", &self._bitfield).finish()
}
}
impl ::windows_core::TypeKind for PCI_AGP_CONTROL {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for PCI_AGP_CONTROL {
fn eq(&self, other: &Self) -> bool {
self._bitfield == other._bitfield
}
}
impl ::core::cmp::Eq for PCI_AGP_CONTROL {}
impl ::core::default::Default for PCI_AGP_CONTROL {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct PCI_AGP_EXTENDED_CAPABILITY {
pub IsochStatus: PCI_AGP_ISOCH_STATUS,
pub AgpControl: PCI_AGP_CONTROL,
pub ApertureSize: u16,
pub AperturePageSize: PCI_AGP_APERTURE_PAGE_SIZE,
pub GartLow: u32,
pub GartHigh: u32,
pub IsochCommand: PCI_AGP_ISOCH_COMMAND,
}
impl ::core::marker::Copy for PCI_AGP_EXTENDED_CAPABILITY {}
impl ::core::clone::Clone for PCI_AGP_EXTENDED_CAPABILITY {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for PCI_AGP_EXTENDED_CAPABILITY {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("PCI_AGP_EXTENDED_CAPABILITY").field("IsochStatus", &self.IsochStatus).field("AgpControl", &self.AgpControl).field("ApertureSize", &self.ApertureSize).field("AperturePageSize", &self.AperturePageSize).field("GartLow", &self.GartLow).field("GartHigh", &self.GartHigh).field("IsochCommand", &self.IsochCommand).finish()
}
}
impl ::windows_core::TypeKind for PCI_AGP_EXTENDED_CAPABILITY {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for PCI_AGP_EXTENDED_CAPABILITY {
fn eq(&self, other: &Self) -> bool {
self.IsochStatus == other.IsochStatus && self.AgpControl == other.AgpControl && self.ApertureSize == other.ApertureSize && self.AperturePageSize == other.AperturePageSize && self.GartLow == other.GartLow && self.GartHigh == other.GartHigh && self.IsochCommand == other.IsochCommand
}
}
impl ::core::cmp::Eq for PCI_AGP_EXTENDED_CAPABILITY {}
impl ::core::default::Default for PCI_AGP_EXTENDED_CAPABILITY {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct PCI_AGP_ISOCH_COMMAND {
pub _bitfield: u16,
}
impl ::core::marker::Copy for PCI_AGP_ISOCH_COMMAND {}
impl ::core::clone::Clone for PCI_AGP_ISOCH_COMMAND {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for PCI_AGP_ISOCH_COMMAND {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("PCI_AGP_ISOCH_COMMAND").field("_bitfield", &self._bitfield).finish()
}
}
impl ::windows_core::TypeKind for PCI_AGP_ISOCH_COMMAND {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for PCI_AGP_ISOCH_COMMAND {
fn eq(&self, other: &Self) -> bool {
self._bitfield == other._bitfield
}
}
impl ::core::cmp::Eq for PCI_AGP_ISOCH_COMMAND {}
impl ::core::default::Default for PCI_AGP_ISOCH_COMMAND {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct PCI_AGP_ISOCH_STATUS {
pub _bitfield: u32,
}
impl ::core::marker::Copy for PCI_AGP_ISOCH_STATUS {}
impl ::core::clone::Clone for PCI_AGP_ISOCH_STATUS {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for PCI_AGP_ISOCH_STATUS {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("PCI_AGP_ISOCH_STATUS").field("_bitfield", &self._bitfield).finish()
}
}
impl ::windows_core::TypeKind for PCI_AGP_ISOCH_STATUS {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for PCI_AGP_ISOCH_STATUS {
fn eq(&self, other: &Self) -> bool {
self._bitfield == other._bitfield
}
}
impl ::core::cmp::Eq for PCI_AGP_ISOCH_STATUS {}
impl ::core::default::Default for PCI_AGP_ISOCH_STATUS {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub struct PCI_ATS_INTERFACE {
pub Size: u16,
pub Version: u16,
pub Context: *mut ::core::ffi::c_void,
pub InterfaceReference: PINTERFACE_REFERENCE,
pub InterfaceDereference: PINTERFACE_DEREFERENCE,
pub SetAddressTranslationServices: PPCI_SET_ATS,
pub InvalidateQueueDepth: u8,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for PCI_ATS_INTERFACE {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for PCI_ATS_INTERFACE {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::fmt::Debug for PCI_ATS_INTERFACE {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("PCI_ATS_INTERFACE").field("Size", &self.Size).field("Version", &self.Version).field("Context", &self.Context).field("InvalidateQueueDepth", &self.InvalidateQueueDepth).finish()
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for PCI_ATS_INTERFACE {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for PCI_ATS_INTERFACE {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct PCI_BUS_INTERFACE_STANDARD {
pub Size: u16,
pub Version: u16,
pub Context: *mut ::core::ffi::c_void,
pub InterfaceReference: PINTERFACE_REFERENCE,
pub InterfaceDereference: PINTERFACE_DEREFERENCE,
pub ReadConfig: PPCI_READ_WRITE_CONFIG,
pub WriteConfig: PPCI_READ_WRITE_CONFIG,
pub PinToLine: PPCI_PIN_TO_LINE,
pub LineToPin: PPCI_LINE_TO_PIN,
pub RootBusCapability: PPCI_ROOT_BUS_CAPABILITY,
pub ExpressWakeControl: PPCI_EXPRESS_WAKE_CONTROL,
pub PrepareMultistageResume: PPCI_PREPARE_MULTISTAGE_RESUME,
}
impl ::core::marker::Copy for PCI_BUS_INTERFACE_STANDARD {}
impl ::core::clone::Clone for PCI_BUS_INTERFACE_STANDARD {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for PCI_BUS_INTERFACE_STANDARD {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("PCI_BUS_INTERFACE_STANDARD").field("Size", &self.Size).field("Version", &self.Version).field("Context", &self.Context).finish()
}
}
impl ::windows_core::TypeKind for PCI_BUS_INTERFACE_STANDARD {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for PCI_BUS_INTERFACE_STANDARD {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct PCI_CAPABILITIES_HEADER {
pub CapabilityID: u8,
pub Next: u8,
}
impl ::core::marker::Copy for PCI_CAPABILITIES_HEADER {}
impl ::core::clone::Clone for PCI_CAPABILITIES_HEADER {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for PCI_CAPABILITIES_HEADER {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("PCI_CAPABILITIES_HEADER").field("CapabilityID", &self.CapabilityID).field("Next", &self.Next).finish()
}
}
impl ::windows_core::TypeKind for PCI_CAPABILITIES_HEADER {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for PCI_CAPABILITIES_HEADER {
fn eq(&self, other: &Self) -> bool {
self.CapabilityID == other.CapabilityID && self.Next == other.Next
}
}
impl ::core::cmp::Eq for PCI_CAPABILITIES_HEADER {}
impl ::core::default::Default for PCI_CAPABILITIES_HEADER {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct PCI_COMMON_CONFIG {
pub Base: PCI_COMMON_HEADER,
pub DeviceSpecific: [u8; 192],
}
impl ::core::marker::Copy for PCI_COMMON_CONFIG {}
impl ::core::clone::Clone for PCI_COMMON_CONFIG {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for PCI_COMMON_CONFIG {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for PCI_COMMON_CONFIG {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct PCI_COMMON_HEADER {
pub VendorID: u16,
pub DeviceID: u16,
pub Command: u16,
pub Status: u16,
pub RevisionID: u8,
pub ProgIf: u8,
pub SubClass: u8,
pub BaseClass: u8,
pub CacheLineSize: u8,
pub LatencyTimer: u8,
pub HeaderType: u8,
pub BIST: u8,
pub u: PCI_COMMON_HEADER_0,
}
impl ::core::marker::Copy for PCI_COMMON_HEADER {}
impl ::core::clone::Clone for PCI_COMMON_HEADER {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for PCI_COMMON_HEADER {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for PCI_COMMON_HEADER {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub union PCI_COMMON_HEADER_0 {
pub type0: PCI_COMMON_HEADER_0_0,
pub type1: PCI_COMMON_HEADER_0_1,
pub type2: PCI_COMMON_HEADER_0_2,
}
impl ::core::marker::Copy for PCI_COMMON_HEADER_0 {}
impl ::core::clone::Clone for PCI_COMMON_HEADER_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for PCI_COMMON_HEADER_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for PCI_COMMON_HEADER_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct PCI_COMMON_HEADER_0_0 {
pub BaseAddresses: [u32; 6],
pub CIS: u32,
pub SubVendorID: u16,
pub SubSystemID: u16,
pub ROMBaseAddress: u32,
pub CapabilitiesPtr: u8,
pub Reserved1: [u8; 3],
pub Reserved2: u32,
pub InterruptLine: u8,
pub InterruptPin: u8,
pub MinimumGrant: u8,
pub MaximumLatency: u8,
}
impl ::core::marker::Copy for PCI_COMMON_HEADER_0_0 {}
impl ::core::clone::Clone for PCI_COMMON_HEADER_0_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for PCI_COMMON_HEADER_0_0 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("PCI_COMMON_HEADER_0_0")
.field("BaseAddresses", &self.BaseAddresses)
.field("CIS", &self.CIS)
.field("SubVendorID", &self.SubVendorID)
.field("SubSystemID", &self.SubSystemID)
.field("ROMBaseAddress", &self.ROMBaseAddress)
.field("CapabilitiesPtr", &self.CapabilitiesPtr)
.field("Reserved1", &self.Reserved1)
.field("Reserved2", &self.Reserved2)
.field("InterruptLine", &self.InterruptLine)
.field("InterruptPin", &self.InterruptPin)
.field("MinimumGrant", &self.MinimumGrant)
.field("MaximumLatency", &self.MaximumLatency)
.finish()
}
}
impl ::windows_core::TypeKind for PCI_COMMON_HEADER_0_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for PCI_COMMON_HEADER_0_0 {
fn eq(&self, other: &Self) -> bool {
self.BaseAddresses == other.BaseAddresses && self.CIS == other.CIS && self.SubVendorID == other.SubVendorID && self.SubSystemID == other.SubSystemID && self.ROMBaseAddress == other.ROMBaseAddress && self.CapabilitiesPtr == other.CapabilitiesPtr && self.Reserved1 == other.Reserved1 && self.Reserved2 == other.Reserved2 && self.InterruptLine == other.InterruptLine && self.InterruptPin == other.InterruptPin && self.MinimumGrant == other.MinimumGrant && self.MaximumLatency == other.MaximumLatency
}
}
impl ::core::cmp::Eq for PCI_COMMON_HEADER_0_0 {}
impl ::core::default::Default for PCI_COMMON_HEADER_0_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct PCI_COMMON_HEADER_0_1 {
pub BaseAddresses: [u32; 2],
pub PrimaryBus: u8,
pub SecondaryBus: u8,
pub SubordinateBus: u8,
pub SecondaryLatency: u8,
pub IOBase: u8,
pub IOLimit: u8,
pub SecondaryStatus: u16,
pub MemoryBase: u16,
pub MemoryLimit: u16,
pub PrefetchBase: u16,
pub PrefetchLimit: u16,
pub PrefetchBaseUpper32: u32,
pub PrefetchLimitUpper32: u32,
pub IOBaseUpper16: u16,
pub IOLimitUpper16: u16,
pub CapabilitiesPtr: u8,
pub Reserved1: [u8; 3],
pub ROMBaseAddress: u32,
pub InterruptLine: u8,
pub InterruptPin: u8,
pub BridgeControl: u16,
}
impl ::core::marker::Copy for PCI_COMMON_HEADER_0_1 {}
impl ::core::clone::Clone for PCI_COMMON_HEADER_0_1 {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for PCI_COMMON_HEADER_0_1 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("PCI_COMMON_HEADER_0_1")
.field("BaseAddresses", &self.BaseAddresses)
.field("PrimaryBus", &self.PrimaryBus)
.field("SecondaryBus", &self.SecondaryBus)
.field("SubordinateBus", &self.SubordinateBus)
.field("SecondaryLatency", &self.SecondaryLatency)
.field("IOBase", &self.IOBase)
.field("IOLimit", &self.IOLimit)
.field("SecondaryStatus", &self.SecondaryStatus)
.field("MemoryBase", &self.MemoryBase)
.field("MemoryLimit", &self.MemoryLimit)
.field("PrefetchBase", &self.PrefetchBase)
.field("PrefetchLimit", &self.PrefetchLimit)
.field("PrefetchBaseUpper32", &self.PrefetchBaseUpper32)
.field("PrefetchLimitUpper32", &self.PrefetchLimitUpper32)
.field("IOBaseUpper16", &self.IOBaseUpper16)
.field("IOLimitUpper16", &self.IOLimitUpper16)
.field("CapabilitiesPtr", &self.CapabilitiesPtr)
.field("Reserved1", &self.Reserved1)
.field("ROMBaseAddress", &self.ROMBaseAddress)
.field("InterruptLine", &self.InterruptLine)
.field("InterruptPin", &self.InterruptPin)
.field("BridgeControl", &self.BridgeControl)
.finish()
}
}
impl ::windows_core::TypeKind for PCI_COMMON_HEADER_0_1 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for PCI_COMMON_HEADER_0_1 {
fn eq(&self, other: &Self) -> bool {
self.BaseAddresses == other.BaseAddresses
&& self.PrimaryBus == other.PrimaryBus
&& self.SecondaryBus == other.SecondaryBus
&& self.SubordinateBus == other.SubordinateBus
&& self.SecondaryLatency == other.SecondaryLatency
&& self.IOBase == other.IOBase
&& self.IOLimit == other.IOLimit
&& self.SecondaryStatus == other.SecondaryStatus
&& self.MemoryBase == other.MemoryBase
&& self.MemoryLimit == other.MemoryLimit
&& self.PrefetchBase == other.PrefetchBase
&& self.PrefetchLimit == other.PrefetchLimit
&& self.PrefetchBaseUpper32 == other.PrefetchBaseUpper32
&& self.PrefetchLimitUpper32 == other.PrefetchLimitUpper32
&& self.IOBaseUpper16 == other.IOBaseUpper16
&& self.IOLimitUpper16 == other.IOLimitUpper16
&& self.CapabilitiesPtr == other.CapabilitiesPtr
&& self.Reserved1 == other.Reserved1
&& self.ROMBaseAddress == other.ROMBaseAddress
&& self.InterruptLine == other.InterruptLine
&& self.InterruptPin == other.InterruptPin
&& self.BridgeControl == other.BridgeControl
}
}
impl ::core::cmp::Eq for PCI_COMMON_HEADER_0_1 {}
impl ::core::default::Default for PCI_COMMON_HEADER_0_1 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct PCI_COMMON_HEADER_0_2 {
pub SocketRegistersBaseAddress: u32,
pub CapabilitiesPtr: u8,
pub Reserved: u8,
pub SecondaryStatus: u16,
pub PrimaryBus: u8,
pub SecondaryBus: u8,
pub SubordinateBus: u8,
pub SecondaryLatency: u8,
pub Range: [PCI_COMMON_HEADER_0_2_0; 4],
pub InterruptLine: u8,
pub InterruptPin: u8,
pub BridgeControl: u16,
}
impl ::core::marker::Copy for PCI_COMMON_HEADER_0_2 {}
impl ::core::clone::Clone for PCI_COMMON_HEADER_0_2 {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for PCI_COMMON_HEADER_0_2 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("PCI_COMMON_HEADER_0_2")
.field("SocketRegistersBaseAddress", &self.SocketRegistersBaseAddress)
.field("CapabilitiesPtr", &self.CapabilitiesPtr)
.field("Reserved", &self.Reserved)
.field("SecondaryStatus", &self.SecondaryStatus)
.field("PrimaryBus", &self.PrimaryBus)
.field("SecondaryBus", &self.SecondaryBus)
.field("SubordinateBus", &self.SubordinateBus)
.field("SecondaryLatency", &self.SecondaryLatency)
.field("Range", &self.Range)
.field("InterruptLine", &self.InterruptLine)
.field("InterruptPin", &self.InterruptPin)
.field("BridgeControl", &self.BridgeControl)
.finish()
}
}
impl ::windows_core::TypeKind for PCI_COMMON_HEADER_0_2 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for PCI_COMMON_HEADER_0_2 {
fn eq(&self, other: &Self) -> bool {
self.SocketRegistersBaseAddress == other.SocketRegistersBaseAddress && self.CapabilitiesPtr == other.CapabilitiesPtr && self.Reserved == other.Reserved && self.SecondaryStatus == other.SecondaryStatus && self.PrimaryBus == other.PrimaryBus && self.SecondaryBus == other.SecondaryBus && self.SubordinateBus == other.SubordinateBus && self.SecondaryLatency == other.SecondaryLatency && self.Range == other.Range && self.InterruptLine == other.InterruptLine && self.InterruptPin == other.InterruptPin && self.BridgeControl == other.BridgeControl
}
}
impl ::core::cmp::Eq for PCI_COMMON_HEADER_0_2 {}
impl ::core::default::Default for PCI_COMMON_HEADER_0_2 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct PCI_COMMON_HEADER_0_2_0 {
pub Base: u32,
pub Limit: u32,
}
impl ::core::marker::Copy for PCI_COMMON_HEADER_0_2_0 {}
impl ::core::clone::Clone for PCI_COMMON_HEADER_0_2_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for PCI_COMMON_HEADER_0_2_0 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("PCI_COMMON_HEADER_0_2_0").field("Base", &self.Base).field("Limit", &self.Limit).finish()
}
}
impl ::windows_core::TypeKind for PCI_COMMON_HEADER_0_2_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for PCI_COMMON_HEADER_0_2_0 {
fn eq(&self, other: &Self) -> bool {
self.Base == other.Base && self.Limit == other.Limit
}
}
impl ::core::cmp::Eq for PCI_COMMON_HEADER_0_2_0 {}
impl ::core::default::Default for PCI_COMMON_HEADER_0_2_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct PCI_DEBUGGING_DEVICE_IN_USE {
pub Segment: u16,
pub Bus: u32,
pub Slot: u32,
}
impl ::core::marker::Copy for PCI_DEBUGGING_DEVICE_IN_USE {}
impl ::core::clone::Clone for PCI_DEBUGGING_DEVICE_IN_USE {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for PCI_DEBUGGING_DEVICE_IN_USE {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("PCI_DEBUGGING_DEVICE_IN_USE").field("Segment", &self.Segment).field("Bus", &self.Bus).field("Slot", &self.Slot).finish()
}
}
impl ::windows_core::TypeKind for PCI_DEBUGGING_DEVICE_IN_USE {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for PCI_DEBUGGING_DEVICE_IN_USE {
fn eq(&self, other: &Self) -> bool {
self.Segment == other.Segment && self.Bus == other.Bus && self.Slot == other.Slot
}
}
impl ::core::cmp::Eq for PCI_DEBUGGING_DEVICE_IN_USE {}
impl ::core::default::Default for PCI_DEBUGGING_DEVICE_IN_USE {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct PCI_DEVICE_PRESENCE_PARAMETERS {
pub Size: u32,
pub Flags: u32,
pub VendorID: u16,
pub DeviceID: u16,
pub RevisionID: u8,
pub SubVendorID: u16,
pub SubSystemID: u16,
pub BaseClass: u8,
pub SubClass: u8,
pub ProgIf: u8,
}
impl ::core::marker::Copy for PCI_DEVICE_PRESENCE_PARAMETERS {}
impl ::core::clone::Clone for PCI_DEVICE_PRESENCE_PARAMETERS {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for PCI_DEVICE_PRESENCE_PARAMETERS {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("PCI_DEVICE_PRESENCE_PARAMETERS").field("Size", &self.Size).field("Flags", &self.Flags).field("VendorID", &self.VendorID).field("DeviceID", &self.DeviceID).field("RevisionID", &self.RevisionID).field("SubVendorID", &self.SubVendorID).field("SubSystemID", &self.SubSystemID).field("BaseClass", &self.BaseClass).field("SubClass", &self.SubClass).field("ProgIf", &self.ProgIf).finish()
}
}
impl ::windows_core::TypeKind for PCI_DEVICE_PRESENCE_PARAMETERS {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for PCI_DEVICE_PRESENCE_PARAMETERS {
fn eq(&self, other: &Self) -> bool {
self.Size == other.Size && self.Flags == other.Flags && self.VendorID == other.VendorID && self.DeviceID == other.DeviceID && self.RevisionID == other.RevisionID && self.SubVendorID == other.SubVendorID && self.SubSystemID == other.SubSystemID && self.BaseClass == other.BaseClass && self.SubClass == other.SubClass && self.ProgIf == other.ProgIf
}
}
impl ::core::cmp::Eq for PCI_DEVICE_PRESENCE_PARAMETERS {}
impl ::core::default::Default for PCI_DEVICE_PRESENCE_PARAMETERS {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub struct PCI_DEVICE_PRESENT_INTERFACE {
pub Size: u16,
pub Version: u16,
pub Context: *mut ::core::ffi::c_void,
pub InterfaceReference: PINTERFACE_REFERENCE,
pub InterfaceDereference: PINTERFACE_DEREFERENCE,
pub IsDevicePresent: PPCI_IS_DEVICE_PRESENT,
pub IsDevicePresentEx: PPCI_IS_DEVICE_PRESENT_EX,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for PCI_DEVICE_PRESENT_INTERFACE {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for PCI_DEVICE_PRESENT_INTERFACE {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::fmt::Debug for PCI_DEVICE_PRESENT_INTERFACE {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("PCI_DEVICE_PRESENT_INTERFACE").field("Size", &self.Size).field("Version", &self.Version).field("Context", &self.Context).finish()
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for PCI_DEVICE_PRESENT_INTERFACE {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for PCI_DEVICE_PRESENT_INTERFACE {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct PCI_EXPRESS_ACS_CAPABILITY {
pub Header: PCI_EXPRESS_ENHANCED_CAPABILITY_HEADER,
pub Capability: PCI_EXPRESS_ACS_CAPABILITY_REGISTER,
pub Control: PCI_EXPRESS_ACS_CONTROL,
pub EgressControl: [u32; 1],
}
impl ::core::marker::Copy for PCI_EXPRESS_ACS_CAPABILITY {}
impl ::core::clone::Clone for PCI_EXPRESS_ACS_CAPABILITY {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for PCI_EXPRESS_ACS_CAPABILITY {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for PCI_EXPRESS_ACS_CAPABILITY {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub union PCI_EXPRESS_ACS_CAPABILITY_REGISTER {
pub Anonymous: PCI_EXPRESS_ACS_CAPABILITY_REGISTER_0,
pub AsUSHORT: u16,
}
impl ::core::marker::Copy for PCI_EXPRESS_ACS_CAPABILITY_REGISTER {}
impl ::core::clone::Clone for PCI_EXPRESS_ACS_CAPABILITY_REGISTER {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for PCI_EXPRESS_ACS_CAPABILITY_REGISTER {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for PCI_EXPRESS_ACS_CAPABILITY_REGISTER {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct PCI_EXPRESS_ACS_CAPABILITY_REGISTER_0 {
pub _bitfield: u16,
}
impl ::core::marker::Copy for PCI_EXPRESS_ACS_CAPABILITY_REGISTER_0 {}
impl ::core::clone::Clone for PCI_EXPRESS_ACS_CAPABILITY_REGISTER_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for PCI_EXPRESS_ACS_CAPABILITY_REGISTER_0 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("PCI_EXPRESS_ACS_CAPABILITY_REGISTER_0").field("_bitfield", &self._bitfield).finish()
}
}
impl ::windows_core::TypeKind for PCI_EXPRESS_ACS_CAPABILITY_REGISTER_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for PCI_EXPRESS_ACS_CAPABILITY_REGISTER_0 {
fn eq(&self, other: &Self) -> bool {
self._bitfield == other._bitfield
}
}
impl ::core::cmp::Eq for PCI_EXPRESS_ACS_CAPABILITY_REGISTER_0 {}
impl ::core::default::Default for PCI_EXPRESS_ACS_CAPABILITY_REGISTER_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub union PCI_EXPRESS_ACS_CONTROL {
pub Anonymous: PCI_EXPRESS_ACS_CONTROL_0,
pub AsUSHORT: u16,
}
impl ::core::marker::Copy for PCI_EXPRESS_ACS_CONTROL {}
impl ::core::clone::Clone for PCI_EXPRESS_ACS_CONTROL {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for PCI_EXPRESS_ACS_CONTROL {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for PCI_EXPRESS_ACS_CONTROL {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct PCI_EXPRESS_ACS_CONTROL_0 {
pub _bitfield: u16,
}
impl ::core::marker::Copy for PCI_EXPRESS_ACS_CONTROL_0 {}
impl ::core::clone::Clone for PCI_EXPRESS_ACS_CONTROL_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for PCI_EXPRESS_ACS_CONTROL_0 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("PCI_EXPRESS_ACS_CONTROL_0").field("_bitfield", &self._bitfield).finish()
}
}
impl ::windows_core::TypeKind for PCI_EXPRESS_ACS_CONTROL_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for PCI_EXPRESS_ACS_CONTROL_0 {
fn eq(&self, other: &Self) -> bool {
self._bitfield == other._bitfield
}
}
impl ::core::cmp::Eq for PCI_EXPRESS_ACS_CONTROL_0 {}
impl ::core::default::Default for PCI_EXPRESS_ACS_CONTROL_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub union PCI_EXPRESS_AER_CAPABILITIES {
pub Anonymous: PCI_EXPRESS_AER_CAPABILITIES_0,
pub AsULONG: u32,
}
impl ::core::marker::Copy for PCI_EXPRESS_AER_CAPABILITIES {}
impl ::core::clone::Clone for PCI_EXPRESS_AER_CAPABILITIES {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for PCI_EXPRESS_AER_CAPABILITIES {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for PCI_EXPRESS_AER_CAPABILITIES {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct PCI_EXPRESS_AER_CAPABILITIES_0 {
pub _bitfield: u32,
}
impl ::core::marker::Copy for PCI_EXPRESS_AER_CAPABILITIES_0 {}
impl ::core::clone::Clone for PCI_EXPRESS_AER_CAPABILITIES_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for PCI_EXPRESS_AER_CAPABILITIES_0 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("PCI_EXPRESS_AER_CAPABILITIES_0").field("_bitfield", &self._bitfield).finish()
}
}
impl ::windows_core::TypeKind for PCI_EXPRESS_AER_CAPABILITIES_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for PCI_EXPRESS_AER_CAPABILITIES_0 {
fn eq(&self, other: &Self) -> bool {
self._bitfield == other._bitfield
}
}
impl ::core::cmp::Eq for PCI_EXPRESS_AER_CAPABILITIES_0 {}
impl ::core::default::Default for PCI_EXPRESS_AER_CAPABILITIES_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct PCI_EXPRESS_AER_CAPABILITY {
pub Header: PCI_EXPRESS_ENHANCED_CAPABILITY_HEADER,
pub UncorrectableErrorStatus: PCI_EXPRESS_UNCORRECTABLE_ERROR_STATUS,
pub UncorrectableErrorMask: PCI_EXPRESS_UNCORRECTABLE_ERROR_MASK,
pub UncorrectableErrorSeverity: PCI_EXPRESS_UNCORRECTABLE_ERROR_SEVERITY,
pub CorrectableErrorStatus: PCI_EXPRESS_CORRECTABLE_ERROR_STATUS,
pub CorrectableErrorMask: PCI_EXPRESS_CORRECTABLE_ERROR_MASK,
pub CapabilitiesAndControl: PCI_EXPRESS_AER_CAPABILITIES,
pub HeaderLog: [u32; 4],
pub SecUncorrectableErrorStatus: PCI_EXPRESS_SEC_UNCORRECTABLE_ERROR_STATUS,
pub SecUncorrectableErrorMask: PCI_EXPRESS_SEC_UNCORRECTABLE_ERROR_MASK,
pub SecUncorrectableErrorSeverity: PCI_EXPRESS_SEC_UNCORRECTABLE_ERROR_SEVERITY,
pub SecCapabilitiesAndControl: PCI_EXPRESS_SEC_AER_CAPABILITIES,
pub SecHeaderLog: [u32; 4],
}
impl ::core::marker::Copy for PCI_EXPRESS_AER_CAPABILITY {}
impl ::core::clone::Clone for PCI_EXPRESS_AER_CAPABILITY {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for PCI_EXPRESS_AER_CAPABILITY {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for PCI_EXPRESS_AER_CAPABILITY {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct PCI_EXPRESS_ARI_CAPABILITY {
pub Header: PCI_EXPRESS_ENHANCED_CAPABILITY_HEADER,
pub Capability: PCI_EXPRESS_ARI_CAPABILITY_REGISTER,
pub Control: PCI_EXPRESS_ARI_CONTROL_REGISTER,
}
impl ::core::marker::Copy for PCI_EXPRESS_ARI_CAPABILITY {}
impl ::core::clone::Clone for PCI_EXPRESS_ARI_CAPABILITY {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for PCI_EXPRESS_ARI_CAPABILITY {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("PCI_EXPRESS_ARI_CAPABILITY").field("Header", &self.Header).field("Capability", &self.Capability).field("Control", &self.Control).finish()
}
}
impl ::windows_core::TypeKind for PCI_EXPRESS_ARI_CAPABILITY {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for PCI_EXPRESS_ARI_CAPABILITY {
fn eq(&self, other: &Self) -> bool {
self.Header == other.Header && self.Capability == other.Capability && self.Control == other.Control
}
}
impl ::core::cmp::Eq for PCI_EXPRESS_ARI_CAPABILITY {}
impl ::core::default::Default for PCI_EXPRESS_ARI_CAPABILITY {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct PCI_EXPRESS_ARI_CAPABILITY_REGISTER {
pub _bitfield: u16,
}
impl ::core::marker::Copy for PCI_EXPRESS_ARI_CAPABILITY_REGISTER {}
impl ::core::clone::Clone for PCI_EXPRESS_ARI_CAPABILITY_REGISTER {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for PCI_EXPRESS_ARI_CAPABILITY_REGISTER {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("PCI_EXPRESS_ARI_CAPABILITY_REGISTER").field("_bitfield", &self._bitfield).finish()
}
}
impl ::windows_core::TypeKind for PCI_EXPRESS_ARI_CAPABILITY_REGISTER {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for PCI_EXPRESS_ARI_CAPABILITY_REGISTER {
fn eq(&self, other: &Self) -> bool {
self._bitfield == other._bitfield
}
}
impl ::core::cmp::Eq for PCI_EXPRESS_ARI_CAPABILITY_REGISTER {}
impl ::core::default::Default for PCI_EXPRESS_ARI_CAPABILITY_REGISTER {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct PCI_EXPRESS_ARI_CONTROL_REGISTER {
pub _bitfield: u16,
}
impl ::core::marker::Copy for PCI_EXPRESS_ARI_CONTROL_REGISTER {}
impl ::core::clone::Clone for PCI_EXPRESS_ARI_CONTROL_REGISTER {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for PCI_EXPRESS_ARI_CONTROL_REGISTER {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("PCI_EXPRESS_ARI_CONTROL_REGISTER").field("_bitfield", &self._bitfield).finish()
}
}
impl ::windows_core::TypeKind for PCI_EXPRESS_ARI_CONTROL_REGISTER {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for PCI_EXPRESS_ARI_CONTROL_REGISTER {
fn eq(&self, other: &Self) -> bool {
self._bitfield == other._bitfield
}
}
impl ::core::cmp::Eq for PCI_EXPRESS_ARI_CONTROL_REGISTER {}
impl ::core::default::Default for PCI_EXPRESS_ARI_CONTROL_REGISTER {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct PCI_EXPRESS_ATS_CAPABILITY {
pub Header: PCI_EXPRESS_ENHANCED_CAPABILITY_HEADER,
pub Capability: PCI_EXPRESS_ATS_CAPABILITY_REGISTER,
pub Control: PCI_EXPRESS_ATS_CONTROL_REGISTER,
}
impl ::core::marker::Copy for PCI_EXPRESS_ATS_CAPABILITY {}
impl ::core::clone::Clone for PCI_EXPRESS_ATS_CAPABILITY {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for PCI_EXPRESS_ATS_CAPABILITY {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for PCI_EXPRESS_ATS_CAPABILITY {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct PCI_EXPRESS_ATS_CAPABILITY_REGISTER {
pub _bitfield: u16,
}
impl ::core::marker::Copy for PCI_EXPRESS_ATS_CAPABILITY_REGISTER {}
impl ::core::clone::Clone for PCI_EXPRESS_ATS_CAPABILITY_REGISTER {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for PCI_EXPRESS_ATS_CAPABILITY_REGISTER {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("PCI_EXPRESS_ATS_CAPABILITY_REGISTER").field("_bitfield", &self._bitfield).finish()
}
}
impl ::windows_core::TypeKind for PCI_EXPRESS_ATS_CAPABILITY_REGISTER {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for PCI_EXPRESS_ATS_CAPABILITY_REGISTER {
fn eq(&self, other: &Self) -> bool {
self._bitfield == other._bitfield
}
}
impl ::core::cmp::Eq for PCI_EXPRESS_ATS_CAPABILITY_REGISTER {}
impl ::core::default::Default for PCI_EXPRESS_ATS_CAPABILITY_REGISTER {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub union PCI_EXPRESS_ATS_CONTROL_REGISTER {
pub Anonymous: PCI_EXPRESS_ATS_CONTROL_REGISTER_0,
pub AsUSHORT: u16,
}
impl ::core::marker::Copy for PCI_EXPRESS_ATS_CONTROL_REGISTER {}
impl ::core::clone::Clone for PCI_EXPRESS_ATS_CONTROL_REGISTER {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for PCI_EXPRESS_ATS_CONTROL_REGISTER {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for PCI_EXPRESS_ATS_CONTROL_REGISTER {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct PCI_EXPRESS_ATS_CONTROL_REGISTER_0 {
pub _bitfield: u16,
}
impl ::core::marker::Copy for PCI_EXPRESS_ATS_CONTROL_REGISTER_0 {}
impl ::core::clone::Clone for PCI_EXPRESS_ATS_CONTROL_REGISTER_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for PCI_EXPRESS_ATS_CONTROL_REGISTER_0 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("PCI_EXPRESS_ATS_CONTROL_REGISTER_0").field("_bitfield", &self._bitfield).finish()
}
}
impl ::windows_core::TypeKind for PCI_EXPRESS_ATS_CONTROL_REGISTER_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for PCI_EXPRESS_ATS_CONTROL_REGISTER_0 {
fn eq(&self, other: &Self) -> bool {
self._bitfield == other._bitfield
}
}
impl ::core::cmp::Eq for PCI_EXPRESS_ATS_CONTROL_REGISTER_0 {}
impl ::core::default::Default for PCI_EXPRESS_ATS_CONTROL_REGISTER_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct PCI_EXPRESS_BRIDGE_AER_CAPABILITY {
pub Header: PCI_EXPRESS_ENHANCED_CAPABILITY_HEADER,
pub UncorrectableErrorStatus: PCI_EXPRESS_UNCORRECTABLE_ERROR_STATUS,
pub UncorrectableErrorMask: PCI_EXPRESS_UNCORRECTABLE_ERROR_MASK,
pub UncorrectableErrorSeverity: PCI_EXPRESS_UNCORRECTABLE_ERROR_SEVERITY,
pub CorrectableErrorStatus: PCI_EXPRESS_CORRECTABLE_ERROR_STATUS,
pub CorrectableErrorMask: PCI_EXPRESS_CORRECTABLE_ERROR_MASK,
pub CapabilitiesAndControl: PCI_EXPRESS_AER_CAPABILITIES,
pub HeaderLog: [u32; 4],
pub SecUncorrectableErrorStatus: PCI_EXPRESS_SEC_UNCORRECTABLE_ERROR_STATUS,
pub SecUncorrectableErrorMask: PCI_EXPRESS_SEC_UNCORRECTABLE_ERROR_MASK,
pub SecUncorrectableErrorSeverity: PCI_EXPRESS_SEC_UNCORRECTABLE_ERROR_SEVERITY,
pub SecCapabilitiesAndControl: PCI_EXPRESS_SEC_AER_CAPABILITIES,
pub SecHeaderLog: [u32; 4],
}
impl ::core::marker::Copy for PCI_EXPRESS_BRIDGE_AER_CAPABILITY {}
impl ::core::clone::Clone for PCI_EXPRESS_BRIDGE_AER_CAPABILITY {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for PCI_EXPRESS_BRIDGE_AER_CAPABILITY {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for PCI_EXPRESS_BRIDGE_AER_CAPABILITY {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub union PCI_EXPRESS_CAPABILITIES_REGISTER {
pub Anonymous: PCI_EXPRESS_CAPABILITIES_REGISTER_0,
pub AsUSHORT: u16,
}
impl ::core::marker::Copy for PCI_EXPRESS_CAPABILITIES_REGISTER {}
impl ::core::clone::Clone for PCI_EXPRESS_CAPABILITIES_REGISTER {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for PCI_EXPRESS_CAPABILITIES_REGISTER {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for PCI_EXPRESS_CAPABILITIES_REGISTER {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct PCI_EXPRESS_CAPABILITIES_REGISTER_0 {
pub _bitfield: u16,
}
impl ::core::marker::Copy for PCI_EXPRESS_CAPABILITIES_REGISTER_0 {}
impl ::core::clone::Clone for PCI_EXPRESS_CAPABILITIES_REGISTER_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for PCI_EXPRESS_CAPABILITIES_REGISTER_0 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("PCI_EXPRESS_CAPABILITIES_REGISTER_0").field("_bitfield", &self._bitfield).finish()
}
}
impl ::windows_core::TypeKind for PCI_EXPRESS_CAPABILITIES_REGISTER_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for PCI_EXPRESS_CAPABILITIES_REGISTER_0 {
fn eq(&self, other: &Self) -> bool {
self._bitfield == other._bitfield
}
}
impl ::core::cmp::Eq for PCI_EXPRESS_CAPABILITIES_REGISTER_0 {}
impl ::core::default::Default for PCI_EXPRESS_CAPABILITIES_REGISTER_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct PCI_EXPRESS_CAPABILITY {
pub Header: PCI_CAPABILITIES_HEADER,
pub ExpressCapabilities: PCI_EXPRESS_CAPABILITIES_REGISTER,
pub DeviceCapabilities: PCI_EXPRESS_DEVICE_CAPABILITIES_REGISTER,
pub DeviceControl: PCI_EXPRESS_DEVICE_CONTROL_REGISTER,
pub DeviceStatus: PCI_EXPRESS_DEVICE_STATUS_REGISTER,
pub LinkCapabilities: PCI_EXPRESS_LINK_CAPABILITIES_REGISTER,
pub LinkControl: PCI_EXPRESS_LINK_CONTROL_REGISTER,
pub LinkStatus: PCI_EXPRESS_LINK_STATUS_REGISTER,
pub SlotCapabilities: PCI_EXPRESS_SLOT_CAPABILITIES_REGISTER,
pub SlotControl: PCI_EXPRESS_SLOT_CONTROL_REGISTER,
pub SlotStatus: PCI_EXPRESS_SLOT_STATUS_REGISTER,
pub RootControl: PCI_EXPRESS_ROOT_CONTROL_REGISTER,
pub RootCapabilities: PCI_EXPRESS_ROOT_CAPABILITIES_REGISTER,
pub RootStatus: PCI_EXPRESS_ROOT_STATUS_REGISTER,
pub DeviceCapabilities2: PCI_EXPRESS_DEVICE_CAPABILITIES_2_REGISTER,
pub DeviceControl2: PCI_EXPRESS_DEVICE_CONTROL_2_REGISTER,
pub DeviceStatus2: PCI_EXPRESS_DEVICE_STATUS_2_REGISTER,
pub LinkCapabilities2: PCI_EXPRESS_LINK_CAPABILITIES_2_REGISTER,
pub LinkControl2: PCI_EXPRESS_LINK_CONTROL_2_REGISTER,
pub LinkStatus2: PCI_EXPRESS_LINK_STATUS_2_REGISTER,
}
impl ::core::marker::Copy for PCI_EXPRESS_CAPABILITY {}
impl ::core::clone::Clone for PCI_EXPRESS_CAPABILITY {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for PCI_EXPRESS_CAPABILITY {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for PCI_EXPRESS_CAPABILITY {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub union PCI_EXPRESS_CORRECTABLE_ERROR_MASK {
pub Anonymous: PCI_EXPRESS_CORRECTABLE_ERROR_MASK_0,
pub AsULONG: u32,
}
impl ::core::marker::Copy for PCI_EXPRESS_CORRECTABLE_ERROR_MASK {}
impl ::core::clone::Clone for PCI_EXPRESS_CORRECTABLE_ERROR_MASK {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for PCI_EXPRESS_CORRECTABLE_ERROR_MASK {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for PCI_EXPRESS_CORRECTABLE_ERROR_MASK {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct PCI_EXPRESS_CORRECTABLE_ERROR_MASK_0 {
pub _bitfield: u32,
}
impl ::core::marker::Copy for PCI_EXPRESS_CORRECTABLE_ERROR_MASK_0 {}
impl ::core::clone::Clone for PCI_EXPRESS_CORRECTABLE_ERROR_MASK_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for PCI_EXPRESS_CORRECTABLE_ERROR_MASK_0 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("PCI_EXPRESS_CORRECTABLE_ERROR_MASK_0").field("_bitfield", &self._bitfield).finish()
}
}
impl ::windows_core::TypeKind for PCI_EXPRESS_CORRECTABLE_ERROR_MASK_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for PCI_EXPRESS_CORRECTABLE_ERROR_MASK_0 {
fn eq(&self, other: &Self) -> bool {
self._bitfield == other._bitfield
}
}
impl ::core::cmp::Eq for PCI_EXPRESS_CORRECTABLE_ERROR_MASK_0 {}
impl ::core::default::Default for PCI_EXPRESS_CORRECTABLE_ERROR_MASK_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub union PCI_EXPRESS_CORRECTABLE_ERROR_STATUS {
pub Anonymous: PCI_EXPRESS_CORRECTABLE_ERROR_STATUS_0,
pub AsULONG: u32,
}
impl ::core::marker::Copy for PCI_EXPRESS_CORRECTABLE_ERROR_STATUS {}
impl ::core::clone::Clone for PCI_EXPRESS_CORRECTABLE_ERROR_STATUS {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for PCI_EXPRESS_CORRECTABLE_ERROR_STATUS {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for PCI_EXPRESS_CORRECTABLE_ERROR_STATUS {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct PCI_EXPRESS_CORRECTABLE_ERROR_STATUS_0 {
pub _bitfield: u32,
}
impl ::core::marker::Copy for PCI_EXPRESS_CORRECTABLE_ERROR_STATUS_0 {}
impl ::core::clone::Clone for PCI_EXPRESS_CORRECTABLE_ERROR_STATUS_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for PCI_EXPRESS_CORRECTABLE_ERROR_STATUS_0 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("PCI_EXPRESS_CORRECTABLE_ERROR_STATUS_0").field("_bitfield", &self._bitfield).finish()
}
}
impl ::windows_core::TypeKind for PCI_EXPRESS_CORRECTABLE_ERROR_STATUS_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for PCI_EXPRESS_CORRECTABLE_ERROR_STATUS_0 {
fn eq(&self, other: &Self) -> bool {
self._bitfield == other._bitfield
}
}
impl ::core::cmp::Eq for PCI_EXPRESS_CORRECTABLE_ERROR_STATUS_0 {}
impl ::core::default::Default for PCI_EXPRESS_CORRECTABLE_ERROR_STATUS_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct PCI_EXPRESS_CXL_DVSEC_CAPABILITY {
pub Header: PCI_EXPRESS_ENHANCED_CAPABILITY_HEADER,
pub DvsecHeader1: PCI_EXPRESS_DESIGNATED_VENDOR_SPECIFIC_HEADER_1,
pub DvsecHeader2: PCI_EXPRESS_DESIGNATED_VENDOR_SPECIFIC_HEADER_2,
pub Reserved: [u8; 46],
}
impl ::core::marker::Copy for PCI_EXPRESS_CXL_DVSEC_CAPABILITY {}
impl ::core::clone::Clone for PCI_EXPRESS_CXL_DVSEC_CAPABILITY {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for PCI_EXPRESS_CXL_DVSEC_CAPABILITY {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for PCI_EXPRESS_CXL_DVSEC_CAPABILITY {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub union PCI_EXPRESS_CXL_DVSEC_CAPABILITY_REGISTER_V11 {
pub Anonymous: PCI_EXPRESS_CXL_DVSEC_CAPABILITY_REGISTER_V11_0,
pub AsUSHORT: u16,
}
impl ::core::marker::Copy for PCI_EXPRESS_CXL_DVSEC_CAPABILITY_REGISTER_V11 {}
impl ::core::clone::Clone for PCI_EXPRESS_CXL_DVSEC_CAPABILITY_REGISTER_V11 {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for PCI_EXPRESS_CXL_DVSEC_CAPABILITY_REGISTER_V11 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for PCI_EXPRESS_CXL_DVSEC_CAPABILITY_REGISTER_V11 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct PCI_EXPRESS_CXL_DVSEC_CAPABILITY_REGISTER_V11_0 {
pub _bitfield: u16,
}
impl ::core::marker::Copy for PCI_EXPRESS_CXL_DVSEC_CAPABILITY_REGISTER_V11_0 {}
impl ::core::clone::Clone for PCI_EXPRESS_CXL_DVSEC_CAPABILITY_REGISTER_V11_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for PCI_EXPRESS_CXL_DVSEC_CAPABILITY_REGISTER_V11_0 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("PCI_EXPRESS_CXL_DVSEC_CAPABILITY_REGISTER_V11_0").field("_bitfield", &self._bitfield).finish()
}
}
impl ::windows_core::TypeKind for PCI_EXPRESS_CXL_DVSEC_CAPABILITY_REGISTER_V11_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for PCI_EXPRESS_CXL_DVSEC_CAPABILITY_REGISTER_V11_0 {
fn eq(&self, other: &Self) -> bool {
self._bitfield == other._bitfield
}
}
impl ::core::cmp::Eq for PCI_EXPRESS_CXL_DVSEC_CAPABILITY_REGISTER_V11_0 {}
impl ::core::default::Default for PCI_EXPRESS_CXL_DVSEC_CAPABILITY_REGISTER_V11_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct PCI_EXPRESS_CXL_DVSEC_CAPABILITY_V11 {
pub Header: PCI_EXPRESS_ENHANCED_CAPABILITY_HEADER,
pub DvsecHeader1: PCI_EXPRESS_DESIGNATED_VENDOR_SPECIFIC_HEADER_1,
pub DvsecHeader2: PCI_EXPRESS_DESIGNATED_VENDOR_SPECIFIC_HEADER_2,
pub Capability: PCI_EXPRESS_CXL_DVSEC_CAPABILITY_REGISTER_V11,
pub Control: PCI_EXPRESS_CXL_DVSEC_CONTROL_REGISTER,
pub Status: PCI_EXPRESS_CXL_DVSEC_STATUS_REGISTER,
pub Control2: u16,
pub Status2: u16,
pub Lock: PCI_EXPRESS_CXL_DVSEC_LOCK_REGISTER,
pub Reserved: u16,
pub Range1SizeHigh: PCI_EXPRESS_CXL_DVSEC_RANGE_SIZE_HIGH_REGISTER,
pub Range1SizeLow: PCI_EXPRESS_CXL_DVSEC_RANGE_SIZE_LOW_REGISTER_V11,
pub Range1BaseHigh: PCI_EXPRESS_CXL_DVSEC_RANGE_BASE_HIGH_REGISTER,
pub Range1BaseLow: PCI_EXPRESS_CXL_DVSEC_RANGE_BASE_LOW_REGISTER,
pub Range2SizeHigh: PCI_EXPRESS_CXL_DVSEC_RANGE_SIZE_HIGH_REGISTER,
pub Range2SizeLow: PCI_EXPRESS_CXL_DVSEC_RANGE_SIZE_LOW_REGISTER_V11,
pub Range2BaseHigh: PCI_EXPRESS_CXL_DVSEC_RANGE_BASE_HIGH_REGISTER,
pub Range2BaseLow: PCI_EXPRESS_CXL_DVSEC_RANGE_BASE_LOW_REGISTER,
}
impl ::core::marker::Copy for PCI_EXPRESS_CXL_DVSEC_CAPABILITY_V11 {}
impl ::core::clone::Clone for PCI_EXPRESS_CXL_DVSEC_CAPABILITY_V11 {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for PCI_EXPRESS_CXL_DVSEC_CAPABILITY_V11 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for PCI_EXPRESS_CXL_DVSEC_CAPABILITY_V11 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub union PCI_EXPRESS_CXL_DVSEC_CONTROL_REGISTER {
pub Anonymous: PCI_EXPRESS_CXL_DVSEC_CONTROL_REGISTER_0,
pub AsUSHORT: u16,
}
impl ::core::marker::Copy for PCI_EXPRESS_CXL_DVSEC_CONTROL_REGISTER {}
impl ::core::clone::Clone for PCI_EXPRESS_CXL_DVSEC_CONTROL_REGISTER {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for PCI_EXPRESS_CXL_DVSEC_CONTROL_REGISTER {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for PCI_EXPRESS_CXL_DVSEC_CONTROL_REGISTER {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct PCI_EXPRESS_CXL_DVSEC_CONTROL_REGISTER_0 {
pub _bitfield: u16,
}
impl ::core::marker::Copy for PCI_EXPRESS_CXL_DVSEC_CONTROL_REGISTER_0 {}
impl ::core::clone::Clone for PCI_EXPRESS_CXL_DVSEC_CONTROL_REGISTER_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for PCI_EXPRESS_CXL_DVSEC_CONTROL_REGISTER_0 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("PCI_EXPRESS_CXL_DVSEC_CONTROL_REGISTER_0").field("_bitfield", &self._bitfield).finish()
}
}
impl ::windows_core::TypeKind for PCI_EXPRESS_CXL_DVSEC_CONTROL_REGISTER_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for PCI_EXPRESS_CXL_DVSEC_CONTROL_REGISTER_0 {
fn eq(&self, other: &Self) -> bool {
self._bitfield == other._bitfield
}
}
impl ::core::cmp::Eq for PCI_EXPRESS_CXL_DVSEC_CONTROL_REGISTER_0 {}
impl ::core::default::Default for PCI_EXPRESS_CXL_DVSEC_CONTROL_REGISTER_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub union PCI_EXPRESS_CXL_DVSEC_LOCK_REGISTER {
pub Anonymous: PCI_EXPRESS_CXL_DVSEC_LOCK_REGISTER_0,
pub AsUSHORT: u16,
}
impl ::core::marker::Copy for PCI_EXPRESS_CXL_DVSEC_LOCK_REGISTER {}
impl ::core::clone::Clone for PCI_EXPRESS_CXL_DVSEC_LOCK_REGISTER {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for PCI_EXPRESS_CXL_DVSEC_LOCK_REGISTER {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for PCI_EXPRESS_CXL_DVSEC_LOCK_REGISTER {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct PCI_EXPRESS_CXL_DVSEC_LOCK_REGISTER_0 {
pub _bitfield: u16,
}
impl ::core::marker::Copy for PCI_EXPRESS_CXL_DVSEC_LOCK_REGISTER_0 {}
impl ::core::clone::Clone for PCI_EXPRESS_CXL_DVSEC_LOCK_REGISTER_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for PCI_EXPRESS_CXL_DVSEC_LOCK_REGISTER_0 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("PCI_EXPRESS_CXL_DVSEC_LOCK_REGISTER_0").field("_bitfield", &self._bitfield).finish()
}
}
impl ::windows_core::TypeKind for PCI_EXPRESS_CXL_DVSEC_LOCK_REGISTER_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for PCI_EXPRESS_CXL_DVSEC_LOCK_REGISTER_0 {
fn eq(&self, other: &Self) -> bool {
self._bitfield == other._bitfield
}
}
impl ::core::cmp::Eq for PCI_EXPRESS_CXL_DVSEC_LOCK_REGISTER_0 {}
impl ::core::default::Default for PCI_EXPRESS_CXL_DVSEC_LOCK_REGISTER_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct PCI_EXPRESS_CXL_DVSEC_RANGE_BASE_HIGH_REGISTER {
pub MemBaseHigh: u32,
}
impl ::core::marker::Copy for PCI_EXPRESS_CXL_DVSEC_RANGE_BASE_HIGH_REGISTER {}
impl ::core::clone::Clone for PCI_EXPRESS_CXL_DVSEC_RANGE_BASE_HIGH_REGISTER {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for PCI_EXPRESS_CXL_DVSEC_RANGE_BASE_HIGH_REGISTER {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("PCI_EXPRESS_CXL_DVSEC_RANGE_BASE_HIGH_REGISTER").field("MemBaseHigh", &self.MemBaseHigh).finish()
}
}
impl ::windows_core::TypeKind for PCI_EXPRESS_CXL_DVSEC_RANGE_BASE_HIGH_REGISTER {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for PCI_EXPRESS_CXL_DVSEC_RANGE_BASE_HIGH_REGISTER {
fn eq(&self, other: &Self) -> bool {
self.MemBaseHigh == other.MemBaseHigh
}
}
impl ::core::cmp::Eq for PCI_EXPRESS_CXL_DVSEC_RANGE_BASE_HIGH_REGISTER {}
impl ::core::default::Default for PCI_EXPRESS_CXL_DVSEC_RANGE_BASE_HIGH_REGISTER {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub union PCI_EXPRESS_CXL_DVSEC_RANGE_BASE_LOW_REGISTER {
pub Anonymous: PCI_EXPRESS_CXL_DVSEC_RANGE_BASE_LOW_REGISTER_0,
pub AsULONG: u32,
}
impl ::core::marker::Copy for PCI_EXPRESS_CXL_DVSEC_RANGE_BASE_LOW_REGISTER {}
impl ::core::clone::Clone for PCI_EXPRESS_CXL_DVSEC_RANGE_BASE_LOW_REGISTER {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for PCI_EXPRESS_CXL_DVSEC_RANGE_BASE_LOW_REGISTER {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for PCI_EXPRESS_CXL_DVSEC_RANGE_BASE_LOW_REGISTER {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct PCI_EXPRESS_CXL_DVSEC_RANGE_BASE_LOW_REGISTER_0 {
pub _bitfield: u32,
}
impl ::core::marker::Copy for PCI_EXPRESS_CXL_DVSEC_RANGE_BASE_LOW_REGISTER_0 {}
impl ::core::clone::Clone for PCI_EXPRESS_CXL_DVSEC_RANGE_BASE_LOW_REGISTER_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for PCI_EXPRESS_CXL_DVSEC_RANGE_BASE_LOW_REGISTER_0 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("PCI_EXPRESS_CXL_DVSEC_RANGE_BASE_LOW_REGISTER_0").field("_bitfield", &self._bitfield).finish()
}
}
impl ::windows_core::TypeKind for PCI_EXPRESS_CXL_DVSEC_RANGE_BASE_LOW_REGISTER_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for PCI_EXPRESS_CXL_DVSEC_RANGE_BASE_LOW_REGISTER_0 {
fn eq(&self, other: &Self) -> bool {
self._bitfield == other._bitfield
}
}
impl ::core::cmp::Eq for PCI_EXPRESS_CXL_DVSEC_RANGE_BASE_LOW_REGISTER_0 {}
impl ::core::default::Default for PCI_EXPRESS_CXL_DVSEC_RANGE_BASE_LOW_REGISTER_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct PCI_EXPRESS_CXL_DVSEC_RANGE_SIZE_HIGH_REGISTER {
pub MemSizeHigh: u32,
}
impl ::core::marker::Copy for PCI_EXPRESS_CXL_DVSEC_RANGE_SIZE_HIGH_REGISTER {}
impl ::core::clone::Clone for PCI_EXPRESS_CXL_DVSEC_RANGE_SIZE_HIGH_REGISTER {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for PCI_EXPRESS_CXL_DVSEC_RANGE_SIZE_HIGH_REGISTER {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("PCI_EXPRESS_CXL_DVSEC_RANGE_SIZE_HIGH_REGISTER").field("MemSizeHigh", &self.MemSizeHigh).finish()
}
}
impl ::windows_core::TypeKind for PCI_EXPRESS_CXL_DVSEC_RANGE_SIZE_HIGH_REGISTER {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for PCI_EXPRESS_CXL_DVSEC_RANGE_SIZE_HIGH_REGISTER {
fn eq(&self, other: &Self) -> bool {
self.MemSizeHigh == other.MemSizeHigh
}
}
impl ::core::cmp::Eq for PCI_EXPRESS_CXL_DVSEC_RANGE_SIZE_HIGH_REGISTER {}
impl ::core::default::Default for PCI_EXPRESS_CXL_DVSEC_RANGE_SIZE_HIGH_REGISTER {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub union PCI_EXPRESS_CXL_DVSEC_RANGE_SIZE_LOW_REGISTER_V11 {
pub Anonymous: PCI_EXPRESS_CXL_DVSEC_RANGE_SIZE_LOW_REGISTER_V11_0,
pub AsULONG: u32,
}
impl ::core::marker::Copy for PCI_EXPRESS_CXL_DVSEC_RANGE_SIZE_LOW_REGISTER_V11 {}
impl ::core::clone::Clone for PCI_EXPRESS_CXL_DVSEC_RANGE_SIZE_LOW_REGISTER_V11 {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for PCI_EXPRESS_CXL_DVSEC_RANGE_SIZE_LOW_REGISTER_V11 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for PCI_EXPRESS_CXL_DVSEC_RANGE_SIZE_LOW_REGISTER_V11 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct PCI_EXPRESS_CXL_DVSEC_RANGE_SIZE_LOW_REGISTER_V11_0 {
pub _bitfield: u32,
}
impl ::core::marker::Copy for PCI_EXPRESS_CXL_DVSEC_RANGE_SIZE_LOW_REGISTER_V11_0 {}
impl ::core::clone::Clone for PCI_EXPRESS_CXL_DVSEC_RANGE_SIZE_LOW_REGISTER_V11_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for PCI_EXPRESS_CXL_DVSEC_RANGE_SIZE_LOW_REGISTER_V11_0 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("PCI_EXPRESS_CXL_DVSEC_RANGE_SIZE_LOW_REGISTER_V11_0").field("_bitfield", &self._bitfield).finish()
}
}
impl ::windows_core::TypeKind for PCI_EXPRESS_CXL_DVSEC_RANGE_SIZE_LOW_REGISTER_V11_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for PCI_EXPRESS_CXL_DVSEC_RANGE_SIZE_LOW_REGISTER_V11_0 {
fn eq(&self, other: &Self) -> bool {
self._bitfield == other._bitfield
}
}
impl ::core::cmp::Eq for PCI_EXPRESS_CXL_DVSEC_RANGE_SIZE_LOW_REGISTER_V11_0 {}
impl ::core::default::Default for PCI_EXPRESS_CXL_DVSEC_RANGE_SIZE_LOW_REGISTER_V11_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub union PCI_EXPRESS_CXL_DVSEC_STATUS_REGISTER {
pub Anonymous: PCI_EXPRESS_CXL_DVSEC_STATUS_REGISTER_0,
pub AsUSHORT: u16,
}
impl ::core::marker::Copy for PCI_EXPRESS_CXL_DVSEC_STATUS_REGISTER {}
impl ::core::clone::Clone for PCI_EXPRESS_CXL_DVSEC_STATUS_REGISTER {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for PCI_EXPRESS_CXL_DVSEC_STATUS_REGISTER {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for PCI_EXPRESS_CXL_DVSEC_STATUS_REGISTER {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct PCI_EXPRESS_CXL_DVSEC_STATUS_REGISTER_0 {
pub _bitfield: u16,
}
impl ::core::marker::Copy for PCI_EXPRESS_CXL_DVSEC_STATUS_REGISTER_0 {}
impl ::core::clone::Clone for PCI_EXPRESS_CXL_DVSEC_STATUS_REGISTER_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for PCI_EXPRESS_CXL_DVSEC_STATUS_REGISTER_0 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("PCI_EXPRESS_CXL_DVSEC_STATUS_REGISTER_0").field("_bitfield", &self._bitfield).finish()
}
}
impl ::windows_core::TypeKind for PCI_EXPRESS_CXL_DVSEC_STATUS_REGISTER_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for PCI_EXPRESS_CXL_DVSEC_STATUS_REGISTER_0 {
fn eq(&self, other: &Self) -> bool {
self._bitfield == other._bitfield
}
}
impl ::core::cmp::Eq for PCI_EXPRESS_CXL_DVSEC_STATUS_REGISTER_0 {}
impl ::core::default::Default for PCI_EXPRESS_CXL_DVSEC_STATUS_REGISTER_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct PCI_EXPRESS_DESIGNATED_VENDOR_SPECIFIC_CAPABILITY {
pub Header: PCI_EXPRESS_ENHANCED_CAPABILITY_HEADER,
pub DvsecHeader1: PCI_EXPRESS_DESIGNATED_VENDOR_SPECIFIC_HEADER_1,
pub DvsecHeader2: PCI_EXPRESS_DESIGNATED_VENDOR_SPECIFIC_HEADER_2,
pub DvsecRegisters: [u16; 1],
}
impl ::core::marker::Copy for PCI_EXPRESS_DESIGNATED_VENDOR_SPECIFIC_CAPABILITY {}
impl ::core::clone::Clone for PCI_EXPRESS_DESIGNATED_VENDOR_SPECIFIC_CAPABILITY {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for PCI_EXPRESS_DESIGNATED_VENDOR_SPECIFIC_CAPABILITY {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for PCI_EXPRESS_DESIGNATED_VENDOR_SPECIFIC_CAPABILITY {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub union PCI_EXPRESS_DESIGNATED_VENDOR_SPECIFIC_HEADER_1 {
pub Anonymous: PCI_EXPRESS_DESIGNATED_VENDOR_SPECIFIC_HEADER_1_0,
pub AsULONG: u32,
}
impl ::core::marker::Copy for PCI_EXPRESS_DESIGNATED_VENDOR_SPECIFIC_HEADER_1 {}
impl ::core::clone::Clone for PCI_EXPRESS_DESIGNATED_VENDOR_SPECIFIC_HEADER_1 {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for PCI_EXPRESS_DESIGNATED_VENDOR_SPECIFIC_HEADER_1 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for PCI_EXPRESS_DESIGNATED_VENDOR_SPECIFIC_HEADER_1 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct PCI_EXPRESS_DESIGNATED_VENDOR_SPECIFIC_HEADER_1_0 {
pub _bitfield: u32,
}
impl ::core::marker::Copy for PCI_EXPRESS_DESIGNATED_VENDOR_SPECIFIC_HEADER_1_0 {}
impl ::core::clone::Clone for PCI_EXPRESS_DESIGNATED_VENDOR_SPECIFIC_HEADER_1_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for PCI_EXPRESS_DESIGNATED_VENDOR_SPECIFIC_HEADER_1_0 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("PCI_EXPRESS_DESIGNATED_VENDOR_SPECIFIC_HEADER_1_0").field("_bitfield", &self._bitfield).finish()
}
}
impl ::windows_core::TypeKind for PCI_EXPRESS_DESIGNATED_VENDOR_SPECIFIC_HEADER_1_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for PCI_EXPRESS_DESIGNATED_VENDOR_SPECIFIC_HEADER_1_0 {
fn eq(&self, other: &Self) -> bool {
self._bitfield == other._bitfield
}
}
impl ::core::cmp::Eq for PCI_EXPRESS_DESIGNATED_VENDOR_SPECIFIC_HEADER_1_0 {}
impl ::core::default::Default for PCI_EXPRESS_DESIGNATED_VENDOR_SPECIFIC_HEADER_1_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub union PCI_EXPRESS_DESIGNATED_VENDOR_SPECIFIC_HEADER_2 {
pub Anonymous: PCI_EXPRESS_DESIGNATED_VENDOR_SPECIFIC_HEADER_2_0,
pub AsUSHORT: u16,
}
impl ::core::marker::Copy for PCI_EXPRESS_DESIGNATED_VENDOR_SPECIFIC_HEADER_2 {}
impl ::core::clone::Clone for PCI_EXPRESS_DESIGNATED_VENDOR_SPECIFIC_HEADER_2 {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for PCI_EXPRESS_DESIGNATED_VENDOR_SPECIFIC_HEADER_2 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for PCI_EXPRESS_DESIGNATED_VENDOR_SPECIFIC_HEADER_2 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct PCI_EXPRESS_DESIGNATED_VENDOR_SPECIFIC_HEADER_2_0 {
pub _bitfield: u16,
}
impl ::core::marker::Copy for PCI_EXPRESS_DESIGNATED_VENDOR_SPECIFIC_HEADER_2_0 {}
impl ::core::clone::Clone for PCI_EXPRESS_DESIGNATED_VENDOR_SPECIFIC_HEADER_2_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for PCI_EXPRESS_DESIGNATED_VENDOR_SPECIFIC_HEADER_2_0 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("PCI_EXPRESS_DESIGNATED_VENDOR_SPECIFIC_HEADER_2_0").field("_bitfield", &self._bitfield).finish()
}
}
impl ::windows_core::TypeKind for PCI_EXPRESS_DESIGNATED_VENDOR_SPECIFIC_HEADER_2_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for PCI_EXPRESS_DESIGNATED_VENDOR_SPECIFIC_HEADER_2_0 {
fn eq(&self, other: &Self) -> bool {
self._bitfield == other._bitfield
}
}
impl ::core::cmp::Eq for PCI_EXPRESS_DESIGNATED_VENDOR_SPECIFIC_HEADER_2_0 {}
impl ::core::default::Default for PCI_EXPRESS_DESIGNATED_VENDOR_SPECIFIC_HEADER_2_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub union PCI_EXPRESS_DEVICE_CAPABILITIES_2_REGISTER {
pub Anonymous: PCI_EXPRESS_DEVICE_CAPABILITIES_2_REGISTER_0,
pub AsULONG: u32,
}
impl ::core::marker::Copy for PCI_EXPRESS_DEVICE_CAPABILITIES_2_REGISTER {}
impl ::core::clone::Clone for PCI_EXPRESS_DEVICE_CAPABILITIES_2_REGISTER {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for PCI_EXPRESS_DEVICE_CAPABILITIES_2_REGISTER {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for PCI_EXPRESS_DEVICE_CAPABILITIES_2_REGISTER {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct PCI_EXPRESS_DEVICE_CAPABILITIES_2_REGISTER_0 {
pub _bitfield: u32,
}
impl ::core::marker::Copy for PCI_EXPRESS_DEVICE_CAPABILITIES_2_REGISTER_0 {}
impl ::core::clone::Clone for PCI_EXPRESS_DEVICE_CAPABILITIES_2_REGISTER_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for PCI_EXPRESS_DEVICE_CAPABILITIES_2_REGISTER_0 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("PCI_EXPRESS_DEVICE_CAPABILITIES_2_REGISTER_0").field("_bitfield", &self._bitfield).finish()
}
}
impl ::windows_core::TypeKind for PCI_EXPRESS_DEVICE_CAPABILITIES_2_REGISTER_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for PCI_EXPRESS_DEVICE_CAPABILITIES_2_REGISTER_0 {
fn eq(&self, other: &Self) -> bool {
self._bitfield == other._bitfield
}
}
impl ::core::cmp::Eq for PCI_EXPRESS_DEVICE_CAPABILITIES_2_REGISTER_0 {}
impl ::core::default::Default for PCI_EXPRESS_DEVICE_CAPABILITIES_2_REGISTER_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub union PCI_EXPRESS_DEVICE_CAPABILITIES_REGISTER {
pub Anonymous: PCI_EXPRESS_DEVICE_CAPABILITIES_REGISTER_0,
pub AsULONG: u32,
}
impl ::core::marker::Copy for PCI_EXPRESS_DEVICE_CAPABILITIES_REGISTER {}
impl ::core::clone::Clone for PCI_EXPRESS_DEVICE_CAPABILITIES_REGISTER {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for PCI_EXPRESS_DEVICE_CAPABILITIES_REGISTER {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for PCI_EXPRESS_DEVICE_CAPABILITIES_REGISTER {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct PCI_EXPRESS_DEVICE_CAPABILITIES_REGISTER_0 {
pub _bitfield: u32,
}
impl ::core::marker::Copy for PCI_EXPRESS_DEVICE_CAPABILITIES_REGISTER_0 {}
impl ::core::clone::Clone for PCI_EXPRESS_DEVICE_CAPABILITIES_REGISTER_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for PCI_EXPRESS_DEVICE_CAPABILITIES_REGISTER_0 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("PCI_EXPRESS_DEVICE_CAPABILITIES_REGISTER_0").field("_bitfield", &self._bitfield).finish()
}
}
impl ::windows_core::TypeKind for PCI_EXPRESS_DEVICE_CAPABILITIES_REGISTER_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for PCI_EXPRESS_DEVICE_CAPABILITIES_REGISTER_0 {
fn eq(&self, other: &Self) -> bool {
self._bitfield == other._bitfield
}
}
impl ::core::cmp::Eq for PCI_EXPRESS_DEVICE_CAPABILITIES_REGISTER_0 {}
impl ::core::default::Default for PCI_EXPRESS_DEVICE_CAPABILITIES_REGISTER_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub union PCI_EXPRESS_DEVICE_CONTROL_2_REGISTER {
pub Anonymous: PCI_EXPRESS_DEVICE_CONTROL_2_REGISTER_0,
pub AsUSHORT: u16,
}
impl ::core::marker::Copy for PCI_EXPRESS_DEVICE_CONTROL_2_REGISTER {}
impl ::core::clone::Clone for PCI_EXPRESS_DEVICE_CONTROL_2_REGISTER {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for PCI_EXPRESS_DEVICE_CONTROL_2_REGISTER {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for PCI_EXPRESS_DEVICE_CONTROL_2_REGISTER {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct PCI_EXPRESS_DEVICE_CONTROL_2_REGISTER_0 {
pub _bitfield: u16,
}
impl ::core::marker::Copy for PCI_EXPRESS_DEVICE_CONTROL_2_REGISTER_0 {}
impl ::core::clone::Clone for PCI_EXPRESS_DEVICE_CONTROL_2_REGISTER_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for PCI_EXPRESS_DEVICE_CONTROL_2_REGISTER_0 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("PCI_EXPRESS_DEVICE_CONTROL_2_REGISTER_0").field("_bitfield", &self._bitfield).finish()
}
}
impl ::windows_core::TypeKind for PCI_EXPRESS_DEVICE_CONTROL_2_REGISTER_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for PCI_EXPRESS_DEVICE_CONTROL_2_REGISTER_0 {
fn eq(&self, other: &Self) -> bool {
self._bitfield == other._bitfield
}
}
impl ::core::cmp::Eq for PCI_EXPRESS_DEVICE_CONTROL_2_REGISTER_0 {}
impl ::core::default::Default for PCI_EXPRESS_DEVICE_CONTROL_2_REGISTER_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub union PCI_EXPRESS_DEVICE_CONTROL_REGISTER {
pub Anonymous1: PCI_EXPRESS_DEVICE_CONTROL_REGISTER_0,
pub Anonymous2: PCI_EXPRESS_DEVICE_CONTROL_REGISTER_1,
pub AsUSHORT: u16,
}
impl ::core::marker::Copy for PCI_EXPRESS_DEVICE_CONTROL_REGISTER {}
impl ::core::clone::Clone for PCI_EXPRESS_DEVICE_CONTROL_REGISTER {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for PCI_EXPRESS_DEVICE_CONTROL_REGISTER {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for PCI_EXPRESS_DEVICE_CONTROL_REGISTER {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct PCI_EXPRESS_DEVICE_CONTROL_REGISTER_0 {
pub _bitfield: u16,
}
impl ::core::marker::Copy for PCI_EXPRESS_DEVICE_CONTROL_REGISTER_0 {}
impl ::core::clone::Clone for PCI_EXPRESS_DEVICE_CONTROL_REGISTER_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for PCI_EXPRESS_DEVICE_CONTROL_REGISTER_0 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("PCI_EXPRESS_DEVICE_CONTROL_REGISTER_0").field("_bitfield", &self._bitfield).finish()
}
}
impl ::windows_core::TypeKind for PCI_EXPRESS_DEVICE_CONTROL_REGISTER_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for PCI_EXPRESS_DEVICE_CONTROL_REGISTER_0 {
fn eq(&self, other: &Self) -> bool {
self._bitfield == other._bitfield
}
}
impl ::core::cmp::Eq for PCI_EXPRESS_DEVICE_CONTROL_REGISTER_0 {}
impl ::core::default::Default for PCI_EXPRESS_DEVICE_CONTROL_REGISTER_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct PCI_EXPRESS_DEVICE_CONTROL_REGISTER_1 {
pub _bitfield: u16,
}
impl ::core::marker::Copy for PCI_EXPRESS_DEVICE_CONTROL_REGISTER_1 {}
impl ::core::clone::Clone for PCI_EXPRESS_DEVICE_CONTROL_REGISTER_1 {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for PCI_EXPRESS_DEVICE_CONTROL_REGISTER_1 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("PCI_EXPRESS_DEVICE_CONTROL_REGISTER_1").field("_bitfield", &self._bitfield).finish()
}
}
impl ::windows_core::TypeKind for PCI_EXPRESS_DEVICE_CONTROL_REGISTER_1 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for PCI_EXPRESS_DEVICE_CONTROL_REGISTER_1 {
fn eq(&self, other: &Self) -> bool {
self._bitfield == other._bitfield
}
}
impl ::core::cmp::Eq for PCI_EXPRESS_DEVICE_CONTROL_REGISTER_1 {}
impl ::core::default::Default for PCI_EXPRESS_DEVICE_CONTROL_REGISTER_1 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub union PCI_EXPRESS_DEVICE_STATUS_2_REGISTER {
pub Anonymous: PCI_EXPRESS_DEVICE_STATUS_2_REGISTER_0,
pub AsUSHORT: u16,
}
impl ::core::marker::Copy for PCI_EXPRESS_DEVICE_STATUS_2_REGISTER {}
impl ::core::clone::Clone for PCI_EXPRESS_DEVICE_STATUS_2_REGISTER {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for PCI_EXPRESS_DEVICE_STATUS_2_REGISTER {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for PCI_EXPRESS_DEVICE_STATUS_2_REGISTER {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct PCI_EXPRESS_DEVICE_STATUS_2_REGISTER_0 {
pub _bitfield: u16,
}
impl ::core::marker::Copy for PCI_EXPRESS_DEVICE_STATUS_2_REGISTER_0 {}
impl ::core::clone::Clone for PCI_EXPRESS_DEVICE_STATUS_2_REGISTER_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for PCI_EXPRESS_DEVICE_STATUS_2_REGISTER_0 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("PCI_EXPRESS_DEVICE_STATUS_2_REGISTER_0").field("_bitfield", &self._bitfield).finish()
}
}
impl ::windows_core::TypeKind for PCI_EXPRESS_DEVICE_STATUS_2_REGISTER_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for PCI_EXPRESS_DEVICE_STATUS_2_REGISTER_0 {
fn eq(&self, other: &Self) -> bool {
self._bitfield == other._bitfield
}
}
impl ::core::cmp::Eq for PCI_EXPRESS_DEVICE_STATUS_2_REGISTER_0 {}
impl ::core::default::Default for PCI_EXPRESS_DEVICE_STATUS_2_REGISTER_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub union PCI_EXPRESS_DEVICE_STATUS_REGISTER {
pub Anonymous: PCI_EXPRESS_DEVICE_STATUS_REGISTER_0,
pub AsUSHORT: u16,
}
impl ::core::marker::Copy for PCI_EXPRESS_DEVICE_STATUS_REGISTER {}
impl ::core::clone::Clone for PCI_EXPRESS_DEVICE_STATUS_REGISTER {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for PCI_EXPRESS_DEVICE_STATUS_REGISTER {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for PCI_EXPRESS_DEVICE_STATUS_REGISTER {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct PCI_EXPRESS_DEVICE_STATUS_REGISTER_0 {
pub _bitfield: u16,
}
impl ::core::marker::Copy for PCI_EXPRESS_DEVICE_STATUS_REGISTER_0 {}
impl ::core::clone::Clone for PCI_EXPRESS_DEVICE_STATUS_REGISTER_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for PCI_EXPRESS_DEVICE_STATUS_REGISTER_0 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("PCI_EXPRESS_DEVICE_STATUS_REGISTER_0").field("_bitfield", &self._bitfield).finish()
}
}
impl ::windows_core::TypeKind for PCI_EXPRESS_DEVICE_STATUS_REGISTER_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for PCI_EXPRESS_DEVICE_STATUS_REGISTER_0 {
fn eq(&self, other: &Self) -> bool {
self._bitfield == other._bitfield
}
}
impl ::core::cmp::Eq for PCI_EXPRESS_DEVICE_STATUS_REGISTER_0 {}
impl ::core::default::Default for PCI_EXPRESS_DEVICE_STATUS_REGISTER_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct PCI_EXPRESS_DPC_CAPABILITY {
pub Header: PCI_EXPRESS_ENHANCED_CAPABILITY_HEADER,
pub DpcCapabilities: PCI_EXPRESS_DPC_CAPS_REGISTER,
pub DpcControl: PCI_EXPRESS_DPC_CONTROL_REGISTER,
pub DpcStatus: PCI_EXPRESS_DPC_STATUS_REGISTER,
pub DpcErrSrcId: PCI_EXPRESS_DPC_ERROR_SOURCE_ID,
pub RpPioStatus: PCI_EXPRESS_DPC_RP_PIO_STATUS_REGISTER,
pub RpPioMask: PCI_EXPRESS_DPC_RP_PIO_MASK_REGISTER,
pub RpPioSeverity: PCI_EXPRESS_DPC_RP_PIO_SEVERITY_REGISTER,
pub RpPioSysError: PCI_EXPRESS_DPC_RP_PIO_SYSERR_REGISTER,
pub RpPioException: PCI_EXPRESS_DPC_RP_PIO_EXCEPTION_REGISTER,
pub RpPioHeaderLog: PCI_EXPRESS_DPC_RP_PIO_HEADERLOG_REGISTER,
pub RpPioImpSpecLog: PCI_EXPRESS_DPC_RP_PIO_IMPSPECLOG_REGISTER,
pub RpPioPrefixLog: PCI_EXPRESS_DPC_RP_PIO_TLPPREFIXLOG_REGISTER,
}
impl ::core::marker::Copy for PCI_EXPRESS_DPC_CAPABILITY {}
impl ::core::clone::Clone for PCI_EXPRESS_DPC_CAPABILITY {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for PCI_EXPRESS_DPC_CAPABILITY {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for PCI_EXPRESS_DPC_CAPABILITY {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub union PCI_EXPRESS_DPC_CAPS_REGISTER {
pub Anonymous: PCI_EXPRESS_DPC_CAPS_REGISTER_0,
pub AsUSHORT: u16,
}
impl ::core::marker::Copy for PCI_EXPRESS_DPC_CAPS_REGISTER {}
impl ::core::clone::Clone for PCI_EXPRESS_DPC_CAPS_REGISTER {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for PCI_EXPRESS_DPC_CAPS_REGISTER {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for PCI_EXPRESS_DPC_CAPS_REGISTER {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct PCI_EXPRESS_DPC_CAPS_REGISTER_0 {
pub _bitfield: u16,
}
impl ::core::marker::Copy for PCI_EXPRESS_DPC_CAPS_REGISTER_0 {}
impl ::core::clone::Clone for PCI_EXPRESS_DPC_CAPS_REGISTER_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for PCI_EXPRESS_DPC_CAPS_REGISTER_0 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("PCI_EXPRESS_DPC_CAPS_REGISTER_0").field("_bitfield", &self._bitfield).finish()
}
}
impl ::windows_core::TypeKind for PCI_EXPRESS_DPC_CAPS_REGISTER_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for PCI_EXPRESS_DPC_CAPS_REGISTER_0 {
fn eq(&self, other: &Self) -> bool {
self._bitfield == other._bitfield
}
}
impl ::core::cmp::Eq for PCI_EXPRESS_DPC_CAPS_REGISTER_0 {}
impl ::core::default::Default for PCI_EXPRESS_DPC_CAPS_REGISTER_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub union PCI_EXPRESS_DPC_CONTROL_REGISTER {
pub Anonymous: PCI_EXPRESS_DPC_CONTROL_REGISTER_0,
pub AsUSHORT: u16,
}
impl ::core::marker::Copy for PCI_EXPRESS_DPC_CONTROL_REGISTER {}
impl ::core::clone::Clone for PCI_EXPRESS_DPC_CONTROL_REGISTER {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for PCI_EXPRESS_DPC_CONTROL_REGISTER {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for PCI_EXPRESS_DPC_CONTROL_REGISTER {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct PCI_EXPRESS_DPC_CONTROL_REGISTER_0 {
pub _bitfield: u16,
}
impl ::core::marker::Copy for PCI_EXPRESS_DPC_CONTROL_REGISTER_0 {}
impl ::core::clone::Clone for PCI_EXPRESS_DPC_CONTROL_REGISTER_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for PCI_EXPRESS_DPC_CONTROL_REGISTER_0 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("PCI_EXPRESS_DPC_CONTROL_REGISTER_0").field("_bitfield", &self._bitfield).finish()
}
}
impl ::windows_core::TypeKind for PCI_EXPRESS_DPC_CONTROL_REGISTER_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for PCI_EXPRESS_DPC_CONTROL_REGISTER_0 {
fn eq(&self, other: &Self) -> bool {
self._bitfield == other._bitfield
}
}
impl ::core::cmp::Eq for PCI_EXPRESS_DPC_CONTROL_REGISTER_0 {}
impl ::core::default::Default for PCI_EXPRESS_DPC_CONTROL_REGISTER_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub union PCI_EXPRESS_DPC_ERROR_SOURCE_ID {
pub Anonymous: PCI_EXPRESS_DPC_ERROR_SOURCE_ID_0,
pub AsUSHORT: u16,
}
impl ::core::marker::Copy for PCI_EXPRESS_DPC_ERROR_SOURCE_ID {}
impl ::core::clone::Clone for PCI_EXPRESS_DPC_ERROR_SOURCE_ID {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for PCI_EXPRESS_DPC_ERROR_SOURCE_ID {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for PCI_EXPRESS_DPC_ERROR_SOURCE_ID {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct PCI_EXPRESS_DPC_ERROR_SOURCE_ID_0 {
pub _bitfield: u16,
}
impl ::core::marker::Copy for PCI_EXPRESS_DPC_ERROR_SOURCE_ID_0 {}
impl ::core::clone::Clone for PCI_EXPRESS_DPC_ERROR_SOURCE_ID_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for PCI_EXPRESS_DPC_ERROR_SOURCE_ID_0 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("PCI_EXPRESS_DPC_ERROR_SOURCE_ID_0").field("_bitfield", &self._bitfield).finish()
}
}
impl ::windows_core::TypeKind for PCI_EXPRESS_DPC_ERROR_SOURCE_ID_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for PCI_EXPRESS_DPC_ERROR_SOURCE_ID_0 {
fn eq(&self, other: &Self) -> bool {
self._bitfield == other._bitfield
}
}
impl ::core::cmp::Eq for PCI_EXPRESS_DPC_ERROR_SOURCE_ID_0 {}
impl ::core::default::Default for PCI_EXPRESS_DPC_ERROR_SOURCE_ID_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub union PCI_EXPRESS_DPC_RP_PIO_EXCEPTION_REGISTER {
pub Anonymous: PCI_EXPRESS_DPC_RP_PIO_EXCEPTION_REGISTER_0,
pub AsULONG: u32,
}
impl ::core::marker::Copy for PCI_EXPRESS_DPC_RP_PIO_EXCEPTION_REGISTER {}
impl ::core::clone::Clone for PCI_EXPRESS_DPC_RP_PIO_EXCEPTION_REGISTER {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for PCI_EXPRESS_DPC_RP_PIO_EXCEPTION_REGISTER {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for PCI_EXPRESS_DPC_RP_PIO_EXCEPTION_REGISTER {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct PCI_EXPRESS_DPC_RP_PIO_EXCEPTION_REGISTER_0 {
pub _bitfield: u32,
}
impl ::core::marker::Copy for PCI_EXPRESS_DPC_RP_PIO_EXCEPTION_REGISTER_0 {}
impl ::core::clone::Clone for PCI_EXPRESS_DPC_RP_PIO_EXCEPTION_REGISTER_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for PCI_EXPRESS_DPC_RP_PIO_EXCEPTION_REGISTER_0 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("PCI_EXPRESS_DPC_RP_PIO_EXCEPTION_REGISTER_0").field("_bitfield", &self._bitfield).finish()
}
}
impl ::windows_core::TypeKind for PCI_EXPRESS_DPC_RP_PIO_EXCEPTION_REGISTER_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for PCI_EXPRESS_DPC_RP_PIO_EXCEPTION_REGISTER_0 {
fn eq(&self, other: &Self) -> bool {
self._bitfield == other._bitfield
}
}
impl ::core::cmp::Eq for PCI_EXPRESS_DPC_RP_PIO_EXCEPTION_REGISTER_0 {}
impl ::core::default::Default for PCI_EXPRESS_DPC_RP_PIO_EXCEPTION_REGISTER_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct PCI_EXPRESS_DPC_RP_PIO_HEADERLOG_REGISTER {
pub PioHeaderLogRegister: [u32; 4],
}
impl ::core::marker::Copy for PCI_EXPRESS_DPC_RP_PIO_HEADERLOG_REGISTER {}
impl ::core::clone::Clone for PCI_EXPRESS_DPC_RP_PIO_HEADERLOG_REGISTER {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for PCI_EXPRESS_DPC_RP_PIO_HEADERLOG_REGISTER {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("PCI_EXPRESS_DPC_RP_PIO_HEADERLOG_REGISTER").field("PioHeaderLogRegister", &self.PioHeaderLogRegister).finish()
}
}
impl ::windows_core::TypeKind for PCI_EXPRESS_DPC_RP_PIO_HEADERLOG_REGISTER {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for PCI_EXPRESS_DPC_RP_PIO_HEADERLOG_REGISTER {
fn eq(&self, other: &Self) -> bool {
self.PioHeaderLogRegister == other.PioHeaderLogRegister
}
}
impl ::core::cmp::Eq for PCI_EXPRESS_DPC_RP_PIO_HEADERLOG_REGISTER {}
impl ::core::default::Default for PCI_EXPRESS_DPC_RP_PIO_HEADERLOG_REGISTER {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub union PCI_EXPRESS_DPC_RP_PIO_IMPSPECLOG_REGISTER {
pub PioImpSpecLog: u32,
}
impl ::core::marker::Copy for PCI_EXPRESS_DPC_RP_PIO_IMPSPECLOG_REGISTER {}
impl ::core::clone::Clone for PCI_EXPRESS_DPC_RP_PIO_IMPSPECLOG_REGISTER {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for PCI_EXPRESS_DPC_RP_PIO_IMPSPECLOG_REGISTER {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for PCI_EXPRESS_DPC_RP_PIO_IMPSPECLOG_REGISTER {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub union PCI_EXPRESS_DPC_RP_PIO_MASK_REGISTER {
pub Anonymous: PCI_EXPRESS_DPC_RP_PIO_MASK_REGISTER_0,
pub AsULONG: u32,
}
impl ::core::marker::Copy for PCI_EXPRESS_DPC_RP_PIO_MASK_REGISTER {}
impl ::core::clone::Clone for PCI_EXPRESS_DPC_RP_PIO_MASK_REGISTER {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for PCI_EXPRESS_DPC_RP_PIO_MASK_REGISTER {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for PCI_EXPRESS_DPC_RP_PIO_MASK_REGISTER {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct PCI_EXPRESS_DPC_RP_PIO_MASK_REGISTER_0 {
pub _bitfield: u32,
}
impl ::core::marker::Copy for PCI_EXPRESS_DPC_RP_PIO_MASK_REGISTER_0 {}
impl ::core::clone::Clone for PCI_EXPRESS_DPC_RP_PIO_MASK_REGISTER_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for PCI_EXPRESS_DPC_RP_PIO_MASK_REGISTER_0 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("PCI_EXPRESS_DPC_RP_PIO_MASK_REGISTER_0").field("_bitfield", &self._bitfield).finish()
}
}
impl ::windows_core::TypeKind for PCI_EXPRESS_DPC_RP_PIO_MASK_REGISTER_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for PCI_EXPRESS_DPC_RP_PIO_MASK_REGISTER_0 {
fn eq(&self, other: &Self) -> bool {
self._bitfield == other._bitfield
}
}
impl ::core::cmp::Eq for PCI_EXPRESS_DPC_RP_PIO_MASK_REGISTER_0 {}
impl ::core::default::Default for PCI_EXPRESS_DPC_RP_PIO_MASK_REGISTER_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub union PCI_EXPRESS_DPC_RP_PIO_SEVERITY_REGISTER {
pub Anonymous: PCI_EXPRESS_DPC_RP_PIO_SEVERITY_REGISTER_0,
pub AsULONG: u32,
}
impl ::core::marker::Copy for PCI_EXPRESS_DPC_RP_PIO_SEVERITY_REGISTER {}
impl ::core::clone::Clone for PCI_EXPRESS_DPC_RP_PIO_SEVERITY_REGISTER {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for PCI_EXPRESS_DPC_RP_PIO_SEVERITY_REGISTER {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for PCI_EXPRESS_DPC_RP_PIO_SEVERITY_REGISTER {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct PCI_EXPRESS_DPC_RP_PIO_SEVERITY_REGISTER_0 {
pub _bitfield: u32,
}
impl ::core::marker::Copy for PCI_EXPRESS_DPC_RP_PIO_SEVERITY_REGISTER_0 {}
impl ::core::clone::Clone for PCI_EXPRESS_DPC_RP_PIO_SEVERITY_REGISTER_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for PCI_EXPRESS_DPC_RP_PIO_SEVERITY_REGISTER_0 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("PCI_EXPRESS_DPC_RP_PIO_SEVERITY_REGISTER_0").field("_bitfield", &self._bitfield).finish()
}
}
impl ::windows_core::TypeKind for PCI_EXPRESS_DPC_RP_PIO_SEVERITY_REGISTER_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for PCI_EXPRESS_DPC_RP_PIO_SEVERITY_REGISTER_0 {
fn eq(&self, other: &Self) -> bool {
self._bitfield == other._bitfield
}
}
impl ::core::cmp::Eq for PCI_EXPRESS_DPC_RP_PIO_SEVERITY_REGISTER_0 {}
impl ::core::default::Default for PCI_EXPRESS_DPC_RP_PIO_SEVERITY_REGISTER_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub union PCI_EXPRESS_DPC_RP_PIO_STATUS_REGISTER {
pub Anonymous: PCI_EXPRESS_DPC_RP_PIO_STATUS_REGISTER_0,
pub AsULONG: u32,
}
impl ::core::marker::Copy for PCI_EXPRESS_DPC_RP_PIO_STATUS_REGISTER {}
impl ::core::clone::Clone for PCI_EXPRESS_DPC_RP_PIO_STATUS_REGISTER {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for PCI_EXPRESS_DPC_RP_PIO_STATUS_REGISTER {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for PCI_EXPRESS_DPC_RP_PIO_STATUS_REGISTER {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct PCI_EXPRESS_DPC_RP_PIO_STATUS_REGISTER_0 {
pub _bitfield: u32,
}
impl ::core::marker::Copy for PCI_EXPRESS_DPC_RP_PIO_STATUS_REGISTER_0 {}
impl ::core::clone::Clone for PCI_EXPRESS_DPC_RP_PIO_STATUS_REGISTER_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for PCI_EXPRESS_DPC_RP_PIO_STATUS_REGISTER_0 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("PCI_EXPRESS_DPC_RP_PIO_STATUS_REGISTER_0").field("_bitfield", &self._bitfield).finish()
}
}
impl ::windows_core::TypeKind for PCI_EXPRESS_DPC_RP_PIO_STATUS_REGISTER_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for PCI_EXPRESS_DPC_RP_PIO_STATUS_REGISTER_0 {
fn eq(&self, other: &Self) -> bool {
self._bitfield == other._bitfield
}
}
impl ::core::cmp::Eq for PCI_EXPRESS_DPC_RP_PIO_STATUS_REGISTER_0 {}
impl ::core::default::Default for PCI_EXPRESS_DPC_RP_PIO_STATUS_REGISTER_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub union PCI_EXPRESS_DPC_RP_PIO_SYSERR_REGISTER {
pub Anonymous: PCI_EXPRESS_DPC_RP_PIO_SYSERR_REGISTER_0,
pub AsULONG: u32,
}
impl ::core::marker::Copy for PCI_EXPRESS_DPC_RP_PIO_SYSERR_REGISTER {}
impl ::core::clone::Clone for PCI_EXPRESS_DPC_RP_PIO_SYSERR_REGISTER {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for PCI_EXPRESS_DPC_RP_PIO_SYSERR_REGISTER {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for PCI_EXPRESS_DPC_RP_PIO_SYSERR_REGISTER {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct PCI_EXPRESS_DPC_RP_PIO_SYSERR_REGISTER_0 {
pub _bitfield: u32,
}
impl ::core::marker::Copy for PCI_EXPRESS_DPC_RP_PIO_SYSERR_REGISTER_0 {}
impl ::core::clone::Clone for PCI_EXPRESS_DPC_RP_PIO_SYSERR_REGISTER_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for PCI_EXPRESS_DPC_RP_PIO_SYSERR_REGISTER_0 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("PCI_EXPRESS_DPC_RP_PIO_SYSERR_REGISTER_0").field("_bitfield", &self._bitfield).finish()
}
}
impl ::windows_core::TypeKind for PCI_EXPRESS_DPC_RP_PIO_SYSERR_REGISTER_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for PCI_EXPRESS_DPC_RP_PIO_SYSERR_REGISTER_0 {
fn eq(&self, other: &Self) -> bool {
self._bitfield == other._bitfield
}
}
impl ::core::cmp::Eq for PCI_EXPRESS_DPC_RP_PIO_SYSERR_REGISTER_0 {}
impl ::core::default::Default for PCI_EXPRESS_DPC_RP_PIO_SYSERR_REGISTER_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct PCI_EXPRESS_DPC_RP_PIO_TLPPREFIXLOG_REGISTER {
pub PioTlpPrefixLogRegister: [u32; 4],
}
impl ::core::marker::Copy for PCI_EXPRESS_DPC_RP_PIO_TLPPREFIXLOG_REGISTER {}
impl ::core::clone::Clone for PCI_EXPRESS_DPC_RP_PIO_TLPPREFIXLOG_REGISTER {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for PCI_EXPRESS_DPC_RP_PIO_TLPPREFIXLOG_REGISTER {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("PCI_EXPRESS_DPC_RP_PIO_TLPPREFIXLOG_REGISTER").field("PioTlpPrefixLogRegister", &self.PioTlpPrefixLogRegister).finish()
}
}
impl ::windows_core::TypeKind for PCI_EXPRESS_DPC_RP_PIO_TLPPREFIXLOG_REGISTER {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for PCI_EXPRESS_DPC_RP_PIO_TLPPREFIXLOG_REGISTER {
fn eq(&self, other: &Self) -> bool {
self.PioTlpPrefixLogRegister == other.PioTlpPrefixLogRegister
}
}
impl ::core::cmp::Eq for PCI_EXPRESS_DPC_RP_PIO_TLPPREFIXLOG_REGISTER {}
impl ::core::default::Default for PCI_EXPRESS_DPC_RP_PIO_TLPPREFIXLOG_REGISTER {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub union PCI_EXPRESS_DPC_STATUS_REGISTER {
pub Anonymous: PCI_EXPRESS_DPC_STATUS_REGISTER_0,
pub AsUSHORT: u16,
}
impl ::core::marker::Copy for PCI_EXPRESS_DPC_STATUS_REGISTER {}
impl ::core::clone::Clone for PCI_EXPRESS_DPC_STATUS_REGISTER {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for PCI_EXPRESS_DPC_STATUS_REGISTER {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for PCI_EXPRESS_DPC_STATUS_REGISTER {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct PCI_EXPRESS_DPC_STATUS_REGISTER_0 {
pub _bitfield: u16,
}
impl ::core::marker::Copy for PCI_EXPRESS_DPC_STATUS_REGISTER_0 {}
impl ::core::clone::Clone for PCI_EXPRESS_DPC_STATUS_REGISTER_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for PCI_EXPRESS_DPC_STATUS_REGISTER_0 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("PCI_EXPRESS_DPC_STATUS_REGISTER_0").field("_bitfield", &self._bitfield).finish()
}
}
impl ::windows_core::TypeKind for PCI_EXPRESS_DPC_STATUS_REGISTER_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for PCI_EXPRESS_DPC_STATUS_REGISTER_0 {
fn eq(&self, other: &Self) -> bool {
self._bitfield == other._bitfield
}
}
impl ::core::cmp::Eq for PCI_EXPRESS_DPC_STATUS_REGISTER_0 {}
impl ::core::default::Default for PCI_EXPRESS_DPC_STATUS_REGISTER_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct PCI_EXPRESS_ENHANCED_CAPABILITY_HEADER {
pub CapabilityID: u16,
pub _bitfield: u16,
}
impl ::core::marker::Copy for PCI_EXPRESS_ENHANCED_CAPABILITY_HEADER {}
impl ::core::clone::Clone for PCI_EXPRESS_ENHANCED_CAPABILITY_HEADER {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for PCI_EXPRESS_ENHANCED_CAPABILITY_HEADER {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("PCI_EXPRESS_ENHANCED_CAPABILITY_HEADER").field("CapabilityID", &self.CapabilityID).field("_bitfield", &self._bitfield).finish()
}
}
impl ::windows_core::TypeKind for PCI_EXPRESS_ENHANCED_CAPABILITY_HEADER {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for PCI_EXPRESS_ENHANCED_CAPABILITY_HEADER {
fn eq(&self, other: &Self) -> bool {
self.CapabilityID == other.CapabilityID && self._bitfield == other._bitfield
}
}
impl ::core::cmp::Eq for PCI_EXPRESS_ENHANCED_CAPABILITY_HEADER {}
impl ::core::default::Default for PCI_EXPRESS_ENHANCED_CAPABILITY_HEADER {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub union PCI_EXPRESS_ERROR_SOURCE_ID {
pub Anonymous: PCI_EXPRESS_ERROR_SOURCE_ID_0,
pub AsULONG: u32,
}
impl ::core::marker::Copy for PCI_EXPRESS_ERROR_SOURCE_ID {}
impl ::core::clone::Clone for PCI_EXPRESS_ERROR_SOURCE_ID {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for PCI_EXPRESS_ERROR_SOURCE_ID {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for PCI_EXPRESS_ERROR_SOURCE_ID {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct PCI_EXPRESS_ERROR_SOURCE_ID_0 {
pub _bitfield1: u16,
pub _bitfield2: u16,
}
impl ::core::marker::Copy for PCI_EXPRESS_ERROR_SOURCE_ID_0 {}
impl ::core::clone::Clone for PCI_EXPRESS_ERROR_SOURCE_ID_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for PCI_EXPRESS_ERROR_SOURCE_ID_0 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("PCI_EXPRESS_ERROR_SOURCE_ID_0").field("_bitfield1", &self._bitfield1).field("_bitfield2", &self._bitfield2).finish()
}
}
impl ::windows_core::TypeKind for PCI_EXPRESS_ERROR_SOURCE_ID_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for PCI_EXPRESS_ERROR_SOURCE_ID_0 {
fn eq(&self, other: &Self) -> bool {
self._bitfield1 == other._bitfield1 && self._bitfield2 == other._bitfield2
}
}
impl ::core::cmp::Eq for PCI_EXPRESS_ERROR_SOURCE_ID_0 {}
impl ::core::default::Default for PCI_EXPRESS_ERROR_SOURCE_ID_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct PCI_EXPRESS_EVENT_COLLECTOR_ENDPOINT_ASSOCIATION_CAPABILITY {
pub Header: PCI_EXPRESS_ENHANCED_CAPABILITY_HEADER,
pub AssociationBitmap: u32,
}
impl ::core::marker::Copy for PCI_EXPRESS_EVENT_COLLECTOR_ENDPOINT_ASSOCIATION_CAPABILITY {}
impl ::core::clone::Clone for PCI_EXPRESS_EVENT_COLLECTOR_ENDPOINT_ASSOCIATION_CAPABILITY {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for PCI_EXPRESS_EVENT_COLLECTOR_ENDPOINT_ASSOCIATION_CAPABILITY {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("PCI_EXPRESS_EVENT_COLLECTOR_ENDPOINT_ASSOCIATION_CAPABILITY").field("Header", &self.Header).field("AssociationBitmap", &self.AssociationBitmap).finish()
}
}
impl ::windows_core::TypeKind for PCI_EXPRESS_EVENT_COLLECTOR_ENDPOINT_ASSOCIATION_CAPABILITY {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for PCI_EXPRESS_EVENT_COLLECTOR_ENDPOINT_ASSOCIATION_CAPABILITY {
fn eq(&self, other: &Self) -> bool {
self.Header == other.Header && self.AssociationBitmap == other.AssociationBitmap
}
}
impl ::core::cmp::Eq for PCI_EXPRESS_EVENT_COLLECTOR_ENDPOINT_ASSOCIATION_CAPABILITY {}
impl ::core::default::Default for PCI_EXPRESS_EVENT_COLLECTOR_ENDPOINT_ASSOCIATION_CAPABILITY {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub union PCI_EXPRESS_L1_PM_SS_CAPABILITIES_REGISTER {
pub Anonymous: PCI_EXPRESS_L1_PM_SS_CAPABILITIES_REGISTER_0,
pub AsULONG: u32,
}
impl ::core::marker::Copy for PCI_EXPRESS_L1_PM_SS_CAPABILITIES_REGISTER {}
impl ::core::clone::Clone for PCI_EXPRESS_L1_PM_SS_CAPABILITIES_REGISTER {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for PCI_EXPRESS_L1_PM_SS_CAPABILITIES_REGISTER {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for PCI_EXPRESS_L1_PM_SS_CAPABILITIES_REGISTER {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct PCI_EXPRESS_L1_PM_SS_CAPABILITIES_REGISTER_0 {
pub _bitfield: u32,
}
impl ::core::marker::Copy for PCI_EXPRESS_L1_PM_SS_CAPABILITIES_REGISTER_0 {}
impl ::core::clone::Clone for PCI_EXPRESS_L1_PM_SS_CAPABILITIES_REGISTER_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for PCI_EXPRESS_L1_PM_SS_CAPABILITIES_REGISTER_0 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("PCI_EXPRESS_L1_PM_SS_CAPABILITIES_REGISTER_0").field("_bitfield", &self._bitfield).finish()
}
}
impl ::windows_core::TypeKind for PCI_EXPRESS_L1_PM_SS_CAPABILITIES_REGISTER_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for PCI_EXPRESS_L1_PM_SS_CAPABILITIES_REGISTER_0 {
fn eq(&self, other: &Self) -> bool {
self._bitfield == other._bitfield
}
}
impl ::core::cmp::Eq for PCI_EXPRESS_L1_PM_SS_CAPABILITIES_REGISTER_0 {}
impl ::core::default::Default for PCI_EXPRESS_L1_PM_SS_CAPABILITIES_REGISTER_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct PCI_EXPRESS_L1_PM_SS_CAPABILITY {
pub Header: PCI_EXPRESS_ENHANCED_CAPABILITY_HEADER,
pub L1PmSsCapabilities: PCI_EXPRESS_L1_PM_SS_CAPABILITIES_REGISTER,
pub L1PmSsControl1: PCI_EXPRESS_L1_PM_SS_CONTROL_1_REGISTER,
pub L1PmSsControl2: PCI_EXPRESS_L1_PM_SS_CONTROL_2_REGISTER,
}
impl ::core::marker::Copy for PCI_EXPRESS_L1_PM_SS_CAPABILITY {}
impl ::core::clone::Clone for PCI_EXPRESS_L1_PM_SS_CAPABILITY {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for PCI_EXPRESS_L1_PM_SS_CAPABILITY {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for PCI_EXPRESS_L1_PM_SS_CAPABILITY {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub union PCI_EXPRESS_L1_PM_SS_CONTROL_1_REGISTER {
pub Anonymous: PCI_EXPRESS_L1_PM_SS_CONTROL_1_REGISTER_0,
pub AsULONG: u32,
}
impl ::core::marker::Copy for PCI_EXPRESS_L1_PM_SS_CONTROL_1_REGISTER {}
impl ::core::clone::Clone for PCI_EXPRESS_L1_PM_SS_CONTROL_1_REGISTER {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for PCI_EXPRESS_L1_PM_SS_CONTROL_1_REGISTER {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for PCI_EXPRESS_L1_PM_SS_CONTROL_1_REGISTER {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct PCI_EXPRESS_L1_PM_SS_CONTROL_1_REGISTER_0 {
pub _bitfield: u32,
}
impl ::core::marker::Copy for PCI_EXPRESS_L1_PM_SS_CONTROL_1_REGISTER_0 {}
impl ::core::clone::Clone for PCI_EXPRESS_L1_PM_SS_CONTROL_1_REGISTER_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for PCI_EXPRESS_L1_PM_SS_CONTROL_1_REGISTER_0 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("PCI_EXPRESS_L1_PM_SS_CONTROL_1_REGISTER_0").field("_bitfield", &self._bitfield).finish()
}
}
impl ::windows_core::TypeKind for PCI_EXPRESS_L1_PM_SS_CONTROL_1_REGISTER_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for PCI_EXPRESS_L1_PM_SS_CONTROL_1_REGISTER_0 {
fn eq(&self, other: &Self) -> bool {
self._bitfield == other._bitfield
}
}
impl ::core::cmp::Eq for PCI_EXPRESS_L1_PM_SS_CONTROL_1_REGISTER_0 {}
impl ::core::default::Default for PCI_EXPRESS_L1_PM_SS_CONTROL_1_REGISTER_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub union PCI_EXPRESS_L1_PM_SS_CONTROL_2_REGISTER {
pub Anonymous: PCI_EXPRESS_L1_PM_SS_CONTROL_2_REGISTER_0,
pub AsULONG: u32,
}
impl ::core::marker::Copy for PCI_EXPRESS_L1_PM_SS_CONTROL_2_REGISTER {}
impl ::core::clone::Clone for PCI_EXPRESS_L1_PM_SS_CONTROL_2_REGISTER {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for PCI_EXPRESS_L1_PM_SS_CONTROL_2_REGISTER {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for PCI_EXPRESS_L1_PM_SS_CONTROL_2_REGISTER {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct PCI_EXPRESS_L1_PM_SS_CONTROL_2_REGISTER_0 {
pub _bitfield: u32,
}
impl ::core::marker::Copy for PCI_EXPRESS_L1_PM_SS_CONTROL_2_REGISTER_0 {}
impl ::core::clone::Clone for PCI_EXPRESS_L1_PM_SS_CONTROL_2_REGISTER_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for PCI_EXPRESS_L1_PM_SS_CONTROL_2_REGISTER_0 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("PCI_EXPRESS_L1_PM_SS_CONTROL_2_REGISTER_0").field("_bitfield", &self._bitfield).finish()
}
}
impl ::windows_core::TypeKind for PCI_EXPRESS_L1_PM_SS_CONTROL_2_REGISTER_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for PCI_EXPRESS_L1_PM_SS_CONTROL_2_REGISTER_0 {
fn eq(&self, other: &Self) -> bool {
self._bitfield == other._bitfield
}
}
impl ::core::cmp::Eq for PCI_EXPRESS_L1_PM_SS_CONTROL_2_REGISTER_0 {}
impl ::core::default::Default for PCI_EXPRESS_L1_PM_SS_CONTROL_2_REGISTER_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct PCI_EXPRESS_LANE_ERROR_STATUS {
pub LaneBitmap: u32,
}
impl ::core::marker::Copy for PCI_EXPRESS_LANE_ERROR_STATUS {}
impl ::core::clone::Clone for PCI_EXPRESS_LANE_ERROR_STATUS {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for PCI_EXPRESS_LANE_ERROR_STATUS {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("PCI_EXPRESS_LANE_ERROR_STATUS").field("LaneBitmap", &self.LaneBitmap).finish()
}
}
impl ::windows_core::TypeKind for PCI_EXPRESS_LANE_ERROR_STATUS {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for PCI_EXPRESS_LANE_ERROR_STATUS {
fn eq(&self, other: &Self) -> bool {
self.LaneBitmap == other.LaneBitmap
}
}
impl ::core::cmp::Eq for PCI_EXPRESS_LANE_ERROR_STATUS {}
impl ::core::default::Default for PCI_EXPRESS_LANE_ERROR_STATUS {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub union PCI_EXPRESS_LINK_CAPABILITIES_2_REGISTER {
pub Anonymous: PCI_EXPRESS_LINK_CAPABILITIES_2_REGISTER_0,
pub AsULONG: u32,
}
impl ::core::marker::Copy for PCI_EXPRESS_LINK_CAPABILITIES_2_REGISTER {}
impl ::core::clone::Clone for PCI_EXPRESS_LINK_CAPABILITIES_2_REGISTER {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for PCI_EXPRESS_LINK_CAPABILITIES_2_REGISTER {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for PCI_EXPRESS_LINK_CAPABILITIES_2_REGISTER {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct PCI_EXPRESS_LINK_CAPABILITIES_2_REGISTER_0 {
pub _bitfield: u32,
}
impl ::core::marker::Copy for PCI_EXPRESS_LINK_CAPABILITIES_2_REGISTER_0 {}
impl ::core::clone::Clone for PCI_EXPRESS_LINK_CAPABILITIES_2_REGISTER_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for PCI_EXPRESS_LINK_CAPABILITIES_2_REGISTER_0 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("PCI_EXPRESS_LINK_CAPABILITIES_2_REGISTER_0").field("_bitfield", &self._bitfield).finish()
}
}
impl ::windows_core::TypeKind for PCI_EXPRESS_LINK_CAPABILITIES_2_REGISTER_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for PCI_EXPRESS_LINK_CAPABILITIES_2_REGISTER_0 {
fn eq(&self, other: &Self) -> bool {
self._bitfield == other._bitfield
}
}
impl ::core::cmp::Eq for PCI_EXPRESS_LINK_CAPABILITIES_2_REGISTER_0 {}
impl ::core::default::Default for PCI_EXPRESS_LINK_CAPABILITIES_2_REGISTER_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub union PCI_EXPRESS_LINK_CAPABILITIES_REGISTER {
pub Anonymous: PCI_EXPRESS_LINK_CAPABILITIES_REGISTER_0,
pub AsULONG: u32,
}
impl ::core::marker::Copy for PCI_EXPRESS_LINK_CAPABILITIES_REGISTER {}
impl ::core::clone::Clone for PCI_EXPRESS_LINK_CAPABILITIES_REGISTER {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for PCI_EXPRESS_LINK_CAPABILITIES_REGISTER {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for PCI_EXPRESS_LINK_CAPABILITIES_REGISTER {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct PCI_EXPRESS_LINK_CAPABILITIES_REGISTER_0 {
pub _bitfield: u32,
}
impl ::core::marker::Copy for PCI_EXPRESS_LINK_CAPABILITIES_REGISTER_0 {}
impl ::core::clone::Clone for PCI_EXPRESS_LINK_CAPABILITIES_REGISTER_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for PCI_EXPRESS_LINK_CAPABILITIES_REGISTER_0 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("PCI_EXPRESS_LINK_CAPABILITIES_REGISTER_0").field("_bitfield", &self._bitfield).finish()
}
}
impl ::windows_core::TypeKind for PCI_EXPRESS_LINK_CAPABILITIES_REGISTER_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for PCI_EXPRESS_LINK_CAPABILITIES_REGISTER_0 {
fn eq(&self, other: &Self) -> bool {
self._bitfield == other._bitfield
}
}
impl ::core::cmp::Eq for PCI_EXPRESS_LINK_CAPABILITIES_REGISTER_0 {}
impl ::core::default::Default for PCI_EXPRESS_LINK_CAPABILITIES_REGISTER_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct PCI_EXPRESS_LINK_CONTROL3 {
pub Anonymous: PCI_EXPRESS_LINK_CONTROL3_0,
}
impl ::core::marker::Copy for PCI_EXPRESS_LINK_CONTROL3 {}
impl ::core::clone::Clone for PCI_EXPRESS_LINK_CONTROL3 {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for PCI_EXPRESS_LINK_CONTROL3 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for PCI_EXPRESS_LINK_CONTROL3 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub union PCI_EXPRESS_LINK_CONTROL3_0 {
pub Anonymous: PCI_EXPRESS_LINK_CONTROL3_0_0,
pub AsULONG: u32,
}
impl ::core::marker::Copy for PCI_EXPRESS_LINK_CONTROL3_0 {}
impl ::core::clone::Clone for PCI_EXPRESS_LINK_CONTROL3_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for PCI_EXPRESS_LINK_CONTROL3_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for PCI_EXPRESS_LINK_CONTROL3_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct PCI_EXPRESS_LINK_CONTROL3_0_0 {
pub _bitfield: u32,
}
impl ::core::marker::Copy for PCI_EXPRESS_LINK_CONTROL3_0_0 {}
impl ::core::clone::Clone for PCI_EXPRESS_LINK_CONTROL3_0_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for PCI_EXPRESS_LINK_CONTROL3_0_0 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("PCI_EXPRESS_LINK_CONTROL3_0_0").field("_bitfield", &self._bitfield).finish()
}
}
impl ::windows_core::TypeKind for PCI_EXPRESS_LINK_CONTROL3_0_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for PCI_EXPRESS_LINK_CONTROL3_0_0 {
fn eq(&self, other: &Self) -> bool {
self._bitfield == other._bitfield
}
}
impl ::core::cmp::Eq for PCI_EXPRESS_LINK_CONTROL3_0_0 {}
impl ::core::default::Default for PCI_EXPRESS_LINK_CONTROL3_0_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub union PCI_EXPRESS_LINK_CONTROL_2_REGISTER {
pub Anonymous: PCI_EXPRESS_LINK_CONTROL_2_REGISTER_0,
pub AsUSHORT: u16,
}
impl ::core::marker::Copy for PCI_EXPRESS_LINK_CONTROL_2_REGISTER {}
impl ::core::clone::Clone for PCI_EXPRESS_LINK_CONTROL_2_REGISTER {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for PCI_EXPRESS_LINK_CONTROL_2_REGISTER {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for PCI_EXPRESS_LINK_CONTROL_2_REGISTER {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct PCI_EXPRESS_LINK_CONTROL_2_REGISTER_0 {
pub _bitfield: u16,
}
impl ::core::marker::Copy for PCI_EXPRESS_LINK_CONTROL_2_REGISTER_0 {}
impl ::core::clone::Clone for PCI_EXPRESS_LINK_CONTROL_2_REGISTER_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for PCI_EXPRESS_LINK_CONTROL_2_REGISTER_0 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("PCI_EXPRESS_LINK_CONTROL_2_REGISTER_0").field("_bitfield", &self._bitfield).finish()
}
}
impl ::windows_core::TypeKind for PCI_EXPRESS_LINK_CONTROL_2_REGISTER_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for PCI_EXPRESS_LINK_CONTROL_2_REGISTER_0 {
fn eq(&self, other: &Self) -> bool {
self._bitfield == other._bitfield
}
}
impl ::core::cmp::Eq for PCI_EXPRESS_LINK_CONTROL_2_REGISTER_0 {}
impl ::core::default::Default for PCI_EXPRESS_LINK_CONTROL_2_REGISTER_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub union PCI_EXPRESS_LINK_CONTROL_REGISTER {
pub Anonymous: PCI_EXPRESS_LINK_CONTROL_REGISTER_0,
pub AsUSHORT: u16,
}
impl ::core::marker::Copy for PCI_EXPRESS_LINK_CONTROL_REGISTER {}
impl ::core::clone::Clone for PCI_EXPRESS_LINK_CONTROL_REGISTER {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for PCI_EXPRESS_LINK_CONTROL_REGISTER {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for PCI_EXPRESS_LINK_CONTROL_REGISTER {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct PCI_EXPRESS_LINK_CONTROL_REGISTER_0 {
pub _bitfield: u16,
}
impl ::core::marker::Copy for PCI_EXPRESS_LINK_CONTROL_REGISTER_0 {}
impl ::core::clone::Clone for PCI_EXPRESS_LINK_CONTROL_REGISTER_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for PCI_EXPRESS_LINK_CONTROL_REGISTER_0 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("PCI_EXPRESS_LINK_CONTROL_REGISTER_0").field("_bitfield", &self._bitfield).finish()
}
}
impl ::windows_core::TypeKind for PCI_EXPRESS_LINK_CONTROL_REGISTER_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for PCI_EXPRESS_LINK_CONTROL_REGISTER_0 {
fn eq(&self, other: &Self) -> bool {
self._bitfield == other._bitfield
}
}
impl ::core::cmp::Eq for PCI_EXPRESS_LINK_CONTROL_REGISTER_0 {}
impl ::core::default::Default for PCI_EXPRESS_LINK_CONTROL_REGISTER_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub struct PCI_EXPRESS_LINK_QUIESCENT_INTERFACE {
pub Size: u16,
pub Version: u16,
pub Context: *mut ::core::ffi::c_void,
pub InterfaceReference: PINTERFACE_REFERENCE,
pub InterfaceDereference: PINTERFACE_DEREFERENCE,
pub PciExpressEnterLinkQuiescentMode: PPCI_EXPRESS_ENTER_LINK_QUIESCENT_MODE,
pub PciExpressExitLinkQuiescentMode: PPCI_EXPRESS_EXIT_LINK_QUIESCENT_MODE,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for PCI_EXPRESS_LINK_QUIESCENT_INTERFACE {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for PCI_EXPRESS_LINK_QUIESCENT_INTERFACE {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::fmt::Debug for PCI_EXPRESS_LINK_QUIESCENT_INTERFACE {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("PCI_EXPRESS_LINK_QUIESCENT_INTERFACE").field("Size", &self.Size).field("Version", &self.Version).field("Context", &self.Context).finish()
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for PCI_EXPRESS_LINK_QUIESCENT_INTERFACE {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for PCI_EXPRESS_LINK_QUIESCENT_INTERFACE {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub union PCI_EXPRESS_LINK_STATUS_2_REGISTER {
pub Anonymous: PCI_EXPRESS_LINK_STATUS_2_REGISTER_0,
pub AsUSHORT: u16,
}
impl ::core::marker::Copy for PCI_EXPRESS_LINK_STATUS_2_REGISTER {}
impl ::core::clone::Clone for PCI_EXPRESS_LINK_STATUS_2_REGISTER {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for PCI_EXPRESS_LINK_STATUS_2_REGISTER {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for PCI_EXPRESS_LINK_STATUS_2_REGISTER {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct PCI_EXPRESS_LINK_STATUS_2_REGISTER_0 {
pub _bitfield: u16,
}
impl ::core::marker::Copy for PCI_EXPRESS_LINK_STATUS_2_REGISTER_0 {}
impl ::core::clone::Clone for PCI_EXPRESS_LINK_STATUS_2_REGISTER_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for PCI_EXPRESS_LINK_STATUS_2_REGISTER_0 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("PCI_EXPRESS_LINK_STATUS_2_REGISTER_0").field("_bitfield", &self._bitfield).finish()
}
}
impl ::windows_core::TypeKind for PCI_EXPRESS_LINK_STATUS_2_REGISTER_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for PCI_EXPRESS_LINK_STATUS_2_REGISTER_0 {
fn eq(&self, other: &Self) -> bool {
self._bitfield == other._bitfield
}
}
impl ::core::cmp::Eq for PCI_EXPRESS_LINK_STATUS_2_REGISTER_0 {}
impl ::core::default::Default for PCI_EXPRESS_LINK_STATUS_2_REGISTER_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub union PCI_EXPRESS_LINK_STATUS_REGISTER {
pub Anonymous: PCI_EXPRESS_LINK_STATUS_REGISTER_0,
pub AsUSHORT: u16,
}
impl ::core::marker::Copy for PCI_EXPRESS_LINK_STATUS_REGISTER {}
impl ::core::clone::Clone for PCI_EXPRESS_LINK_STATUS_REGISTER {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for PCI_EXPRESS_LINK_STATUS_REGISTER {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for PCI_EXPRESS_LINK_STATUS_REGISTER {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct PCI_EXPRESS_LINK_STATUS_REGISTER_0 {
pub _bitfield: u16,
}
impl ::core::marker::Copy for PCI_EXPRESS_LINK_STATUS_REGISTER_0 {}
impl ::core::clone::Clone for PCI_EXPRESS_LINK_STATUS_REGISTER_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for PCI_EXPRESS_LINK_STATUS_REGISTER_0 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("PCI_EXPRESS_LINK_STATUS_REGISTER_0").field("_bitfield", &self._bitfield).finish()
}
}
impl ::windows_core::TypeKind for PCI_EXPRESS_LINK_STATUS_REGISTER_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for PCI_EXPRESS_LINK_STATUS_REGISTER_0 {
fn eq(&self, other: &Self) -> bool {
self._bitfield == other._bitfield
}
}
impl ::core::cmp::Eq for PCI_EXPRESS_LINK_STATUS_REGISTER_0 {}
impl ::core::default::Default for PCI_EXPRESS_LINK_STATUS_REGISTER_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct PCI_EXPRESS_LTR_CAPABILITY {
pub Header: PCI_EXPRESS_ENHANCED_CAPABILITY_HEADER,
pub Latency: PCI_EXPRESS_LTR_MAX_LATENCY_REGISTER,
}
impl ::core::marker::Copy for PCI_EXPRESS_LTR_CAPABILITY {}
impl ::core::clone::Clone for PCI_EXPRESS_LTR_CAPABILITY {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for PCI_EXPRESS_LTR_CAPABILITY {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for PCI_EXPRESS_LTR_CAPABILITY {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub union PCI_EXPRESS_LTR_MAX_LATENCY_REGISTER {
pub Anonymous: PCI_EXPRESS_LTR_MAX_LATENCY_REGISTER_0,
pub AsULONG: u32,
}
impl ::core::marker::Copy for PCI_EXPRESS_LTR_MAX_LATENCY_REGISTER {}
impl ::core::clone::Clone for PCI_EXPRESS_LTR_MAX_LATENCY_REGISTER {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for PCI_EXPRESS_LTR_MAX_LATENCY_REGISTER {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for PCI_EXPRESS_LTR_MAX_LATENCY_REGISTER {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct PCI_EXPRESS_LTR_MAX_LATENCY_REGISTER_0 {
pub _bitfield: u32,
}
impl ::core::marker::Copy for PCI_EXPRESS_LTR_MAX_LATENCY_REGISTER_0 {}
impl ::core::clone::Clone for PCI_EXPRESS_LTR_MAX_LATENCY_REGISTER_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for PCI_EXPRESS_LTR_MAX_LATENCY_REGISTER_0 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("PCI_EXPRESS_LTR_MAX_LATENCY_REGISTER_0").field("_bitfield", &self._bitfield).finish()
}
}
impl ::windows_core::TypeKind for PCI_EXPRESS_LTR_MAX_LATENCY_REGISTER_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for PCI_EXPRESS_LTR_MAX_LATENCY_REGISTER_0 {
fn eq(&self, other: &Self) -> bool {
self._bitfield == other._bitfield
}
}
impl ::core::cmp::Eq for PCI_EXPRESS_LTR_MAX_LATENCY_REGISTER_0 {}
impl ::core::default::Default for PCI_EXPRESS_LTR_MAX_LATENCY_REGISTER_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct PCI_EXPRESS_NPEM_CAPABILITY {
pub Header: PCI_EXPRESS_ENHANCED_CAPABILITY_HEADER,
pub Capability: PCI_EXPRESS_NPEM_CAPABILITY_REGISTER,
pub Control: PCI_EXPRESS_NPEM_CONTROL_REGISTER,
pub Status: PCI_EXPRESS_NPEM_STATUS_REGISTER,
}
impl ::core::marker::Copy for PCI_EXPRESS_NPEM_CAPABILITY {}
impl ::core::clone::Clone for PCI_EXPRESS_NPEM_CAPABILITY {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for PCI_EXPRESS_NPEM_CAPABILITY {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for PCI_EXPRESS_NPEM_CAPABILITY {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub union PCI_EXPRESS_NPEM_CAPABILITY_REGISTER {
pub Anonymous: PCI_EXPRESS_NPEM_CAPABILITY_REGISTER_0,
pub AsULONG: u32,
}
impl ::core::marker::Copy for PCI_EXPRESS_NPEM_CAPABILITY_REGISTER {}
impl ::core::clone::Clone for PCI_EXPRESS_NPEM_CAPABILITY_REGISTER {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for PCI_EXPRESS_NPEM_CAPABILITY_REGISTER {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for PCI_EXPRESS_NPEM_CAPABILITY_REGISTER {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct PCI_EXPRESS_NPEM_CAPABILITY_REGISTER_0 {
pub _bitfield: u32,
}
impl ::core::marker::Copy for PCI_EXPRESS_NPEM_CAPABILITY_REGISTER_0 {}
impl ::core::clone::Clone for PCI_EXPRESS_NPEM_CAPABILITY_REGISTER_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for PCI_EXPRESS_NPEM_CAPABILITY_REGISTER_0 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("PCI_EXPRESS_NPEM_CAPABILITY_REGISTER_0").field("_bitfield", &self._bitfield).finish()
}
}
impl ::windows_core::TypeKind for PCI_EXPRESS_NPEM_CAPABILITY_REGISTER_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for PCI_EXPRESS_NPEM_CAPABILITY_REGISTER_0 {
fn eq(&self, other: &Self) -> bool {
self._bitfield == other._bitfield
}
}
impl ::core::cmp::Eq for PCI_EXPRESS_NPEM_CAPABILITY_REGISTER_0 {}
impl ::core::default::Default for PCI_EXPRESS_NPEM_CAPABILITY_REGISTER_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub union PCI_EXPRESS_NPEM_CONTROL_REGISTER {
pub Anonymous: PCI_EXPRESS_NPEM_CONTROL_REGISTER_0,
pub AsULONG: u32,
}
impl ::core::marker::Copy for PCI_EXPRESS_NPEM_CONTROL_REGISTER {}
impl ::core::clone::Clone for PCI_EXPRESS_NPEM_CONTROL_REGISTER {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for PCI_EXPRESS_NPEM_CONTROL_REGISTER {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for PCI_EXPRESS_NPEM_CONTROL_REGISTER {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct PCI_EXPRESS_NPEM_CONTROL_REGISTER_0 {
pub _bitfield: u32,
}
impl ::core::marker::Copy for PCI_EXPRESS_NPEM_CONTROL_REGISTER_0 {}
impl ::core::clone::Clone for PCI_EXPRESS_NPEM_CONTROL_REGISTER_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for PCI_EXPRESS_NPEM_CONTROL_REGISTER_0 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("PCI_EXPRESS_NPEM_CONTROL_REGISTER_0").field("_bitfield", &self._bitfield).finish()
}
}
impl ::windows_core::TypeKind for PCI_EXPRESS_NPEM_CONTROL_REGISTER_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for PCI_EXPRESS_NPEM_CONTROL_REGISTER_0 {
fn eq(&self, other: &Self) -> bool {
self._bitfield == other._bitfield
}
}
impl ::core::cmp::Eq for PCI_EXPRESS_NPEM_CONTROL_REGISTER_0 {}
impl ::core::default::Default for PCI_EXPRESS_NPEM_CONTROL_REGISTER_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub union PCI_EXPRESS_NPEM_STATUS_REGISTER {
pub Anonymous: PCI_EXPRESS_NPEM_STATUS_REGISTER_0,
pub AsULONG: u32,
}
impl ::core::marker::Copy for PCI_EXPRESS_NPEM_STATUS_REGISTER {}
impl ::core::clone::Clone for PCI_EXPRESS_NPEM_STATUS_REGISTER {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for PCI_EXPRESS_NPEM_STATUS_REGISTER {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for PCI_EXPRESS_NPEM_STATUS_REGISTER {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct PCI_EXPRESS_NPEM_STATUS_REGISTER_0 {
pub _bitfield: u32,
}
impl ::core::marker::Copy for PCI_EXPRESS_NPEM_STATUS_REGISTER_0 {}
impl ::core::clone::Clone for PCI_EXPRESS_NPEM_STATUS_REGISTER_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for PCI_EXPRESS_NPEM_STATUS_REGISTER_0 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("PCI_EXPRESS_NPEM_STATUS_REGISTER_0").field("_bitfield", &self._bitfield).finish()
}
}
impl ::windows_core::TypeKind for PCI_EXPRESS_NPEM_STATUS_REGISTER_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for PCI_EXPRESS_NPEM_STATUS_REGISTER_0 {
fn eq(&self, other: &Self) -> bool {
self._bitfield == other._bitfield
}
}
impl ::core::cmp::Eq for PCI_EXPRESS_NPEM_STATUS_REGISTER_0 {}
impl ::core::default::Default for PCI_EXPRESS_NPEM_STATUS_REGISTER_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct PCI_EXPRESS_PASID_CAPABILITY {
pub Header: PCI_EXPRESS_ENHANCED_CAPABILITY_HEADER,
pub Capability: PCI_EXPRESS_PASID_CAPABILITY_REGISTER,
pub Control: PCI_EXPRESS_PASID_CONTROL_REGISTER,
}
impl ::core::marker::Copy for PCI_EXPRESS_PASID_CAPABILITY {}
impl ::core::clone::Clone for PCI_EXPRESS_PASID_CAPABILITY {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for PCI_EXPRESS_PASID_CAPABILITY {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for PCI_EXPRESS_PASID_CAPABILITY {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub union PCI_EXPRESS_PASID_CAPABILITY_REGISTER {
pub Anonymous: PCI_EXPRESS_PASID_CAPABILITY_REGISTER_0,
pub AsUSHORT: u16,
}
impl ::core::marker::Copy for PCI_EXPRESS_PASID_CAPABILITY_REGISTER {}
impl ::core::clone::Clone for PCI_EXPRESS_PASID_CAPABILITY_REGISTER {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for PCI_EXPRESS_PASID_CAPABILITY_REGISTER {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for PCI_EXPRESS_PASID_CAPABILITY_REGISTER {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct PCI_EXPRESS_PASID_CAPABILITY_REGISTER_0 {
pub _bitfield: u16,
}
impl ::core::marker::Copy for PCI_EXPRESS_PASID_CAPABILITY_REGISTER_0 {}
impl ::core::clone::Clone for PCI_EXPRESS_PASID_CAPABILITY_REGISTER_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for PCI_EXPRESS_PASID_CAPABILITY_REGISTER_0 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("PCI_EXPRESS_PASID_CAPABILITY_REGISTER_0").field("_bitfield", &self._bitfield).finish()
}
}
impl ::windows_core::TypeKind for PCI_EXPRESS_PASID_CAPABILITY_REGISTER_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for PCI_EXPRESS_PASID_CAPABILITY_REGISTER_0 {
fn eq(&self, other: &Self) -> bool {
self._bitfield == other._bitfield
}
}
impl ::core::cmp::Eq for PCI_EXPRESS_PASID_CAPABILITY_REGISTER_0 {}
impl ::core::default::Default for PCI_EXPRESS_PASID_CAPABILITY_REGISTER_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub union PCI_EXPRESS_PASID_CONTROL_REGISTER {
pub Anonymous: PCI_EXPRESS_PASID_CONTROL_REGISTER_0,
pub AsUSHORT: u16,
}
impl ::core::marker::Copy for PCI_EXPRESS_PASID_CONTROL_REGISTER {}
impl ::core::clone::Clone for PCI_EXPRESS_PASID_CONTROL_REGISTER {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for PCI_EXPRESS_PASID_CONTROL_REGISTER {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for PCI_EXPRESS_PASID_CONTROL_REGISTER {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct PCI_EXPRESS_PASID_CONTROL_REGISTER_0 {
pub _bitfield: u16,
}
impl ::core::marker::Copy for PCI_EXPRESS_PASID_CONTROL_REGISTER_0 {}
impl ::core::clone::Clone for PCI_EXPRESS_PASID_CONTROL_REGISTER_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for PCI_EXPRESS_PASID_CONTROL_REGISTER_0 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("PCI_EXPRESS_PASID_CONTROL_REGISTER_0").field("_bitfield", &self._bitfield).finish()
}
}
impl ::windows_core::TypeKind for PCI_EXPRESS_PASID_CONTROL_REGISTER_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for PCI_EXPRESS_PASID_CONTROL_REGISTER_0 {
fn eq(&self, other: &Self) -> bool {
self._bitfield == other._bitfield
}
}
impl ::core::cmp::Eq for PCI_EXPRESS_PASID_CONTROL_REGISTER_0 {}
impl ::core::default::Default for PCI_EXPRESS_PASID_CONTROL_REGISTER_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub union PCI_EXPRESS_PME_REQUESTOR_ID {
pub Anonymous: PCI_EXPRESS_PME_REQUESTOR_ID_0,
pub AsUSHORT: u16,
}
impl ::core::marker::Copy for PCI_EXPRESS_PME_REQUESTOR_ID {}
impl ::core::clone::Clone for PCI_EXPRESS_PME_REQUESTOR_ID {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for PCI_EXPRESS_PME_REQUESTOR_ID {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for PCI_EXPRESS_PME_REQUESTOR_ID {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct PCI_EXPRESS_PME_REQUESTOR_ID_0 {
pub _bitfield: u16,
}
impl ::core::marker::Copy for PCI_EXPRESS_PME_REQUESTOR_ID_0 {}
impl ::core::clone::Clone for PCI_EXPRESS_PME_REQUESTOR_ID_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for PCI_EXPRESS_PME_REQUESTOR_ID_0 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("PCI_EXPRESS_PME_REQUESTOR_ID_0").field("_bitfield", &self._bitfield).finish()
}
}
impl ::windows_core::TypeKind for PCI_EXPRESS_PME_REQUESTOR_ID_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for PCI_EXPRESS_PME_REQUESTOR_ID_0 {
fn eq(&self, other: &Self) -> bool {
self._bitfield == other._bitfield
}
}
impl ::core::cmp::Eq for PCI_EXPRESS_PME_REQUESTOR_ID_0 {}
impl ::core::default::Default for PCI_EXPRESS_PME_REQUESTOR_ID_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct PCI_EXPRESS_PRI_CAPABILITY {
pub Header: PCI_EXPRESS_ENHANCED_CAPABILITY_HEADER,
pub Control: PCI_EXPRESS_PRI_CONTROL_REGISTER,
pub Status: PCI_EXPRESS_PRI_STATUS_REGISTER,
pub PRCapacity: u32,
pub PRAllocation: u32,
}
impl ::core::marker::Copy for PCI_EXPRESS_PRI_CAPABILITY {}
impl ::core::clone::Clone for PCI_EXPRESS_PRI_CAPABILITY {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for PCI_EXPRESS_PRI_CAPABILITY {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for PCI_EXPRESS_PRI_CAPABILITY {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub union PCI_EXPRESS_PRI_CONTROL_REGISTER {
pub Anonymous: PCI_EXPRESS_PRI_CONTROL_REGISTER_0,
pub AsUSHORT: u16,
}
impl ::core::marker::Copy for PCI_EXPRESS_PRI_CONTROL_REGISTER {}
impl ::core::clone::Clone for PCI_EXPRESS_PRI_CONTROL_REGISTER {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for PCI_EXPRESS_PRI_CONTROL_REGISTER {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for PCI_EXPRESS_PRI_CONTROL_REGISTER {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct PCI_EXPRESS_PRI_CONTROL_REGISTER_0 {
pub _bitfield: u16,
}
impl ::core::marker::Copy for PCI_EXPRESS_PRI_CONTROL_REGISTER_0 {}
impl ::core::clone::Clone for PCI_EXPRESS_PRI_CONTROL_REGISTER_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for PCI_EXPRESS_PRI_CONTROL_REGISTER_0 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("PCI_EXPRESS_PRI_CONTROL_REGISTER_0").field("_bitfield", &self._bitfield).finish()
}
}
impl ::windows_core::TypeKind for PCI_EXPRESS_PRI_CONTROL_REGISTER_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for PCI_EXPRESS_PRI_CONTROL_REGISTER_0 {
fn eq(&self, other: &Self) -> bool {
self._bitfield == other._bitfield
}
}
impl ::core::cmp::Eq for PCI_EXPRESS_PRI_CONTROL_REGISTER_0 {}
impl ::core::default::Default for PCI_EXPRESS_PRI_CONTROL_REGISTER_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub union PCI_EXPRESS_PRI_STATUS_REGISTER {
pub Anonymous: PCI_EXPRESS_PRI_STATUS_REGISTER_0,
pub AsUSHORT: u16,
}
impl ::core::marker::Copy for PCI_EXPRESS_PRI_STATUS_REGISTER {}
impl ::core::clone::Clone for PCI_EXPRESS_PRI_STATUS_REGISTER {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for PCI_EXPRESS_PRI_STATUS_REGISTER {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for PCI_EXPRESS_PRI_STATUS_REGISTER {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct PCI_EXPRESS_PRI_STATUS_REGISTER_0 {
pub _bitfield: u16,
}
impl ::core::marker::Copy for PCI_EXPRESS_PRI_STATUS_REGISTER_0 {}
impl ::core::clone::Clone for PCI_EXPRESS_PRI_STATUS_REGISTER_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for PCI_EXPRESS_PRI_STATUS_REGISTER_0 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("PCI_EXPRESS_PRI_STATUS_REGISTER_0").field("_bitfield", &self._bitfield).finish()
}
}
impl ::windows_core::TypeKind for PCI_EXPRESS_PRI_STATUS_REGISTER_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for PCI_EXPRESS_PRI_STATUS_REGISTER_0 {
fn eq(&self, other: &Self) -> bool {
self._bitfield == other._bitfield
}
}
impl ::core::cmp::Eq for PCI_EXPRESS_PRI_STATUS_REGISTER_0 {}
impl ::core::default::Default for PCI_EXPRESS_PRI_STATUS_REGISTER_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct PCI_EXPRESS_PTM_CAPABILITY {
pub Header: PCI_EXPRESS_ENHANCED_CAPABILITY_HEADER,
pub PtmCapability: PCI_EXPRESS_PTM_CAPABILITY_REGISTER,
pub PtmControl: PCI_EXPRESS_PTM_CONTROL_REGISTER,
}
impl ::core::marker::Copy for PCI_EXPRESS_PTM_CAPABILITY {}
impl ::core::clone::Clone for PCI_EXPRESS_PTM_CAPABILITY {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for PCI_EXPRESS_PTM_CAPABILITY {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for PCI_EXPRESS_PTM_CAPABILITY {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub union PCI_EXPRESS_PTM_CAPABILITY_REGISTER {
pub Anonymous: PCI_EXPRESS_PTM_CAPABILITY_REGISTER_0,
pub AsULONG: u32,
}
impl ::core::marker::Copy for PCI_EXPRESS_PTM_CAPABILITY_REGISTER {}
impl ::core::clone::Clone for PCI_EXPRESS_PTM_CAPABILITY_REGISTER {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for PCI_EXPRESS_PTM_CAPABILITY_REGISTER {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for PCI_EXPRESS_PTM_CAPABILITY_REGISTER {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct PCI_EXPRESS_PTM_CAPABILITY_REGISTER_0 {
pub _bitfield: u32,
}
impl ::core::marker::Copy for PCI_EXPRESS_PTM_CAPABILITY_REGISTER_0 {}
impl ::core::clone::Clone for PCI_EXPRESS_PTM_CAPABILITY_REGISTER_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for PCI_EXPRESS_PTM_CAPABILITY_REGISTER_0 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("PCI_EXPRESS_PTM_CAPABILITY_REGISTER_0").field("_bitfield", &self._bitfield).finish()
}
}
impl ::windows_core::TypeKind for PCI_EXPRESS_PTM_CAPABILITY_REGISTER_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for PCI_EXPRESS_PTM_CAPABILITY_REGISTER_0 {
fn eq(&self, other: &Self) -> bool {
self._bitfield == other._bitfield
}
}
impl ::core::cmp::Eq for PCI_EXPRESS_PTM_CAPABILITY_REGISTER_0 {}
impl ::core::default::Default for PCI_EXPRESS_PTM_CAPABILITY_REGISTER_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub union PCI_EXPRESS_PTM_CONTROL_REGISTER {
pub Anonymous: PCI_EXPRESS_PTM_CONTROL_REGISTER_0,
pub AsULONG: u32,
}
impl ::core::marker::Copy for PCI_EXPRESS_PTM_CONTROL_REGISTER {}
impl ::core::clone::Clone for PCI_EXPRESS_PTM_CONTROL_REGISTER {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for PCI_EXPRESS_PTM_CONTROL_REGISTER {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for PCI_EXPRESS_PTM_CONTROL_REGISTER {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct PCI_EXPRESS_PTM_CONTROL_REGISTER_0 {
pub _bitfield: u32,
}
impl ::core::marker::Copy for PCI_EXPRESS_PTM_CONTROL_REGISTER_0 {}
impl ::core::clone::Clone for PCI_EXPRESS_PTM_CONTROL_REGISTER_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for PCI_EXPRESS_PTM_CONTROL_REGISTER_0 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("PCI_EXPRESS_PTM_CONTROL_REGISTER_0").field("_bitfield", &self._bitfield).finish()
}
}
impl ::windows_core::TypeKind for PCI_EXPRESS_PTM_CONTROL_REGISTER_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for PCI_EXPRESS_PTM_CONTROL_REGISTER_0 {
fn eq(&self, other: &Self) -> bool {
self._bitfield == other._bitfield
}
}
impl ::core::cmp::Eq for PCI_EXPRESS_PTM_CONTROL_REGISTER_0 {}
impl ::core::default::Default for PCI_EXPRESS_PTM_CONTROL_REGISTER_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct PCI_EXPRESS_RESIZABLE_BAR_CAPABILITY {
pub Header: PCI_EXPRESS_ENHANCED_CAPABILITY_HEADER,
pub Entry: [PCI_EXPRESS_RESIZABLE_BAR_ENTRY; 6],
}
impl ::core::marker::Copy for PCI_EXPRESS_RESIZABLE_BAR_CAPABILITY {}
impl ::core::clone::Clone for PCI_EXPRESS_RESIZABLE_BAR_CAPABILITY {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for PCI_EXPRESS_RESIZABLE_BAR_CAPABILITY {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for PCI_EXPRESS_RESIZABLE_BAR_CAPABILITY {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub union PCI_EXPRESS_RESIZABLE_BAR_CAPABILITY_REGISTER {
pub Anonymous: PCI_EXPRESS_RESIZABLE_BAR_CAPABILITY_REGISTER_0,
pub AsULONG: u32,
}
impl ::core::marker::Copy for PCI_EXPRESS_RESIZABLE_BAR_CAPABILITY_REGISTER {}
impl ::core::clone::Clone for PCI_EXPRESS_RESIZABLE_BAR_CAPABILITY_REGISTER {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for PCI_EXPRESS_RESIZABLE_BAR_CAPABILITY_REGISTER {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for PCI_EXPRESS_RESIZABLE_BAR_CAPABILITY_REGISTER {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct PCI_EXPRESS_RESIZABLE_BAR_CAPABILITY_REGISTER_0 {
pub _bitfield: u32,
}
impl ::core::marker::Copy for PCI_EXPRESS_RESIZABLE_BAR_CAPABILITY_REGISTER_0 {}
impl ::core::clone::Clone for PCI_EXPRESS_RESIZABLE_BAR_CAPABILITY_REGISTER_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for PCI_EXPRESS_RESIZABLE_BAR_CAPABILITY_REGISTER_0 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("PCI_EXPRESS_RESIZABLE_BAR_CAPABILITY_REGISTER_0").field("_bitfield", &self._bitfield).finish()
}
}
impl ::windows_core::TypeKind for PCI_EXPRESS_RESIZABLE_BAR_CAPABILITY_REGISTER_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for PCI_EXPRESS_RESIZABLE_BAR_CAPABILITY_REGISTER_0 {
fn eq(&self, other: &Self) -> bool {
self._bitfield == other._bitfield
}
}
impl ::core::cmp::Eq for PCI_EXPRESS_RESIZABLE_BAR_CAPABILITY_REGISTER_0 {}
impl ::core::default::Default for PCI_EXPRESS_RESIZABLE_BAR_CAPABILITY_REGISTER_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub union PCI_EXPRESS_RESIZABLE_BAR_CONTROL_REGISTER {
pub Anonymous: PCI_EXPRESS_RESIZABLE_BAR_CONTROL_REGISTER_0,
pub AsULONG: u32,
}
impl ::core::marker::Copy for PCI_EXPRESS_RESIZABLE_BAR_CONTROL_REGISTER {}
impl ::core::clone::Clone for PCI_EXPRESS_RESIZABLE_BAR_CONTROL_REGISTER {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for PCI_EXPRESS_RESIZABLE_BAR_CONTROL_REGISTER {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for PCI_EXPRESS_RESIZABLE_BAR_CONTROL_REGISTER {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct PCI_EXPRESS_RESIZABLE_BAR_CONTROL_REGISTER_0 {
pub _bitfield: u32,
}
impl ::core::marker::Copy for PCI_EXPRESS_RESIZABLE_BAR_CONTROL_REGISTER_0 {}
impl ::core::clone::Clone for PCI_EXPRESS_RESIZABLE_BAR_CONTROL_REGISTER_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for PCI_EXPRESS_RESIZABLE_BAR_CONTROL_REGISTER_0 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("PCI_EXPRESS_RESIZABLE_BAR_CONTROL_REGISTER_0").field("_bitfield", &self._bitfield).finish()
}
}
impl ::windows_core::TypeKind for PCI_EXPRESS_RESIZABLE_BAR_CONTROL_REGISTER_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for PCI_EXPRESS_RESIZABLE_BAR_CONTROL_REGISTER_0 {
fn eq(&self, other: &Self) -> bool {
self._bitfield == other._bitfield
}
}
impl ::core::cmp::Eq for PCI_EXPRESS_RESIZABLE_BAR_CONTROL_REGISTER_0 {}
impl ::core::default::Default for PCI_EXPRESS_RESIZABLE_BAR_CONTROL_REGISTER_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct PCI_EXPRESS_RESIZABLE_BAR_ENTRY {
pub Capability: PCI_EXPRESS_RESIZABLE_BAR_CAPABILITY_REGISTER,
pub Control: PCI_EXPRESS_RESIZABLE_BAR_CONTROL_REGISTER,
}
impl ::core::marker::Copy for PCI_EXPRESS_RESIZABLE_BAR_ENTRY {}
impl ::core::clone::Clone for PCI_EXPRESS_RESIZABLE_BAR_ENTRY {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for PCI_EXPRESS_RESIZABLE_BAR_ENTRY {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for PCI_EXPRESS_RESIZABLE_BAR_ENTRY {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct PCI_EXPRESS_ROOTPORT_AER_CAPABILITY {
pub Header: PCI_EXPRESS_ENHANCED_CAPABILITY_HEADER,
pub UncorrectableErrorStatus: PCI_EXPRESS_UNCORRECTABLE_ERROR_STATUS,
pub UncorrectableErrorMask: PCI_EXPRESS_UNCORRECTABLE_ERROR_MASK,
pub UncorrectableErrorSeverity: PCI_EXPRESS_UNCORRECTABLE_ERROR_SEVERITY,
pub CorrectableErrorStatus: PCI_EXPRESS_CORRECTABLE_ERROR_STATUS,
pub CorrectableErrorMask: PCI_EXPRESS_CORRECTABLE_ERROR_MASK,
pub CapabilitiesAndControl: PCI_EXPRESS_AER_CAPABILITIES,
pub HeaderLog: [u32; 4],
pub RootErrorCommand: PCI_EXPRESS_ROOT_ERROR_COMMAND,
pub RootErrorStatus: PCI_EXPRESS_ROOT_ERROR_STATUS,
pub ErrorSourceId: PCI_EXPRESS_ERROR_SOURCE_ID,
}
impl ::core::marker::Copy for PCI_EXPRESS_ROOTPORT_AER_CAPABILITY {}
impl ::core::clone::Clone for PCI_EXPRESS_ROOTPORT_AER_CAPABILITY {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for PCI_EXPRESS_ROOTPORT_AER_CAPABILITY {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for PCI_EXPRESS_ROOTPORT_AER_CAPABILITY {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub union PCI_EXPRESS_ROOT_CAPABILITIES_REGISTER {
pub Anonymous: PCI_EXPRESS_ROOT_CAPABILITIES_REGISTER_0,
pub AsUSHORT: u16,
}
impl ::core::marker::Copy for PCI_EXPRESS_ROOT_CAPABILITIES_REGISTER {}
impl ::core::clone::Clone for PCI_EXPRESS_ROOT_CAPABILITIES_REGISTER {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for PCI_EXPRESS_ROOT_CAPABILITIES_REGISTER {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for PCI_EXPRESS_ROOT_CAPABILITIES_REGISTER {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct PCI_EXPRESS_ROOT_CAPABILITIES_REGISTER_0 {
pub _bitfield: u16,
}
impl ::core::marker::Copy for PCI_EXPRESS_ROOT_CAPABILITIES_REGISTER_0 {}
impl ::core::clone::Clone for PCI_EXPRESS_ROOT_CAPABILITIES_REGISTER_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for PCI_EXPRESS_ROOT_CAPABILITIES_REGISTER_0 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("PCI_EXPRESS_ROOT_CAPABILITIES_REGISTER_0").field("_bitfield", &self._bitfield).finish()
}
}
impl ::windows_core::TypeKind for PCI_EXPRESS_ROOT_CAPABILITIES_REGISTER_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for PCI_EXPRESS_ROOT_CAPABILITIES_REGISTER_0 {
fn eq(&self, other: &Self) -> bool {
self._bitfield == other._bitfield
}
}
impl ::core::cmp::Eq for PCI_EXPRESS_ROOT_CAPABILITIES_REGISTER_0 {}
impl ::core::default::Default for PCI_EXPRESS_ROOT_CAPABILITIES_REGISTER_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub union PCI_EXPRESS_ROOT_CONTROL_REGISTER {
pub Anonymous: PCI_EXPRESS_ROOT_CONTROL_REGISTER_0,
pub AsUSHORT: u16,
}
impl ::core::marker::Copy for PCI_EXPRESS_ROOT_CONTROL_REGISTER {}
impl ::core::clone::Clone for PCI_EXPRESS_ROOT_CONTROL_REGISTER {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for PCI_EXPRESS_ROOT_CONTROL_REGISTER {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for PCI_EXPRESS_ROOT_CONTROL_REGISTER {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct PCI_EXPRESS_ROOT_CONTROL_REGISTER_0 {
pub _bitfield: u16,
}
impl ::core::marker::Copy for PCI_EXPRESS_ROOT_CONTROL_REGISTER_0 {}
impl ::core::clone::Clone for PCI_EXPRESS_ROOT_CONTROL_REGISTER_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for PCI_EXPRESS_ROOT_CONTROL_REGISTER_0 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("PCI_EXPRESS_ROOT_CONTROL_REGISTER_0").field("_bitfield", &self._bitfield).finish()
}
}
impl ::windows_core::TypeKind for PCI_EXPRESS_ROOT_CONTROL_REGISTER_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for PCI_EXPRESS_ROOT_CONTROL_REGISTER_0 {
fn eq(&self, other: &Self) -> bool {
self._bitfield == other._bitfield
}
}
impl ::core::cmp::Eq for PCI_EXPRESS_ROOT_CONTROL_REGISTER_0 {}
impl ::core::default::Default for PCI_EXPRESS_ROOT_CONTROL_REGISTER_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub union PCI_EXPRESS_ROOT_ERROR_COMMAND {
pub Anonymous: PCI_EXPRESS_ROOT_ERROR_COMMAND_0,
pub AsULONG: u32,
}
impl ::core::marker::Copy for PCI_EXPRESS_ROOT_ERROR_COMMAND {}
impl ::core::clone::Clone for PCI_EXPRESS_ROOT_ERROR_COMMAND {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for PCI_EXPRESS_ROOT_ERROR_COMMAND {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for PCI_EXPRESS_ROOT_ERROR_COMMAND {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct PCI_EXPRESS_ROOT_ERROR_COMMAND_0 {
pub _bitfield: u32,
}
impl ::core::marker::Copy for PCI_EXPRESS_ROOT_ERROR_COMMAND_0 {}
impl ::core::clone::Clone for PCI_EXPRESS_ROOT_ERROR_COMMAND_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for PCI_EXPRESS_ROOT_ERROR_COMMAND_0 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("PCI_EXPRESS_ROOT_ERROR_COMMAND_0").field("_bitfield", &self._bitfield).finish()
}
}
impl ::windows_core::TypeKind for PCI_EXPRESS_ROOT_ERROR_COMMAND_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for PCI_EXPRESS_ROOT_ERROR_COMMAND_0 {
fn eq(&self, other: &Self) -> bool {
self._bitfield == other._bitfield
}
}
impl ::core::cmp::Eq for PCI_EXPRESS_ROOT_ERROR_COMMAND_0 {}
impl ::core::default::Default for PCI_EXPRESS_ROOT_ERROR_COMMAND_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub union PCI_EXPRESS_ROOT_ERROR_STATUS {
pub Anonymous: PCI_EXPRESS_ROOT_ERROR_STATUS_0,
pub AsULONG: u32,
}
impl ::core::marker::Copy for PCI_EXPRESS_ROOT_ERROR_STATUS {}
impl ::core::clone::Clone for PCI_EXPRESS_ROOT_ERROR_STATUS {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for PCI_EXPRESS_ROOT_ERROR_STATUS {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for PCI_EXPRESS_ROOT_ERROR_STATUS {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct PCI_EXPRESS_ROOT_ERROR_STATUS_0 {
pub _bitfield: u32,
}
impl ::core::marker::Copy for PCI_EXPRESS_ROOT_ERROR_STATUS_0 {}
impl ::core::clone::Clone for PCI_EXPRESS_ROOT_ERROR_STATUS_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for PCI_EXPRESS_ROOT_ERROR_STATUS_0 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("PCI_EXPRESS_ROOT_ERROR_STATUS_0").field("_bitfield", &self._bitfield).finish()
}
}
impl ::windows_core::TypeKind for PCI_EXPRESS_ROOT_ERROR_STATUS_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for PCI_EXPRESS_ROOT_ERROR_STATUS_0 {
fn eq(&self, other: &Self) -> bool {
self._bitfield == other._bitfield
}
}
impl ::core::cmp::Eq for PCI_EXPRESS_ROOT_ERROR_STATUS_0 {}
impl ::core::default::Default for PCI_EXPRESS_ROOT_ERROR_STATUS_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct PCI_EXPRESS_ROOT_PORT_INTERFACE {
pub Size: u16,
pub Version: u16,
pub Context: *mut ::core::ffi::c_void,
pub InterfaceReference: PINTERFACE_REFERENCE,
pub InterfaceDereference: PINTERFACE_DEREFERENCE,
pub ReadConfigSpace: PPCI_EXPRESS_ROOT_PORT_READ_CONFIG_SPACE,
pub WriteConfigSpace: PPCI_EXPRESS_ROOT_PORT_WRITE_CONFIG_SPACE,
}
impl ::core::marker::Copy for PCI_EXPRESS_ROOT_PORT_INTERFACE {}
impl ::core::clone::Clone for PCI_EXPRESS_ROOT_PORT_INTERFACE {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for PCI_EXPRESS_ROOT_PORT_INTERFACE {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("PCI_EXPRESS_ROOT_PORT_INTERFACE").field("Size", &self.Size).field("Version", &self.Version).field("Context", &self.Context).finish()
}
}
impl ::windows_core::TypeKind for PCI_EXPRESS_ROOT_PORT_INTERFACE {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for PCI_EXPRESS_ROOT_PORT_INTERFACE {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub union PCI_EXPRESS_ROOT_STATUS_REGISTER {
pub Anonymous: PCI_EXPRESS_ROOT_STATUS_REGISTER_0,
pub AsULONG: u32,
}
impl ::core::marker::Copy for PCI_EXPRESS_ROOT_STATUS_REGISTER {}
impl ::core::clone::Clone for PCI_EXPRESS_ROOT_STATUS_REGISTER {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for PCI_EXPRESS_ROOT_STATUS_REGISTER {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for PCI_EXPRESS_ROOT_STATUS_REGISTER {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct PCI_EXPRESS_ROOT_STATUS_REGISTER_0 {
pub _bitfield: u32,
}
impl ::core::marker::Copy for PCI_EXPRESS_ROOT_STATUS_REGISTER_0 {}
impl ::core::clone::Clone for PCI_EXPRESS_ROOT_STATUS_REGISTER_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for PCI_EXPRESS_ROOT_STATUS_REGISTER_0 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("PCI_EXPRESS_ROOT_STATUS_REGISTER_0").field("_bitfield", &self._bitfield).finish()
}
}
impl ::windows_core::TypeKind for PCI_EXPRESS_ROOT_STATUS_REGISTER_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for PCI_EXPRESS_ROOT_STATUS_REGISTER_0 {
fn eq(&self, other: &Self) -> bool {
self._bitfield == other._bitfield
}
}
impl ::core::cmp::Eq for PCI_EXPRESS_ROOT_STATUS_REGISTER_0 {}
impl ::core::default::Default for PCI_EXPRESS_ROOT_STATUS_REGISTER_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct PCI_EXPRESS_SECONDARY_CAPABILITY {
pub Header: PCI_EXPRESS_ENHANCED_CAPABILITY_HEADER,
pub LinkControl3: PCI_EXPRESS_LINK_CONTROL3,
pub LaneErrorStatus: PCI_EXPRESS_LANE_ERROR_STATUS,
}
impl ::core::marker::Copy for PCI_EXPRESS_SECONDARY_CAPABILITY {}
impl ::core::clone::Clone for PCI_EXPRESS_SECONDARY_CAPABILITY {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for PCI_EXPRESS_SECONDARY_CAPABILITY {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for PCI_EXPRESS_SECONDARY_CAPABILITY {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub union PCI_EXPRESS_SEC_AER_CAPABILITIES {
pub Anonymous: PCI_EXPRESS_SEC_AER_CAPABILITIES_0,
pub AsULONG: u32,
}
impl ::core::marker::Copy for PCI_EXPRESS_SEC_AER_CAPABILITIES {}
impl ::core::clone::Clone for PCI_EXPRESS_SEC_AER_CAPABILITIES {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for PCI_EXPRESS_SEC_AER_CAPABILITIES {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for PCI_EXPRESS_SEC_AER_CAPABILITIES {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct PCI_EXPRESS_SEC_AER_CAPABILITIES_0 {
pub _bitfield: u32,
}
impl ::core::marker::Copy for PCI_EXPRESS_SEC_AER_CAPABILITIES_0 {}
impl ::core::clone::Clone for PCI_EXPRESS_SEC_AER_CAPABILITIES_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for PCI_EXPRESS_SEC_AER_CAPABILITIES_0 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("PCI_EXPRESS_SEC_AER_CAPABILITIES_0").field("_bitfield", &self._bitfield).finish()
}
}
impl ::windows_core::TypeKind for PCI_EXPRESS_SEC_AER_CAPABILITIES_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for PCI_EXPRESS_SEC_AER_CAPABILITIES_0 {
fn eq(&self, other: &Self) -> bool {
self._bitfield == other._bitfield
}
}
impl ::core::cmp::Eq for PCI_EXPRESS_SEC_AER_CAPABILITIES_0 {}
impl ::core::default::Default for PCI_EXPRESS_SEC_AER_CAPABILITIES_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub union PCI_EXPRESS_SEC_UNCORRECTABLE_ERROR_MASK {
pub Anonymous: PCI_EXPRESS_SEC_UNCORRECTABLE_ERROR_MASK_0,
pub AsULONG: u32,
}
impl ::core::marker::Copy for PCI_EXPRESS_SEC_UNCORRECTABLE_ERROR_MASK {}
impl ::core::clone::Clone for PCI_EXPRESS_SEC_UNCORRECTABLE_ERROR_MASK {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for PCI_EXPRESS_SEC_UNCORRECTABLE_ERROR_MASK {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for PCI_EXPRESS_SEC_UNCORRECTABLE_ERROR_MASK {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct PCI_EXPRESS_SEC_UNCORRECTABLE_ERROR_MASK_0 {
pub _bitfield: u32,
}
impl ::core::marker::Copy for PCI_EXPRESS_SEC_UNCORRECTABLE_ERROR_MASK_0 {}
impl ::core::clone::Clone for PCI_EXPRESS_SEC_UNCORRECTABLE_ERROR_MASK_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for PCI_EXPRESS_SEC_UNCORRECTABLE_ERROR_MASK_0 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("PCI_EXPRESS_SEC_UNCORRECTABLE_ERROR_MASK_0").field("_bitfield", &self._bitfield).finish()
}
}
impl ::windows_core::TypeKind for PCI_EXPRESS_SEC_UNCORRECTABLE_ERROR_MASK_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for PCI_EXPRESS_SEC_UNCORRECTABLE_ERROR_MASK_0 {
fn eq(&self, other: &Self) -> bool {
self._bitfield == other._bitfield
}
}
impl ::core::cmp::Eq for PCI_EXPRESS_SEC_UNCORRECTABLE_ERROR_MASK_0 {}
impl ::core::default::Default for PCI_EXPRESS_SEC_UNCORRECTABLE_ERROR_MASK_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub union PCI_EXPRESS_SEC_UNCORRECTABLE_ERROR_SEVERITY {
pub Anonymous: PCI_EXPRESS_SEC_UNCORRECTABLE_ERROR_SEVERITY_0,
pub AsULONG: u32,
}
impl ::core::marker::Copy for PCI_EXPRESS_SEC_UNCORRECTABLE_ERROR_SEVERITY {}
impl ::core::clone::Clone for PCI_EXPRESS_SEC_UNCORRECTABLE_ERROR_SEVERITY {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for PCI_EXPRESS_SEC_UNCORRECTABLE_ERROR_SEVERITY {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for PCI_EXPRESS_SEC_UNCORRECTABLE_ERROR_SEVERITY {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct PCI_EXPRESS_SEC_UNCORRECTABLE_ERROR_SEVERITY_0 {
pub _bitfield: u32,
}
impl ::core::marker::Copy for PCI_EXPRESS_SEC_UNCORRECTABLE_ERROR_SEVERITY_0 {}
impl ::core::clone::Clone for PCI_EXPRESS_SEC_UNCORRECTABLE_ERROR_SEVERITY_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for PCI_EXPRESS_SEC_UNCORRECTABLE_ERROR_SEVERITY_0 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("PCI_EXPRESS_SEC_UNCORRECTABLE_ERROR_SEVERITY_0").field("_bitfield", &self._bitfield).finish()
}
}
impl ::windows_core::TypeKind for PCI_EXPRESS_SEC_UNCORRECTABLE_ERROR_SEVERITY_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for PCI_EXPRESS_SEC_UNCORRECTABLE_ERROR_SEVERITY_0 {
fn eq(&self, other: &Self) -> bool {
self._bitfield == other._bitfield
}
}
impl ::core::cmp::Eq for PCI_EXPRESS_SEC_UNCORRECTABLE_ERROR_SEVERITY_0 {}
impl ::core::default::Default for PCI_EXPRESS_SEC_UNCORRECTABLE_ERROR_SEVERITY_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub union PCI_EXPRESS_SEC_UNCORRECTABLE_ERROR_STATUS {
pub Anonymous: PCI_EXPRESS_SEC_UNCORRECTABLE_ERROR_STATUS_0,
pub AsULONG: u32,
}
impl ::core::marker::Copy for PCI_EXPRESS_SEC_UNCORRECTABLE_ERROR_STATUS {}
impl ::core::clone::Clone for PCI_EXPRESS_SEC_UNCORRECTABLE_ERROR_STATUS {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for PCI_EXPRESS_SEC_UNCORRECTABLE_ERROR_STATUS {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for PCI_EXPRESS_SEC_UNCORRECTABLE_ERROR_STATUS {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct PCI_EXPRESS_SEC_UNCORRECTABLE_ERROR_STATUS_0 {
pub _bitfield: u32,
}
impl ::core::marker::Copy for PCI_EXPRESS_SEC_UNCORRECTABLE_ERROR_STATUS_0 {}
impl ::core::clone::Clone for PCI_EXPRESS_SEC_UNCORRECTABLE_ERROR_STATUS_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for PCI_EXPRESS_SEC_UNCORRECTABLE_ERROR_STATUS_0 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("PCI_EXPRESS_SEC_UNCORRECTABLE_ERROR_STATUS_0").field("_bitfield", &self._bitfield).finish()
}
}
impl ::windows_core::TypeKind for PCI_EXPRESS_SEC_UNCORRECTABLE_ERROR_STATUS_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for PCI_EXPRESS_SEC_UNCORRECTABLE_ERROR_STATUS_0 {
fn eq(&self, other: &Self) -> bool {
self._bitfield == other._bitfield
}
}
impl ::core::cmp::Eq for PCI_EXPRESS_SEC_UNCORRECTABLE_ERROR_STATUS_0 {}
impl ::core::default::Default for PCI_EXPRESS_SEC_UNCORRECTABLE_ERROR_STATUS_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct PCI_EXPRESS_SERIAL_NUMBER_CAPABILITY {
pub Header: PCI_EXPRESS_ENHANCED_CAPABILITY_HEADER,
pub LowSerialNumber: u32,
pub HighSerialNumber: u32,
}
impl ::core::marker::Copy for PCI_EXPRESS_SERIAL_NUMBER_CAPABILITY {}
impl ::core::clone::Clone for PCI_EXPRESS_SERIAL_NUMBER_CAPABILITY {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for PCI_EXPRESS_SERIAL_NUMBER_CAPABILITY {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("PCI_EXPRESS_SERIAL_NUMBER_CAPABILITY").field("Header", &self.Header).field("LowSerialNumber", &self.LowSerialNumber).field("HighSerialNumber", &self.HighSerialNumber).finish()
}
}
impl ::windows_core::TypeKind for PCI_EXPRESS_SERIAL_NUMBER_CAPABILITY {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for PCI_EXPRESS_SERIAL_NUMBER_CAPABILITY {
fn eq(&self, other: &Self) -> bool {
self.Header == other.Header && self.LowSerialNumber == other.LowSerialNumber && self.HighSerialNumber == other.HighSerialNumber
}
}
impl ::core::cmp::Eq for PCI_EXPRESS_SERIAL_NUMBER_CAPABILITY {}
impl ::core::default::Default for PCI_EXPRESS_SERIAL_NUMBER_CAPABILITY {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub union PCI_EXPRESS_SLOT_CAPABILITIES_REGISTER {
pub Anonymous: PCI_EXPRESS_SLOT_CAPABILITIES_REGISTER_0,
pub AsULONG: u32,
}
impl ::core::marker::Copy for PCI_EXPRESS_SLOT_CAPABILITIES_REGISTER {}
impl ::core::clone::Clone for PCI_EXPRESS_SLOT_CAPABILITIES_REGISTER {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for PCI_EXPRESS_SLOT_CAPABILITIES_REGISTER {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for PCI_EXPRESS_SLOT_CAPABILITIES_REGISTER {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct PCI_EXPRESS_SLOT_CAPABILITIES_REGISTER_0 {
pub _bitfield: u32,
}
impl ::core::marker::Copy for PCI_EXPRESS_SLOT_CAPABILITIES_REGISTER_0 {}
impl ::core::clone::Clone for PCI_EXPRESS_SLOT_CAPABILITIES_REGISTER_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for PCI_EXPRESS_SLOT_CAPABILITIES_REGISTER_0 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("PCI_EXPRESS_SLOT_CAPABILITIES_REGISTER_0").field("_bitfield", &self._bitfield).finish()
}
}
impl ::windows_core::TypeKind for PCI_EXPRESS_SLOT_CAPABILITIES_REGISTER_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for PCI_EXPRESS_SLOT_CAPABILITIES_REGISTER_0 {
fn eq(&self, other: &Self) -> bool {
self._bitfield == other._bitfield
}
}
impl ::core::cmp::Eq for PCI_EXPRESS_SLOT_CAPABILITIES_REGISTER_0 {}
impl ::core::default::Default for PCI_EXPRESS_SLOT_CAPABILITIES_REGISTER_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub union PCI_EXPRESS_SLOT_CONTROL_REGISTER {
pub Anonymous: PCI_EXPRESS_SLOT_CONTROL_REGISTER_0,
pub AsUSHORT: u16,
}
impl ::core::marker::Copy for PCI_EXPRESS_SLOT_CONTROL_REGISTER {}
impl ::core::clone::Clone for PCI_EXPRESS_SLOT_CONTROL_REGISTER {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for PCI_EXPRESS_SLOT_CONTROL_REGISTER {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for PCI_EXPRESS_SLOT_CONTROL_REGISTER {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct PCI_EXPRESS_SLOT_CONTROL_REGISTER_0 {
pub _bitfield: u16,
}
impl ::core::marker::Copy for PCI_EXPRESS_SLOT_CONTROL_REGISTER_0 {}
impl ::core::clone::Clone for PCI_EXPRESS_SLOT_CONTROL_REGISTER_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for PCI_EXPRESS_SLOT_CONTROL_REGISTER_0 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("PCI_EXPRESS_SLOT_CONTROL_REGISTER_0").field("_bitfield", &self._bitfield).finish()
}
}
impl ::windows_core::TypeKind for PCI_EXPRESS_SLOT_CONTROL_REGISTER_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for PCI_EXPRESS_SLOT_CONTROL_REGISTER_0 {
fn eq(&self, other: &Self) -> bool {
self._bitfield == other._bitfield
}
}
impl ::core::cmp::Eq for PCI_EXPRESS_SLOT_CONTROL_REGISTER_0 {}
impl ::core::default::Default for PCI_EXPRESS_SLOT_CONTROL_REGISTER_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub union PCI_EXPRESS_SLOT_STATUS_REGISTER {
pub Anonymous: PCI_EXPRESS_SLOT_STATUS_REGISTER_0,
pub AsUSHORT: u16,
}
impl ::core::marker::Copy for PCI_EXPRESS_SLOT_STATUS_REGISTER {}
impl ::core::clone::Clone for PCI_EXPRESS_SLOT_STATUS_REGISTER {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for PCI_EXPRESS_SLOT_STATUS_REGISTER {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for PCI_EXPRESS_SLOT_STATUS_REGISTER {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct PCI_EXPRESS_SLOT_STATUS_REGISTER_0 {
pub _bitfield: u16,
}
impl ::core::marker::Copy for PCI_EXPRESS_SLOT_STATUS_REGISTER_0 {}
impl ::core::clone::Clone for PCI_EXPRESS_SLOT_STATUS_REGISTER_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for PCI_EXPRESS_SLOT_STATUS_REGISTER_0 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("PCI_EXPRESS_SLOT_STATUS_REGISTER_0").field("_bitfield", &self._bitfield).finish()
}
}
impl ::windows_core::TypeKind for PCI_EXPRESS_SLOT_STATUS_REGISTER_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for PCI_EXPRESS_SLOT_STATUS_REGISTER_0 {
fn eq(&self, other: &Self) -> bool {
self._bitfield == other._bitfield
}
}
impl ::core::cmp::Eq for PCI_EXPRESS_SLOT_STATUS_REGISTER_0 {}
impl ::core::default::Default for PCI_EXPRESS_SLOT_STATUS_REGISTER_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct PCI_EXPRESS_SRIOV_CAPABILITY {
pub Header: PCI_EXPRESS_ENHANCED_CAPABILITY_HEADER,
pub SRIOVCapabilities: PCI_EXPRESS_SRIOV_CAPS,
pub SRIOVControl: PCI_EXPRESS_SRIOV_CONTROL,
pub SRIOVStatus: PCI_EXPRESS_SRIOV_STATUS,
pub InitialVFs: u16,
pub TotalVFs: u16,
pub NumVFs: u16,
pub FunctionDependencyLink: u8,
pub RsvdP1: u8,
pub FirstVFOffset: u16,
pub VFStride: u16,
pub RsvdP2: u16,
pub VFDeviceId: u16,
pub SupportedPageSizes: u32,
pub SystemPageSize: u32,
pub BaseAddresses: [u32; 6],
pub VFMigrationStateArrayOffset: PCI_EXPRESS_SRIOV_MIGRATION_STATE_ARRAY,
}
impl ::core::marker::Copy for PCI_EXPRESS_SRIOV_CAPABILITY {}
impl ::core::clone::Clone for PCI_EXPRESS_SRIOV_CAPABILITY {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for PCI_EXPRESS_SRIOV_CAPABILITY {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for PCI_EXPRESS_SRIOV_CAPABILITY {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub union PCI_EXPRESS_SRIOV_CAPS {
pub Anonymous: PCI_EXPRESS_SRIOV_CAPS_0,
pub AsULONG: u32,
}
impl ::core::marker::Copy for PCI_EXPRESS_SRIOV_CAPS {}
impl ::core::clone::Clone for PCI_EXPRESS_SRIOV_CAPS {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for PCI_EXPRESS_SRIOV_CAPS {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for PCI_EXPRESS_SRIOV_CAPS {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct PCI_EXPRESS_SRIOV_CAPS_0 {
pub _bitfield: u32,
}
impl ::core::marker::Copy for PCI_EXPRESS_SRIOV_CAPS_0 {}
impl ::core::clone::Clone for PCI_EXPRESS_SRIOV_CAPS_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for PCI_EXPRESS_SRIOV_CAPS_0 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("PCI_EXPRESS_SRIOV_CAPS_0").field("_bitfield", &self._bitfield).finish()
}
}
impl ::windows_core::TypeKind for PCI_EXPRESS_SRIOV_CAPS_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for PCI_EXPRESS_SRIOV_CAPS_0 {
fn eq(&self, other: &Self) -> bool {
self._bitfield == other._bitfield
}
}
impl ::core::cmp::Eq for PCI_EXPRESS_SRIOV_CAPS_0 {}
impl ::core::default::Default for PCI_EXPRESS_SRIOV_CAPS_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub union PCI_EXPRESS_SRIOV_CONTROL {
pub Anonymous: PCI_EXPRESS_SRIOV_CONTROL_0,
pub AsUSHORT: u16,
}
impl ::core::marker::Copy for PCI_EXPRESS_SRIOV_CONTROL {}
impl ::core::clone::Clone for PCI_EXPRESS_SRIOV_CONTROL {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for PCI_EXPRESS_SRIOV_CONTROL {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for PCI_EXPRESS_SRIOV_CONTROL {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct PCI_EXPRESS_SRIOV_CONTROL_0 {
pub _bitfield: u16,
}
impl ::core::marker::Copy for PCI_EXPRESS_SRIOV_CONTROL_0 {}
impl ::core::clone::Clone for PCI_EXPRESS_SRIOV_CONTROL_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for PCI_EXPRESS_SRIOV_CONTROL_0 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("PCI_EXPRESS_SRIOV_CONTROL_0").field("_bitfield", &self._bitfield).finish()
}
}
impl ::windows_core::TypeKind for PCI_EXPRESS_SRIOV_CONTROL_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for PCI_EXPRESS_SRIOV_CONTROL_0 {
fn eq(&self, other: &Self) -> bool {
self._bitfield == other._bitfield
}
}
impl ::core::cmp::Eq for PCI_EXPRESS_SRIOV_CONTROL_0 {}
impl ::core::default::Default for PCI_EXPRESS_SRIOV_CONTROL_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub union PCI_EXPRESS_SRIOV_MIGRATION_STATE_ARRAY {
pub Anonymous: PCI_EXPRESS_SRIOV_MIGRATION_STATE_ARRAY_0,
pub AsULONG: u32,
}
impl ::core::marker::Copy for PCI_EXPRESS_SRIOV_MIGRATION_STATE_ARRAY {}
impl ::core::clone::Clone for PCI_EXPRESS_SRIOV_MIGRATION_STATE_ARRAY {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for PCI_EXPRESS_SRIOV_MIGRATION_STATE_ARRAY {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for PCI_EXPRESS_SRIOV_MIGRATION_STATE_ARRAY {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct PCI_EXPRESS_SRIOV_MIGRATION_STATE_ARRAY_0 {
pub _bitfield: u32,
}
impl ::core::marker::Copy for PCI_EXPRESS_SRIOV_MIGRATION_STATE_ARRAY_0 {}
impl ::core::clone::Clone for PCI_EXPRESS_SRIOV_MIGRATION_STATE_ARRAY_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for PCI_EXPRESS_SRIOV_MIGRATION_STATE_ARRAY_0 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("PCI_EXPRESS_SRIOV_MIGRATION_STATE_ARRAY_0").field("_bitfield", &self._bitfield).finish()
}
}
impl ::windows_core::TypeKind for PCI_EXPRESS_SRIOV_MIGRATION_STATE_ARRAY_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for PCI_EXPRESS_SRIOV_MIGRATION_STATE_ARRAY_0 {
fn eq(&self, other: &Self) -> bool {
self._bitfield == other._bitfield
}
}
impl ::core::cmp::Eq for PCI_EXPRESS_SRIOV_MIGRATION_STATE_ARRAY_0 {}
impl ::core::default::Default for PCI_EXPRESS_SRIOV_MIGRATION_STATE_ARRAY_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub union PCI_EXPRESS_SRIOV_STATUS {
pub Anonymous: PCI_EXPRESS_SRIOV_STATUS_0,
pub AsUSHORT: u16,
}
impl ::core::marker::Copy for PCI_EXPRESS_SRIOV_STATUS {}
impl ::core::clone::Clone for PCI_EXPRESS_SRIOV_STATUS {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for PCI_EXPRESS_SRIOV_STATUS {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for PCI_EXPRESS_SRIOV_STATUS {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct PCI_EXPRESS_SRIOV_STATUS_0 {
pub _bitfield: u16,
}
impl ::core::marker::Copy for PCI_EXPRESS_SRIOV_STATUS_0 {}
impl ::core::clone::Clone for PCI_EXPRESS_SRIOV_STATUS_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for PCI_EXPRESS_SRIOV_STATUS_0 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("PCI_EXPRESS_SRIOV_STATUS_0").field("_bitfield", &self._bitfield).finish()
}
}
impl ::windows_core::TypeKind for PCI_EXPRESS_SRIOV_STATUS_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for PCI_EXPRESS_SRIOV_STATUS_0 {
fn eq(&self, other: &Self) -> bool {
self._bitfield == other._bitfield
}
}
impl ::core::cmp::Eq for PCI_EXPRESS_SRIOV_STATUS_0 {}
impl ::core::default::Default for PCI_EXPRESS_SRIOV_STATUS_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct PCI_EXPRESS_TPH_REQUESTER_CAPABILITY {
pub Header: PCI_EXPRESS_ENHANCED_CAPABILITY_HEADER,
pub RequesterCapability: PCI_EXPRESS_TPH_REQUESTER_CAPABILITY_REGISTER,
pub RequesterControl: PCI_EXPRESS_TPH_REQUESTER_CONTROL_REGISTER,
}
impl ::core::marker::Copy for PCI_EXPRESS_TPH_REQUESTER_CAPABILITY {}
impl ::core::clone::Clone for PCI_EXPRESS_TPH_REQUESTER_CAPABILITY {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for PCI_EXPRESS_TPH_REQUESTER_CAPABILITY {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for PCI_EXPRESS_TPH_REQUESTER_CAPABILITY {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub union PCI_EXPRESS_TPH_REQUESTER_CAPABILITY_REGISTER {
pub Anonymous: PCI_EXPRESS_TPH_REQUESTER_CAPABILITY_REGISTER_0,
pub AsULONG: u32,
}
impl ::core::marker::Copy for PCI_EXPRESS_TPH_REQUESTER_CAPABILITY_REGISTER {}
impl ::core::clone::Clone for PCI_EXPRESS_TPH_REQUESTER_CAPABILITY_REGISTER {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for PCI_EXPRESS_TPH_REQUESTER_CAPABILITY_REGISTER {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for PCI_EXPRESS_TPH_REQUESTER_CAPABILITY_REGISTER {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct PCI_EXPRESS_TPH_REQUESTER_CAPABILITY_REGISTER_0 {
pub _bitfield: u32,
}
impl ::core::marker::Copy for PCI_EXPRESS_TPH_REQUESTER_CAPABILITY_REGISTER_0 {}
impl ::core::clone::Clone for PCI_EXPRESS_TPH_REQUESTER_CAPABILITY_REGISTER_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for PCI_EXPRESS_TPH_REQUESTER_CAPABILITY_REGISTER_0 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("PCI_EXPRESS_TPH_REQUESTER_CAPABILITY_REGISTER_0").field("_bitfield", &self._bitfield).finish()
}
}
impl ::windows_core::TypeKind for PCI_EXPRESS_TPH_REQUESTER_CAPABILITY_REGISTER_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for PCI_EXPRESS_TPH_REQUESTER_CAPABILITY_REGISTER_0 {
fn eq(&self, other: &Self) -> bool {
self._bitfield == other._bitfield
}
}
impl ::core::cmp::Eq for PCI_EXPRESS_TPH_REQUESTER_CAPABILITY_REGISTER_0 {}
impl ::core::default::Default for PCI_EXPRESS_TPH_REQUESTER_CAPABILITY_REGISTER_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub union PCI_EXPRESS_TPH_REQUESTER_CONTROL_REGISTER {
pub Anonymous: PCI_EXPRESS_TPH_REQUESTER_CONTROL_REGISTER_0,
pub AsULONG: u32,
}
impl ::core::marker::Copy for PCI_EXPRESS_TPH_REQUESTER_CONTROL_REGISTER {}
impl ::core::clone::Clone for PCI_EXPRESS_TPH_REQUESTER_CONTROL_REGISTER {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for PCI_EXPRESS_TPH_REQUESTER_CONTROL_REGISTER {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for PCI_EXPRESS_TPH_REQUESTER_CONTROL_REGISTER {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct PCI_EXPRESS_TPH_REQUESTER_CONTROL_REGISTER_0 {
pub _bitfield: u32,
}
impl ::core::marker::Copy for PCI_EXPRESS_TPH_REQUESTER_CONTROL_REGISTER_0 {}
impl ::core::clone::Clone for PCI_EXPRESS_TPH_REQUESTER_CONTROL_REGISTER_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for PCI_EXPRESS_TPH_REQUESTER_CONTROL_REGISTER_0 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("PCI_EXPRESS_TPH_REQUESTER_CONTROL_REGISTER_0").field("_bitfield", &self._bitfield).finish()
}
}
impl ::windows_core::TypeKind for PCI_EXPRESS_TPH_REQUESTER_CONTROL_REGISTER_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for PCI_EXPRESS_TPH_REQUESTER_CONTROL_REGISTER_0 {
fn eq(&self, other: &Self) -> bool {
self._bitfield == other._bitfield
}
}
impl ::core::cmp::Eq for PCI_EXPRESS_TPH_REQUESTER_CONTROL_REGISTER_0 {}
impl ::core::default::Default for PCI_EXPRESS_TPH_REQUESTER_CONTROL_REGISTER_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub union PCI_EXPRESS_TPH_ST_TABLE_ENTRY {
pub Anonymous: PCI_EXPRESS_TPH_ST_TABLE_ENTRY_0,
pub AsUSHORT: u16,
}
impl ::core::marker::Copy for PCI_EXPRESS_TPH_ST_TABLE_ENTRY {}
impl ::core::clone::Clone for PCI_EXPRESS_TPH_ST_TABLE_ENTRY {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for PCI_EXPRESS_TPH_ST_TABLE_ENTRY {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for PCI_EXPRESS_TPH_ST_TABLE_ENTRY {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct PCI_EXPRESS_TPH_ST_TABLE_ENTRY_0 {
pub _bitfield: u16,
}
impl ::core::marker::Copy for PCI_EXPRESS_TPH_ST_TABLE_ENTRY_0 {}
impl ::core::clone::Clone for PCI_EXPRESS_TPH_ST_TABLE_ENTRY_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for PCI_EXPRESS_TPH_ST_TABLE_ENTRY_0 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("PCI_EXPRESS_TPH_ST_TABLE_ENTRY_0").field("_bitfield", &self._bitfield).finish()
}
}
impl ::windows_core::TypeKind for PCI_EXPRESS_TPH_ST_TABLE_ENTRY_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for PCI_EXPRESS_TPH_ST_TABLE_ENTRY_0 {
fn eq(&self, other: &Self) -> bool {
self._bitfield == other._bitfield
}
}
impl ::core::cmp::Eq for PCI_EXPRESS_TPH_ST_TABLE_ENTRY_0 {}
impl ::core::default::Default for PCI_EXPRESS_TPH_ST_TABLE_ENTRY_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub union PCI_EXPRESS_UNCORRECTABLE_ERROR_MASK {
pub Anonymous: PCI_EXPRESS_UNCORRECTABLE_ERROR_MASK_0,
pub AsULONG: u32,
}
impl ::core::marker::Copy for PCI_EXPRESS_UNCORRECTABLE_ERROR_MASK {}
impl ::core::clone::Clone for PCI_EXPRESS_UNCORRECTABLE_ERROR_MASK {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for PCI_EXPRESS_UNCORRECTABLE_ERROR_MASK {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for PCI_EXPRESS_UNCORRECTABLE_ERROR_MASK {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct PCI_EXPRESS_UNCORRECTABLE_ERROR_MASK_0 {
pub _bitfield: u32,
}
impl ::core::marker::Copy for PCI_EXPRESS_UNCORRECTABLE_ERROR_MASK_0 {}
impl ::core::clone::Clone for PCI_EXPRESS_UNCORRECTABLE_ERROR_MASK_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for PCI_EXPRESS_UNCORRECTABLE_ERROR_MASK_0 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("PCI_EXPRESS_UNCORRECTABLE_ERROR_MASK_0").field("_bitfield", &self._bitfield).finish()
}
}
impl ::windows_core::TypeKind for PCI_EXPRESS_UNCORRECTABLE_ERROR_MASK_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for PCI_EXPRESS_UNCORRECTABLE_ERROR_MASK_0 {
fn eq(&self, other: &Self) -> bool {
self._bitfield == other._bitfield
}
}
impl ::core::cmp::Eq for PCI_EXPRESS_UNCORRECTABLE_ERROR_MASK_0 {}
impl ::core::default::Default for PCI_EXPRESS_UNCORRECTABLE_ERROR_MASK_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub union PCI_EXPRESS_UNCORRECTABLE_ERROR_SEVERITY {
pub Anonymous: PCI_EXPRESS_UNCORRECTABLE_ERROR_SEVERITY_0,
pub AsULONG: u32,
}
impl ::core::marker::Copy for PCI_EXPRESS_UNCORRECTABLE_ERROR_SEVERITY {}
impl ::core::clone::Clone for PCI_EXPRESS_UNCORRECTABLE_ERROR_SEVERITY {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for PCI_EXPRESS_UNCORRECTABLE_ERROR_SEVERITY {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for PCI_EXPRESS_UNCORRECTABLE_ERROR_SEVERITY {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct PCI_EXPRESS_UNCORRECTABLE_ERROR_SEVERITY_0 {
pub _bitfield: u32,
}
impl ::core::marker::Copy for PCI_EXPRESS_UNCORRECTABLE_ERROR_SEVERITY_0 {}
impl ::core::clone::Clone for PCI_EXPRESS_UNCORRECTABLE_ERROR_SEVERITY_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for PCI_EXPRESS_UNCORRECTABLE_ERROR_SEVERITY_0 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("PCI_EXPRESS_UNCORRECTABLE_ERROR_SEVERITY_0").field("_bitfield", &self._bitfield).finish()
}
}
impl ::windows_core::TypeKind for PCI_EXPRESS_UNCORRECTABLE_ERROR_SEVERITY_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for PCI_EXPRESS_UNCORRECTABLE_ERROR_SEVERITY_0 {
fn eq(&self, other: &Self) -> bool {
self._bitfield == other._bitfield
}
}
impl ::core::cmp::Eq for PCI_EXPRESS_UNCORRECTABLE_ERROR_SEVERITY_0 {}
impl ::core::default::Default for PCI_EXPRESS_UNCORRECTABLE_ERROR_SEVERITY_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub union PCI_EXPRESS_UNCORRECTABLE_ERROR_STATUS {
pub Anonymous: PCI_EXPRESS_UNCORRECTABLE_ERROR_STATUS_0,
pub AsULONG: u32,
}
impl ::core::marker::Copy for PCI_EXPRESS_UNCORRECTABLE_ERROR_STATUS {}
impl ::core::clone::Clone for PCI_EXPRESS_UNCORRECTABLE_ERROR_STATUS {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for PCI_EXPRESS_UNCORRECTABLE_ERROR_STATUS {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for PCI_EXPRESS_UNCORRECTABLE_ERROR_STATUS {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct PCI_EXPRESS_UNCORRECTABLE_ERROR_STATUS_0 {
pub _bitfield: u32,
}
impl ::core::marker::Copy for PCI_EXPRESS_UNCORRECTABLE_ERROR_STATUS_0 {}
impl ::core::clone::Clone for PCI_EXPRESS_UNCORRECTABLE_ERROR_STATUS_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for PCI_EXPRESS_UNCORRECTABLE_ERROR_STATUS_0 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("PCI_EXPRESS_UNCORRECTABLE_ERROR_STATUS_0").field("_bitfield", &self._bitfield).finish()
}
}
impl ::windows_core::TypeKind for PCI_EXPRESS_UNCORRECTABLE_ERROR_STATUS_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for PCI_EXPRESS_UNCORRECTABLE_ERROR_STATUS_0 {
fn eq(&self, other: &Self) -> bool {
self._bitfield == other._bitfield
}
}
impl ::core::cmp::Eq for PCI_EXPRESS_UNCORRECTABLE_ERROR_STATUS_0 {}
impl ::core::default::Default for PCI_EXPRESS_UNCORRECTABLE_ERROR_STATUS_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct PCI_EXPRESS_VENDOR_SPECIFIC_CAPABILITY {
pub Header: PCI_EXPRESS_ENHANCED_CAPABILITY_HEADER,
pub VsecId: u16,
pub _bitfield: u16,
}
impl ::core::marker::Copy for PCI_EXPRESS_VENDOR_SPECIFIC_CAPABILITY {}
impl ::core::clone::Clone for PCI_EXPRESS_VENDOR_SPECIFIC_CAPABILITY {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for PCI_EXPRESS_VENDOR_SPECIFIC_CAPABILITY {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("PCI_EXPRESS_VENDOR_SPECIFIC_CAPABILITY").field("Header", &self.Header).field("VsecId", &self.VsecId).field("_bitfield", &self._bitfield).finish()
}
}
impl ::windows_core::TypeKind for PCI_EXPRESS_VENDOR_SPECIFIC_CAPABILITY {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for PCI_EXPRESS_VENDOR_SPECIFIC_CAPABILITY {
fn eq(&self, other: &Self) -> bool {
self.Header == other.Header && self.VsecId == other.VsecId && self._bitfield == other._bitfield
}
}
impl ::core::cmp::Eq for PCI_EXPRESS_VENDOR_SPECIFIC_CAPABILITY {}
impl ::core::default::Default for PCI_EXPRESS_VENDOR_SPECIFIC_CAPABILITY {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct PCI_EXPRESS_VIRTUAL_CHANNEL_CAPABILITY {
pub Header: PCI_EXPRESS_ENHANCED_CAPABILITY_HEADER,
pub Capabilities1: VIRTUAL_CHANNEL_CAPABILITIES1,
pub Capabilities2: VIRTUAL_CHANNEL_CAPABILITIES2,
pub Control: VIRTUAL_CHANNEL_CONTROL,
pub Status: VIRTUAL_CHANNEL_STATUS,
pub Resource: [VIRTUAL_RESOURCE; 8],
}
impl ::core::marker::Copy for PCI_EXPRESS_VIRTUAL_CHANNEL_CAPABILITY {}
impl ::core::clone::Clone for PCI_EXPRESS_VIRTUAL_CHANNEL_CAPABILITY {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for PCI_EXPRESS_VIRTUAL_CHANNEL_CAPABILITY {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for PCI_EXPRESS_VIRTUAL_CHANNEL_CAPABILITY {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct PCI_FIRMWARE_BUS_CAPS {
pub Type: u16,
pub Length: u16,
pub Anonymous: PCI_FIRMWARE_BUS_CAPS_0,
pub CurrentSpeedAndMode: u8,
pub SupportedSpeedsAndModesLowByte: u8,
pub SupportedSpeedsAndModesHighByte: u8,
pub Voltage: u8,
pub Reserved2: [u8; 7],
}
impl ::core::marker::Copy for PCI_FIRMWARE_BUS_CAPS {}
impl ::core::clone::Clone for PCI_FIRMWARE_BUS_CAPS {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for PCI_FIRMWARE_BUS_CAPS {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("PCI_FIRMWARE_BUS_CAPS").field("Type", &self.Type).field("Length", &self.Length).field("Anonymous", &self.Anonymous).field("CurrentSpeedAndMode", &self.CurrentSpeedAndMode).field("SupportedSpeedsAndModesLowByte", &self.SupportedSpeedsAndModesLowByte).field("SupportedSpeedsAndModesHighByte", &self.SupportedSpeedsAndModesHighByte).field("Voltage", &self.Voltage).field("Reserved2", &self.Reserved2).finish()
}
}
impl ::windows_core::TypeKind for PCI_FIRMWARE_BUS_CAPS {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for PCI_FIRMWARE_BUS_CAPS {
fn eq(&self, other: &Self) -> bool {
self.Type == other.Type && self.Length == other.Length && self.Anonymous == other.Anonymous && self.CurrentSpeedAndMode == other.CurrentSpeedAndMode && self.SupportedSpeedsAndModesLowByte == other.SupportedSpeedsAndModesLowByte && self.SupportedSpeedsAndModesHighByte == other.SupportedSpeedsAndModesHighByte && self.Voltage == other.Voltage && self.Reserved2 == other.Reserved2
}
}
impl ::core::cmp::Eq for PCI_FIRMWARE_BUS_CAPS {}
impl ::core::default::Default for PCI_FIRMWARE_BUS_CAPS {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct PCI_FIRMWARE_BUS_CAPS_0 {
pub _bitfield: u8,
}
impl ::core::marker::Copy for PCI_FIRMWARE_BUS_CAPS_0 {}
impl ::core::clone::Clone for PCI_FIRMWARE_BUS_CAPS_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for PCI_FIRMWARE_BUS_CAPS_0 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("PCI_FIRMWARE_BUS_CAPS_0").field("_bitfield", &self._bitfield).finish()
}
}
impl ::windows_core::TypeKind for PCI_FIRMWARE_BUS_CAPS_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for PCI_FIRMWARE_BUS_CAPS_0 {
fn eq(&self, other: &Self) -> bool {
self._bitfield == other._bitfield
}
}
impl ::core::cmp::Eq for PCI_FIRMWARE_BUS_CAPS_0 {}
impl ::core::default::Default for PCI_FIRMWARE_BUS_CAPS_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct PCI_FIRMWARE_BUS_CAPS_RETURN_BUFFER {
pub Version: u16,
pub Status: u16,
pub Length: u32,
pub Caps: PCI_FIRMWARE_BUS_CAPS,
}
impl ::core::marker::Copy for PCI_FIRMWARE_BUS_CAPS_RETURN_BUFFER {}
impl ::core::clone::Clone for PCI_FIRMWARE_BUS_CAPS_RETURN_BUFFER {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for PCI_FIRMWARE_BUS_CAPS_RETURN_BUFFER {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("PCI_FIRMWARE_BUS_CAPS_RETURN_BUFFER").field("Version", &self.Version).field("Status", &self.Status).field("Length", &self.Length).field("Caps", &self.Caps).finish()
}
}
impl ::windows_core::TypeKind for PCI_FIRMWARE_BUS_CAPS_RETURN_BUFFER {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for PCI_FIRMWARE_BUS_CAPS_RETURN_BUFFER {
fn eq(&self, other: &Self) -> bool {
self.Version == other.Version && self.Status == other.Status && self.Length == other.Length && self.Caps == other.Caps
}
}
impl ::core::cmp::Eq for PCI_FIRMWARE_BUS_CAPS_RETURN_BUFFER {}
impl ::core::default::Default for PCI_FIRMWARE_BUS_CAPS_RETURN_BUFFER {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub union PCI_FPB_CAPABILITIES_REGISTER {
pub Anonymous: PCI_FPB_CAPABILITIES_REGISTER_0,
pub AsULONG: u32,
}
impl ::core::marker::Copy for PCI_FPB_CAPABILITIES_REGISTER {}
impl ::core::clone::Clone for PCI_FPB_CAPABILITIES_REGISTER {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for PCI_FPB_CAPABILITIES_REGISTER {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for PCI_FPB_CAPABILITIES_REGISTER {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct PCI_FPB_CAPABILITIES_REGISTER_0 {
pub _bitfield: u32,
}
impl ::core::marker::Copy for PCI_FPB_CAPABILITIES_REGISTER_0 {}
impl ::core::clone::Clone for PCI_FPB_CAPABILITIES_REGISTER_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for PCI_FPB_CAPABILITIES_REGISTER_0 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("PCI_FPB_CAPABILITIES_REGISTER_0").field("_bitfield", &self._bitfield).finish()
}
}
impl ::windows_core::TypeKind for PCI_FPB_CAPABILITIES_REGISTER_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for PCI_FPB_CAPABILITIES_REGISTER_0 {
fn eq(&self, other: &Self) -> bool {
self._bitfield == other._bitfield
}
}
impl ::core::cmp::Eq for PCI_FPB_CAPABILITIES_REGISTER_0 {}
impl ::core::default::Default for PCI_FPB_CAPABILITIES_REGISTER_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct PCI_FPB_CAPABILITY {
pub Header: PCI_FPB_CAPABILITY_HEADER,
pub CapabilitiesRegister: PCI_FPB_CAPABILITIES_REGISTER,
pub RidVectorControl1Register: PCI_FPB_RID_VECTOR_CONTROL1_REGISTER,
pub RidVectorControl2Register: PCI_FPB_RID_VECTOR_CONTROL2_REGISTER,
pub MemLowVectorControlRegister: PCI_FPB_MEM_LOW_VECTOR_CONTROL_REGISTER,
pub MemHighVectorControl1Register: PCI_FPB_MEM_HIGH_VECTOR_CONTROL1_REGISTER,
pub MemHighVectorControl2Register: PCI_FPB_MEM_HIGH_VECTOR_CONTROL2_REGISTER,
pub VectorAccessControlRegister: PCI_FPB_VECTOR_ACCESS_CONTROL_REGISTER,
pub VectorAccessDataRegister: PCI_FPB_VECTOR_ACCESS_DATA_REGISTER,
}
impl ::core::marker::Copy for PCI_FPB_CAPABILITY {}
impl ::core::clone::Clone for PCI_FPB_CAPABILITY {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for PCI_FPB_CAPABILITY {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for PCI_FPB_CAPABILITY {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct PCI_FPB_CAPABILITY_HEADER {
pub Header: PCI_CAPABILITIES_HEADER,
pub Reserved: u16,
}
impl ::core::marker::Copy for PCI_FPB_CAPABILITY_HEADER {}
impl ::core::clone::Clone for PCI_FPB_CAPABILITY_HEADER {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for PCI_FPB_CAPABILITY_HEADER {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("PCI_FPB_CAPABILITY_HEADER").field("Header", &self.Header).field("Reserved", &self.Reserved).finish()
}
}
impl ::windows_core::TypeKind for PCI_FPB_CAPABILITY_HEADER {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for PCI_FPB_CAPABILITY_HEADER {
fn eq(&self, other: &Self) -> bool {
self.Header == other.Header && self.Reserved == other.Reserved
}
}
impl ::core::cmp::Eq for PCI_FPB_CAPABILITY_HEADER {}
impl ::core::default::Default for PCI_FPB_CAPABILITY_HEADER {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub union PCI_FPB_MEM_HIGH_VECTOR_CONTROL1_REGISTER {
pub Anonymous: PCI_FPB_MEM_HIGH_VECTOR_CONTROL1_REGISTER_0,
pub AsULONG: u32,
}
impl ::core::marker::Copy for PCI_FPB_MEM_HIGH_VECTOR_CONTROL1_REGISTER {}
impl ::core::clone::Clone for PCI_FPB_MEM_HIGH_VECTOR_CONTROL1_REGISTER {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for PCI_FPB_MEM_HIGH_VECTOR_CONTROL1_REGISTER {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for PCI_FPB_MEM_HIGH_VECTOR_CONTROL1_REGISTER {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct PCI_FPB_MEM_HIGH_VECTOR_CONTROL1_REGISTER_0 {
pub _bitfield: u32,
}
impl ::core::marker::Copy for PCI_FPB_MEM_HIGH_VECTOR_CONTROL1_REGISTER_0 {}
impl ::core::clone::Clone for PCI_FPB_MEM_HIGH_VECTOR_CONTROL1_REGISTER_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for PCI_FPB_MEM_HIGH_VECTOR_CONTROL1_REGISTER_0 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("PCI_FPB_MEM_HIGH_VECTOR_CONTROL1_REGISTER_0").field("_bitfield", &self._bitfield).finish()
}
}
impl ::windows_core::TypeKind for PCI_FPB_MEM_HIGH_VECTOR_CONTROL1_REGISTER_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for PCI_FPB_MEM_HIGH_VECTOR_CONTROL1_REGISTER_0 {
fn eq(&self, other: &Self) -> bool {
self._bitfield == other._bitfield
}
}
impl ::core::cmp::Eq for PCI_FPB_MEM_HIGH_VECTOR_CONTROL1_REGISTER_0 {}
impl ::core::default::Default for PCI_FPB_MEM_HIGH_VECTOR_CONTROL1_REGISTER_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct PCI_FPB_MEM_HIGH_VECTOR_CONTROL2_REGISTER {
pub MemHighVectorStartUpper: u32,
}
impl ::core::marker::Copy for PCI_FPB_MEM_HIGH_VECTOR_CONTROL2_REGISTER {}
impl ::core::clone::Clone for PCI_FPB_MEM_HIGH_VECTOR_CONTROL2_REGISTER {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for PCI_FPB_MEM_HIGH_VECTOR_CONTROL2_REGISTER {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("PCI_FPB_MEM_HIGH_VECTOR_CONTROL2_REGISTER").field("MemHighVectorStartUpper", &self.MemHighVectorStartUpper).finish()
}
}
impl ::windows_core::TypeKind for PCI_FPB_MEM_HIGH_VECTOR_CONTROL2_REGISTER {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for PCI_FPB_MEM_HIGH_VECTOR_CONTROL2_REGISTER {
fn eq(&self, other: &Self) -> bool {
self.MemHighVectorStartUpper == other.MemHighVectorStartUpper
}
}
impl ::core::cmp::Eq for PCI_FPB_MEM_HIGH_VECTOR_CONTROL2_REGISTER {}
impl ::core::default::Default for PCI_FPB_MEM_HIGH_VECTOR_CONTROL2_REGISTER {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub union PCI_FPB_MEM_LOW_VECTOR_CONTROL_REGISTER {
pub Anonymous: PCI_FPB_MEM_LOW_VECTOR_CONTROL_REGISTER_0,
pub AsULONG: u32,
}
impl ::core::marker::Copy for PCI_FPB_MEM_LOW_VECTOR_CONTROL_REGISTER {}
impl ::core::clone::Clone for PCI_FPB_MEM_LOW_VECTOR_CONTROL_REGISTER {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for PCI_FPB_MEM_LOW_VECTOR_CONTROL_REGISTER {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for PCI_FPB_MEM_LOW_VECTOR_CONTROL_REGISTER {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct PCI_FPB_MEM_LOW_VECTOR_CONTROL_REGISTER_0 {
pub _bitfield: u32,
}
impl ::core::marker::Copy for PCI_FPB_MEM_LOW_VECTOR_CONTROL_REGISTER_0 {}
impl ::core::clone::Clone for PCI_FPB_MEM_LOW_VECTOR_CONTROL_REGISTER_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for PCI_FPB_MEM_LOW_VECTOR_CONTROL_REGISTER_0 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("PCI_FPB_MEM_LOW_VECTOR_CONTROL_REGISTER_0").field("_bitfield", &self._bitfield).finish()
}
}
impl ::windows_core::TypeKind for PCI_FPB_MEM_LOW_VECTOR_CONTROL_REGISTER_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for PCI_FPB_MEM_LOW_VECTOR_CONTROL_REGISTER_0 {
fn eq(&self, other: &Self) -> bool {
self._bitfield == other._bitfield
}
}
impl ::core::cmp::Eq for PCI_FPB_MEM_LOW_VECTOR_CONTROL_REGISTER_0 {}
impl ::core::default::Default for PCI_FPB_MEM_LOW_VECTOR_CONTROL_REGISTER_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub union PCI_FPB_RID_VECTOR_CONTROL1_REGISTER {
pub Anonymous: PCI_FPB_RID_VECTOR_CONTROL1_REGISTER_0,
pub AsULONG: u32,
}
impl ::core::marker::Copy for PCI_FPB_RID_VECTOR_CONTROL1_REGISTER {}
impl ::core::clone::Clone for PCI_FPB_RID_VECTOR_CONTROL1_REGISTER {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for PCI_FPB_RID_VECTOR_CONTROL1_REGISTER {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for PCI_FPB_RID_VECTOR_CONTROL1_REGISTER {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct PCI_FPB_RID_VECTOR_CONTROL1_REGISTER_0 {
pub _bitfield: u32,
}
impl ::core::marker::Copy for PCI_FPB_RID_VECTOR_CONTROL1_REGISTER_0 {}
impl ::core::clone::Clone for PCI_FPB_RID_VECTOR_CONTROL1_REGISTER_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for PCI_FPB_RID_VECTOR_CONTROL1_REGISTER_0 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("PCI_FPB_RID_VECTOR_CONTROL1_REGISTER_0").field("_bitfield", &self._bitfield).finish()
}
}
impl ::windows_core::TypeKind for PCI_FPB_RID_VECTOR_CONTROL1_REGISTER_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for PCI_FPB_RID_VECTOR_CONTROL1_REGISTER_0 {
fn eq(&self, other: &Self) -> bool {
self._bitfield == other._bitfield
}
}
impl ::core::cmp::Eq for PCI_FPB_RID_VECTOR_CONTROL1_REGISTER_0 {}
impl ::core::default::Default for PCI_FPB_RID_VECTOR_CONTROL1_REGISTER_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub union PCI_FPB_RID_VECTOR_CONTROL2_REGISTER {
pub Anonymous: PCI_FPB_RID_VECTOR_CONTROL2_REGISTER_0,
pub AsULONG: u32,
}
impl ::core::marker::Copy for PCI_FPB_RID_VECTOR_CONTROL2_REGISTER {}
impl ::core::clone::Clone for PCI_FPB_RID_VECTOR_CONTROL2_REGISTER {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for PCI_FPB_RID_VECTOR_CONTROL2_REGISTER {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for PCI_FPB_RID_VECTOR_CONTROL2_REGISTER {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct PCI_FPB_RID_VECTOR_CONTROL2_REGISTER_0 {
pub _bitfield: u32,
}
impl ::core::marker::Copy for PCI_FPB_RID_VECTOR_CONTROL2_REGISTER_0 {}
impl ::core::clone::Clone for PCI_FPB_RID_VECTOR_CONTROL2_REGISTER_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for PCI_FPB_RID_VECTOR_CONTROL2_REGISTER_0 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("PCI_FPB_RID_VECTOR_CONTROL2_REGISTER_0").field("_bitfield", &self._bitfield).finish()
}
}
impl ::windows_core::TypeKind for PCI_FPB_RID_VECTOR_CONTROL2_REGISTER_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for PCI_FPB_RID_VECTOR_CONTROL2_REGISTER_0 {
fn eq(&self, other: &Self) -> bool {
self._bitfield == other._bitfield
}
}
impl ::core::cmp::Eq for PCI_FPB_RID_VECTOR_CONTROL2_REGISTER_0 {}
impl ::core::default::Default for PCI_FPB_RID_VECTOR_CONTROL2_REGISTER_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub union PCI_FPB_VECTOR_ACCESS_CONTROL_REGISTER {
pub Anonymous: PCI_FPB_VECTOR_ACCESS_CONTROL_REGISTER_0,
pub AsULONG: u32,
}
impl ::core::marker::Copy for PCI_FPB_VECTOR_ACCESS_CONTROL_REGISTER {}
impl ::core::clone::Clone for PCI_FPB_VECTOR_ACCESS_CONTROL_REGISTER {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for PCI_FPB_VECTOR_ACCESS_CONTROL_REGISTER {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for PCI_FPB_VECTOR_ACCESS_CONTROL_REGISTER {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct PCI_FPB_VECTOR_ACCESS_CONTROL_REGISTER_0 {
pub _bitfield: u32,
}
impl ::core::marker::Copy for PCI_FPB_VECTOR_ACCESS_CONTROL_REGISTER_0 {}
impl ::core::clone::Clone for PCI_FPB_VECTOR_ACCESS_CONTROL_REGISTER_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for PCI_FPB_VECTOR_ACCESS_CONTROL_REGISTER_0 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("PCI_FPB_VECTOR_ACCESS_CONTROL_REGISTER_0").field("_bitfield", &self._bitfield).finish()
}
}
impl ::windows_core::TypeKind for PCI_FPB_VECTOR_ACCESS_CONTROL_REGISTER_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for PCI_FPB_VECTOR_ACCESS_CONTROL_REGISTER_0 {
fn eq(&self, other: &Self) -> bool {
self._bitfield == other._bitfield
}
}
impl ::core::cmp::Eq for PCI_FPB_VECTOR_ACCESS_CONTROL_REGISTER_0 {}
impl ::core::default::Default for PCI_FPB_VECTOR_ACCESS_CONTROL_REGISTER_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct PCI_FPB_VECTOR_ACCESS_DATA_REGISTER {
pub VectorAccessData: u32,
}
impl ::core::marker::Copy for PCI_FPB_VECTOR_ACCESS_DATA_REGISTER {}
impl ::core::clone::Clone for PCI_FPB_VECTOR_ACCESS_DATA_REGISTER {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for PCI_FPB_VECTOR_ACCESS_DATA_REGISTER {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("PCI_FPB_VECTOR_ACCESS_DATA_REGISTER").field("VectorAccessData", &self.VectorAccessData).finish()
}
}
impl ::windows_core::TypeKind for PCI_FPB_VECTOR_ACCESS_DATA_REGISTER {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for PCI_FPB_VECTOR_ACCESS_DATA_REGISTER {
fn eq(&self, other: &Self) -> bool {
self.VectorAccessData == other.VectorAccessData
}
}
impl ::core::cmp::Eq for PCI_FPB_VECTOR_ACCESS_DATA_REGISTER {}
impl ::core::default::Default for PCI_FPB_VECTOR_ACCESS_DATA_REGISTER {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub struct PCI_MSIX_TABLE_CONFIG_INTERFACE {
pub Size: u16,
pub Version: u16,
pub Context: *mut ::core::ffi::c_void,
pub InterfaceReference: PINTERFACE_REFERENCE,
pub InterfaceDereference: PINTERFACE_DEREFERENCE,
pub SetTableEntry: PPCI_MSIX_SET_ENTRY,
pub MaskTableEntry: PPCI_MSIX_MASKUNMASK_ENTRY,
pub UnmaskTableEntry: PPCI_MSIX_MASKUNMASK_ENTRY,
pub GetTableEntry: PPCI_MSIX_GET_ENTRY,
pub GetTableSize: PPCI_MSIX_GET_TABLE_SIZE,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for PCI_MSIX_TABLE_CONFIG_INTERFACE {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for PCI_MSIX_TABLE_CONFIG_INTERFACE {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::fmt::Debug for PCI_MSIX_TABLE_CONFIG_INTERFACE {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("PCI_MSIX_TABLE_CONFIG_INTERFACE").field("Size", &self.Size).field("Version", &self.Version).field("Context", &self.Context).finish()
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for PCI_MSIX_TABLE_CONFIG_INTERFACE {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for PCI_MSIX_TABLE_CONFIG_INTERFACE {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct PCI_PMC {
pub _bitfield: u8,
pub Support: PCI_PMC_0,
}
impl ::core::marker::Copy for PCI_PMC {}
impl ::core::clone::Clone for PCI_PMC {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for PCI_PMC {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("PCI_PMC").field("_bitfield", &self._bitfield).field("Support", &self.Support).finish()
}
}
impl ::windows_core::TypeKind for PCI_PMC {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for PCI_PMC {
fn eq(&self, other: &Self) -> bool {
self._bitfield == other._bitfield && self.Support == other.Support
}
}
impl ::core::cmp::Eq for PCI_PMC {}
impl ::core::default::Default for PCI_PMC {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct PCI_PMC_0 {
pub _bitfield: u8,
}
impl ::core::marker::Copy for PCI_PMC_0 {}
impl ::core::clone::Clone for PCI_PMC_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for PCI_PMC_0 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("PCI_PMC_0").field("_bitfield", &self._bitfield).finish()
}
}
impl ::windows_core::TypeKind for PCI_PMC_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for PCI_PMC_0 {
fn eq(&self, other: &Self) -> bool {
self._bitfield == other._bitfield
}
}
impl ::core::cmp::Eq for PCI_PMC_0 {}
impl ::core::default::Default for PCI_PMC_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct PCI_PMCSR {
pub _bitfield: u16,
}
impl ::core::marker::Copy for PCI_PMCSR {}
impl ::core::clone::Clone for PCI_PMCSR {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for PCI_PMCSR {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("PCI_PMCSR").field("_bitfield", &self._bitfield).finish()
}
}
impl ::windows_core::TypeKind for PCI_PMCSR {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for PCI_PMCSR {
fn eq(&self, other: &Self) -> bool {
self._bitfield == other._bitfield
}
}
impl ::core::cmp::Eq for PCI_PMCSR {}
impl ::core::default::Default for PCI_PMCSR {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct PCI_PMCSR_BSE {
pub _bitfield: u8,
}
impl ::core::marker::Copy for PCI_PMCSR_BSE {}
impl ::core::clone::Clone for PCI_PMCSR_BSE {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for PCI_PMCSR_BSE {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("PCI_PMCSR_BSE").field("_bitfield", &self._bitfield).finish()
}
}
impl ::windows_core::TypeKind for PCI_PMCSR_BSE {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for PCI_PMCSR_BSE {
fn eq(&self, other: &Self) -> bool {
self._bitfield == other._bitfield
}
}
impl ::core::cmp::Eq for PCI_PMCSR_BSE {}
impl ::core::default::Default for PCI_PMCSR_BSE {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct PCI_PM_CAPABILITY {
pub Header: PCI_CAPABILITIES_HEADER,
pub PMC: PCI_PM_CAPABILITY_2,
pub PMCSR: PCI_PM_CAPABILITY_1,
pub PMCSR_BSE: PCI_PM_CAPABILITY_0,
pub Data: u8,
}
impl ::core::marker::Copy for PCI_PM_CAPABILITY {}
impl ::core::clone::Clone for PCI_PM_CAPABILITY {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for PCI_PM_CAPABILITY {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for PCI_PM_CAPABILITY {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub union PCI_PM_CAPABILITY_0 {
pub BridgeSupport: PCI_PMCSR_BSE,
pub AsUCHAR: u8,
}
impl ::core::marker::Copy for PCI_PM_CAPABILITY_0 {}
impl ::core::clone::Clone for PCI_PM_CAPABILITY_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for PCI_PM_CAPABILITY_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for PCI_PM_CAPABILITY_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub union PCI_PM_CAPABILITY_1 {
pub ControlStatus: PCI_PMCSR,
pub AsUSHORT: u16,
}
impl ::core::marker::Copy for PCI_PM_CAPABILITY_1 {}
impl ::core::clone::Clone for PCI_PM_CAPABILITY_1 {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for PCI_PM_CAPABILITY_1 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for PCI_PM_CAPABILITY_1 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub union PCI_PM_CAPABILITY_2 {
pub Capabilities: PCI_PMC,
pub AsUSHORT: u16,
}
impl ::core::marker::Copy for PCI_PM_CAPABILITY_2 {}
impl ::core::clone::Clone for PCI_PM_CAPABILITY_2 {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for PCI_PM_CAPABILITY_2 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for PCI_PM_CAPABILITY_2 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub struct PCI_ROOT_BUS_HARDWARE_CAPABILITY {
pub SecondaryInterface: PCI_HARDWARE_INTERFACE,
pub Anonymous: PCI_ROOT_BUS_HARDWARE_CAPABILITY_0,
pub OscFeatureSupport: PCI_ROOT_BUS_OSC_SUPPORT_FIELD,
pub OscControlRequest: PCI_ROOT_BUS_OSC_CONTROL_FIELD,
pub OscControlGranted: PCI_ROOT_BUS_OSC_CONTROL_FIELD,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for PCI_ROOT_BUS_HARDWARE_CAPABILITY {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for PCI_ROOT_BUS_HARDWARE_CAPABILITY {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for PCI_ROOT_BUS_HARDWARE_CAPABILITY {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for PCI_ROOT_BUS_HARDWARE_CAPABILITY {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub struct PCI_ROOT_BUS_HARDWARE_CAPABILITY_0 {
pub BusCapabilitiesFound: super::super::super::Win32::Foundation::BOOLEAN,
pub CurrentSpeedAndMode: u32,
pub SupportedSpeedsAndModes: u32,
pub DeviceIDMessagingCapable: super::super::super::Win32::Foundation::BOOLEAN,
pub SecondaryBusWidth: PCI_BUS_WIDTH,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for PCI_ROOT_BUS_HARDWARE_CAPABILITY_0 {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for PCI_ROOT_BUS_HARDWARE_CAPABILITY_0 {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::fmt::Debug for PCI_ROOT_BUS_HARDWARE_CAPABILITY_0 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("PCI_ROOT_BUS_HARDWARE_CAPABILITY_0").field("BusCapabilitiesFound", &self.BusCapabilitiesFound).field("CurrentSpeedAndMode", &self.CurrentSpeedAndMode).field("SupportedSpeedsAndModes", &self.SupportedSpeedsAndModes).field("DeviceIDMessagingCapable", &self.DeviceIDMessagingCapable).field("SecondaryBusWidth", &self.SecondaryBusWidth).finish()
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for PCI_ROOT_BUS_HARDWARE_CAPABILITY_0 {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::PartialEq for PCI_ROOT_BUS_HARDWARE_CAPABILITY_0 {
fn eq(&self, other: &Self) -> bool {
self.BusCapabilitiesFound == other.BusCapabilitiesFound && self.CurrentSpeedAndMode == other.CurrentSpeedAndMode && self.SupportedSpeedsAndModes == other.SupportedSpeedsAndModes && self.DeviceIDMessagingCapable == other.DeviceIDMessagingCapable && self.SecondaryBusWidth == other.SecondaryBusWidth
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::Eq for PCI_ROOT_BUS_HARDWARE_CAPABILITY_0 {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for PCI_ROOT_BUS_HARDWARE_CAPABILITY_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct PCI_ROOT_BUS_OSC_CONTROL_FIELD {
pub u: PCI_ROOT_BUS_OSC_CONTROL_FIELD_0,
}
impl ::core::marker::Copy for PCI_ROOT_BUS_OSC_CONTROL_FIELD {}
impl ::core::clone::Clone for PCI_ROOT_BUS_OSC_CONTROL_FIELD {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for PCI_ROOT_BUS_OSC_CONTROL_FIELD {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for PCI_ROOT_BUS_OSC_CONTROL_FIELD {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub union PCI_ROOT_BUS_OSC_CONTROL_FIELD_0 {
pub Anonymous: PCI_ROOT_BUS_OSC_CONTROL_FIELD_0_0,
pub AsULONG: u32,
}
impl ::core::marker::Copy for PCI_ROOT_BUS_OSC_CONTROL_FIELD_0 {}
impl ::core::clone::Clone for PCI_ROOT_BUS_OSC_CONTROL_FIELD_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for PCI_ROOT_BUS_OSC_CONTROL_FIELD_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for PCI_ROOT_BUS_OSC_CONTROL_FIELD_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct PCI_ROOT_BUS_OSC_CONTROL_FIELD_0_0 {
pub _bitfield: u32,
}
impl ::core::marker::Copy for PCI_ROOT_BUS_OSC_CONTROL_FIELD_0_0 {}
impl ::core::clone::Clone for PCI_ROOT_BUS_OSC_CONTROL_FIELD_0_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for PCI_ROOT_BUS_OSC_CONTROL_FIELD_0_0 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("PCI_ROOT_BUS_OSC_CONTROL_FIELD_0_0").field("_bitfield", &self._bitfield).finish()
}
}
impl ::windows_core::TypeKind for PCI_ROOT_BUS_OSC_CONTROL_FIELD_0_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for PCI_ROOT_BUS_OSC_CONTROL_FIELD_0_0 {
fn eq(&self, other: &Self) -> bool {
self._bitfield == other._bitfield
}
}
impl ::core::cmp::Eq for PCI_ROOT_BUS_OSC_CONTROL_FIELD_0_0 {}
impl ::core::default::Default for PCI_ROOT_BUS_OSC_CONTROL_FIELD_0_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct PCI_ROOT_BUS_OSC_SUPPORT_FIELD {
pub u: PCI_ROOT_BUS_OSC_SUPPORT_FIELD_0,
}
impl ::core::marker::Copy for PCI_ROOT_BUS_OSC_SUPPORT_FIELD {}
impl ::core::clone::Clone for PCI_ROOT_BUS_OSC_SUPPORT_FIELD {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for PCI_ROOT_BUS_OSC_SUPPORT_FIELD {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for PCI_ROOT_BUS_OSC_SUPPORT_FIELD {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub union PCI_ROOT_BUS_OSC_SUPPORT_FIELD_0 {
pub Anonymous: PCI_ROOT_BUS_OSC_SUPPORT_FIELD_0_0,
pub AsULONG: u32,
}
impl ::core::marker::Copy for PCI_ROOT_BUS_OSC_SUPPORT_FIELD_0 {}
impl ::core::clone::Clone for PCI_ROOT_BUS_OSC_SUPPORT_FIELD_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for PCI_ROOT_BUS_OSC_SUPPORT_FIELD_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for PCI_ROOT_BUS_OSC_SUPPORT_FIELD_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct PCI_ROOT_BUS_OSC_SUPPORT_FIELD_0_0 {
pub _bitfield: u32,
}
impl ::core::marker::Copy for PCI_ROOT_BUS_OSC_SUPPORT_FIELD_0_0 {}
impl ::core::clone::Clone for PCI_ROOT_BUS_OSC_SUPPORT_FIELD_0_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for PCI_ROOT_BUS_OSC_SUPPORT_FIELD_0_0 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("PCI_ROOT_BUS_OSC_SUPPORT_FIELD_0_0").field("_bitfield", &self._bitfield).finish()
}
}
impl ::windows_core::TypeKind for PCI_ROOT_BUS_OSC_SUPPORT_FIELD_0_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for PCI_ROOT_BUS_OSC_SUPPORT_FIELD_0_0 {
fn eq(&self, other: &Self) -> bool {
self._bitfield == other._bitfield
}
}
impl ::core::cmp::Eq for PCI_ROOT_BUS_OSC_SUPPORT_FIELD_0_0 {}
impl ::core::default::Default for PCI_ROOT_BUS_OSC_SUPPORT_FIELD_0_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub struct PCI_SECURITY_INTERFACE {
pub Size: u16,
pub Version: u16,
pub Context: *mut ::core::ffi::c_void,
pub InterfaceReference: PINTERFACE_REFERENCE,
pub InterfaceDereference: PINTERFACE_DEREFERENCE,
pub SetAccessControlServices: PPCI_SET_ACS,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for PCI_SECURITY_INTERFACE {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for PCI_SECURITY_INTERFACE {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::fmt::Debug for PCI_SECURITY_INTERFACE {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("PCI_SECURITY_INTERFACE").field("Size", &self.Size).field("Version", &self.Version).field("Context", &self.Context).finish()
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for PCI_SECURITY_INTERFACE {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for PCI_SECURITY_INTERFACE {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub struct PCI_SECURITY_INTERFACE2 {
pub Size: u16,
pub Version: u16,
pub Context: *mut ::core::ffi::c_void,
pub InterfaceReference: PINTERFACE_REFERENCE,
pub InterfaceDereference: PINTERFACE_DEREFERENCE,
pub Flags: u32,
pub SupportedScenarios: u32,
pub SetAccessControlServices: PPCI_SET_ACS2,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for PCI_SECURITY_INTERFACE2 {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for PCI_SECURITY_INTERFACE2 {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::fmt::Debug for PCI_SECURITY_INTERFACE2 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("PCI_SECURITY_INTERFACE2").field("Size", &self.Size).field("Version", &self.Version).field("Context", &self.Context).field("Flags", &self.Flags).field("SupportedScenarios", &self.SupportedScenarios).finish()
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for PCI_SECURITY_INTERFACE2 {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for PCI_SECURITY_INTERFACE2 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct PCI_SEGMENT_BUS_NUMBER {
pub u: PCI_SEGMENT_BUS_NUMBER_0,
}
impl ::core::marker::Copy for PCI_SEGMENT_BUS_NUMBER {}
impl ::core::clone::Clone for PCI_SEGMENT_BUS_NUMBER {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for PCI_SEGMENT_BUS_NUMBER {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for PCI_SEGMENT_BUS_NUMBER {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub union PCI_SEGMENT_BUS_NUMBER_0 {
pub bits: PCI_SEGMENT_BUS_NUMBER_0_0,
pub AsULONG: u32,
}
impl ::core::marker::Copy for PCI_SEGMENT_BUS_NUMBER_0 {}
impl ::core::clone::Clone for PCI_SEGMENT_BUS_NUMBER_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for PCI_SEGMENT_BUS_NUMBER_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for PCI_SEGMENT_BUS_NUMBER_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct PCI_SEGMENT_BUS_NUMBER_0_0 {
pub _bitfield: u32,
}
impl ::core::marker::Copy for PCI_SEGMENT_BUS_NUMBER_0_0 {}
impl ::core::clone::Clone for PCI_SEGMENT_BUS_NUMBER_0_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for PCI_SEGMENT_BUS_NUMBER_0_0 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("PCI_SEGMENT_BUS_NUMBER_0_0").field("_bitfield", &self._bitfield).finish()
}
}
impl ::windows_core::TypeKind for PCI_SEGMENT_BUS_NUMBER_0_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for PCI_SEGMENT_BUS_NUMBER_0_0 {
fn eq(&self, other: &Self) -> bool {
self._bitfield == other._bitfield
}
}
impl ::core::cmp::Eq for PCI_SEGMENT_BUS_NUMBER_0_0 {}
impl ::core::default::Default for PCI_SEGMENT_BUS_NUMBER_0_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct PCI_SLOT_NUMBER {
pub u: PCI_SLOT_NUMBER_0,
}
impl ::core::marker::Copy for PCI_SLOT_NUMBER {}
impl ::core::clone::Clone for PCI_SLOT_NUMBER {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for PCI_SLOT_NUMBER {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for PCI_SLOT_NUMBER {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub union PCI_SLOT_NUMBER_0 {
pub bits: PCI_SLOT_NUMBER_0_0,
pub AsULONG: u32,
}
impl ::core::marker::Copy for PCI_SLOT_NUMBER_0 {}
impl ::core::clone::Clone for PCI_SLOT_NUMBER_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for PCI_SLOT_NUMBER_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for PCI_SLOT_NUMBER_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct PCI_SLOT_NUMBER_0_0 {
pub _bitfield: u32,
}
impl ::core::marker::Copy for PCI_SLOT_NUMBER_0_0 {}
impl ::core::clone::Clone for PCI_SLOT_NUMBER_0_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for PCI_SLOT_NUMBER_0_0 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("PCI_SLOT_NUMBER_0_0").field("_bitfield", &self._bitfield).finish()
}
}
impl ::windows_core::TypeKind for PCI_SLOT_NUMBER_0_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for PCI_SLOT_NUMBER_0_0 {
fn eq(&self, other: &Self) -> bool {
self._bitfield == other._bitfield
}
}
impl ::core::cmp::Eq for PCI_SLOT_NUMBER_0_0 {}
impl ::core::default::Default for PCI_SLOT_NUMBER_0_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct PCI_SUBSYSTEM_IDS_CAPABILITY {
pub Header: PCI_CAPABILITIES_HEADER,
pub Reserved: u16,
pub SubVendorID: u16,
pub SubSystemID: u16,
}
impl ::core::marker::Copy for PCI_SUBSYSTEM_IDS_CAPABILITY {}
impl ::core::clone::Clone for PCI_SUBSYSTEM_IDS_CAPABILITY {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for PCI_SUBSYSTEM_IDS_CAPABILITY {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("PCI_SUBSYSTEM_IDS_CAPABILITY").field("Header", &self.Header).field("Reserved", &self.Reserved).field("SubVendorID", &self.SubVendorID).field("SubSystemID", &self.SubSystemID).finish()
}
}
impl ::windows_core::TypeKind for PCI_SUBSYSTEM_IDS_CAPABILITY {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for PCI_SUBSYSTEM_IDS_CAPABILITY {
fn eq(&self, other: &Self) -> bool {
self.Header == other.Header && self.Reserved == other.Reserved && self.SubVendorID == other.SubVendorID && self.SubSystemID == other.SubSystemID
}
}
impl ::core::cmp::Eq for PCI_SUBSYSTEM_IDS_CAPABILITY {}
impl ::core::default::Default for PCI_SUBSYSTEM_IDS_CAPABILITY {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct PCI_VENDOR_SPECIFIC_CAPABILITY {
pub Header: PCI_CAPABILITIES_HEADER,
pub VscLength: u8,
pub VendorSpecific: u8,
}
impl ::core::marker::Copy for PCI_VENDOR_SPECIFIC_CAPABILITY {}
impl ::core::clone::Clone for PCI_VENDOR_SPECIFIC_CAPABILITY {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for PCI_VENDOR_SPECIFIC_CAPABILITY {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("PCI_VENDOR_SPECIFIC_CAPABILITY").field("Header", &self.Header).field("VscLength", &self.VscLength).field("VendorSpecific", &self.VendorSpecific).finish()
}
}
impl ::windows_core::TypeKind for PCI_VENDOR_SPECIFIC_CAPABILITY {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for PCI_VENDOR_SPECIFIC_CAPABILITY {
fn eq(&self, other: &Self) -> bool {
self.Header == other.Header && self.VscLength == other.VscLength && self.VendorSpecific == other.VendorSpecific
}
}
impl ::core::cmp::Eq for PCI_VENDOR_SPECIFIC_CAPABILITY {}
impl ::core::default::Default for PCI_VENDOR_SPECIFIC_CAPABILITY {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub struct PCI_VIRTUALIZATION_INTERFACE {
pub Size: u16,
pub Version: u16,
pub Context: *mut ::core::ffi::c_void,
pub InterfaceReference: PINTERFACE_REFERENCE,
pub InterfaceDereference: PINTERFACE_DEREFERENCE,
pub SetVirtualFunctionData: PSET_VIRTUAL_DEVICE_DATA,
pub GetVirtualFunctionData: PGET_VIRTUAL_DEVICE_DATA,
pub GetLocation: PGET_VIRTUAL_DEVICE_LOCATION,
pub GetResources: PGET_VIRTUAL_DEVICE_RESOURCES,
pub EnableVirtualization: PENABLE_VIRTUALIZATION,
pub GetVirtualFunctionProbedBars: PGET_VIRTUAL_FUNCTION_PROBED_BARS,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for PCI_VIRTUALIZATION_INTERFACE {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for PCI_VIRTUALIZATION_INTERFACE {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::fmt::Debug for PCI_VIRTUALIZATION_INTERFACE {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("PCI_VIRTUALIZATION_INTERFACE").field("Size", &self.Size).field("Version", &self.Version).field("Context", &self.Context).finish()
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for PCI_VIRTUALIZATION_INTERFACE {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for PCI_VIRTUALIZATION_INTERFACE {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct PCI_X_CAPABILITY {
pub Header: PCI_CAPABILITIES_HEADER,
pub Command: PCI_X_CAPABILITY_0,
pub Status: PCI_X_CAPABILITY_1,
}
impl ::core::marker::Copy for PCI_X_CAPABILITY {}
impl ::core::clone::Clone for PCI_X_CAPABILITY {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for PCI_X_CAPABILITY {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for PCI_X_CAPABILITY {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub union PCI_X_CAPABILITY_0 {
pub bits: PCI_X_CAPABILITY_0_0,
pub AsUSHORT: u16,
}
impl ::core::marker::Copy for PCI_X_CAPABILITY_0 {}
impl ::core::clone::Clone for PCI_X_CAPABILITY_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for PCI_X_CAPABILITY_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for PCI_X_CAPABILITY_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct PCI_X_CAPABILITY_0_0 {
pub _bitfield: u16,
}
impl ::core::marker::Copy for PCI_X_CAPABILITY_0_0 {}
impl ::core::clone::Clone for PCI_X_CAPABILITY_0_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for PCI_X_CAPABILITY_0_0 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("PCI_X_CAPABILITY_0_0").field("_bitfield", &self._bitfield).finish()
}
}
impl ::windows_core::TypeKind for PCI_X_CAPABILITY_0_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for PCI_X_CAPABILITY_0_0 {
fn eq(&self, other: &Self) -> bool {
self._bitfield == other._bitfield
}
}
impl ::core::cmp::Eq for PCI_X_CAPABILITY_0_0 {}
impl ::core::default::Default for PCI_X_CAPABILITY_0_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub union PCI_X_CAPABILITY_1 {
pub bits: PCI_X_CAPABILITY_1_0,
pub AsULONG: u32,
}
impl ::core::marker::Copy for PCI_X_CAPABILITY_1 {}
impl ::core::clone::Clone for PCI_X_CAPABILITY_1 {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for PCI_X_CAPABILITY_1 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for PCI_X_CAPABILITY_1 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct PCI_X_CAPABILITY_1_0 {
pub _bitfield: u32,
}
impl ::core::marker::Copy for PCI_X_CAPABILITY_1_0 {}
impl ::core::clone::Clone for PCI_X_CAPABILITY_1_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for PCI_X_CAPABILITY_1_0 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("PCI_X_CAPABILITY_1_0").field("_bitfield", &self._bitfield).finish()
}
}
impl ::windows_core::TypeKind for PCI_X_CAPABILITY_1_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for PCI_X_CAPABILITY_1_0 {
fn eq(&self, other: &Self) -> bool {
self._bitfield == other._bitfield
}
}
impl ::core::cmp::Eq for PCI_X_CAPABILITY_1_0 {}
impl ::core::default::Default for PCI_X_CAPABILITY_1_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
pub union PCW_CALLBACK_INFORMATION {
pub AddCounter: PCW_COUNTER_INFORMATION,
pub RemoveCounter: PCW_COUNTER_INFORMATION,
pub EnumerateInstances: PCW_MASK_INFORMATION,
pub CollectData: PCW_MASK_INFORMATION,
}
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
impl ::core::marker::Copy for PCW_CALLBACK_INFORMATION {}
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
impl ::core::clone::Clone for PCW_CALLBACK_INFORMATION {
fn clone(&self) -> Self {
*self
}
}
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
impl ::windows_core::TypeKind for PCW_CALLBACK_INFORMATION {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
impl ::core::default::Default for PCW_CALLBACK_INFORMATION {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct PCW_COUNTER_DESCRIPTOR {
pub Id: u16,
pub StructIndex: u16,
pub Offset: u16,
pub Size: u16,
}
impl ::core::marker::Copy for PCW_COUNTER_DESCRIPTOR {}
impl ::core::clone::Clone for PCW_COUNTER_DESCRIPTOR {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for PCW_COUNTER_DESCRIPTOR {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("PCW_COUNTER_DESCRIPTOR").field("Id", &self.Id).field("StructIndex", &self.StructIndex).field("Offset", &self.Offset).field("Size", &self.Size).finish()
}
}
impl ::windows_core::TypeKind for PCW_COUNTER_DESCRIPTOR {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for PCW_COUNTER_DESCRIPTOR {
fn eq(&self, other: &Self) -> bool {
self.Id == other.Id && self.StructIndex == other.StructIndex && self.Offset == other.Offset && self.Size == other.Size
}
}
impl ::core::cmp::Eq for PCW_COUNTER_DESCRIPTOR {}
impl ::core::default::Default for PCW_COUNTER_DESCRIPTOR {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub struct PCW_COUNTER_INFORMATION {
pub CounterMask: u64,
pub InstanceMask: *mut super::super::super::Win32::Foundation::UNICODE_STRING,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for PCW_COUNTER_INFORMATION {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for PCW_COUNTER_INFORMATION {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::fmt::Debug for PCW_COUNTER_INFORMATION {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("PCW_COUNTER_INFORMATION").field("CounterMask", &self.CounterMask).field("InstanceMask", &self.InstanceMask).finish()
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for PCW_COUNTER_INFORMATION {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::PartialEq for PCW_COUNTER_INFORMATION {
fn eq(&self, other: &Self) -> bool {
self.CounterMask == other.CounterMask && self.InstanceMask == other.InstanceMask
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::Eq for PCW_COUNTER_INFORMATION {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for PCW_COUNTER_INFORMATION {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct PCW_DATA {
pub Data: *const ::core::ffi::c_void,
pub Size: u32,
}
impl ::core::marker::Copy for PCW_DATA {}
impl ::core::clone::Clone for PCW_DATA {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for PCW_DATA {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("PCW_DATA").field("Data", &self.Data).field("Size", &self.Size).finish()
}
}
impl ::windows_core::TypeKind for PCW_DATA {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for PCW_DATA {
fn eq(&self, other: &Self) -> bool {
self.Data == other.Data && self.Size == other.Size
}
}
impl ::core::cmp::Eq for PCW_DATA {}
impl ::core::default::Default for PCW_DATA {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
pub struct PCW_MASK_INFORMATION {
pub CounterMask: u64,
pub InstanceMask: *mut super::super::super::Win32::Foundation::UNICODE_STRING,
pub InstanceId: u32,
pub CollectMultiple: super::super::super::Win32::Foundation::BOOLEAN,
pub Buffer: super::super::Foundation::PPCW_BUFFER,
pub CancelEvent: *mut super::super::Foundation::KEVENT,
}
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
impl ::core::marker::Copy for PCW_MASK_INFORMATION {}
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
impl ::core::clone::Clone for PCW_MASK_INFORMATION {
fn clone(&self) -> Self {
*self
}
}
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
impl ::core::fmt::Debug for PCW_MASK_INFORMATION {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("PCW_MASK_INFORMATION").field("CounterMask", &self.CounterMask).field("InstanceMask", &self.InstanceMask).field("InstanceId", &self.InstanceId).field("CollectMultiple", &self.CollectMultiple).field("Buffer", &self.Buffer).field("CancelEvent", &self.CancelEvent).finish()
}
}
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
impl ::windows_core::TypeKind for PCW_MASK_INFORMATION {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
impl ::core::cmp::PartialEq for PCW_MASK_INFORMATION {
fn eq(&self, other: &Self) -> bool {
self.CounterMask == other.CounterMask && self.InstanceMask == other.InstanceMask && self.InstanceId == other.InstanceId && self.CollectMultiple == other.CollectMultiple && self.Buffer == other.Buffer && self.CancelEvent == other.CancelEvent
}
}
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
impl ::core::cmp::Eq for PCW_MASK_INFORMATION {}
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
impl ::core::default::Default for PCW_MASK_INFORMATION {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub struct PCW_REGISTRATION_INFORMATION {
pub Version: u32,
pub Name: *mut super::super::super::Win32::Foundation::UNICODE_STRING,
pub CounterCount: u32,
pub Counters: *mut PCW_COUNTER_DESCRIPTOR,
pub Callback: PPCW_CALLBACK,
pub CallbackContext: *mut ::core::ffi::c_void,
pub Flags: PCW_REGISTRATION_FLAGS,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for PCW_REGISTRATION_INFORMATION {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for PCW_REGISTRATION_INFORMATION {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::fmt::Debug for PCW_REGISTRATION_INFORMATION {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("PCW_REGISTRATION_INFORMATION").field("Version", &self.Version).field("Name", &self.Name).field("CounterCount", &self.CounterCount).field("Counters", &self.Counters).field("CallbackContext", &self.CallbackContext).field("Flags", &self.Flags).finish()
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for PCW_REGISTRATION_INFORMATION {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for PCW_REGISTRATION_INFORMATION {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub struct PHYSICAL_COUNTER_EVENT_BUFFER_CONFIGURATION {
pub OverflowHandler: PPHYSICAL_COUNTER_EVENT_BUFFER_OVERFLOW_HANDLER,
pub CustomEventBufferEntrySize: u32,
pub EventThreshold: u32,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for PHYSICAL_COUNTER_EVENT_BUFFER_CONFIGURATION {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for PHYSICAL_COUNTER_EVENT_BUFFER_CONFIGURATION {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::fmt::Debug for PHYSICAL_COUNTER_EVENT_BUFFER_CONFIGURATION {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("PHYSICAL_COUNTER_EVENT_BUFFER_CONFIGURATION").field("CustomEventBufferEntrySize", &self.CustomEventBufferEntrySize).field("EventThreshold", &self.EventThreshold).finish()
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for PHYSICAL_COUNTER_EVENT_BUFFER_CONFIGURATION {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for PHYSICAL_COUNTER_EVENT_BUFFER_CONFIGURATION {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub struct PHYSICAL_COUNTER_RESOURCE_DESCRIPTOR {
pub Type: PHYSICAL_COUNTER_RESOURCE_DESCRIPTOR_TYPE,
pub Flags: u32,
pub u: PHYSICAL_COUNTER_RESOURCE_DESCRIPTOR_0,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for PHYSICAL_COUNTER_RESOURCE_DESCRIPTOR {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for PHYSICAL_COUNTER_RESOURCE_DESCRIPTOR {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for PHYSICAL_COUNTER_RESOURCE_DESCRIPTOR {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for PHYSICAL_COUNTER_RESOURCE_DESCRIPTOR {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub union PHYSICAL_COUNTER_RESOURCE_DESCRIPTOR_0 {
pub CounterIndex: u32,
pub Range: PHYSICAL_COUNTER_RESOURCE_DESCRIPTOR_0_0,
pub OverflowHandler: PPHYSICAL_COUNTER_OVERFLOW_HANDLER,
pub EventBufferConfiguration: PHYSICAL_COUNTER_EVENT_BUFFER_CONFIGURATION,
pub IdentificationTag: u32,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for PHYSICAL_COUNTER_RESOURCE_DESCRIPTOR_0 {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for PHYSICAL_COUNTER_RESOURCE_DESCRIPTOR_0 {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for PHYSICAL_COUNTER_RESOURCE_DESCRIPTOR_0 {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for PHYSICAL_COUNTER_RESOURCE_DESCRIPTOR_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub struct PHYSICAL_COUNTER_RESOURCE_DESCRIPTOR_0_0 {
pub Begin: u32,
pub End: u32,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for PHYSICAL_COUNTER_RESOURCE_DESCRIPTOR_0_0 {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for PHYSICAL_COUNTER_RESOURCE_DESCRIPTOR_0_0 {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::fmt::Debug for PHYSICAL_COUNTER_RESOURCE_DESCRIPTOR_0_0 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("PHYSICAL_COUNTER_RESOURCE_DESCRIPTOR_0_0").field("Begin", &self.Begin).field("End", &self.End).finish()
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for PHYSICAL_COUNTER_RESOURCE_DESCRIPTOR_0_0 {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::PartialEq for PHYSICAL_COUNTER_RESOURCE_DESCRIPTOR_0_0 {
fn eq(&self, other: &Self) -> bool {
self.Begin == other.Begin && self.End == other.End
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::Eq for PHYSICAL_COUNTER_RESOURCE_DESCRIPTOR_0_0 {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for PHYSICAL_COUNTER_RESOURCE_DESCRIPTOR_0_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub struct PHYSICAL_COUNTER_RESOURCE_LIST {
pub Count: u32,
pub Descriptors: [PHYSICAL_COUNTER_RESOURCE_DESCRIPTOR; 1],
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for PHYSICAL_COUNTER_RESOURCE_LIST {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for PHYSICAL_COUNTER_RESOURCE_LIST {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for PHYSICAL_COUNTER_RESOURCE_LIST {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for PHYSICAL_COUNTER_RESOURCE_LIST {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct PHYSICAL_MEMORY_RANGE {
pub BaseAddress: i64,
pub NumberOfBytes: i64,
}
impl ::core::marker::Copy for PHYSICAL_MEMORY_RANGE {}
impl ::core::clone::Clone for PHYSICAL_MEMORY_RANGE {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for PHYSICAL_MEMORY_RANGE {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("PHYSICAL_MEMORY_RANGE").field("BaseAddress", &self.BaseAddress).field("NumberOfBytes", &self.NumberOfBytes).finish()
}
}
impl ::windows_core::TypeKind for PHYSICAL_MEMORY_RANGE {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for PHYSICAL_MEMORY_RANGE {
fn eq(&self, other: &Self) -> bool {
self.BaseAddress == other.BaseAddress && self.NumberOfBytes == other.NumberOfBytes
}
}
impl ::core::cmp::Eq for PHYSICAL_MEMORY_RANGE {}
impl ::core::default::Default for PHYSICAL_MEMORY_RANGE {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct PLUGPLAY_NOTIFICATION_HEADER {
pub Version: u16,
pub Size: u16,
pub Event: ::windows_core::GUID,
}
impl ::core::marker::Copy for PLUGPLAY_NOTIFICATION_HEADER {}
impl ::core::clone::Clone for PLUGPLAY_NOTIFICATION_HEADER {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for PLUGPLAY_NOTIFICATION_HEADER {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("PLUGPLAY_NOTIFICATION_HEADER").field("Version", &self.Version).field("Size", &self.Size).field("Event", &self.Event).finish()
}
}
impl ::windows_core::TypeKind for PLUGPLAY_NOTIFICATION_HEADER {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for PLUGPLAY_NOTIFICATION_HEADER {
fn eq(&self, other: &Self) -> bool {
self.Version == other.Version && self.Size == other.Size && self.Event == other.Event
}
}
impl ::core::cmp::Eq for PLUGPLAY_NOTIFICATION_HEADER {}
impl ::core::default::Default for PLUGPLAY_NOTIFICATION_HEADER {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct PM_DISPATCH_TABLE {
pub Signature: u32,
pub Version: u32,
pub Function: [*mut ::core::ffi::c_void; 1],
}
impl ::core::marker::Copy for PM_DISPATCH_TABLE {}
impl ::core::clone::Clone for PM_DISPATCH_TABLE {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for PM_DISPATCH_TABLE {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("PM_DISPATCH_TABLE").field("Signature", &self.Signature).field("Version", &self.Version).field("Function", &self.Function).finish()
}
}
impl ::windows_core::TypeKind for PM_DISPATCH_TABLE {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for PM_DISPATCH_TABLE {
fn eq(&self, other: &Self) -> bool {
self.Signature == other.Signature && self.Version == other.Version && self.Function == other.Function
}
}
impl ::core::cmp::Eq for PM_DISPATCH_TABLE {}
impl ::core::default::Default for PM_DISPATCH_TABLE {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct PNP_BUS_INFORMATION {
pub BusTypeGuid: ::windows_core::GUID,
pub LegacyBusType: INTERFACE_TYPE,
pub BusNumber: u32,
}
impl ::core::marker::Copy for PNP_BUS_INFORMATION {}
impl ::core::clone::Clone for PNP_BUS_INFORMATION {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for PNP_BUS_INFORMATION {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("PNP_BUS_INFORMATION").field("BusTypeGuid", &self.BusTypeGuid).field("LegacyBusType", &self.LegacyBusType).field("BusNumber", &self.BusNumber).finish()
}
}
impl ::windows_core::TypeKind for PNP_BUS_INFORMATION {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for PNP_BUS_INFORMATION {
fn eq(&self, other: &Self) -> bool {
self.BusTypeGuid == other.BusTypeGuid && self.LegacyBusType == other.LegacyBusType && self.BusNumber == other.BusNumber
}
}
impl ::core::cmp::Eq for PNP_BUS_INFORMATION {}
impl ::core::default::Default for PNP_BUS_INFORMATION {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct PNP_EXTENDED_ADDRESS_INTERFACE {
pub Size: u16,
pub Version: u16,
pub Context: *mut ::core::ffi::c_void,
pub InterfaceReference: PINTERFACE_REFERENCE,
pub InterfaceDereference: PINTERFACE_DEREFERENCE,
pub QueryExtendedAddress: PQUERYEXTENDEDADDRESS,
}
impl ::core::marker::Copy for PNP_EXTENDED_ADDRESS_INTERFACE {}
impl ::core::clone::Clone for PNP_EXTENDED_ADDRESS_INTERFACE {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for PNP_EXTENDED_ADDRESS_INTERFACE {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("PNP_EXTENDED_ADDRESS_INTERFACE").field("Size", &self.Size).field("Version", &self.Version).field("Context", &self.Context).finish()
}
}
impl ::windows_core::TypeKind for PNP_EXTENDED_ADDRESS_INTERFACE {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for PNP_EXTENDED_ADDRESS_INTERFACE {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub struct PNP_LOCATION_INTERFACE {
pub Size: u16,
pub Version: u16,
pub Context: *mut ::core::ffi::c_void,
pub InterfaceReference: PINTERFACE_REFERENCE,
pub InterfaceDereference: PINTERFACE_DEREFERENCE,
pub GetLocationString: PGET_LOCATION_STRING,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for PNP_LOCATION_INTERFACE {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for PNP_LOCATION_INTERFACE {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::fmt::Debug for PNP_LOCATION_INTERFACE {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("PNP_LOCATION_INTERFACE").field("Size", &self.Size).field("Version", &self.Version).field("Context", &self.Context).finish()
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for PNP_LOCATION_INTERFACE {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for PNP_LOCATION_INTERFACE {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub struct PNP_REPLACE_DRIVER_INTERFACE {
pub Size: u32,
pub Version: u32,
pub Flags: u32,
pub Unload: PREPLACE_UNLOAD,
pub BeginReplace: PREPLACE_BEGIN,
pub EndReplace: PREPLACE_END,
pub MirrorPhysicalMemory: PREPLACE_MIRROR_PHYSICAL_MEMORY,
pub SetProcessorId: PREPLACE_SET_PROCESSOR_ID,
pub Swap: PREPLACE_SWAP,
pub InitiateHardwareMirror: PREPLACE_INITIATE_HARDWARE_MIRROR,
pub MirrorPlatformMemory: PREPLACE_MIRROR_PLATFORM_MEMORY,
pub GetMemoryDestination: PREPLACE_GET_MEMORY_DESTINATION,
pub EnableDisableHardwareQuiesce: PREPLACE_ENABLE_DISABLE_HARDWARE_QUIESCE,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for PNP_REPLACE_DRIVER_INTERFACE {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for PNP_REPLACE_DRIVER_INTERFACE {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::fmt::Debug for PNP_REPLACE_DRIVER_INTERFACE {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("PNP_REPLACE_DRIVER_INTERFACE").field("Size", &self.Size).field("Version", &self.Version).field("Flags", &self.Flags).finish()
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for PNP_REPLACE_DRIVER_INTERFACE {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for PNP_REPLACE_DRIVER_INTERFACE {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct PNP_REPLACE_MEMORY_LIST {
pub AllocatedCount: u32,
pub Count: u32,
pub TotalLength: u64,
pub Ranges: [PNP_REPLACE_MEMORY_LIST_0; 1],
}
impl ::core::marker::Copy for PNP_REPLACE_MEMORY_LIST {}
impl ::core::clone::Clone for PNP_REPLACE_MEMORY_LIST {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for PNP_REPLACE_MEMORY_LIST {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("PNP_REPLACE_MEMORY_LIST").field("AllocatedCount", &self.AllocatedCount).field("Count", &self.Count).field("TotalLength", &self.TotalLength).field("Ranges", &self.Ranges).finish()
}
}
impl ::windows_core::TypeKind for PNP_REPLACE_MEMORY_LIST {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for PNP_REPLACE_MEMORY_LIST {
fn eq(&self, other: &Self) -> bool {
self.AllocatedCount == other.AllocatedCount && self.Count == other.Count && self.TotalLength == other.TotalLength && self.Ranges == other.Ranges
}
}
impl ::core::cmp::Eq for PNP_REPLACE_MEMORY_LIST {}
impl ::core::default::Default for PNP_REPLACE_MEMORY_LIST {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct PNP_REPLACE_MEMORY_LIST_0 {
pub Address: i64,
pub Length: u64,
}
impl ::core::marker::Copy for PNP_REPLACE_MEMORY_LIST_0 {}
impl ::core::clone::Clone for PNP_REPLACE_MEMORY_LIST_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for PNP_REPLACE_MEMORY_LIST_0 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("PNP_REPLACE_MEMORY_LIST_0").field("Address", &self.Address).field("Length", &self.Length).finish()
}
}
impl ::windows_core::TypeKind for PNP_REPLACE_MEMORY_LIST_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for PNP_REPLACE_MEMORY_LIST_0 {
fn eq(&self, other: &Self) -> bool {
self.Address == other.Address && self.Length == other.Length
}
}
impl ::core::cmp::Eq for PNP_REPLACE_MEMORY_LIST_0 {}
impl ::core::default::Default for PNP_REPLACE_MEMORY_LIST_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub struct PNP_REPLACE_PARAMETERS {
pub Size: u32,
pub Version: u32,
pub Target: u64,
pub Spare: u64,
pub TargetProcessors: *mut PNP_REPLACE_PROCESSOR_LIST,
pub SpareProcessors: *mut PNP_REPLACE_PROCESSOR_LIST,
pub TargetMemory: *mut PNP_REPLACE_MEMORY_LIST,
pub SpareMemory: *mut PNP_REPLACE_MEMORY_LIST,
pub MapMemory: PREPLACE_MAP_MEMORY,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for PNP_REPLACE_PARAMETERS {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for PNP_REPLACE_PARAMETERS {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::fmt::Debug for PNP_REPLACE_PARAMETERS {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("PNP_REPLACE_PARAMETERS").field("Size", &self.Size).field("Version", &self.Version).field("Target", &self.Target).field("Spare", &self.Spare).field("TargetProcessors", &self.TargetProcessors).field("SpareProcessors", &self.SpareProcessors).field("TargetMemory", &self.TargetMemory).field("SpareMemory", &self.SpareMemory).finish()
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for PNP_REPLACE_PARAMETERS {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for PNP_REPLACE_PARAMETERS {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct PNP_REPLACE_PROCESSOR_LIST {
pub Affinity: *mut usize,
pub GroupCount: u32,
pub AllocatedCount: u32,
pub Count: u32,
pub ApicIds: [u32; 1],
}
impl ::core::marker::Copy for PNP_REPLACE_PROCESSOR_LIST {}
impl ::core::clone::Clone for PNP_REPLACE_PROCESSOR_LIST {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for PNP_REPLACE_PROCESSOR_LIST {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("PNP_REPLACE_PROCESSOR_LIST").field("Affinity", &self.Affinity).field("GroupCount", &self.GroupCount).field("AllocatedCount", &self.AllocatedCount).field("Count", &self.Count).field("ApicIds", &self.ApicIds).finish()
}
}
impl ::windows_core::TypeKind for PNP_REPLACE_PROCESSOR_LIST {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for PNP_REPLACE_PROCESSOR_LIST {
fn eq(&self, other: &Self) -> bool {
self.Affinity == other.Affinity && self.GroupCount == other.GroupCount && self.AllocatedCount == other.AllocatedCount && self.Count == other.Count && self.ApicIds == other.ApicIds
}
}
impl ::core::cmp::Eq for PNP_REPLACE_PROCESSOR_LIST {}
impl ::core::default::Default for PNP_REPLACE_PROCESSOR_LIST {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct PNP_REPLACE_PROCESSOR_LIST_V1 {
pub AffinityMask: usize,
pub AllocatedCount: u32,
pub Count: u32,
pub ApicIds: [u32; 1],
}
impl ::core::marker::Copy for PNP_REPLACE_PROCESSOR_LIST_V1 {}
impl ::core::clone::Clone for PNP_REPLACE_PROCESSOR_LIST_V1 {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for PNP_REPLACE_PROCESSOR_LIST_V1 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("PNP_REPLACE_PROCESSOR_LIST_V1").field("AffinityMask", &self.AffinityMask).field("AllocatedCount", &self.AllocatedCount).field("Count", &self.Count).field("ApicIds", &self.ApicIds).finish()
}
}
impl ::windows_core::TypeKind for PNP_REPLACE_PROCESSOR_LIST_V1 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for PNP_REPLACE_PROCESSOR_LIST_V1 {
fn eq(&self, other: &Self) -> bool {
self.AffinityMask == other.AffinityMask && self.AllocatedCount == other.AllocatedCount && self.Count == other.Count && self.ApicIds == other.ApicIds
}
}
impl ::core::cmp::Eq for PNP_REPLACE_PROCESSOR_LIST_V1 {}
impl ::core::default::Default for PNP_REPLACE_PROCESSOR_LIST_V1 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct POOLED_USAGE_AND_LIMITS {
pub PeakPagedPoolUsage: usize,
pub PagedPoolUsage: usize,
pub PagedPoolLimit: usize,
pub PeakNonPagedPoolUsage: usize,
pub NonPagedPoolUsage: usize,
pub NonPagedPoolLimit: usize,
pub PeakPagefileUsage: usize,
pub PagefileUsage: usize,
pub PagefileLimit: usize,
}
impl ::core::marker::Copy for POOLED_USAGE_AND_LIMITS {}
impl ::core::clone::Clone for POOLED_USAGE_AND_LIMITS {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for POOLED_USAGE_AND_LIMITS {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("POOLED_USAGE_AND_LIMITS")
.field("PeakPagedPoolUsage", &self.PeakPagedPoolUsage)
.field("PagedPoolUsage", &self.PagedPoolUsage)
.field("PagedPoolLimit", &self.PagedPoolLimit)
.field("PeakNonPagedPoolUsage", &self.PeakNonPagedPoolUsage)
.field("NonPagedPoolUsage", &self.NonPagedPoolUsage)
.field("NonPagedPoolLimit", &self.NonPagedPoolLimit)
.field("PeakPagefileUsage", &self.PeakPagefileUsage)
.field("PagefileUsage", &self.PagefileUsage)
.field("PagefileLimit", &self.PagefileLimit)
.finish()
}
}
impl ::windows_core::TypeKind for POOLED_USAGE_AND_LIMITS {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for POOLED_USAGE_AND_LIMITS {
fn eq(&self, other: &Self) -> bool {
self.PeakPagedPoolUsage == other.PeakPagedPoolUsage && self.PagedPoolUsage == other.PagedPoolUsage && self.PagedPoolLimit == other.PagedPoolLimit && self.PeakNonPagedPoolUsage == other.PeakNonPagedPoolUsage && self.NonPagedPoolUsage == other.NonPagedPoolUsage && self.NonPagedPoolLimit == other.NonPagedPoolLimit && self.PeakPagefileUsage == other.PeakPagefileUsage && self.PagefileUsage == other.PagefileUsage && self.PagefileLimit == other.PagefileLimit
}
}
impl ::core::cmp::Eq for POOLED_USAGE_AND_LIMITS {}
impl ::core::default::Default for POOLED_USAGE_AND_LIMITS {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct POOL_CREATE_EXTENDED_PARAMS {
pub Version: u32,
}
impl ::core::marker::Copy for POOL_CREATE_EXTENDED_PARAMS {}
impl ::core::clone::Clone for POOL_CREATE_EXTENDED_PARAMS {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for POOL_CREATE_EXTENDED_PARAMS {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("POOL_CREATE_EXTENDED_PARAMS").field("Version", &self.Version).finish()
}
}
impl ::windows_core::TypeKind for POOL_CREATE_EXTENDED_PARAMS {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for POOL_CREATE_EXTENDED_PARAMS {
fn eq(&self, other: &Self) -> bool {
self.Version == other.Version
}
}
impl ::core::cmp::Eq for POOL_CREATE_EXTENDED_PARAMS {}
impl ::core::default::Default for POOL_CREATE_EXTENDED_PARAMS {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub struct POOL_EXTENDED_PARAMETER {
pub Anonymous1: POOL_EXTENDED_PARAMETER_0,
pub Anonymous2: POOL_EXTENDED_PARAMETER_1,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for POOL_EXTENDED_PARAMETER {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for POOL_EXTENDED_PARAMETER {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for POOL_EXTENDED_PARAMETER {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for POOL_EXTENDED_PARAMETER {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub struct POOL_EXTENDED_PARAMETER_0 {
pub _bitfield: u64,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for POOL_EXTENDED_PARAMETER_0 {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for POOL_EXTENDED_PARAMETER_0 {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::fmt::Debug for POOL_EXTENDED_PARAMETER_0 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("POOL_EXTENDED_PARAMETER_0").field("_bitfield", &self._bitfield).finish()
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for POOL_EXTENDED_PARAMETER_0 {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::PartialEq for POOL_EXTENDED_PARAMETER_0 {
fn eq(&self, other: &Self) -> bool {
self._bitfield == other._bitfield
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::Eq for POOL_EXTENDED_PARAMETER_0 {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for POOL_EXTENDED_PARAMETER_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub union POOL_EXTENDED_PARAMETER_1 {
pub Reserved2: u64,
pub Reserved3: *mut ::core::ffi::c_void,
pub Priority: EX_POOL_PRIORITY,
pub SecurePoolParams: *mut POOL_EXTENDED_PARAMS_SECURE_POOL,
pub PreferredNode: u32,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for POOL_EXTENDED_PARAMETER_1 {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for POOL_EXTENDED_PARAMETER_1 {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for POOL_EXTENDED_PARAMETER_1 {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for POOL_EXTENDED_PARAMETER_1 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub struct POOL_EXTENDED_PARAMS_SECURE_POOL {
pub SecurePoolHandle: super::super::super::Win32::Foundation::HANDLE,
pub Buffer: *mut ::core::ffi::c_void,
pub Cookie: usize,
pub SecurePoolFlags: u32,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for POOL_EXTENDED_PARAMS_SECURE_POOL {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for POOL_EXTENDED_PARAMS_SECURE_POOL {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::fmt::Debug for POOL_EXTENDED_PARAMS_SECURE_POOL {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("POOL_EXTENDED_PARAMS_SECURE_POOL").field("SecurePoolHandle", &self.SecurePoolHandle).field("Buffer", &self.Buffer).field("Cookie", &self.Cookie).field("SecurePoolFlags", &self.SecurePoolFlags).finish()
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for POOL_EXTENDED_PARAMS_SECURE_POOL {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::PartialEq for POOL_EXTENDED_PARAMS_SECURE_POOL {
fn eq(&self, other: &Self) -> bool {
self.SecurePoolHandle == other.SecurePoolHandle && self.Buffer == other.Buffer && self.Cookie == other.Cookie && self.SecurePoolFlags == other.SecurePoolFlags
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::Eq for POOL_EXTENDED_PARAMS_SECURE_POOL {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for POOL_EXTENDED_PARAMS_SECURE_POOL {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub struct POWER_MONITOR_INVOCATION {
pub Console: super::super::super::Win32::Foundation::BOOLEAN,
pub RequestReason: POWER_MONITOR_REQUEST_REASON,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for POWER_MONITOR_INVOCATION {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for POWER_MONITOR_INVOCATION {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::fmt::Debug for POWER_MONITOR_INVOCATION {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("POWER_MONITOR_INVOCATION").field("Console", &self.Console).field("RequestReason", &self.RequestReason).finish()
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for POWER_MONITOR_INVOCATION {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::PartialEq for POWER_MONITOR_INVOCATION {
fn eq(&self, other: &Self) -> bool {
self.Console == other.Console && self.RequestReason == other.RequestReason
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::Eq for POWER_MONITOR_INVOCATION {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for POWER_MONITOR_INVOCATION {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub struct POWER_PLATFORM_INFORMATION {
pub AoAc: super::super::super::Win32::Foundation::BOOLEAN,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for POWER_PLATFORM_INFORMATION {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for POWER_PLATFORM_INFORMATION {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::fmt::Debug for POWER_PLATFORM_INFORMATION {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("POWER_PLATFORM_INFORMATION").field("AoAc", &self.AoAc).finish()
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for POWER_PLATFORM_INFORMATION {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::PartialEq for POWER_PLATFORM_INFORMATION {
fn eq(&self, other: &Self) -> bool {
self.AoAc == other.AoAc
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::Eq for POWER_PLATFORM_INFORMATION {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for POWER_PLATFORM_INFORMATION {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct POWER_SEQUENCE {
pub SequenceD1: u32,
pub SequenceD2: u32,
pub SequenceD3: u32,
}
impl ::core::marker::Copy for POWER_SEQUENCE {}
impl ::core::clone::Clone for POWER_SEQUENCE {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for POWER_SEQUENCE {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("POWER_SEQUENCE").field("SequenceD1", &self.SequenceD1).field("SequenceD2", &self.SequenceD2).field("SequenceD3", &self.SequenceD3).finish()
}
}
impl ::windows_core::TypeKind for POWER_SEQUENCE {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for POWER_SEQUENCE {
fn eq(&self, other: &Self) -> bool {
self.SequenceD1 == other.SequenceD1 && self.SequenceD2 == other.SequenceD2 && self.SequenceD3 == other.SequenceD3
}
}
impl ::core::cmp::Eq for POWER_SEQUENCE {}
impl ::core::default::Default for POWER_SEQUENCE {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub struct POWER_SESSION_CONNECT {
pub Connected: super::super::super::Win32::Foundation::BOOLEAN,
pub Console: super::super::super::Win32::Foundation::BOOLEAN,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for POWER_SESSION_CONNECT {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for POWER_SESSION_CONNECT {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::fmt::Debug for POWER_SESSION_CONNECT {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("POWER_SESSION_CONNECT").field("Connected", &self.Connected).field("Console", &self.Console).finish()
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for POWER_SESSION_CONNECT {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::PartialEq for POWER_SESSION_CONNECT {
fn eq(&self, other: &Self) -> bool {
self.Connected == other.Connected && self.Console == other.Console
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::Eq for POWER_SESSION_CONNECT {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for POWER_SESSION_CONNECT {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub struct POWER_SESSION_RIT_STATE {
pub Active: super::super::super::Win32::Foundation::BOOLEAN,
pub LastInputTime: u64,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for POWER_SESSION_RIT_STATE {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for POWER_SESSION_RIT_STATE {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::fmt::Debug for POWER_SESSION_RIT_STATE {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("POWER_SESSION_RIT_STATE").field("Active", &self.Active).field("LastInputTime", &self.LastInputTime).finish()
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for POWER_SESSION_RIT_STATE {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::PartialEq for POWER_SESSION_RIT_STATE {
fn eq(&self, other: &Self) -> bool {
self.Active == other.Active && self.LastInputTime == other.LastInputTime
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::Eq for POWER_SESSION_RIT_STATE {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for POWER_SESSION_RIT_STATE {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct POWER_SESSION_TIMEOUTS {
pub InputTimeout: u32,
pub DisplayTimeout: u32,
}
impl ::core::marker::Copy for POWER_SESSION_TIMEOUTS {}
impl ::core::clone::Clone for POWER_SESSION_TIMEOUTS {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for POWER_SESSION_TIMEOUTS {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("POWER_SESSION_TIMEOUTS").field("InputTimeout", &self.InputTimeout).field("DisplayTimeout", &self.DisplayTimeout).finish()
}
}
impl ::windows_core::TypeKind for POWER_SESSION_TIMEOUTS {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for POWER_SESSION_TIMEOUTS {
fn eq(&self, other: &Self) -> bool {
self.InputTimeout == other.InputTimeout && self.DisplayTimeout == other.DisplayTimeout
}
}
impl ::core::cmp::Eq for POWER_SESSION_TIMEOUTS {}
impl ::core::default::Default for POWER_SESSION_TIMEOUTS {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub struct POWER_SESSION_WINLOGON {
pub SessionId: u32,
pub Console: super::super::super::Win32::Foundation::BOOLEAN,
pub Locked: super::super::super::Win32::Foundation::BOOLEAN,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for POWER_SESSION_WINLOGON {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for POWER_SESSION_WINLOGON {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::fmt::Debug for POWER_SESSION_WINLOGON {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("POWER_SESSION_WINLOGON").field("SessionId", &self.SessionId).field("Console", &self.Console).field("Locked", &self.Locked).finish()
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for POWER_SESSION_WINLOGON {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::PartialEq for POWER_SESSION_WINLOGON {
fn eq(&self, other: &Self) -> bool {
self.SessionId == other.SessionId && self.Console == other.Console && self.Locked == other.Locked
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::Eq for POWER_SESSION_WINLOGON {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for POWER_SESSION_WINLOGON {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_System_Power\"`*"]
#[cfg(feature = "Win32_System_Power")]
pub union POWER_STATE {
pub SystemState: super::super::super::Win32::System::Power::SYSTEM_POWER_STATE,
pub DeviceState: super::super::super::Win32::System::Power::DEVICE_POWER_STATE,
}
#[cfg(feature = "Win32_System_Power")]
impl ::core::marker::Copy for POWER_STATE {}
#[cfg(feature = "Win32_System_Power")]
impl ::core::clone::Clone for POWER_STATE {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_System_Power")]
impl ::windows_core::TypeKind for POWER_STATE {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_System_Power")]
impl ::core::default::Default for POWER_STATE {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct POWER_THROTTLING_PROCESS_STATE {
pub Version: u32,
pub ControlMask: u32,
pub StateMask: u32,
}
impl ::core::marker::Copy for POWER_THROTTLING_PROCESS_STATE {}
impl ::core::clone::Clone for POWER_THROTTLING_PROCESS_STATE {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for POWER_THROTTLING_PROCESS_STATE {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("POWER_THROTTLING_PROCESS_STATE").field("Version", &self.Version).field("ControlMask", &self.ControlMask).field("StateMask", &self.StateMask).finish()
}
}
impl ::windows_core::TypeKind for POWER_THROTTLING_PROCESS_STATE {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for POWER_THROTTLING_PROCESS_STATE {
fn eq(&self, other: &Self) -> bool {
self.Version == other.Version && self.ControlMask == other.ControlMask && self.StateMask == other.StateMask
}
}
impl ::core::cmp::Eq for POWER_THROTTLING_PROCESS_STATE {}
impl ::core::default::Default for POWER_THROTTLING_PROCESS_STATE {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct POWER_THROTTLING_THREAD_STATE {
pub Version: u32,
pub ControlMask: u32,
pub StateMask: u32,
}
impl ::core::marker::Copy for POWER_THROTTLING_THREAD_STATE {}
impl ::core::clone::Clone for POWER_THROTTLING_THREAD_STATE {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for POWER_THROTTLING_THREAD_STATE {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("POWER_THROTTLING_THREAD_STATE").field("Version", &self.Version).field("ControlMask", &self.ControlMask).field("StateMask", &self.StateMask).finish()
}
}
impl ::windows_core::TypeKind for POWER_THROTTLING_THREAD_STATE {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for POWER_THROTTLING_THREAD_STATE {
fn eq(&self, other: &Self) -> bool {
self.Version == other.Version && self.ControlMask == other.ControlMask && self.StateMask == other.StateMask
}
}
impl ::core::cmp::Eq for POWER_THROTTLING_THREAD_STATE {}
impl ::core::default::Default for POWER_THROTTLING_THREAD_STATE {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct PO_FX_COMPONENT_IDLE_STATE {
pub TransitionLatency: u64,
pub ResidencyRequirement: u64,
pub NominalPower: u32,
}
impl ::core::marker::Copy for PO_FX_COMPONENT_IDLE_STATE {}
impl ::core::clone::Clone for PO_FX_COMPONENT_IDLE_STATE {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for PO_FX_COMPONENT_IDLE_STATE {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("PO_FX_COMPONENT_IDLE_STATE").field("TransitionLatency", &self.TransitionLatency).field("ResidencyRequirement", &self.ResidencyRequirement).field("NominalPower", &self.NominalPower).finish()
}
}
impl ::windows_core::TypeKind for PO_FX_COMPONENT_IDLE_STATE {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for PO_FX_COMPONENT_IDLE_STATE {
fn eq(&self, other: &Self) -> bool {
self.TransitionLatency == other.TransitionLatency && self.ResidencyRequirement == other.ResidencyRequirement && self.NominalPower == other.NominalPower
}
}
impl ::core::cmp::Eq for PO_FX_COMPONENT_IDLE_STATE {}
impl ::core::default::Default for PO_FX_COMPONENT_IDLE_STATE {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub struct PO_FX_COMPONENT_PERF_INFO {
pub PerfStateSetsCount: u32,
pub PerfStateSets: [PO_FX_COMPONENT_PERF_SET; 1],
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for PO_FX_COMPONENT_PERF_INFO {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for PO_FX_COMPONENT_PERF_INFO {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for PO_FX_COMPONENT_PERF_INFO {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for PO_FX_COMPONENT_PERF_INFO {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub struct PO_FX_COMPONENT_PERF_SET {
pub Name: super::super::super::Win32::Foundation::UNICODE_STRING,
pub Flags: u64,
pub Unit: PO_FX_PERF_STATE_UNIT,
pub Type: PO_FX_PERF_STATE_TYPE,
pub Anonymous: PO_FX_COMPONENT_PERF_SET_0,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for PO_FX_COMPONENT_PERF_SET {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for PO_FX_COMPONENT_PERF_SET {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for PO_FX_COMPONENT_PERF_SET {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for PO_FX_COMPONENT_PERF_SET {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub union PO_FX_COMPONENT_PERF_SET_0 {
pub Discrete: PO_FX_COMPONENT_PERF_SET_0_0,
pub Range: PO_FX_COMPONENT_PERF_SET_0_1,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for PO_FX_COMPONENT_PERF_SET_0 {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for PO_FX_COMPONENT_PERF_SET_0 {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for PO_FX_COMPONENT_PERF_SET_0 {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for PO_FX_COMPONENT_PERF_SET_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub struct PO_FX_COMPONENT_PERF_SET_0_0 {
pub Count: u32,
pub States: *mut PO_FX_PERF_STATE,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for PO_FX_COMPONENT_PERF_SET_0_0 {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for PO_FX_COMPONENT_PERF_SET_0_0 {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::fmt::Debug for PO_FX_COMPONENT_PERF_SET_0_0 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("PO_FX_COMPONENT_PERF_SET_0_0").field("Count", &self.Count).field("States", &self.States).finish()
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for PO_FX_COMPONENT_PERF_SET_0_0 {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::PartialEq for PO_FX_COMPONENT_PERF_SET_0_0 {
fn eq(&self, other: &Self) -> bool {
self.Count == other.Count && self.States == other.States
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::Eq for PO_FX_COMPONENT_PERF_SET_0_0 {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for PO_FX_COMPONENT_PERF_SET_0_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub struct PO_FX_COMPONENT_PERF_SET_0_1 {
pub Minimum: u64,
pub Maximum: u64,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for PO_FX_COMPONENT_PERF_SET_0_1 {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for PO_FX_COMPONENT_PERF_SET_0_1 {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::fmt::Debug for PO_FX_COMPONENT_PERF_SET_0_1 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("PO_FX_COMPONENT_PERF_SET_0_1").field("Minimum", &self.Minimum).field("Maximum", &self.Maximum).finish()
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for PO_FX_COMPONENT_PERF_SET_0_1 {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::PartialEq for PO_FX_COMPONENT_PERF_SET_0_1 {
fn eq(&self, other: &Self) -> bool {
self.Minimum == other.Minimum && self.Maximum == other.Maximum
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::Eq for PO_FX_COMPONENT_PERF_SET_0_1 {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for PO_FX_COMPONENT_PERF_SET_0_1 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct PO_FX_COMPONENT_V1 {
pub Id: ::windows_core::GUID,
pub IdleStateCount: u32,
pub DeepestWakeableIdleState: u32,
pub IdleStates: *mut PO_FX_COMPONENT_IDLE_STATE,
}
impl ::core::marker::Copy for PO_FX_COMPONENT_V1 {}
impl ::core::clone::Clone for PO_FX_COMPONENT_V1 {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for PO_FX_COMPONENT_V1 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("PO_FX_COMPONENT_V1").field("Id", &self.Id).field("IdleStateCount", &self.IdleStateCount).field("DeepestWakeableIdleState", &self.DeepestWakeableIdleState).field("IdleStates", &self.IdleStates).finish()
}
}
impl ::windows_core::TypeKind for PO_FX_COMPONENT_V1 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for PO_FX_COMPONENT_V1 {
fn eq(&self, other: &Self) -> bool {
self.Id == other.Id && self.IdleStateCount == other.IdleStateCount && self.DeepestWakeableIdleState == other.DeepestWakeableIdleState && self.IdleStates == other.IdleStates
}
}
impl ::core::cmp::Eq for PO_FX_COMPONENT_V1 {}
impl ::core::default::Default for PO_FX_COMPONENT_V1 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct PO_FX_COMPONENT_V2 {
pub Id: ::windows_core::GUID,
pub Flags: u64,
pub DeepestWakeableIdleState: u32,
pub IdleStateCount: u32,
pub IdleStates: *mut PO_FX_COMPONENT_IDLE_STATE,
pub ProviderCount: u32,
pub Providers: *mut u32,
}
impl ::core::marker::Copy for PO_FX_COMPONENT_V2 {}
impl ::core::clone::Clone for PO_FX_COMPONENT_V2 {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for PO_FX_COMPONENT_V2 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("PO_FX_COMPONENT_V2").field("Id", &self.Id).field("Flags", &self.Flags).field("DeepestWakeableIdleState", &self.DeepestWakeableIdleState).field("IdleStateCount", &self.IdleStateCount).field("IdleStates", &self.IdleStates).field("ProviderCount", &self.ProviderCount).field("Providers", &self.Providers).finish()
}
}
impl ::windows_core::TypeKind for PO_FX_COMPONENT_V2 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for PO_FX_COMPONENT_V2 {
fn eq(&self, other: &Self) -> bool {
self.Id == other.Id && self.Flags == other.Flags && self.DeepestWakeableIdleState == other.DeepestWakeableIdleState && self.IdleStateCount == other.IdleStateCount && self.IdleStates == other.IdleStates && self.ProviderCount == other.ProviderCount && self.Providers == other.Providers
}
}
impl ::core::cmp::Eq for PO_FX_COMPONENT_V2 {}
impl ::core::default::Default for PO_FX_COMPONENT_V2 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub struct PO_FX_DEVICE_V1 {
pub Version: u32,
pub ComponentCount: u32,
pub ComponentActiveConditionCallback: PPO_FX_COMPONENT_ACTIVE_CONDITION_CALLBACK,
pub ComponentIdleConditionCallback: PPO_FX_COMPONENT_IDLE_CONDITION_CALLBACK,
pub ComponentIdleStateCallback: PPO_FX_COMPONENT_IDLE_STATE_CALLBACK,
pub DevicePowerRequiredCallback: PPO_FX_DEVICE_POWER_REQUIRED_CALLBACK,
pub DevicePowerNotRequiredCallback: PPO_FX_DEVICE_POWER_NOT_REQUIRED_CALLBACK,
pub PowerControlCallback: PPO_FX_POWER_CONTROL_CALLBACK,
pub DeviceContext: *mut ::core::ffi::c_void,
pub Components: [PO_FX_COMPONENT_V1; 1],
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for PO_FX_DEVICE_V1 {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for PO_FX_DEVICE_V1 {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::fmt::Debug for PO_FX_DEVICE_V1 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("PO_FX_DEVICE_V1").field("Version", &self.Version).field("ComponentCount", &self.ComponentCount).field("DeviceContext", &self.DeviceContext).field("Components", &self.Components).finish()
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for PO_FX_DEVICE_V1 {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for PO_FX_DEVICE_V1 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub struct PO_FX_DEVICE_V2 {
pub Version: u32,
pub Flags: u64,
pub ComponentActiveConditionCallback: PPO_FX_COMPONENT_ACTIVE_CONDITION_CALLBACK,
pub ComponentIdleConditionCallback: PPO_FX_COMPONENT_IDLE_CONDITION_CALLBACK,
pub ComponentIdleStateCallback: PPO_FX_COMPONENT_IDLE_STATE_CALLBACK,
pub DevicePowerRequiredCallback: PPO_FX_DEVICE_POWER_REQUIRED_CALLBACK,
pub DevicePowerNotRequiredCallback: PPO_FX_DEVICE_POWER_NOT_REQUIRED_CALLBACK,
pub PowerControlCallback: PPO_FX_POWER_CONTROL_CALLBACK,
pub DeviceContext: *mut ::core::ffi::c_void,
pub ComponentCount: u32,
pub Components: [PO_FX_COMPONENT_V2; 1],
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for PO_FX_DEVICE_V2 {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for PO_FX_DEVICE_V2 {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::fmt::Debug for PO_FX_DEVICE_V2 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("PO_FX_DEVICE_V2").field("Version", &self.Version).field("Flags", &self.Flags).field("DeviceContext", &self.DeviceContext).field("ComponentCount", &self.ComponentCount).field("Components", &self.Components).finish()
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for PO_FX_DEVICE_V2 {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for PO_FX_DEVICE_V2 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub struct PO_FX_DEVICE_V3 {
pub Version: u32,
pub Flags: u64,
pub ComponentActiveConditionCallback: PPO_FX_COMPONENT_ACTIVE_CONDITION_CALLBACK,
pub ComponentIdleConditionCallback: PPO_FX_COMPONENT_IDLE_CONDITION_CALLBACK,
pub ComponentIdleStateCallback: PPO_FX_COMPONENT_IDLE_STATE_CALLBACK,
pub DevicePowerRequiredCallback: PPO_FX_DEVICE_POWER_REQUIRED_CALLBACK,
pub DevicePowerNotRequiredCallback: PPO_FX_DEVICE_POWER_NOT_REQUIRED_CALLBACK,
pub PowerControlCallback: PPO_FX_POWER_CONTROL_CALLBACK,
pub DirectedPowerUpCallback: PPO_FX_DIRECTED_POWER_UP_CALLBACK,
pub DirectedPowerDownCallback: PPO_FX_DIRECTED_POWER_DOWN_CALLBACK,
pub DirectedFxTimeoutInSeconds: u32,
pub DeviceContext: *mut ::core::ffi::c_void,
pub ComponentCount: u32,
pub Components: [PO_FX_COMPONENT_V2; 1],
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for PO_FX_DEVICE_V3 {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for PO_FX_DEVICE_V3 {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::fmt::Debug for PO_FX_DEVICE_V3 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("PO_FX_DEVICE_V3").field("Version", &self.Version).field("Flags", &self.Flags).field("DirectedFxTimeoutInSeconds", &self.DirectedFxTimeoutInSeconds).field("DeviceContext", &self.DeviceContext).field("ComponentCount", &self.ComponentCount).field("Components", &self.Components).finish()
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for PO_FX_DEVICE_V3 {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for PO_FX_DEVICE_V3 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct PO_FX_PERF_STATE {
pub Value: u64,
pub Context: *mut ::core::ffi::c_void,
}
impl ::core::marker::Copy for PO_FX_PERF_STATE {}
impl ::core::clone::Clone for PO_FX_PERF_STATE {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for PO_FX_PERF_STATE {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("PO_FX_PERF_STATE").field("Value", &self.Value).field("Context", &self.Context).finish()
}
}
impl ::windows_core::TypeKind for PO_FX_PERF_STATE {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for PO_FX_PERF_STATE {
fn eq(&self, other: &Self) -> bool {
self.Value == other.Value && self.Context == other.Context
}
}
impl ::core::cmp::Eq for PO_FX_PERF_STATE {}
impl ::core::default::Default for PO_FX_PERF_STATE {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct PO_FX_PERF_STATE_CHANGE {
pub Set: u32,
pub Anonymous: PO_FX_PERF_STATE_CHANGE_0,
}
impl ::core::marker::Copy for PO_FX_PERF_STATE_CHANGE {}
impl ::core::clone::Clone for PO_FX_PERF_STATE_CHANGE {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for PO_FX_PERF_STATE_CHANGE {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for PO_FX_PERF_STATE_CHANGE {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub union PO_FX_PERF_STATE_CHANGE_0 {
pub StateIndex: u32,
pub StateValue: u64,
}
impl ::core::marker::Copy for PO_FX_PERF_STATE_CHANGE_0 {}
impl ::core::clone::Clone for PO_FX_PERF_STATE_CHANGE_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for PO_FX_PERF_STATE_CHANGE_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for PO_FX_PERF_STATE_CHANGE_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub struct PROCESS_ACCESS_TOKEN {
pub Token: super::super::super::Win32::Foundation::HANDLE,
pub Thread: super::super::super::Win32::Foundation::HANDLE,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for PROCESS_ACCESS_TOKEN {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for PROCESS_ACCESS_TOKEN {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::fmt::Debug for PROCESS_ACCESS_TOKEN {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("PROCESS_ACCESS_TOKEN").field("Token", &self.Token).field("Thread", &self.Thread).finish()
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for PROCESS_ACCESS_TOKEN {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::PartialEq for PROCESS_ACCESS_TOKEN {
fn eq(&self, other: &Self) -> bool {
self.Token == other.Token && self.Thread == other.Thread
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::Eq for PROCESS_ACCESS_TOKEN {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for PROCESS_ACCESS_TOKEN {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub struct PROCESS_DEVICEMAP_INFORMATION {
pub Anonymous: PROCESS_DEVICEMAP_INFORMATION_0,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for PROCESS_DEVICEMAP_INFORMATION {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for PROCESS_DEVICEMAP_INFORMATION {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for PROCESS_DEVICEMAP_INFORMATION {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for PROCESS_DEVICEMAP_INFORMATION {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub union PROCESS_DEVICEMAP_INFORMATION_0 {
pub Set: PROCESS_DEVICEMAP_INFORMATION_0_1,
pub Query: PROCESS_DEVICEMAP_INFORMATION_0_0,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for PROCESS_DEVICEMAP_INFORMATION_0 {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for PROCESS_DEVICEMAP_INFORMATION_0 {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for PROCESS_DEVICEMAP_INFORMATION_0 {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for PROCESS_DEVICEMAP_INFORMATION_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub struct PROCESS_DEVICEMAP_INFORMATION_0_0 {
pub DriveMap: u32,
pub DriveType: [u8; 32],
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for PROCESS_DEVICEMAP_INFORMATION_0_0 {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for PROCESS_DEVICEMAP_INFORMATION_0_0 {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::fmt::Debug for PROCESS_DEVICEMAP_INFORMATION_0_0 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("PROCESS_DEVICEMAP_INFORMATION_0_0").field("DriveMap", &self.DriveMap).field("DriveType", &self.DriveType).finish()
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for PROCESS_DEVICEMAP_INFORMATION_0_0 {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::PartialEq for PROCESS_DEVICEMAP_INFORMATION_0_0 {
fn eq(&self, other: &Self) -> bool {
self.DriveMap == other.DriveMap && self.DriveType == other.DriveType
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::Eq for PROCESS_DEVICEMAP_INFORMATION_0_0 {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for PROCESS_DEVICEMAP_INFORMATION_0_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub struct PROCESS_DEVICEMAP_INFORMATION_0_1 {
pub DirectoryHandle: super::super::super::Win32::Foundation::HANDLE,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for PROCESS_DEVICEMAP_INFORMATION_0_1 {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for PROCESS_DEVICEMAP_INFORMATION_0_1 {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::fmt::Debug for PROCESS_DEVICEMAP_INFORMATION_0_1 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("PROCESS_DEVICEMAP_INFORMATION_0_1").field("DirectoryHandle", &self.DirectoryHandle).finish()
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for PROCESS_DEVICEMAP_INFORMATION_0_1 {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::PartialEq for PROCESS_DEVICEMAP_INFORMATION_0_1 {
fn eq(&self, other: &Self) -> bool {
self.DirectoryHandle == other.DirectoryHandle
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::Eq for PROCESS_DEVICEMAP_INFORMATION_0_1 {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for PROCESS_DEVICEMAP_INFORMATION_0_1 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub struct PROCESS_DEVICEMAP_INFORMATION_EX {
pub Anonymous: PROCESS_DEVICEMAP_INFORMATION_EX_0,
pub Flags: u32,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for PROCESS_DEVICEMAP_INFORMATION_EX {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for PROCESS_DEVICEMAP_INFORMATION_EX {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for PROCESS_DEVICEMAP_INFORMATION_EX {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for PROCESS_DEVICEMAP_INFORMATION_EX {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub union PROCESS_DEVICEMAP_INFORMATION_EX_0 {
pub Set: PROCESS_DEVICEMAP_INFORMATION_EX_0_1,
pub Query: PROCESS_DEVICEMAP_INFORMATION_EX_0_0,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for PROCESS_DEVICEMAP_INFORMATION_EX_0 {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for PROCESS_DEVICEMAP_INFORMATION_EX_0 {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for PROCESS_DEVICEMAP_INFORMATION_EX_0 {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for PROCESS_DEVICEMAP_INFORMATION_EX_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub struct PROCESS_DEVICEMAP_INFORMATION_EX_0_0 {
pub DriveMap: u32,
pub DriveType: [u8; 32],
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for PROCESS_DEVICEMAP_INFORMATION_EX_0_0 {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for PROCESS_DEVICEMAP_INFORMATION_EX_0_0 {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::fmt::Debug for PROCESS_DEVICEMAP_INFORMATION_EX_0_0 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("PROCESS_DEVICEMAP_INFORMATION_EX_0_0").field("DriveMap", &self.DriveMap).field("DriveType", &self.DriveType).finish()
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for PROCESS_DEVICEMAP_INFORMATION_EX_0_0 {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::PartialEq for PROCESS_DEVICEMAP_INFORMATION_EX_0_0 {
fn eq(&self, other: &Self) -> bool {
self.DriveMap == other.DriveMap && self.DriveType == other.DriveType
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::Eq for PROCESS_DEVICEMAP_INFORMATION_EX_0_0 {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for PROCESS_DEVICEMAP_INFORMATION_EX_0_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub struct PROCESS_DEVICEMAP_INFORMATION_EX_0_1 {
pub DirectoryHandle: super::super::super::Win32::Foundation::HANDLE,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for PROCESS_DEVICEMAP_INFORMATION_EX_0_1 {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for PROCESS_DEVICEMAP_INFORMATION_EX_0_1 {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::fmt::Debug for PROCESS_DEVICEMAP_INFORMATION_EX_0_1 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("PROCESS_DEVICEMAP_INFORMATION_EX_0_1").field("DirectoryHandle", &self.DirectoryHandle).finish()
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for PROCESS_DEVICEMAP_INFORMATION_EX_0_1 {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::PartialEq for PROCESS_DEVICEMAP_INFORMATION_EX_0_1 {
fn eq(&self, other: &Self) -> bool {
self.DirectoryHandle == other.DirectoryHandle
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::Eq for PROCESS_DEVICEMAP_INFORMATION_EX_0_1 {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for PROCESS_DEVICEMAP_INFORMATION_EX_0_1 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub struct PROCESS_EXCEPTION_PORT {
pub ExceptionPortHandle: super::super::super::Win32::Foundation::HANDLE,
pub StateFlags: u32,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for PROCESS_EXCEPTION_PORT {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for PROCESS_EXCEPTION_PORT {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::fmt::Debug for PROCESS_EXCEPTION_PORT {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("PROCESS_EXCEPTION_PORT").field("ExceptionPortHandle", &self.ExceptionPortHandle).field("StateFlags", &self.StateFlags).finish()
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for PROCESS_EXCEPTION_PORT {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::PartialEq for PROCESS_EXCEPTION_PORT {
fn eq(&self, other: &Self) -> bool {
self.ExceptionPortHandle == other.ExceptionPortHandle && self.StateFlags == other.StateFlags
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::Eq for PROCESS_EXCEPTION_PORT {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for PROCESS_EXCEPTION_PORT {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Threading\"`*"]
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel", feature = "Win32_System_Threading"))]
pub struct PROCESS_EXTENDED_BASIC_INFORMATION {
pub Size: usize,
pub BasicInfo: super::super::super::Win32::System::Threading::PROCESS_BASIC_INFORMATION,
pub Anonymous: PROCESS_EXTENDED_BASIC_INFORMATION_0,
}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel", feature = "Win32_System_Threading"))]
impl ::core::marker::Copy for PROCESS_EXTENDED_BASIC_INFORMATION {}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel", feature = "Win32_System_Threading"))]
impl ::core::clone::Clone for PROCESS_EXTENDED_BASIC_INFORMATION {
fn clone(&self) -> Self {
*self
}
}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel", feature = "Win32_System_Threading"))]
impl ::windows_core::TypeKind for PROCESS_EXTENDED_BASIC_INFORMATION {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel", feature = "Win32_System_Threading"))]
impl ::core::default::Default for PROCESS_EXTENDED_BASIC_INFORMATION {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Threading\"`*"]
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel", feature = "Win32_System_Threading"))]
pub union PROCESS_EXTENDED_BASIC_INFORMATION_0 {
pub Flags: u32,
pub Anonymous: PROCESS_EXTENDED_BASIC_INFORMATION_0_0,
}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel", feature = "Win32_System_Threading"))]
impl ::core::marker::Copy for PROCESS_EXTENDED_BASIC_INFORMATION_0 {}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel", feature = "Win32_System_Threading"))]
impl ::core::clone::Clone for PROCESS_EXTENDED_BASIC_INFORMATION_0 {
fn clone(&self) -> Self {
*self
}
}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel", feature = "Win32_System_Threading"))]
impl ::windows_core::TypeKind for PROCESS_EXTENDED_BASIC_INFORMATION_0 {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel", feature = "Win32_System_Threading"))]
impl ::core::default::Default for PROCESS_EXTENDED_BASIC_INFORMATION_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Threading\"`*"]
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel", feature = "Win32_System_Threading"))]
pub struct PROCESS_EXTENDED_BASIC_INFORMATION_0_0 {
pub _bitfield: u32,
}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel", feature = "Win32_System_Threading"))]
impl ::core::marker::Copy for PROCESS_EXTENDED_BASIC_INFORMATION_0_0 {}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel", feature = "Win32_System_Threading"))]
impl ::core::clone::Clone for PROCESS_EXTENDED_BASIC_INFORMATION_0_0 {
fn clone(&self) -> Self {
*self
}
}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel", feature = "Win32_System_Threading"))]
impl ::core::fmt::Debug for PROCESS_EXTENDED_BASIC_INFORMATION_0_0 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("PROCESS_EXTENDED_BASIC_INFORMATION_0_0").field("_bitfield", &self._bitfield).finish()
}
}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel", feature = "Win32_System_Threading"))]
impl ::windows_core::TypeKind for PROCESS_EXTENDED_BASIC_INFORMATION_0_0 {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel", feature = "Win32_System_Threading"))]
impl ::core::cmp::PartialEq for PROCESS_EXTENDED_BASIC_INFORMATION_0_0 {
fn eq(&self, other: &Self) -> bool {
self._bitfield == other._bitfield
}
}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel", feature = "Win32_System_Threading"))]
impl ::core::cmp::Eq for PROCESS_EXTENDED_BASIC_INFORMATION_0_0 {}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel", feature = "Win32_System_Threading"))]
impl ::core::default::Default for PROCESS_EXTENDED_BASIC_INFORMATION_0_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct PROCESS_HANDLE_TRACING_ENABLE {
pub Flags: u32,
}
impl ::core::marker::Copy for PROCESS_HANDLE_TRACING_ENABLE {}
impl ::core::clone::Clone for PROCESS_HANDLE_TRACING_ENABLE {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for PROCESS_HANDLE_TRACING_ENABLE {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("PROCESS_HANDLE_TRACING_ENABLE").field("Flags", &self.Flags).finish()
}
}
impl ::windows_core::TypeKind for PROCESS_HANDLE_TRACING_ENABLE {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for PROCESS_HANDLE_TRACING_ENABLE {
fn eq(&self, other: &Self) -> bool {
self.Flags == other.Flags
}
}
impl ::core::cmp::Eq for PROCESS_HANDLE_TRACING_ENABLE {}
impl ::core::default::Default for PROCESS_HANDLE_TRACING_ENABLE {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct PROCESS_HANDLE_TRACING_ENABLE_EX {
pub Flags: u32,
pub TotalSlots: u32,
}
impl ::core::marker::Copy for PROCESS_HANDLE_TRACING_ENABLE_EX {}
impl ::core::clone::Clone for PROCESS_HANDLE_TRACING_ENABLE_EX {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for PROCESS_HANDLE_TRACING_ENABLE_EX {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("PROCESS_HANDLE_TRACING_ENABLE_EX").field("Flags", &self.Flags).field("TotalSlots", &self.TotalSlots).finish()
}
}
impl ::windows_core::TypeKind for PROCESS_HANDLE_TRACING_ENABLE_EX {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for PROCESS_HANDLE_TRACING_ENABLE_EX {
fn eq(&self, other: &Self) -> bool {
self.Flags == other.Flags && self.TotalSlots == other.TotalSlots
}
}
impl ::core::cmp::Eq for PROCESS_HANDLE_TRACING_ENABLE_EX {}
impl ::core::default::Default for PROCESS_HANDLE_TRACING_ENABLE_EX {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_WindowsProgramming"))]
pub struct PROCESS_HANDLE_TRACING_ENTRY {
pub Handle: super::super::super::Win32::Foundation::HANDLE,
pub ClientId: super::super::super::Win32::System::WindowsProgramming::CLIENT_ID,
pub Type: u32,
pub Stacks: [*mut ::core::ffi::c_void; 16],
}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_WindowsProgramming"))]
impl ::core::marker::Copy for PROCESS_HANDLE_TRACING_ENTRY {}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_WindowsProgramming"))]
impl ::core::clone::Clone for PROCESS_HANDLE_TRACING_ENTRY {
fn clone(&self) -> Self {
*self
}
}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_WindowsProgramming"))]
impl ::core::fmt::Debug for PROCESS_HANDLE_TRACING_ENTRY {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("PROCESS_HANDLE_TRACING_ENTRY").field("Handle", &self.Handle).field("ClientId", &self.ClientId).field("Type", &self.Type).field("Stacks", &self.Stacks).finish()
}
}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_WindowsProgramming"))]
impl ::windows_core::TypeKind for PROCESS_HANDLE_TRACING_ENTRY {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_WindowsProgramming"))]
impl ::core::cmp::PartialEq for PROCESS_HANDLE_TRACING_ENTRY {
fn eq(&self, other: &Self) -> bool {
self.Handle == other.Handle && self.ClientId == other.ClientId && self.Type == other.Type && self.Stacks == other.Stacks
}
}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_WindowsProgramming"))]
impl ::core::cmp::Eq for PROCESS_HANDLE_TRACING_ENTRY {}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_WindowsProgramming"))]
impl ::core::default::Default for PROCESS_HANDLE_TRACING_ENTRY {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_WindowsProgramming"))]
pub struct PROCESS_HANDLE_TRACING_QUERY {
pub Handle: super::super::super::Win32::Foundation::HANDLE,
pub TotalTraces: u32,
pub HandleTrace: [PROCESS_HANDLE_TRACING_ENTRY; 1],
}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_WindowsProgramming"))]
impl ::core::marker::Copy for PROCESS_HANDLE_TRACING_QUERY {}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_WindowsProgramming"))]
impl ::core::clone::Clone for PROCESS_HANDLE_TRACING_QUERY {
fn clone(&self) -> Self {
*self
}
}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_WindowsProgramming"))]
impl ::core::fmt::Debug for PROCESS_HANDLE_TRACING_QUERY {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("PROCESS_HANDLE_TRACING_QUERY").field("Handle", &self.Handle).field("TotalTraces", &self.TotalTraces).field("HandleTrace", &self.HandleTrace).finish()
}
}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_WindowsProgramming"))]
impl ::windows_core::TypeKind for PROCESS_HANDLE_TRACING_QUERY {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_WindowsProgramming"))]
impl ::core::cmp::PartialEq for PROCESS_HANDLE_TRACING_QUERY {
fn eq(&self, other: &Self) -> bool {
self.Handle == other.Handle && self.TotalTraces == other.TotalTraces && self.HandleTrace == other.HandleTrace
}
}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_WindowsProgramming"))]
impl ::core::cmp::Eq for PROCESS_HANDLE_TRACING_QUERY {}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_WindowsProgramming"))]
impl ::core::default::Default for PROCESS_HANDLE_TRACING_QUERY {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct PROCESS_KEEPALIVE_COUNT_INFORMATION {
pub WakeCount: u32,
pub NoWakeCount: u32,
}
impl ::core::marker::Copy for PROCESS_KEEPALIVE_COUNT_INFORMATION {}
impl ::core::clone::Clone for PROCESS_KEEPALIVE_COUNT_INFORMATION {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for PROCESS_KEEPALIVE_COUNT_INFORMATION {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("PROCESS_KEEPALIVE_COUNT_INFORMATION").field("WakeCount", &self.WakeCount).field("NoWakeCount", &self.NoWakeCount).finish()
}
}
impl ::windows_core::TypeKind for PROCESS_KEEPALIVE_COUNT_INFORMATION {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for PROCESS_KEEPALIVE_COUNT_INFORMATION {
fn eq(&self, other: &Self) -> bool {
self.WakeCount == other.WakeCount && self.NoWakeCount == other.NoWakeCount
}
}
impl ::core::cmp::Eq for PROCESS_KEEPALIVE_COUNT_INFORMATION {}
impl ::core::default::Default for PROCESS_KEEPALIVE_COUNT_INFORMATION {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct PROCESS_MEMBERSHIP_INFORMATION {
pub ServerSiloId: u32,
}
impl ::core::marker::Copy for PROCESS_MEMBERSHIP_INFORMATION {}
impl ::core::clone::Clone for PROCESS_MEMBERSHIP_INFORMATION {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for PROCESS_MEMBERSHIP_INFORMATION {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("PROCESS_MEMBERSHIP_INFORMATION").field("ServerSiloId", &self.ServerSiloId).finish()
}
}
impl ::windows_core::TypeKind for PROCESS_MEMBERSHIP_INFORMATION {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for PROCESS_MEMBERSHIP_INFORMATION {
fn eq(&self, other: &Self) -> bool {
self.ServerSiloId == other.ServerSiloId
}
}
impl ::core::cmp::Eq for PROCESS_MEMBERSHIP_INFORMATION {}
impl ::core::default::Default for PROCESS_MEMBERSHIP_INFORMATION {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub struct PROCESS_REVOKE_FILE_HANDLES_INFORMATION {
pub TargetDevicePath: super::super::super::Win32::Foundation::UNICODE_STRING,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for PROCESS_REVOKE_FILE_HANDLES_INFORMATION {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for PROCESS_REVOKE_FILE_HANDLES_INFORMATION {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::fmt::Debug for PROCESS_REVOKE_FILE_HANDLES_INFORMATION {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("PROCESS_REVOKE_FILE_HANDLES_INFORMATION").field("TargetDevicePath", &self.TargetDevicePath).finish()
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for PROCESS_REVOKE_FILE_HANDLES_INFORMATION {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::PartialEq for PROCESS_REVOKE_FILE_HANDLES_INFORMATION {
fn eq(&self, other: &Self) -> bool {
self.TargetDevicePath == other.TargetDevicePath
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::Eq for PROCESS_REVOKE_FILE_HANDLES_INFORMATION {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for PROCESS_REVOKE_FILE_HANDLES_INFORMATION {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct PROCESS_SESSION_INFORMATION {
pub SessionId: u32,
}
impl ::core::marker::Copy for PROCESS_SESSION_INFORMATION {}
impl ::core::clone::Clone for PROCESS_SESSION_INFORMATION {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for PROCESS_SESSION_INFORMATION {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("PROCESS_SESSION_INFORMATION").field("SessionId", &self.SessionId).finish()
}
}
impl ::windows_core::TypeKind for PROCESS_SESSION_INFORMATION {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for PROCESS_SESSION_INFORMATION {
fn eq(&self, other: &Self) -> bool {
self.SessionId == other.SessionId
}
}
impl ::core::cmp::Eq for PROCESS_SESSION_INFORMATION {}
impl ::core::default::Default for PROCESS_SESSION_INFORMATION {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct PROCESS_SYSCALL_PROVIDER_INFORMATION {
pub ProviderId: ::windows_core::GUID,
pub Level: u8,
}
impl ::core::marker::Copy for PROCESS_SYSCALL_PROVIDER_INFORMATION {}
impl ::core::clone::Clone for PROCESS_SYSCALL_PROVIDER_INFORMATION {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for PROCESS_SYSCALL_PROVIDER_INFORMATION {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("PROCESS_SYSCALL_PROVIDER_INFORMATION").field("ProviderId", &self.ProviderId).field("Level", &self.Level).finish()
}
}
impl ::windows_core::TypeKind for PROCESS_SYSCALL_PROVIDER_INFORMATION {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for PROCESS_SYSCALL_PROVIDER_INFORMATION {
fn eq(&self, other: &Self) -> bool {
self.ProviderId == other.ProviderId && self.Level == other.Level
}
}
impl ::core::cmp::Eq for PROCESS_SYSCALL_PROVIDER_INFORMATION {}
impl ::core::default::Default for PROCESS_SYSCALL_PROVIDER_INFORMATION {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct PROCESS_WS_WATCH_INFORMATION {
pub FaultingPc: *mut ::core::ffi::c_void,
pub FaultingVa: *mut ::core::ffi::c_void,
}
impl ::core::marker::Copy for PROCESS_WS_WATCH_INFORMATION {}
impl ::core::clone::Clone for PROCESS_WS_WATCH_INFORMATION {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for PROCESS_WS_WATCH_INFORMATION {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("PROCESS_WS_WATCH_INFORMATION").field("FaultingPc", &self.FaultingPc).field("FaultingVa", &self.FaultingVa).finish()
}
}
impl ::windows_core::TypeKind for PROCESS_WS_WATCH_INFORMATION {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for PROCESS_WS_WATCH_INFORMATION {
fn eq(&self, other: &Self) -> bool {
self.FaultingPc == other.FaultingPc && self.FaultingVa == other.FaultingVa
}
}
impl ::core::cmp::Eq for PROCESS_WS_WATCH_INFORMATION {}
impl ::core::default::Default for PROCESS_WS_WATCH_INFORMATION {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
pub struct PS_CREATE_NOTIFY_INFO {
pub Size: usize,
pub Anonymous: PS_CREATE_NOTIFY_INFO_0,
pub ParentProcessId: super::super::super::Win32::Foundation::HANDLE,
pub CreatingThreadId: super::super::super::Win32::System::WindowsProgramming::CLIENT_ID,
pub FileObject: *mut super::super::Foundation::FILE_OBJECT,
pub ImageFileName: *mut super::super::super::Win32::Foundation::UNICODE_STRING,
pub CommandLine: *mut super::super::super::Win32::Foundation::UNICODE_STRING,
pub CreationStatus: super::super::super::Win32::Foundation::NTSTATUS,
}
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
impl ::core::marker::Copy for PS_CREATE_NOTIFY_INFO {}
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
impl ::core::clone::Clone for PS_CREATE_NOTIFY_INFO {
fn clone(&self) -> Self {
*self
}
}
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
impl ::windows_core::TypeKind for PS_CREATE_NOTIFY_INFO {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
impl ::core::default::Default for PS_CREATE_NOTIFY_INFO {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
pub union PS_CREATE_NOTIFY_INFO_0 {
pub Flags: u32,
pub Anonymous: PS_CREATE_NOTIFY_INFO_0_0,
}
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
impl ::core::marker::Copy for PS_CREATE_NOTIFY_INFO_0 {}
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
impl ::core::clone::Clone for PS_CREATE_NOTIFY_INFO_0 {
fn clone(&self) -> Self {
*self
}
}
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
impl ::windows_core::TypeKind for PS_CREATE_NOTIFY_INFO_0 {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
impl ::core::default::Default for PS_CREATE_NOTIFY_INFO_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
pub struct PS_CREATE_NOTIFY_INFO_0_0 {
pub _bitfield: u32,
}
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
impl ::core::marker::Copy for PS_CREATE_NOTIFY_INFO_0_0 {}
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
impl ::core::clone::Clone for PS_CREATE_NOTIFY_INFO_0_0 {
fn clone(&self) -> Self {
*self
}
}
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
impl ::core::fmt::Debug for PS_CREATE_NOTIFY_INFO_0_0 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("PS_CREATE_NOTIFY_INFO_0_0").field("_bitfield", &self._bitfield).finish()
}
}
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
impl ::windows_core::TypeKind for PS_CREATE_NOTIFY_INFO_0_0 {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
impl ::core::cmp::PartialEq for PS_CREATE_NOTIFY_INFO_0_0 {
fn eq(&self, other: &Self) -> bool {
self._bitfield == other._bitfield
}
}
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
impl ::core::cmp::Eq for PS_CREATE_NOTIFY_INFO_0_0 {}
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
impl ::core::default::Default for PS_CREATE_NOTIFY_INFO_0_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub struct PTM_CONTROL_INTERFACE {
pub Size: u16,
pub Version: u16,
pub Context: *mut ::core::ffi::c_void,
pub InterfaceReference: PINTERFACE_REFERENCE,
pub InterfaceDereference: PINTERFACE_DEREFERENCE,
pub QueryGranularity: PPTM_DEVICE_QUERY_GRANULARITY,
pub QueryTimeSource: PPTM_DEVICE_QUERY_TIME_SOURCE,
pub Enable: PPTM_DEVICE_ENABLE,
pub Disable: PPTM_DEVICE_DISABLE,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for PTM_CONTROL_INTERFACE {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for PTM_CONTROL_INTERFACE {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::fmt::Debug for PTM_CONTROL_INTERFACE {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("PTM_CONTROL_INTERFACE").field("Size", &self.Size).field("Version", &self.Version).field("Context", &self.Context).finish()
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for PTM_CONTROL_INTERFACE {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for PTM_CONTROL_INTERFACE {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct REENUMERATE_SELF_INTERFACE_STANDARD {
pub Size: u16,
pub Version: u16,
pub Context: *mut ::core::ffi::c_void,
pub InterfaceReference: PINTERFACE_REFERENCE,
pub InterfaceDereference: PINTERFACE_DEREFERENCE,
pub SurpriseRemoveAndReenumerateSelf: PREENUMERATE_SELF,
}
impl ::core::marker::Copy for REENUMERATE_SELF_INTERFACE_STANDARD {}
impl ::core::clone::Clone for REENUMERATE_SELF_INTERFACE_STANDARD {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for REENUMERATE_SELF_INTERFACE_STANDARD {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("REENUMERATE_SELF_INTERFACE_STANDARD").field("Size", &self.Size).field("Version", &self.Version).field("Context", &self.Context).finish()
}
}
impl ::windows_core::TypeKind for REENUMERATE_SELF_INTERFACE_STANDARD {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for REENUMERATE_SELF_INTERFACE_STANDARD {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct REG_CALLBACK_CONTEXT_CLEANUP_INFORMATION {
pub Object: *mut ::core::ffi::c_void,
pub ObjectContext: *mut ::core::ffi::c_void,
pub Reserved: *mut ::core::ffi::c_void,
}
impl ::core::marker::Copy for REG_CALLBACK_CONTEXT_CLEANUP_INFORMATION {}
impl ::core::clone::Clone for REG_CALLBACK_CONTEXT_CLEANUP_INFORMATION {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for REG_CALLBACK_CONTEXT_CLEANUP_INFORMATION {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("REG_CALLBACK_CONTEXT_CLEANUP_INFORMATION").field("Object", &self.Object).field("ObjectContext", &self.ObjectContext).field("Reserved", &self.Reserved).finish()
}
}
impl ::windows_core::TypeKind for REG_CALLBACK_CONTEXT_CLEANUP_INFORMATION {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for REG_CALLBACK_CONTEXT_CLEANUP_INFORMATION {
fn eq(&self, other: &Self) -> bool {
self.Object == other.Object && self.ObjectContext == other.ObjectContext && self.Reserved == other.Reserved
}
}
impl ::core::cmp::Eq for REG_CALLBACK_CONTEXT_CLEANUP_INFORMATION {}
impl ::core::default::Default for REG_CALLBACK_CONTEXT_CLEANUP_INFORMATION {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub struct REG_CREATE_KEY_INFORMATION {
pub CompleteName: *mut super::super::super::Win32::Foundation::UNICODE_STRING,
pub RootObject: *mut ::core::ffi::c_void,
pub ObjectType: *mut ::core::ffi::c_void,
pub CreateOptions: u32,
pub Class: *mut super::super::super::Win32::Foundation::UNICODE_STRING,
pub SecurityDescriptor: *mut ::core::ffi::c_void,
pub SecurityQualityOfService: *mut ::core::ffi::c_void,
pub DesiredAccess: u32,
pub GrantedAccess: u32,
pub Disposition: *mut u32,
pub ResultObject: *mut *mut ::core::ffi::c_void,
pub CallContext: *mut ::core::ffi::c_void,
pub RootObjectContext: *mut ::core::ffi::c_void,
pub Transaction: *mut ::core::ffi::c_void,
pub Reserved: *mut ::core::ffi::c_void,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for REG_CREATE_KEY_INFORMATION {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for REG_CREATE_KEY_INFORMATION {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::fmt::Debug for REG_CREATE_KEY_INFORMATION {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("REG_CREATE_KEY_INFORMATION")
.field("CompleteName", &self.CompleteName)
.field("RootObject", &self.RootObject)
.field("ObjectType", &self.ObjectType)
.field("CreateOptions", &self.CreateOptions)
.field("Class", &self.Class)
.field("SecurityDescriptor", &self.SecurityDescriptor)
.field("SecurityQualityOfService", &self.SecurityQualityOfService)
.field("DesiredAccess", &self.DesiredAccess)
.field("GrantedAccess", &self.GrantedAccess)
.field("Disposition", &self.Disposition)
.field("ResultObject", &self.ResultObject)
.field("CallContext", &self.CallContext)
.field("RootObjectContext", &self.RootObjectContext)
.field("Transaction", &self.Transaction)
.field("Reserved", &self.Reserved)
.finish()
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for REG_CREATE_KEY_INFORMATION {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::PartialEq for REG_CREATE_KEY_INFORMATION {
fn eq(&self, other: &Self) -> bool {
self.CompleteName == other.CompleteName && self.RootObject == other.RootObject && self.ObjectType == other.ObjectType && self.CreateOptions == other.CreateOptions && self.Class == other.Class && self.SecurityDescriptor == other.SecurityDescriptor && self.SecurityQualityOfService == other.SecurityQualityOfService && self.DesiredAccess == other.DesiredAccess && self.GrantedAccess == other.GrantedAccess && self.Disposition == other.Disposition && self.ResultObject == other.ResultObject && self.CallContext == other.CallContext && self.RootObjectContext == other.RootObjectContext && self.Transaction == other.Transaction && self.Reserved == other.Reserved
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::Eq for REG_CREATE_KEY_INFORMATION {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for REG_CREATE_KEY_INFORMATION {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub struct REG_CREATE_KEY_INFORMATION_V1 {
pub CompleteName: *mut super::super::super::Win32::Foundation::UNICODE_STRING,
pub RootObject: *mut ::core::ffi::c_void,
pub ObjectType: *mut ::core::ffi::c_void,
pub Options: u32,
pub Class: *mut super::super::super::Win32::Foundation::UNICODE_STRING,
pub SecurityDescriptor: *mut ::core::ffi::c_void,
pub SecurityQualityOfService: *mut ::core::ffi::c_void,
pub DesiredAccess: u32,
pub GrantedAccess: u32,
pub Disposition: *mut u32,
pub ResultObject: *mut *mut ::core::ffi::c_void,
pub CallContext: *mut ::core::ffi::c_void,
pub RootObjectContext: *mut ::core::ffi::c_void,
pub Transaction: *mut ::core::ffi::c_void,
pub Version: usize,
pub RemainingName: *mut super::super::super::Win32::Foundation::UNICODE_STRING,
pub Wow64Flags: u32,
pub Attributes: u32,
pub CheckAccessMode: i8,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for REG_CREATE_KEY_INFORMATION_V1 {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for REG_CREATE_KEY_INFORMATION_V1 {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::fmt::Debug for REG_CREATE_KEY_INFORMATION_V1 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("REG_CREATE_KEY_INFORMATION_V1")
.field("CompleteName", &self.CompleteName)
.field("RootObject", &self.RootObject)
.field("ObjectType", &self.ObjectType)
.field("Options", &self.Options)
.field("Class", &self.Class)
.field("SecurityDescriptor", &self.SecurityDescriptor)
.field("SecurityQualityOfService", &self.SecurityQualityOfService)
.field("DesiredAccess", &self.DesiredAccess)
.field("GrantedAccess", &self.GrantedAccess)
.field("Disposition", &self.Disposition)
.field("ResultObject", &self.ResultObject)
.field("CallContext", &self.CallContext)
.field("RootObjectContext", &self.RootObjectContext)
.field("Transaction", &self.Transaction)
.field("Version", &self.Version)
.field("RemainingName", &self.RemainingName)
.field("Wow64Flags", &self.Wow64Flags)
.field("Attributes", &self.Attributes)
.field("CheckAccessMode", &self.CheckAccessMode)
.finish()
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for REG_CREATE_KEY_INFORMATION_V1 {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::PartialEq for REG_CREATE_KEY_INFORMATION_V1 {
fn eq(&self, other: &Self) -> bool {
self.CompleteName == other.CompleteName
&& self.RootObject == other.RootObject
&& self.ObjectType == other.ObjectType
&& self.Options == other.Options
&& self.Class == other.Class
&& self.SecurityDescriptor == other.SecurityDescriptor
&& self.SecurityQualityOfService == other.SecurityQualityOfService
&& self.DesiredAccess == other.DesiredAccess
&& self.GrantedAccess == other.GrantedAccess
&& self.Disposition == other.Disposition
&& self.ResultObject == other.ResultObject
&& self.CallContext == other.CallContext
&& self.RootObjectContext == other.RootObjectContext
&& self.Transaction == other.Transaction
&& self.Version == other.Version
&& self.RemainingName == other.RemainingName
&& self.Wow64Flags == other.Wow64Flags
&& self.Attributes == other.Attributes
&& self.CheckAccessMode == other.CheckAccessMode
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::Eq for REG_CREATE_KEY_INFORMATION_V1 {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for REG_CREATE_KEY_INFORMATION_V1 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct REG_DELETE_KEY_INFORMATION {
pub Object: *mut ::core::ffi::c_void,
pub CallContext: *mut ::core::ffi::c_void,
pub ObjectContext: *mut ::core::ffi::c_void,
pub Reserved: *mut ::core::ffi::c_void,
}
impl ::core::marker::Copy for REG_DELETE_KEY_INFORMATION {}
impl ::core::clone::Clone for REG_DELETE_KEY_INFORMATION {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for REG_DELETE_KEY_INFORMATION {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("REG_DELETE_KEY_INFORMATION").field("Object", &self.Object).field("CallContext", &self.CallContext).field("ObjectContext", &self.ObjectContext).field("Reserved", &self.Reserved).finish()
}
}
impl ::windows_core::TypeKind for REG_DELETE_KEY_INFORMATION {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for REG_DELETE_KEY_INFORMATION {
fn eq(&self, other: &Self) -> bool {
self.Object == other.Object && self.CallContext == other.CallContext && self.ObjectContext == other.ObjectContext && self.Reserved == other.Reserved
}
}
impl ::core::cmp::Eq for REG_DELETE_KEY_INFORMATION {}
impl ::core::default::Default for REG_DELETE_KEY_INFORMATION {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub struct REG_DELETE_VALUE_KEY_INFORMATION {
pub Object: *mut ::core::ffi::c_void,
pub ValueName: *mut super::super::super::Win32::Foundation::UNICODE_STRING,
pub CallContext: *mut ::core::ffi::c_void,
pub ObjectContext: *mut ::core::ffi::c_void,
pub Reserved: *mut ::core::ffi::c_void,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for REG_DELETE_VALUE_KEY_INFORMATION {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for REG_DELETE_VALUE_KEY_INFORMATION {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::fmt::Debug for REG_DELETE_VALUE_KEY_INFORMATION {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("REG_DELETE_VALUE_KEY_INFORMATION").field("Object", &self.Object).field("ValueName", &self.ValueName).field("CallContext", &self.CallContext).field("ObjectContext", &self.ObjectContext).field("Reserved", &self.Reserved).finish()
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for REG_DELETE_VALUE_KEY_INFORMATION {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::PartialEq for REG_DELETE_VALUE_KEY_INFORMATION {
fn eq(&self, other: &Self) -> bool {
self.Object == other.Object && self.ValueName == other.ValueName && self.CallContext == other.CallContext && self.ObjectContext == other.ObjectContext && self.Reserved == other.Reserved
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::Eq for REG_DELETE_VALUE_KEY_INFORMATION {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for REG_DELETE_VALUE_KEY_INFORMATION {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct REG_ENUMERATE_KEY_INFORMATION {
pub Object: *mut ::core::ffi::c_void,
pub Index: u32,
pub KeyInformationClass: KEY_INFORMATION_CLASS,
pub KeyInformation: *mut ::core::ffi::c_void,
pub Length: u32,
pub ResultLength: *mut u32,
pub CallContext: *mut ::core::ffi::c_void,
pub ObjectContext: *mut ::core::ffi::c_void,
pub Reserved: *mut ::core::ffi::c_void,
}
impl ::core::marker::Copy for REG_ENUMERATE_KEY_INFORMATION {}
impl ::core::clone::Clone for REG_ENUMERATE_KEY_INFORMATION {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for REG_ENUMERATE_KEY_INFORMATION {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("REG_ENUMERATE_KEY_INFORMATION").field("Object", &self.Object).field("Index", &self.Index).field("KeyInformationClass", &self.KeyInformationClass).field("KeyInformation", &self.KeyInformation).field("Length", &self.Length).field("ResultLength", &self.ResultLength).field("CallContext", &self.CallContext).field("ObjectContext", &self.ObjectContext).field("Reserved", &self.Reserved).finish()
}
}
impl ::windows_core::TypeKind for REG_ENUMERATE_KEY_INFORMATION {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for REG_ENUMERATE_KEY_INFORMATION {
fn eq(&self, other: &Self) -> bool {
self.Object == other.Object && self.Index == other.Index && self.KeyInformationClass == other.KeyInformationClass && self.KeyInformation == other.KeyInformation && self.Length == other.Length && self.ResultLength == other.ResultLength && self.CallContext == other.CallContext && self.ObjectContext == other.ObjectContext && self.Reserved == other.Reserved
}
}
impl ::core::cmp::Eq for REG_ENUMERATE_KEY_INFORMATION {}
impl ::core::default::Default for REG_ENUMERATE_KEY_INFORMATION {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct REG_ENUMERATE_VALUE_KEY_INFORMATION {
pub Object: *mut ::core::ffi::c_void,
pub Index: u32,
pub KeyValueInformationClass: KEY_VALUE_INFORMATION_CLASS,
pub KeyValueInformation: *mut ::core::ffi::c_void,
pub Length: u32,
pub ResultLength: *mut u32,
pub CallContext: *mut ::core::ffi::c_void,
pub ObjectContext: *mut ::core::ffi::c_void,
pub Reserved: *mut ::core::ffi::c_void,
}
impl ::core::marker::Copy for REG_ENUMERATE_VALUE_KEY_INFORMATION {}
impl ::core::clone::Clone for REG_ENUMERATE_VALUE_KEY_INFORMATION {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for REG_ENUMERATE_VALUE_KEY_INFORMATION {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("REG_ENUMERATE_VALUE_KEY_INFORMATION").field("Object", &self.Object).field("Index", &self.Index).field("KeyValueInformationClass", &self.KeyValueInformationClass).field("KeyValueInformation", &self.KeyValueInformation).field("Length", &self.Length).field("ResultLength", &self.ResultLength).field("CallContext", &self.CallContext).field("ObjectContext", &self.ObjectContext).field("Reserved", &self.Reserved).finish()
}
}
impl ::windows_core::TypeKind for REG_ENUMERATE_VALUE_KEY_INFORMATION {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for REG_ENUMERATE_VALUE_KEY_INFORMATION {
fn eq(&self, other: &Self) -> bool {
self.Object == other.Object && self.Index == other.Index && self.KeyValueInformationClass == other.KeyValueInformationClass && self.KeyValueInformation == other.KeyValueInformation && self.Length == other.Length && self.ResultLength == other.ResultLength && self.CallContext == other.CallContext && self.ObjectContext == other.ObjectContext && self.Reserved == other.Reserved
}
}
impl ::core::cmp::Eq for REG_ENUMERATE_VALUE_KEY_INFORMATION {}
impl ::core::default::Default for REG_ENUMERATE_VALUE_KEY_INFORMATION {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct REG_KEY_HANDLE_CLOSE_INFORMATION {
pub Object: *mut ::core::ffi::c_void,
pub CallContext: *mut ::core::ffi::c_void,
pub ObjectContext: *mut ::core::ffi::c_void,
pub Reserved: *mut ::core::ffi::c_void,
}
impl ::core::marker::Copy for REG_KEY_HANDLE_CLOSE_INFORMATION {}
impl ::core::clone::Clone for REG_KEY_HANDLE_CLOSE_INFORMATION {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for REG_KEY_HANDLE_CLOSE_INFORMATION {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("REG_KEY_HANDLE_CLOSE_INFORMATION").field("Object", &self.Object).field("CallContext", &self.CallContext).field("ObjectContext", &self.ObjectContext).field("Reserved", &self.Reserved).finish()
}
}
impl ::windows_core::TypeKind for REG_KEY_HANDLE_CLOSE_INFORMATION {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for REG_KEY_HANDLE_CLOSE_INFORMATION {
fn eq(&self, other: &Self) -> bool {
self.Object == other.Object && self.CallContext == other.CallContext && self.ObjectContext == other.ObjectContext && self.Reserved == other.Reserved
}
}
impl ::core::cmp::Eq for REG_KEY_HANDLE_CLOSE_INFORMATION {}
impl ::core::default::Default for REG_KEY_HANDLE_CLOSE_INFORMATION {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub struct REG_LOAD_KEY_INFORMATION {
pub Object: *mut ::core::ffi::c_void,
pub KeyName: *mut super::super::super::Win32::Foundation::UNICODE_STRING,
pub SourceFile: *mut super::super::super::Win32::Foundation::UNICODE_STRING,
pub Flags: u32,
pub TrustClassObject: *mut ::core::ffi::c_void,
pub UserEvent: *mut ::core::ffi::c_void,
pub DesiredAccess: u32,
pub RootHandle: *mut super::super::super::Win32::Foundation::HANDLE,
pub CallContext: *mut ::core::ffi::c_void,
pub ObjectContext: *mut ::core::ffi::c_void,
pub Reserved: *mut ::core::ffi::c_void,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for REG_LOAD_KEY_INFORMATION {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for REG_LOAD_KEY_INFORMATION {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::fmt::Debug for REG_LOAD_KEY_INFORMATION {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("REG_LOAD_KEY_INFORMATION").field("Object", &self.Object).field("KeyName", &self.KeyName).field("SourceFile", &self.SourceFile).field("Flags", &self.Flags).field("TrustClassObject", &self.TrustClassObject).field("UserEvent", &self.UserEvent).field("DesiredAccess", &self.DesiredAccess).field("RootHandle", &self.RootHandle).field("CallContext", &self.CallContext).field("ObjectContext", &self.ObjectContext).field("Reserved", &self.Reserved).finish()
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for REG_LOAD_KEY_INFORMATION {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::PartialEq for REG_LOAD_KEY_INFORMATION {
fn eq(&self, other: &Self) -> bool {
self.Object == other.Object && self.KeyName == other.KeyName && self.SourceFile == other.SourceFile && self.Flags == other.Flags && self.TrustClassObject == other.TrustClassObject && self.UserEvent == other.UserEvent && self.DesiredAccess == other.DesiredAccess && self.RootHandle == other.RootHandle && self.CallContext == other.CallContext && self.ObjectContext == other.ObjectContext && self.Reserved == other.Reserved
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::Eq for REG_LOAD_KEY_INFORMATION {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for REG_LOAD_KEY_INFORMATION {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub struct REG_LOAD_KEY_INFORMATION_V2 {
pub Object: *mut ::core::ffi::c_void,
pub KeyName: *mut super::super::super::Win32::Foundation::UNICODE_STRING,
pub SourceFile: *mut super::super::super::Win32::Foundation::UNICODE_STRING,
pub Flags: u32,
pub TrustClassObject: *mut ::core::ffi::c_void,
pub UserEvent: *mut ::core::ffi::c_void,
pub DesiredAccess: u32,
pub RootHandle: *mut super::super::super::Win32::Foundation::HANDLE,
pub CallContext: *mut ::core::ffi::c_void,
pub ObjectContext: *mut ::core::ffi::c_void,
pub Version: usize,
pub FileAccessToken: *mut ::core::ffi::c_void,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for REG_LOAD_KEY_INFORMATION_V2 {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for REG_LOAD_KEY_INFORMATION_V2 {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::fmt::Debug for REG_LOAD_KEY_INFORMATION_V2 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("REG_LOAD_KEY_INFORMATION_V2")
.field("Object", &self.Object)
.field("KeyName", &self.KeyName)
.field("SourceFile", &self.SourceFile)
.field("Flags", &self.Flags)
.field("TrustClassObject", &self.TrustClassObject)
.field("UserEvent", &self.UserEvent)
.field("DesiredAccess", &self.DesiredAccess)
.field("RootHandle", &self.RootHandle)
.field("CallContext", &self.CallContext)
.field("ObjectContext", &self.ObjectContext)
.field("Version", &self.Version)
.field("FileAccessToken", &self.FileAccessToken)
.finish()
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for REG_LOAD_KEY_INFORMATION_V2 {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::PartialEq for REG_LOAD_KEY_INFORMATION_V2 {
fn eq(&self, other: &Self) -> bool {
self.Object == other.Object && self.KeyName == other.KeyName && self.SourceFile == other.SourceFile && self.Flags == other.Flags && self.TrustClassObject == other.TrustClassObject && self.UserEvent == other.UserEvent && self.DesiredAccess == other.DesiredAccess && self.RootHandle == other.RootHandle && self.CallContext == other.CallContext && self.ObjectContext == other.ObjectContext && self.Version == other.Version && self.FileAccessToken == other.FileAccessToken
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::Eq for REG_LOAD_KEY_INFORMATION_V2 {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for REG_LOAD_KEY_INFORMATION_V2 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub struct REG_POST_CREATE_KEY_INFORMATION {
pub CompleteName: *mut super::super::super::Win32::Foundation::UNICODE_STRING,
pub Object: *mut ::core::ffi::c_void,
pub Status: super::super::super::Win32::Foundation::NTSTATUS,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for REG_POST_CREATE_KEY_INFORMATION {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for REG_POST_CREATE_KEY_INFORMATION {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::fmt::Debug for REG_POST_CREATE_KEY_INFORMATION {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("REG_POST_CREATE_KEY_INFORMATION").field("CompleteName", &self.CompleteName).field("Object", &self.Object).field("Status", &self.Status).finish()
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for REG_POST_CREATE_KEY_INFORMATION {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::PartialEq for REG_POST_CREATE_KEY_INFORMATION {
fn eq(&self, other: &Self) -> bool {
self.CompleteName == other.CompleteName && self.Object == other.Object && self.Status == other.Status
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::Eq for REG_POST_CREATE_KEY_INFORMATION {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for REG_POST_CREATE_KEY_INFORMATION {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub struct REG_POST_OPERATION_INFORMATION {
pub Object: *mut ::core::ffi::c_void,
pub Status: super::super::super::Win32::Foundation::NTSTATUS,
pub PreInformation: *mut ::core::ffi::c_void,
pub ReturnStatus: super::super::super::Win32::Foundation::NTSTATUS,
pub CallContext: *mut ::core::ffi::c_void,
pub ObjectContext: *mut ::core::ffi::c_void,
pub Reserved: *mut ::core::ffi::c_void,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for REG_POST_OPERATION_INFORMATION {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for REG_POST_OPERATION_INFORMATION {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::fmt::Debug for REG_POST_OPERATION_INFORMATION {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("REG_POST_OPERATION_INFORMATION").field("Object", &self.Object).field("Status", &self.Status).field("PreInformation", &self.PreInformation).field("ReturnStatus", &self.ReturnStatus).field("CallContext", &self.CallContext).field("ObjectContext", &self.ObjectContext).field("Reserved", &self.Reserved).finish()
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for REG_POST_OPERATION_INFORMATION {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::PartialEq for REG_POST_OPERATION_INFORMATION {
fn eq(&self, other: &Self) -> bool {
self.Object == other.Object && self.Status == other.Status && self.PreInformation == other.PreInformation && self.ReturnStatus == other.ReturnStatus && self.CallContext == other.CallContext && self.ObjectContext == other.ObjectContext && self.Reserved == other.Reserved
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::Eq for REG_POST_OPERATION_INFORMATION {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for REG_POST_OPERATION_INFORMATION {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub struct REG_PRE_CREATE_KEY_INFORMATION {
pub CompleteName: *mut super::super::super::Win32::Foundation::UNICODE_STRING,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for REG_PRE_CREATE_KEY_INFORMATION {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for REG_PRE_CREATE_KEY_INFORMATION {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::fmt::Debug for REG_PRE_CREATE_KEY_INFORMATION {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("REG_PRE_CREATE_KEY_INFORMATION").field("CompleteName", &self.CompleteName).finish()
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for REG_PRE_CREATE_KEY_INFORMATION {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::PartialEq for REG_PRE_CREATE_KEY_INFORMATION {
fn eq(&self, other: &Self) -> bool {
self.CompleteName == other.CompleteName
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::Eq for REG_PRE_CREATE_KEY_INFORMATION {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for REG_PRE_CREATE_KEY_INFORMATION {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct REG_QUERY_KEY_INFORMATION {
pub Object: *mut ::core::ffi::c_void,
pub KeyInformationClass: KEY_INFORMATION_CLASS,
pub KeyInformation: *mut ::core::ffi::c_void,
pub Length: u32,
pub ResultLength: *mut u32,
pub CallContext: *mut ::core::ffi::c_void,
pub ObjectContext: *mut ::core::ffi::c_void,
pub Reserved: *mut ::core::ffi::c_void,
}
impl ::core::marker::Copy for REG_QUERY_KEY_INFORMATION {}
impl ::core::clone::Clone for REG_QUERY_KEY_INFORMATION {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for REG_QUERY_KEY_INFORMATION {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("REG_QUERY_KEY_INFORMATION").field("Object", &self.Object).field("KeyInformationClass", &self.KeyInformationClass).field("KeyInformation", &self.KeyInformation).field("Length", &self.Length).field("ResultLength", &self.ResultLength).field("CallContext", &self.CallContext).field("ObjectContext", &self.ObjectContext).field("Reserved", &self.Reserved).finish()
}
}
impl ::windows_core::TypeKind for REG_QUERY_KEY_INFORMATION {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for REG_QUERY_KEY_INFORMATION {
fn eq(&self, other: &Self) -> bool {
self.Object == other.Object && self.KeyInformationClass == other.KeyInformationClass && self.KeyInformation == other.KeyInformation && self.Length == other.Length && self.ResultLength == other.ResultLength && self.CallContext == other.CallContext && self.ObjectContext == other.ObjectContext && self.Reserved == other.Reserved
}
}
impl ::core::cmp::Eq for REG_QUERY_KEY_INFORMATION {}
impl ::core::default::Default for REG_QUERY_KEY_INFORMATION {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))]
pub struct REG_QUERY_KEY_NAME {
pub Object: *mut ::core::ffi::c_void,
pub ObjectNameInfo: *mut super::super::Foundation::OBJECT_NAME_INFORMATION,
pub Length: u32,
pub ReturnLength: *mut u32,
pub CallContext: *mut ::core::ffi::c_void,
pub ObjectContext: *mut ::core::ffi::c_void,
pub Reserved: *mut ::core::ffi::c_void,
}
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))]
impl ::core::marker::Copy for REG_QUERY_KEY_NAME {}
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))]
impl ::core::clone::Clone for REG_QUERY_KEY_NAME {
fn clone(&self) -> Self {
*self
}
}
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))]
impl ::core::fmt::Debug for REG_QUERY_KEY_NAME {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("REG_QUERY_KEY_NAME").field("Object", &self.Object).field("ObjectNameInfo", &self.ObjectNameInfo).field("Length", &self.Length).field("ReturnLength", &self.ReturnLength).field("CallContext", &self.CallContext).field("ObjectContext", &self.ObjectContext).field("Reserved", &self.Reserved).finish()
}
}
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))]
impl ::windows_core::TypeKind for REG_QUERY_KEY_NAME {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))]
impl ::core::cmp::PartialEq for REG_QUERY_KEY_NAME {
fn eq(&self, other: &Self) -> bool {
self.Object == other.Object && self.ObjectNameInfo == other.ObjectNameInfo && self.Length == other.Length && self.ReturnLength == other.ReturnLength && self.CallContext == other.CallContext && self.ObjectContext == other.ObjectContext && self.Reserved == other.Reserved
}
}
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))]
impl ::core::cmp::Eq for REG_QUERY_KEY_NAME {}
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))]
impl ::core::default::Default for REG_QUERY_KEY_NAME {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Security\"`*"]
#[cfg(feature = "Win32_Security")]
pub struct REG_QUERY_KEY_SECURITY_INFORMATION {
pub Object: *mut ::core::ffi::c_void,
pub SecurityInformation: *mut u32,
pub SecurityDescriptor: super::super::super::Win32::Security::PSECURITY_DESCRIPTOR,
pub Length: *mut u32,
pub CallContext: *mut ::core::ffi::c_void,
pub ObjectContext: *mut ::core::ffi::c_void,
pub Reserved: *mut ::core::ffi::c_void,
}
#[cfg(feature = "Win32_Security")]
impl ::core::marker::Copy for REG_QUERY_KEY_SECURITY_INFORMATION {}
#[cfg(feature = "Win32_Security")]
impl ::core::clone::Clone for REG_QUERY_KEY_SECURITY_INFORMATION {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Security")]
impl ::core::fmt::Debug for REG_QUERY_KEY_SECURITY_INFORMATION {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("REG_QUERY_KEY_SECURITY_INFORMATION").field("Object", &self.Object).field("SecurityInformation", &self.SecurityInformation).field("SecurityDescriptor", &self.SecurityDescriptor).field("Length", &self.Length).field("CallContext", &self.CallContext).field("ObjectContext", &self.ObjectContext).field("Reserved", &self.Reserved).finish()
}
}
#[cfg(feature = "Win32_Security")]
impl ::windows_core::TypeKind for REG_QUERY_KEY_SECURITY_INFORMATION {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Security")]
impl ::core::cmp::PartialEq for REG_QUERY_KEY_SECURITY_INFORMATION {
fn eq(&self, other: &Self) -> bool {
self.Object == other.Object && self.SecurityInformation == other.SecurityInformation && self.SecurityDescriptor == other.SecurityDescriptor && self.Length == other.Length && self.CallContext == other.CallContext && self.ObjectContext == other.ObjectContext && self.Reserved == other.Reserved
}
}
#[cfg(feature = "Win32_Security")]
impl ::core::cmp::Eq for REG_QUERY_KEY_SECURITY_INFORMATION {}
#[cfg(feature = "Win32_Security")]
impl ::core::default::Default for REG_QUERY_KEY_SECURITY_INFORMATION {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub struct REG_QUERY_VALUE_KEY_INFORMATION {
pub Object: *mut ::core::ffi::c_void,
pub ValueName: *mut super::super::super::Win32::Foundation::UNICODE_STRING,
pub KeyValueInformationClass: KEY_VALUE_INFORMATION_CLASS,
pub KeyValueInformation: *mut ::core::ffi::c_void,
pub Length: u32,
pub ResultLength: *mut u32,
pub CallContext: *mut ::core::ffi::c_void,
pub ObjectContext: *mut ::core::ffi::c_void,
pub Reserved: *mut ::core::ffi::c_void,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for REG_QUERY_VALUE_KEY_INFORMATION {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for REG_QUERY_VALUE_KEY_INFORMATION {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::fmt::Debug for REG_QUERY_VALUE_KEY_INFORMATION {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("REG_QUERY_VALUE_KEY_INFORMATION").field("Object", &self.Object).field("ValueName", &self.ValueName).field("KeyValueInformationClass", &self.KeyValueInformationClass).field("KeyValueInformation", &self.KeyValueInformation).field("Length", &self.Length).field("ResultLength", &self.ResultLength).field("CallContext", &self.CallContext).field("ObjectContext", &self.ObjectContext).field("Reserved", &self.Reserved).finish()
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for REG_QUERY_VALUE_KEY_INFORMATION {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::PartialEq for REG_QUERY_VALUE_KEY_INFORMATION {
fn eq(&self, other: &Self) -> bool {
self.Object == other.Object && self.ValueName == other.ValueName && self.KeyValueInformationClass == other.KeyValueInformationClass && self.KeyValueInformation == other.KeyValueInformation && self.Length == other.Length && self.ResultLength == other.ResultLength && self.CallContext == other.CallContext && self.ObjectContext == other.ObjectContext && self.Reserved == other.Reserved
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::Eq for REG_QUERY_VALUE_KEY_INFORMATION {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for REG_QUERY_VALUE_KEY_INFORMATION {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub struct REG_RENAME_KEY_INFORMATION {
pub Object: *mut ::core::ffi::c_void,
pub NewName: *mut super::super::super::Win32::Foundation::UNICODE_STRING,
pub CallContext: *mut ::core::ffi::c_void,
pub ObjectContext: *mut ::core::ffi::c_void,
pub Reserved: *mut ::core::ffi::c_void,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for REG_RENAME_KEY_INFORMATION {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for REG_RENAME_KEY_INFORMATION {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::fmt::Debug for REG_RENAME_KEY_INFORMATION {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("REG_RENAME_KEY_INFORMATION").field("Object", &self.Object).field("NewName", &self.NewName).field("CallContext", &self.CallContext).field("ObjectContext", &self.ObjectContext).field("Reserved", &self.Reserved).finish()
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for REG_RENAME_KEY_INFORMATION {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::PartialEq for REG_RENAME_KEY_INFORMATION {
fn eq(&self, other: &Self) -> bool {
self.Object == other.Object && self.NewName == other.NewName && self.CallContext == other.CallContext && self.ObjectContext == other.ObjectContext && self.Reserved == other.Reserved
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::Eq for REG_RENAME_KEY_INFORMATION {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for REG_RENAME_KEY_INFORMATION {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub struct REG_REPLACE_KEY_INFORMATION {
pub Object: *mut ::core::ffi::c_void,
pub OldFileName: *mut super::super::super::Win32::Foundation::UNICODE_STRING,
pub NewFileName: *mut super::super::super::Win32::Foundation::UNICODE_STRING,
pub CallContext: *mut ::core::ffi::c_void,
pub ObjectContext: *mut ::core::ffi::c_void,
pub Reserved: *mut ::core::ffi::c_void,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for REG_REPLACE_KEY_INFORMATION {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for REG_REPLACE_KEY_INFORMATION {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::fmt::Debug for REG_REPLACE_KEY_INFORMATION {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("REG_REPLACE_KEY_INFORMATION").field("Object", &self.Object).field("OldFileName", &self.OldFileName).field("NewFileName", &self.NewFileName).field("CallContext", &self.CallContext).field("ObjectContext", &self.ObjectContext).field("Reserved", &self.Reserved).finish()
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for REG_REPLACE_KEY_INFORMATION {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::PartialEq for REG_REPLACE_KEY_INFORMATION {
fn eq(&self, other: &Self) -> bool {
self.Object == other.Object && self.OldFileName == other.OldFileName && self.NewFileName == other.NewFileName && self.CallContext == other.CallContext && self.ObjectContext == other.ObjectContext && self.Reserved == other.Reserved
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::Eq for REG_REPLACE_KEY_INFORMATION {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for REG_REPLACE_KEY_INFORMATION {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub struct REG_RESTORE_KEY_INFORMATION {
pub Object: *mut ::core::ffi::c_void,
pub FileHandle: super::super::super::Win32::Foundation::HANDLE,
pub Flags: u32,
pub CallContext: *mut ::core::ffi::c_void,
pub ObjectContext: *mut ::core::ffi::c_void,
pub Reserved: *mut ::core::ffi::c_void,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for REG_RESTORE_KEY_INFORMATION {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for REG_RESTORE_KEY_INFORMATION {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::fmt::Debug for REG_RESTORE_KEY_INFORMATION {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("REG_RESTORE_KEY_INFORMATION").field("Object", &self.Object).field("FileHandle", &self.FileHandle).field("Flags", &self.Flags).field("CallContext", &self.CallContext).field("ObjectContext", &self.ObjectContext).field("Reserved", &self.Reserved).finish()
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for REG_RESTORE_KEY_INFORMATION {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::PartialEq for REG_RESTORE_KEY_INFORMATION {
fn eq(&self, other: &Self) -> bool {
self.Object == other.Object && self.FileHandle == other.FileHandle && self.Flags == other.Flags && self.CallContext == other.CallContext && self.ObjectContext == other.ObjectContext && self.Reserved == other.Reserved
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::Eq for REG_RESTORE_KEY_INFORMATION {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for REG_RESTORE_KEY_INFORMATION {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub struct REG_SAVE_KEY_INFORMATION {
pub Object: *mut ::core::ffi::c_void,
pub FileHandle: super::super::super::Win32::Foundation::HANDLE,
pub Format: u32,
pub CallContext: *mut ::core::ffi::c_void,
pub ObjectContext: *mut ::core::ffi::c_void,
pub Reserved: *mut ::core::ffi::c_void,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for REG_SAVE_KEY_INFORMATION {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for REG_SAVE_KEY_INFORMATION {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::fmt::Debug for REG_SAVE_KEY_INFORMATION {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("REG_SAVE_KEY_INFORMATION").field("Object", &self.Object).field("FileHandle", &self.FileHandle).field("Format", &self.Format).field("CallContext", &self.CallContext).field("ObjectContext", &self.ObjectContext).field("Reserved", &self.Reserved).finish()
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for REG_SAVE_KEY_INFORMATION {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::PartialEq for REG_SAVE_KEY_INFORMATION {
fn eq(&self, other: &Self) -> bool {
self.Object == other.Object && self.FileHandle == other.FileHandle && self.Format == other.Format && self.CallContext == other.CallContext && self.ObjectContext == other.ObjectContext && self.Reserved == other.Reserved
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::Eq for REG_SAVE_KEY_INFORMATION {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for REG_SAVE_KEY_INFORMATION {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub struct REG_SAVE_MERGED_KEY_INFORMATION {
pub Object: *mut ::core::ffi::c_void,
pub FileHandle: super::super::super::Win32::Foundation::HANDLE,
pub HighKeyObject: *mut ::core::ffi::c_void,
pub LowKeyObject: *mut ::core::ffi::c_void,
pub CallContext: *mut ::core::ffi::c_void,
pub ObjectContext: *mut ::core::ffi::c_void,
pub Reserved: *mut ::core::ffi::c_void,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for REG_SAVE_MERGED_KEY_INFORMATION {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for REG_SAVE_MERGED_KEY_INFORMATION {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::fmt::Debug for REG_SAVE_MERGED_KEY_INFORMATION {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("REG_SAVE_MERGED_KEY_INFORMATION").field("Object", &self.Object).field("FileHandle", &self.FileHandle).field("HighKeyObject", &self.HighKeyObject).field("LowKeyObject", &self.LowKeyObject).field("CallContext", &self.CallContext).field("ObjectContext", &self.ObjectContext).field("Reserved", &self.Reserved).finish()
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for REG_SAVE_MERGED_KEY_INFORMATION {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::PartialEq for REG_SAVE_MERGED_KEY_INFORMATION {
fn eq(&self, other: &Self) -> bool {
self.Object == other.Object && self.FileHandle == other.FileHandle && self.HighKeyObject == other.HighKeyObject && self.LowKeyObject == other.LowKeyObject && self.CallContext == other.CallContext && self.ObjectContext == other.ObjectContext && self.Reserved == other.Reserved
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::Eq for REG_SAVE_MERGED_KEY_INFORMATION {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for REG_SAVE_MERGED_KEY_INFORMATION {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Security\"`*"]
#[cfg(feature = "Win32_Security")]
pub struct REG_SET_KEY_SECURITY_INFORMATION {
pub Object: *mut ::core::ffi::c_void,
pub SecurityInformation: *mut u32,
pub SecurityDescriptor: super::super::super::Win32::Security::PSECURITY_DESCRIPTOR,
pub CallContext: *mut ::core::ffi::c_void,
pub ObjectContext: *mut ::core::ffi::c_void,
pub Reserved: *mut ::core::ffi::c_void,
}
#[cfg(feature = "Win32_Security")]
impl ::core::marker::Copy for REG_SET_KEY_SECURITY_INFORMATION {}
#[cfg(feature = "Win32_Security")]
impl ::core::clone::Clone for REG_SET_KEY_SECURITY_INFORMATION {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Security")]
impl ::core::fmt::Debug for REG_SET_KEY_SECURITY_INFORMATION {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("REG_SET_KEY_SECURITY_INFORMATION").field("Object", &self.Object).field("SecurityInformation", &self.SecurityInformation).field("SecurityDescriptor", &self.SecurityDescriptor).field("CallContext", &self.CallContext).field("ObjectContext", &self.ObjectContext).field("Reserved", &self.Reserved).finish()
}
}
#[cfg(feature = "Win32_Security")]
impl ::windows_core::TypeKind for REG_SET_KEY_SECURITY_INFORMATION {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Security")]
impl ::core::cmp::PartialEq for REG_SET_KEY_SECURITY_INFORMATION {
fn eq(&self, other: &Self) -> bool {
self.Object == other.Object && self.SecurityInformation == other.SecurityInformation && self.SecurityDescriptor == other.SecurityDescriptor && self.CallContext == other.CallContext && self.ObjectContext == other.ObjectContext && self.Reserved == other.Reserved
}
}
#[cfg(feature = "Win32_Security")]
impl ::core::cmp::Eq for REG_SET_KEY_SECURITY_INFORMATION {}
#[cfg(feature = "Win32_Security")]
impl ::core::default::Default for REG_SET_KEY_SECURITY_INFORMATION {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub struct REG_SET_VALUE_KEY_INFORMATION {
pub Object: *mut ::core::ffi::c_void,
pub ValueName: *mut super::super::super::Win32::Foundation::UNICODE_STRING,
pub TitleIndex: u32,
pub Type: u32,
pub Data: *mut ::core::ffi::c_void,
pub DataSize: u32,
pub CallContext: *mut ::core::ffi::c_void,
pub ObjectContext: *mut ::core::ffi::c_void,
pub Reserved: *mut ::core::ffi::c_void,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for REG_SET_VALUE_KEY_INFORMATION {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for REG_SET_VALUE_KEY_INFORMATION {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::fmt::Debug for REG_SET_VALUE_KEY_INFORMATION {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("REG_SET_VALUE_KEY_INFORMATION").field("Object", &self.Object).field("ValueName", &self.ValueName).field("TitleIndex", &self.TitleIndex).field("Type", &self.Type).field("Data", &self.Data).field("DataSize", &self.DataSize).field("CallContext", &self.CallContext).field("ObjectContext", &self.ObjectContext).field("Reserved", &self.Reserved).finish()
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for REG_SET_VALUE_KEY_INFORMATION {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::PartialEq for REG_SET_VALUE_KEY_INFORMATION {
fn eq(&self, other: &Self) -> bool {
self.Object == other.Object && self.ValueName == other.ValueName && self.TitleIndex == other.TitleIndex && self.Type == other.Type && self.Data == other.Data && self.DataSize == other.DataSize && self.CallContext == other.CallContext && self.ObjectContext == other.ObjectContext && self.Reserved == other.Reserved
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::Eq for REG_SET_VALUE_KEY_INFORMATION {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for REG_SET_VALUE_KEY_INFORMATION {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct REG_UNLOAD_KEY_INFORMATION {
pub Object: *mut ::core::ffi::c_void,
pub UserEvent: *mut ::core::ffi::c_void,
pub CallContext: *mut ::core::ffi::c_void,
pub ObjectContext: *mut ::core::ffi::c_void,
pub Reserved: *mut ::core::ffi::c_void,
}
impl ::core::marker::Copy for REG_UNLOAD_KEY_INFORMATION {}
impl ::core::clone::Clone for REG_UNLOAD_KEY_INFORMATION {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for REG_UNLOAD_KEY_INFORMATION {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("REG_UNLOAD_KEY_INFORMATION").field("Object", &self.Object).field("UserEvent", &self.UserEvent).field("CallContext", &self.CallContext).field("ObjectContext", &self.ObjectContext).field("Reserved", &self.Reserved).finish()
}
}
impl ::windows_core::TypeKind for REG_UNLOAD_KEY_INFORMATION {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for REG_UNLOAD_KEY_INFORMATION {
fn eq(&self, other: &Self) -> bool {
self.Object == other.Object && self.UserEvent == other.UserEvent && self.CallContext == other.CallContext && self.ObjectContext == other.ObjectContext && self.Reserved == other.Reserved
}
}
impl ::core::cmp::Eq for REG_UNLOAD_KEY_INFORMATION {}
impl ::core::default::Default for REG_UNLOAD_KEY_INFORMATION {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_System_Kernel\"`*"]
#[cfg(feature = "Win32_System_Kernel")]
pub struct RESOURCE_HASH_ENTRY {
pub ListEntry: super::super::super::Win32::System::Kernel::LIST_ENTRY,
pub Address: *mut ::core::ffi::c_void,
pub ContentionCount: u32,
pub Number: u32,
}
#[cfg(feature = "Win32_System_Kernel")]
impl ::core::marker::Copy for RESOURCE_HASH_ENTRY {}
#[cfg(feature = "Win32_System_Kernel")]
impl ::core::clone::Clone for RESOURCE_HASH_ENTRY {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_System_Kernel")]
impl ::core::fmt::Debug for RESOURCE_HASH_ENTRY {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("RESOURCE_HASH_ENTRY").field("ListEntry", &self.ListEntry).field("Address", &self.Address).field("ContentionCount", &self.ContentionCount).field("Number", &self.Number).finish()
}
}
#[cfg(feature = "Win32_System_Kernel")]
impl ::windows_core::TypeKind for RESOURCE_HASH_ENTRY {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_System_Kernel")]
impl ::core::cmp::PartialEq for RESOURCE_HASH_ENTRY {
fn eq(&self, other: &Self) -> bool {
self.ListEntry == other.ListEntry && self.Address == other.Address && self.ContentionCount == other.ContentionCount && self.Number == other.Number
}
}
#[cfg(feature = "Win32_System_Kernel")]
impl ::core::cmp::Eq for RESOURCE_HASH_ENTRY {}
#[cfg(feature = "Win32_System_Kernel")]
impl ::core::default::Default for RESOURCE_HASH_ENTRY {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_System_Kernel\"`*"]
#[cfg(feature = "Win32_System_Kernel")]
pub struct RESOURCE_PERFORMANCE_DATA {
pub ActiveResourceCount: u32,
pub TotalResourceCount: u32,
pub ExclusiveAcquire: u32,
pub SharedFirstLevel: u32,
pub SharedSecondLevel: u32,
pub StarveFirstLevel: u32,
pub StarveSecondLevel: u32,
pub WaitForExclusive: u32,
pub OwnerTableExpands: u32,
pub MaximumTableExpand: u32,
pub HashTable: [super::super::super::Win32::System::Kernel::LIST_ENTRY; 64],
}
#[cfg(feature = "Win32_System_Kernel")]
impl ::core::marker::Copy for RESOURCE_PERFORMANCE_DATA {}
#[cfg(feature = "Win32_System_Kernel")]
impl ::core::clone::Clone for RESOURCE_PERFORMANCE_DATA {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_System_Kernel")]
impl ::core::fmt::Debug for RESOURCE_PERFORMANCE_DATA {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("RESOURCE_PERFORMANCE_DATA")
.field("ActiveResourceCount", &self.ActiveResourceCount)
.field("TotalResourceCount", &self.TotalResourceCount)
.field("ExclusiveAcquire", &self.ExclusiveAcquire)
.field("SharedFirstLevel", &self.SharedFirstLevel)
.field("SharedSecondLevel", &self.SharedSecondLevel)
.field("StarveFirstLevel", &self.StarveFirstLevel)
.field("StarveSecondLevel", &self.StarveSecondLevel)
.field("WaitForExclusive", &self.WaitForExclusive)
.field("OwnerTableExpands", &self.OwnerTableExpands)
.field("MaximumTableExpand", &self.MaximumTableExpand)
.field("HashTable", &self.HashTable)
.finish()
}
}
#[cfg(feature = "Win32_System_Kernel")]
impl ::windows_core::TypeKind for RESOURCE_PERFORMANCE_DATA {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_System_Kernel")]
impl ::core::cmp::PartialEq for RESOURCE_PERFORMANCE_DATA {
fn eq(&self, other: &Self) -> bool {
self.ActiveResourceCount == other.ActiveResourceCount && self.TotalResourceCount == other.TotalResourceCount && self.ExclusiveAcquire == other.ExclusiveAcquire && self.SharedFirstLevel == other.SharedFirstLevel && self.SharedSecondLevel == other.SharedSecondLevel && self.StarveFirstLevel == other.StarveFirstLevel && self.StarveSecondLevel == other.StarveSecondLevel && self.WaitForExclusive == other.WaitForExclusive && self.OwnerTableExpands == other.OwnerTableExpands && self.MaximumTableExpand == other.MaximumTableExpand && self.HashTable == other.HashTable
}
}
#[cfg(feature = "Win32_System_Kernel")]
impl ::core::cmp::Eq for RESOURCE_PERFORMANCE_DATA {}
#[cfg(feature = "Win32_System_Kernel")]
impl ::core::default::Default for RESOURCE_PERFORMANCE_DATA {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct RTL_AVL_TABLE {
pub BalancedRoot: RTL_BALANCED_LINKS,
pub OrderedPointer: *mut ::core::ffi::c_void,
pub WhichOrderedElement: u32,
pub NumberGenericTableElements: u32,
pub DepthOfTree: u32,
pub RestartKey: *mut RTL_BALANCED_LINKS,
pub DeleteCount: u32,
pub CompareRoutine: PRTL_AVL_COMPARE_ROUTINE,
pub AllocateRoutine: PRTL_AVL_ALLOCATE_ROUTINE,
pub FreeRoutine: PRTL_AVL_FREE_ROUTINE,
pub TableContext: *mut ::core::ffi::c_void,
}
impl ::core::marker::Copy for RTL_AVL_TABLE {}
impl ::core::clone::Clone for RTL_AVL_TABLE {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for RTL_AVL_TABLE {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("RTL_AVL_TABLE").field("BalancedRoot", &self.BalancedRoot).field("OrderedPointer", &self.OrderedPointer).field("WhichOrderedElement", &self.WhichOrderedElement).field("NumberGenericTableElements", &self.NumberGenericTableElements).field("DepthOfTree", &self.DepthOfTree).field("RestartKey", &self.RestartKey).field("DeleteCount", &self.DeleteCount).field("TableContext", &self.TableContext).finish()
}
}
impl ::windows_core::TypeKind for RTL_AVL_TABLE {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for RTL_AVL_TABLE {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct RTL_BALANCED_LINKS {
pub Parent: *mut RTL_BALANCED_LINKS,
pub LeftChild: *mut RTL_BALANCED_LINKS,
pub RightChild: *mut RTL_BALANCED_LINKS,
pub Balance: u8,
pub Reserved: [u8; 3],
}
impl ::core::marker::Copy for RTL_BALANCED_LINKS {}
impl ::core::clone::Clone for RTL_BALANCED_LINKS {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for RTL_BALANCED_LINKS {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("RTL_BALANCED_LINKS").field("Parent", &self.Parent).field("LeftChild", &self.LeftChild).field("RightChild", &self.RightChild).field("Balance", &self.Balance).field("Reserved", &self.Reserved).finish()
}
}
impl ::windows_core::TypeKind for RTL_BALANCED_LINKS {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for RTL_BALANCED_LINKS {
fn eq(&self, other: &Self) -> bool {
self.Parent == other.Parent && self.LeftChild == other.LeftChild && self.RightChild == other.RightChild && self.Balance == other.Balance && self.Reserved == other.Reserved
}
}
impl ::core::cmp::Eq for RTL_BALANCED_LINKS {}
impl ::core::default::Default for RTL_BALANCED_LINKS {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct RTL_BITMAP {
pub SizeOfBitMap: u32,
pub Buffer: *mut u32,
}
impl ::core::marker::Copy for RTL_BITMAP {}
impl ::core::clone::Clone for RTL_BITMAP {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for RTL_BITMAP {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("RTL_BITMAP").field("SizeOfBitMap", &self.SizeOfBitMap).field("Buffer", &self.Buffer).finish()
}
}
impl ::windows_core::TypeKind for RTL_BITMAP {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for RTL_BITMAP {
fn eq(&self, other: &Self) -> bool {
self.SizeOfBitMap == other.SizeOfBitMap && self.Buffer == other.Buffer
}
}
impl ::core::cmp::Eq for RTL_BITMAP {}
impl ::core::default::Default for RTL_BITMAP {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct RTL_BITMAP_RUN {
pub StartingIndex: u32,
pub NumberOfBits: u32,
}
impl ::core::marker::Copy for RTL_BITMAP_RUN {}
impl ::core::clone::Clone for RTL_BITMAP_RUN {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for RTL_BITMAP_RUN {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("RTL_BITMAP_RUN").field("StartingIndex", &self.StartingIndex).field("NumberOfBits", &self.NumberOfBits).finish()
}
}
impl ::windows_core::TypeKind for RTL_BITMAP_RUN {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for RTL_BITMAP_RUN {
fn eq(&self, other: &Self) -> bool {
self.StartingIndex == other.StartingIndex && self.NumberOfBits == other.NumberOfBits
}
}
impl ::core::cmp::Eq for RTL_BITMAP_RUN {}
impl ::core::default::Default for RTL_BITMAP_RUN {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct RTL_DYNAMIC_HASH_TABLE {
pub Flags: u32,
pub Shift: u32,
pub TableSize: u32,
pub Pivot: u32,
pub DivisorMask: u32,
pub NumEntries: u32,
pub NonEmptyBuckets: u32,
pub NumEnumerators: u32,
pub Directory: *mut ::core::ffi::c_void,
}
impl ::core::marker::Copy for RTL_DYNAMIC_HASH_TABLE {}
impl ::core::clone::Clone for RTL_DYNAMIC_HASH_TABLE {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for RTL_DYNAMIC_HASH_TABLE {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("RTL_DYNAMIC_HASH_TABLE").field("Flags", &self.Flags).field("Shift", &self.Shift).field("TableSize", &self.TableSize).field("Pivot", &self.Pivot).field("DivisorMask", &self.DivisorMask).field("NumEntries", &self.NumEntries).field("NonEmptyBuckets", &self.NonEmptyBuckets).field("NumEnumerators", &self.NumEnumerators).field("Directory", &self.Directory).finish()
}
}
impl ::windows_core::TypeKind for RTL_DYNAMIC_HASH_TABLE {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for RTL_DYNAMIC_HASH_TABLE {
fn eq(&self, other: &Self) -> bool {
self.Flags == other.Flags && self.Shift == other.Shift && self.TableSize == other.TableSize && self.Pivot == other.Pivot && self.DivisorMask == other.DivisorMask && self.NumEntries == other.NumEntries && self.NonEmptyBuckets == other.NonEmptyBuckets && self.NumEnumerators == other.NumEnumerators && self.Directory == other.Directory
}
}
impl ::core::cmp::Eq for RTL_DYNAMIC_HASH_TABLE {}
impl ::core::default::Default for RTL_DYNAMIC_HASH_TABLE {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_System_Kernel\"`*"]
#[cfg(feature = "Win32_System_Kernel")]
pub struct RTL_DYNAMIC_HASH_TABLE_CONTEXT {
pub ChainHead: *mut super::super::super::Win32::System::Kernel::LIST_ENTRY,
pub PrevLinkage: *mut super::super::super::Win32::System::Kernel::LIST_ENTRY,
pub Signature: usize,
}
#[cfg(feature = "Win32_System_Kernel")]
impl ::core::marker::Copy for RTL_DYNAMIC_HASH_TABLE_CONTEXT {}
#[cfg(feature = "Win32_System_Kernel")]
impl ::core::clone::Clone for RTL_DYNAMIC_HASH_TABLE_CONTEXT {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_System_Kernel")]
impl ::core::fmt::Debug for RTL_DYNAMIC_HASH_TABLE_CONTEXT {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("RTL_DYNAMIC_HASH_TABLE_CONTEXT").field("ChainHead", &self.ChainHead).field("PrevLinkage", &self.PrevLinkage).field("Signature", &self.Signature).finish()
}
}
#[cfg(feature = "Win32_System_Kernel")]
impl ::windows_core::TypeKind for RTL_DYNAMIC_HASH_TABLE_CONTEXT {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_System_Kernel")]
impl ::core::cmp::PartialEq for RTL_DYNAMIC_HASH_TABLE_CONTEXT {
fn eq(&self, other: &Self) -> bool {
self.ChainHead == other.ChainHead && self.PrevLinkage == other.PrevLinkage && self.Signature == other.Signature
}
}
#[cfg(feature = "Win32_System_Kernel")]
impl ::core::cmp::Eq for RTL_DYNAMIC_HASH_TABLE_CONTEXT {}
#[cfg(feature = "Win32_System_Kernel")]
impl ::core::default::Default for RTL_DYNAMIC_HASH_TABLE_CONTEXT {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_System_Kernel\"`*"]
#[cfg(feature = "Win32_System_Kernel")]
pub struct RTL_DYNAMIC_HASH_TABLE_ENTRY {
pub Linkage: super::super::super::Win32::System::Kernel::LIST_ENTRY,
pub Signature: usize,
}
#[cfg(feature = "Win32_System_Kernel")]
impl ::core::marker::Copy for RTL_DYNAMIC_HASH_TABLE_ENTRY {}
#[cfg(feature = "Win32_System_Kernel")]
impl ::core::clone::Clone for RTL_DYNAMIC_HASH_TABLE_ENTRY {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_System_Kernel")]
impl ::core::fmt::Debug for RTL_DYNAMIC_HASH_TABLE_ENTRY {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("RTL_DYNAMIC_HASH_TABLE_ENTRY").field("Linkage", &self.Linkage).field("Signature", &self.Signature).finish()
}
}
#[cfg(feature = "Win32_System_Kernel")]
impl ::windows_core::TypeKind for RTL_DYNAMIC_HASH_TABLE_ENTRY {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_System_Kernel")]
impl ::core::cmp::PartialEq for RTL_DYNAMIC_HASH_TABLE_ENTRY {
fn eq(&self, other: &Self) -> bool {
self.Linkage == other.Linkage && self.Signature == other.Signature
}
}
#[cfg(feature = "Win32_System_Kernel")]
impl ::core::cmp::Eq for RTL_DYNAMIC_HASH_TABLE_ENTRY {}
#[cfg(feature = "Win32_System_Kernel")]
impl ::core::default::Default for RTL_DYNAMIC_HASH_TABLE_ENTRY {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_System_Kernel\"`*"]
#[cfg(feature = "Win32_System_Kernel")]
pub struct RTL_DYNAMIC_HASH_TABLE_ENUMERATOR {
pub Anonymous: RTL_DYNAMIC_HASH_TABLE_ENUMERATOR_0,
pub ChainHead: *mut super::super::super::Win32::System::Kernel::LIST_ENTRY,
pub BucketIndex: u32,
}
#[cfg(feature = "Win32_System_Kernel")]
impl ::core::marker::Copy for RTL_DYNAMIC_HASH_TABLE_ENUMERATOR {}
#[cfg(feature = "Win32_System_Kernel")]
impl ::core::clone::Clone for RTL_DYNAMIC_HASH_TABLE_ENUMERATOR {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_System_Kernel")]
impl ::windows_core::TypeKind for RTL_DYNAMIC_HASH_TABLE_ENUMERATOR {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_System_Kernel")]
impl ::core::default::Default for RTL_DYNAMIC_HASH_TABLE_ENUMERATOR {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_System_Kernel\"`*"]
#[cfg(feature = "Win32_System_Kernel")]
pub union RTL_DYNAMIC_HASH_TABLE_ENUMERATOR_0 {
pub HashEntry: RTL_DYNAMIC_HASH_TABLE_ENTRY,
pub CurEntry: *mut super::super::super::Win32::System::Kernel::LIST_ENTRY,
}
#[cfg(feature = "Win32_System_Kernel")]
impl ::core::marker::Copy for RTL_DYNAMIC_HASH_TABLE_ENUMERATOR_0 {}
#[cfg(feature = "Win32_System_Kernel")]
impl ::core::clone::Clone for RTL_DYNAMIC_HASH_TABLE_ENUMERATOR_0 {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_System_Kernel")]
impl ::windows_core::TypeKind for RTL_DYNAMIC_HASH_TABLE_ENUMERATOR_0 {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_System_Kernel")]
impl ::core::default::Default for RTL_DYNAMIC_HASH_TABLE_ENUMERATOR_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_System_Kernel\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_System_Kernel"))]
pub struct RTL_GENERIC_TABLE {
pub TableRoot: *mut super::super::Foundation::RTL_SPLAY_LINKS,
pub InsertOrderList: super::super::super::Win32::System::Kernel::LIST_ENTRY,
pub OrderedPointer: *mut super::super::super::Win32::System::Kernel::LIST_ENTRY,
pub WhichOrderedElement: u32,
pub NumberGenericTableElements: u32,
pub CompareRoutine: PRTL_GENERIC_COMPARE_ROUTINE,
pub AllocateRoutine: PRTL_GENERIC_ALLOCATE_ROUTINE,
pub FreeRoutine: PRTL_GENERIC_FREE_ROUTINE,
pub TableContext: *mut ::core::ffi::c_void,
}
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_System_Kernel"))]
impl ::core::marker::Copy for RTL_GENERIC_TABLE {}
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_System_Kernel"))]
impl ::core::clone::Clone for RTL_GENERIC_TABLE {
fn clone(&self) -> Self {
*self
}
}
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_System_Kernel"))]
impl ::core::fmt::Debug for RTL_GENERIC_TABLE {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("RTL_GENERIC_TABLE").field("TableRoot", &self.TableRoot).field("InsertOrderList", &self.InsertOrderList).field("OrderedPointer", &self.OrderedPointer).field("WhichOrderedElement", &self.WhichOrderedElement).field("NumberGenericTableElements", &self.NumberGenericTableElements).field("TableContext", &self.TableContext).finish()
}
}
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_System_Kernel"))]
impl ::windows_core::TypeKind for RTL_GENERIC_TABLE {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_System_Kernel"))]
impl ::core::default::Default for RTL_GENERIC_TABLE {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub struct RTL_QUERY_REGISTRY_TABLE {
pub QueryRoutine: PRTL_QUERY_REGISTRY_ROUTINE,
pub Flags: u32,
pub Name: ::windows_core::PWSTR,
pub EntryContext: *mut ::core::ffi::c_void,
pub DefaultType: u32,
pub DefaultData: *mut ::core::ffi::c_void,
pub DefaultLength: u32,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for RTL_QUERY_REGISTRY_TABLE {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for RTL_QUERY_REGISTRY_TABLE {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::fmt::Debug for RTL_QUERY_REGISTRY_TABLE {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("RTL_QUERY_REGISTRY_TABLE").field("Flags", &self.Flags).field("Name", &self.Name).field("EntryContext", &self.EntryContext).field("DefaultType", &self.DefaultType).field("DefaultData", &self.DefaultData).field("DefaultLength", &self.DefaultLength).finish()
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for RTL_QUERY_REGISTRY_TABLE {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for RTL_QUERY_REGISTRY_TABLE {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct SCATTER_GATHER_ELEMENT {
pub Address: i64,
pub Length: u32,
pub Reserved: usize,
}
impl ::core::marker::Copy for SCATTER_GATHER_ELEMENT {}
impl ::core::clone::Clone for SCATTER_GATHER_ELEMENT {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for SCATTER_GATHER_ELEMENT {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("SCATTER_GATHER_ELEMENT").field("Address", &self.Address).field("Length", &self.Length).field("Reserved", &self.Reserved).finish()
}
}
impl ::windows_core::TypeKind for SCATTER_GATHER_ELEMENT {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for SCATTER_GATHER_ELEMENT {
fn eq(&self, other: &Self) -> bool {
self.Address == other.Address && self.Length == other.Length && self.Reserved == other.Reserved
}
}
impl ::core::cmp::Eq for SCATTER_GATHER_ELEMENT {}
impl ::core::default::Default for SCATTER_GATHER_ELEMENT {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct SCATTER_GATHER_LIST {
pub NumberOfElements: u32,
pub Reserved: usize,
pub Elements: [SCATTER_GATHER_ELEMENT; 1],
}
impl ::core::marker::Copy for SCATTER_GATHER_LIST {}
impl ::core::clone::Clone for SCATTER_GATHER_LIST {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for SCATTER_GATHER_LIST {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("SCATTER_GATHER_LIST").field("NumberOfElements", &self.NumberOfElements).field("Reserved", &self.Reserved).field("Elements", &self.Elements).finish()
}
}
impl ::windows_core::TypeKind for SCATTER_GATHER_LIST {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for SCATTER_GATHER_LIST {
fn eq(&self, other: &Self) -> bool {
self.NumberOfElements == other.NumberOfElements && self.Reserved == other.Reserved && self.Elements == other.Elements
}
}
impl ::core::cmp::Eq for SCATTER_GATHER_LIST {}
impl ::core::default::Default for SCATTER_GATHER_LIST {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct SDEV_IDENTIFIER_INTERFACE {
pub InterfaceHeader: INTERFACE,
pub GetIdentifier: PGET_SDEV_IDENTIFIER,
}
impl ::core::marker::Copy for SDEV_IDENTIFIER_INTERFACE {}
impl ::core::clone::Clone for SDEV_IDENTIFIER_INTERFACE {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for SDEV_IDENTIFIER_INTERFACE {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("SDEV_IDENTIFIER_INTERFACE").finish()
}
}
impl ::windows_core::TypeKind for SDEV_IDENTIFIER_INTERFACE {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for SDEV_IDENTIFIER_INTERFACE {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`*"]
#[cfg(feature = "Wdk_Foundation")]
pub struct SECURE_DRIVER_INTERFACE {
pub InterfaceHeader: INTERFACE,
pub ProcessReference: PSECURE_DRIVER_PROCESS_REFERENCE,
pub ProcessDereference: PSECURE_DRIVER_PROCESS_DEREFERENCE,
pub Reserved: u32,
}
#[cfg(feature = "Wdk_Foundation")]
impl ::core::marker::Copy for SECURE_DRIVER_INTERFACE {}
#[cfg(feature = "Wdk_Foundation")]
impl ::core::clone::Clone for SECURE_DRIVER_INTERFACE {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Wdk_Foundation")]
impl ::core::fmt::Debug for SECURE_DRIVER_INTERFACE {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("SECURE_DRIVER_INTERFACE").field("Reserved", &self.Reserved).finish()
}
}
#[cfg(feature = "Wdk_Foundation")]
impl ::windows_core::TypeKind for SECURE_DRIVER_INTERFACE {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Wdk_Foundation")]
impl ::core::default::Default for SECURE_DRIVER_INTERFACE {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(transparent)]
#[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
pub struct SECURITY_CONTEXT_TRACKING_MODE(pub u8);
impl ::core::default::Default for SECURITY_CONTEXT_TRACKING_MODE {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
impl ::core::clone::Clone for SECURITY_CONTEXT_TRACKING_MODE {
fn clone(&self) -> Self {
*self
}
}
impl ::core::marker::Copy for SECURITY_CONTEXT_TRACKING_MODE {}
impl ::core::fmt::Debug for SECURITY_CONTEXT_TRACKING_MODE {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_tuple("SECURITY_CONTEXT_TRACKING_MODE").field(&self.0).finish()
}
}
impl ::windows_core::TypeKind for SECURITY_CONTEXT_TRACKING_MODE {
type TypeKind = ::windows_core::CopyType;
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct SHARE_ACCESS {
pub OpenCount: u32,
pub Readers: u32,
pub Writers: u32,
pub Deleters: u32,
pub SharedRead: u32,
pub SharedWrite: u32,
pub SharedDelete: u32,
}
impl ::core::marker::Copy for SHARE_ACCESS {}
impl ::core::clone::Clone for SHARE_ACCESS {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for SHARE_ACCESS {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("SHARE_ACCESS").field("OpenCount", &self.OpenCount).field("Readers", &self.Readers).field("Writers", &self.Writers).field("Deleters", &self.Deleters).field("SharedRead", &self.SharedRead).field("SharedWrite", &self.SharedWrite).field("SharedDelete", &self.SharedDelete).finish()
}
}
impl ::windows_core::TypeKind for SHARE_ACCESS {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for SHARE_ACCESS {
fn eq(&self, other: &Self) -> bool {
self.OpenCount == other.OpenCount && self.Readers == other.Readers && self.Writers == other.Writers && self.Deleters == other.Deleters && self.SharedRead == other.SharedRead && self.SharedWrite == other.SharedWrite && self.SharedDelete == other.SharedDelete
}
}
impl ::core::cmp::Eq for SHARE_ACCESS {}
impl ::core::default::Default for SHARE_ACCESS {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(1))]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct SIGNAL_REG_VALUE {
pub RegName: [u8; 32],
pub MsrAddr: u32,
pub Value: u64,
}
impl ::core::marker::Copy for SIGNAL_REG_VALUE {}
impl ::core::clone::Clone for SIGNAL_REG_VALUE {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for SIGNAL_REG_VALUE {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for SIGNAL_REG_VALUE {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))]
pub struct SILO_MONITOR_REGISTRATION {
pub Version: u8,
pub MonitorHost: super::super::super::Win32::Foundation::BOOLEAN,
pub MonitorExistingSilos: super::super::super::Win32::Foundation::BOOLEAN,
pub Reserved: [u8; 5],
pub Anonymous: SILO_MONITOR_REGISTRATION_0,
pub CreateCallback: SILO_MONITOR_CREATE_CALLBACK,
pub TerminateCallback: SILO_MONITOR_TERMINATE_CALLBACK,
}
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))]
impl ::core::marker::Copy for SILO_MONITOR_REGISTRATION {}
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))]
impl ::core::clone::Clone for SILO_MONITOR_REGISTRATION {
fn clone(&self) -> Self {
*self
}
}
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))]
impl ::windows_core::TypeKind for SILO_MONITOR_REGISTRATION {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))]
impl ::core::default::Default for SILO_MONITOR_REGISTRATION {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))]
pub union SILO_MONITOR_REGISTRATION_0 {
pub DriverObjectName: *mut super::super::super::Win32::Foundation::UNICODE_STRING,
pub ComponentName: *mut super::super::super::Win32::Foundation::UNICODE_STRING,
}
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))]
impl ::core::marker::Copy for SILO_MONITOR_REGISTRATION_0 {}
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))]
impl ::core::clone::Clone for SILO_MONITOR_REGISTRATION_0 {
fn clone(&self) -> Self {
*self
}
}
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))]
impl ::windows_core::TypeKind for SILO_MONITOR_REGISTRATION_0 {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))]
impl ::core::default::Default for SILO_MONITOR_REGISTRATION_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct SOC_SUBSYSTEM_FAILURE_DETAILS {
pub SubsysType: SOC_SUBSYSTEM_TYPE,
pub FirmwareVersion: u64,
pub HardwareVersion: u64,
pub UnifiedFailureRegionSize: u32,
pub UnifiedFailureRegion: [u8; 1],
}
impl ::core::marker::Copy for SOC_SUBSYSTEM_FAILURE_DETAILS {}
impl ::core::clone::Clone for SOC_SUBSYSTEM_FAILURE_DETAILS {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for SOC_SUBSYSTEM_FAILURE_DETAILS {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("SOC_SUBSYSTEM_FAILURE_DETAILS").field("SubsysType", &self.SubsysType).field("FirmwareVersion", &self.FirmwareVersion).field("HardwareVersion", &self.HardwareVersion).field("UnifiedFailureRegionSize", &self.UnifiedFailureRegionSize).field("UnifiedFailureRegion", &self.UnifiedFailureRegion).finish()
}
}
impl ::windows_core::TypeKind for SOC_SUBSYSTEM_FAILURE_DETAILS {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for SOC_SUBSYSTEM_FAILURE_DETAILS {
fn eq(&self, other: &Self) -> bool {
self.SubsysType == other.SubsysType && self.FirmwareVersion == other.FirmwareVersion && self.HardwareVersion == other.HardwareVersion && self.UnifiedFailureRegionSize == other.UnifiedFailureRegionSize && self.UnifiedFailureRegion == other.UnifiedFailureRegion
}
}
impl ::core::cmp::Eq for SOC_SUBSYSTEM_FAILURE_DETAILS {}
impl ::core::default::Default for SOC_SUBSYSTEM_FAILURE_DETAILS {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub struct SYSTEM_FIRMWARE_TABLE_HANDLER {
pub ProviderSignature: u32,
pub Register: super::super::super::Win32::Foundation::BOOLEAN,
pub FirmwareTableHandler: PFNFTH,
pub DriverObject: *mut ::core::ffi::c_void,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for SYSTEM_FIRMWARE_TABLE_HANDLER {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for SYSTEM_FIRMWARE_TABLE_HANDLER {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::fmt::Debug for SYSTEM_FIRMWARE_TABLE_HANDLER {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("SYSTEM_FIRMWARE_TABLE_HANDLER").field("ProviderSignature", &self.ProviderSignature).field("Register", &self.Register).field("DriverObject", &self.DriverObject).finish()
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for SYSTEM_FIRMWARE_TABLE_HANDLER {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for SYSTEM_FIRMWARE_TABLE_HANDLER {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct SYSTEM_FIRMWARE_TABLE_INFORMATION {
pub ProviderSignature: u32,
pub Action: SYSTEM_FIRMWARE_TABLE_ACTION,
pub TableID: u32,
pub TableBufferLength: u32,
pub TableBuffer: [u8; 1],
}
impl ::core::marker::Copy for SYSTEM_FIRMWARE_TABLE_INFORMATION {}
impl ::core::clone::Clone for SYSTEM_FIRMWARE_TABLE_INFORMATION {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for SYSTEM_FIRMWARE_TABLE_INFORMATION {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("SYSTEM_FIRMWARE_TABLE_INFORMATION").field("ProviderSignature", &self.ProviderSignature).field("Action", &self.Action).field("TableID", &self.TableID).field("TableBufferLength", &self.TableBufferLength).field("TableBuffer", &self.TableBuffer).finish()
}
}
impl ::windows_core::TypeKind for SYSTEM_FIRMWARE_TABLE_INFORMATION {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for SYSTEM_FIRMWARE_TABLE_INFORMATION {
fn eq(&self, other: &Self) -> bool {
self.ProviderSignature == other.ProviderSignature && self.Action == other.Action && self.TableID == other.TableID && self.TableBufferLength == other.TableBufferLength && self.TableBuffer == other.TableBuffer
}
}
impl ::core::cmp::Eq for SYSTEM_FIRMWARE_TABLE_INFORMATION {}
impl ::core::default::Default for SYSTEM_FIRMWARE_TABLE_INFORMATION {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct SYSTEM_POWER_STATE_CONTEXT {
pub Anonymous: SYSTEM_POWER_STATE_CONTEXT_0,
}
impl ::core::marker::Copy for SYSTEM_POWER_STATE_CONTEXT {}
impl ::core::clone::Clone for SYSTEM_POWER_STATE_CONTEXT {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for SYSTEM_POWER_STATE_CONTEXT {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for SYSTEM_POWER_STATE_CONTEXT {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub union SYSTEM_POWER_STATE_CONTEXT_0 {
pub Anonymous: SYSTEM_POWER_STATE_CONTEXT_0_0,
pub ContextAsUlong: u32,
}
impl ::core::marker::Copy for SYSTEM_POWER_STATE_CONTEXT_0 {}
impl ::core::clone::Clone for SYSTEM_POWER_STATE_CONTEXT_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for SYSTEM_POWER_STATE_CONTEXT_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for SYSTEM_POWER_STATE_CONTEXT_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct SYSTEM_POWER_STATE_CONTEXT_0_0 {
pub _bitfield: u32,
}
impl ::core::marker::Copy for SYSTEM_POWER_STATE_CONTEXT_0_0 {}
impl ::core::clone::Clone for SYSTEM_POWER_STATE_CONTEXT_0_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for SYSTEM_POWER_STATE_CONTEXT_0_0 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("SYSTEM_POWER_STATE_CONTEXT_0_0").field("_bitfield", &self._bitfield).finish()
}
}
impl ::windows_core::TypeKind for SYSTEM_POWER_STATE_CONTEXT_0_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for SYSTEM_POWER_STATE_CONTEXT_0_0 {
fn eq(&self, other: &Self) -> bool {
self._bitfield == other._bitfield
}
}
impl ::core::cmp::Eq for SYSTEM_POWER_STATE_CONTEXT_0_0 {}
impl ::core::default::Default for SYSTEM_POWER_STATE_CONTEXT_0_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
pub struct TARGET_DEVICE_REMOVAL_NOTIFICATION {
pub Version: u16,
pub Size: u16,
pub Event: ::windows_core::GUID,
pub FileObject: *mut super::super::Foundation::FILE_OBJECT,
}
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
impl ::core::marker::Copy for TARGET_DEVICE_REMOVAL_NOTIFICATION {}
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
impl ::core::clone::Clone for TARGET_DEVICE_REMOVAL_NOTIFICATION {
fn clone(&self) -> Self {
*self
}
}
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
impl ::core::fmt::Debug for TARGET_DEVICE_REMOVAL_NOTIFICATION {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("TARGET_DEVICE_REMOVAL_NOTIFICATION").field("Version", &self.Version).field("Size", &self.Size).field("Event", &self.Event).field("FileObject", &self.FileObject).finish()
}
}
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
impl ::windows_core::TypeKind for TARGET_DEVICE_REMOVAL_NOTIFICATION {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
impl ::core::cmp::PartialEq for TARGET_DEVICE_REMOVAL_NOTIFICATION {
fn eq(&self, other: &Self) -> bool {
self.Version == other.Version && self.Size == other.Size && self.Event == other.Event && self.FileObject == other.FileObject
}
}
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
impl ::core::cmp::Eq for TARGET_DEVICE_REMOVAL_NOTIFICATION {}
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
impl ::core::default::Default for TARGET_DEVICE_REMOVAL_NOTIFICATION {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub struct TIMER_SET_COALESCABLE_TIMER_INFO {
pub DueTime: i64,
pub TimerApcRoutine: PTIMER_APC_ROUTINE,
pub TimerContext: *mut ::core::ffi::c_void,
pub WakeContext: *mut COUNTED_REASON_CONTEXT,
pub Period: u32,
pub TolerableDelay: u32,
pub PreviousState: *mut super::super::super::Win32::Foundation::BOOLEAN,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for TIMER_SET_COALESCABLE_TIMER_INFO {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for TIMER_SET_COALESCABLE_TIMER_INFO {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::fmt::Debug for TIMER_SET_COALESCABLE_TIMER_INFO {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("TIMER_SET_COALESCABLE_TIMER_INFO").field("DueTime", &self.DueTime).field("TimerContext", &self.TimerContext).field("WakeContext", &self.WakeContext).field("Period", &self.Period).field("TolerableDelay", &self.TolerableDelay).field("PreviousState", &self.PreviousState).finish()
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for TIMER_SET_COALESCABLE_TIMER_INFO {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for TIMER_SET_COALESCABLE_TIMER_INFO {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct TIME_FIELDS {
pub Year: i16,
pub Month: i16,
pub Day: i16,
pub Hour: i16,
pub Minute: i16,
pub Second: i16,
pub Milliseconds: i16,
pub Weekday: i16,
}
impl ::core::marker::Copy for TIME_FIELDS {}
impl ::core::clone::Clone for TIME_FIELDS {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for TIME_FIELDS {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("TIME_FIELDS").field("Year", &self.Year).field("Month", &self.Month).field("Day", &self.Day).field("Hour", &self.Hour).field("Minute", &self.Minute).field("Second", &self.Second).field("Milliseconds", &self.Milliseconds).field("Weekday", &self.Weekday).finish()
}
}
impl ::windows_core::TypeKind for TIME_FIELDS {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for TIME_FIELDS {
fn eq(&self, other: &Self) -> bool {
self.Year == other.Year && self.Month == other.Month && self.Day == other.Day && self.Hour == other.Hour && self.Minute == other.Minute && self.Second == other.Second && self.Milliseconds == other.Milliseconds && self.Weekday == other.Weekday
}
}
impl ::core::cmp::Eq for TIME_FIELDS {}
impl ::core::default::Default for TIME_FIELDS {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
pub struct TRANSLATOR_INTERFACE {
pub Size: u16,
pub Version: u16,
pub Context: *mut ::core::ffi::c_void,
pub InterfaceReference: PINTERFACE_REFERENCE,
pub InterfaceDereference: PINTERFACE_DEREFERENCE,
pub TranslateResources: PTRANSLATE_RESOURCE_HANDLER,
pub TranslateResourceRequirements: PTRANSLATE_RESOURCE_REQUIREMENTS_HANDLER,
}
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
impl ::core::marker::Copy for TRANSLATOR_INTERFACE {}
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
impl ::core::clone::Clone for TRANSLATOR_INTERFACE {
fn clone(&self) -> Self {
*self
}
}
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
impl ::core::fmt::Debug for TRANSLATOR_INTERFACE {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("TRANSLATOR_INTERFACE").field("Size", &self.Size).field("Version", &self.Version).field("Context", &self.Context).finish()
}
}
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
impl ::windows_core::TypeKind for TRANSLATOR_INTERFACE {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
impl ::core::default::Default for TRANSLATOR_INTERFACE {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct TXN_PARAMETER_BLOCK {
pub Length: u16,
pub TxFsContext: u16,
pub TransactionObject: *mut ::core::ffi::c_void,
}
impl ::core::marker::Copy for TXN_PARAMETER_BLOCK {}
impl ::core::clone::Clone for TXN_PARAMETER_BLOCK {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for TXN_PARAMETER_BLOCK {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("TXN_PARAMETER_BLOCK").field("Length", &self.Length).field("TxFsContext", &self.TxFsContext).field("TransactionObject", &self.TransactionObject).finish()
}
}
impl ::windows_core::TypeKind for TXN_PARAMETER_BLOCK {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for TXN_PARAMETER_BLOCK {
fn eq(&self, other: &Self) -> bool {
self.Length == other.Length && self.TxFsContext == other.TxFsContext && self.TransactionObject == other.TransactionObject
}
}
impl ::core::cmp::Eq for TXN_PARAMETER_BLOCK {}
impl ::core::default::Default for TXN_PARAMETER_BLOCK {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub union VIRTUAL_CHANNEL_CAPABILITIES1 {
pub Anonymous: VIRTUAL_CHANNEL_CAPABILITIES1_0,
pub AsULONG: u32,
}
impl ::core::marker::Copy for VIRTUAL_CHANNEL_CAPABILITIES1 {}
impl ::core::clone::Clone for VIRTUAL_CHANNEL_CAPABILITIES1 {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for VIRTUAL_CHANNEL_CAPABILITIES1 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for VIRTUAL_CHANNEL_CAPABILITIES1 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct VIRTUAL_CHANNEL_CAPABILITIES1_0 {
pub _bitfield: u32,
}
impl ::core::marker::Copy for VIRTUAL_CHANNEL_CAPABILITIES1_0 {}
impl ::core::clone::Clone for VIRTUAL_CHANNEL_CAPABILITIES1_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for VIRTUAL_CHANNEL_CAPABILITIES1_0 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("VIRTUAL_CHANNEL_CAPABILITIES1_0").field("_bitfield", &self._bitfield).finish()
}
}
impl ::windows_core::TypeKind for VIRTUAL_CHANNEL_CAPABILITIES1_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for VIRTUAL_CHANNEL_CAPABILITIES1_0 {
fn eq(&self, other: &Self) -> bool {
self._bitfield == other._bitfield
}
}
impl ::core::cmp::Eq for VIRTUAL_CHANNEL_CAPABILITIES1_0 {}
impl ::core::default::Default for VIRTUAL_CHANNEL_CAPABILITIES1_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub union VIRTUAL_CHANNEL_CAPABILITIES2 {
pub Anonymous: VIRTUAL_CHANNEL_CAPABILITIES2_0,
pub AsULONG: u32,
}
impl ::core::marker::Copy for VIRTUAL_CHANNEL_CAPABILITIES2 {}
impl ::core::clone::Clone for VIRTUAL_CHANNEL_CAPABILITIES2 {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for VIRTUAL_CHANNEL_CAPABILITIES2 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for VIRTUAL_CHANNEL_CAPABILITIES2 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct VIRTUAL_CHANNEL_CAPABILITIES2_0 {
pub _bitfield: u32,
}
impl ::core::marker::Copy for VIRTUAL_CHANNEL_CAPABILITIES2_0 {}
impl ::core::clone::Clone for VIRTUAL_CHANNEL_CAPABILITIES2_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for VIRTUAL_CHANNEL_CAPABILITIES2_0 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("VIRTUAL_CHANNEL_CAPABILITIES2_0").field("_bitfield", &self._bitfield).finish()
}
}
impl ::windows_core::TypeKind for VIRTUAL_CHANNEL_CAPABILITIES2_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for VIRTUAL_CHANNEL_CAPABILITIES2_0 {
fn eq(&self, other: &Self) -> bool {
self._bitfield == other._bitfield
}
}
impl ::core::cmp::Eq for VIRTUAL_CHANNEL_CAPABILITIES2_0 {}
impl ::core::default::Default for VIRTUAL_CHANNEL_CAPABILITIES2_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub union VIRTUAL_CHANNEL_CONTROL {
pub Anonymous: VIRTUAL_CHANNEL_CONTROL_0,
pub AsUSHORT: u16,
}
impl ::core::marker::Copy for VIRTUAL_CHANNEL_CONTROL {}
impl ::core::clone::Clone for VIRTUAL_CHANNEL_CONTROL {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for VIRTUAL_CHANNEL_CONTROL {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for VIRTUAL_CHANNEL_CONTROL {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct VIRTUAL_CHANNEL_CONTROL_0 {
pub _bitfield: u16,
}
impl ::core::marker::Copy for VIRTUAL_CHANNEL_CONTROL_0 {}
impl ::core::clone::Clone for VIRTUAL_CHANNEL_CONTROL_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for VIRTUAL_CHANNEL_CONTROL_0 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("VIRTUAL_CHANNEL_CONTROL_0").field("_bitfield", &self._bitfield).finish()
}
}
impl ::windows_core::TypeKind for VIRTUAL_CHANNEL_CONTROL_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for VIRTUAL_CHANNEL_CONTROL_0 {
fn eq(&self, other: &Self) -> bool {
self._bitfield == other._bitfield
}
}
impl ::core::cmp::Eq for VIRTUAL_CHANNEL_CONTROL_0 {}
impl ::core::default::Default for VIRTUAL_CHANNEL_CONTROL_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub union VIRTUAL_CHANNEL_STATUS {
pub Anonymous: VIRTUAL_CHANNEL_STATUS_0,
pub AsUSHORT: u16,
}
impl ::core::marker::Copy for VIRTUAL_CHANNEL_STATUS {}
impl ::core::clone::Clone for VIRTUAL_CHANNEL_STATUS {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for VIRTUAL_CHANNEL_STATUS {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for VIRTUAL_CHANNEL_STATUS {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct VIRTUAL_CHANNEL_STATUS_0 {
pub _bitfield: u16,
}
impl ::core::marker::Copy for VIRTUAL_CHANNEL_STATUS_0 {}
impl ::core::clone::Clone for VIRTUAL_CHANNEL_STATUS_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for VIRTUAL_CHANNEL_STATUS_0 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("VIRTUAL_CHANNEL_STATUS_0").field("_bitfield", &self._bitfield).finish()
}
}
impl ::windows_core::TypeKind for VIRTUAL_CHANNEL_STATUS_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for VIRTUAL_CHANNEL_STATUS_0 {
fn eq(&self, other: &Self) -> bool {
self._bitfield == other._bitfield
}
}
impl ::core::cmp::Eq for VIRTUAL_CHANNEL_STATUS_0 {}
impl ::core::default::Default for VIRTUAL_CHANNEL_STATUS_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct VIRTUAL_RESOURCE {
pub Capability: VIRTUAL_RESOURCE_CAPABILITY,
pub Control: VIRTUAL_RESOURCE_CONTROL,
pub RsvdP: u16,
pub Status: VIRTUAL_RESOURCE_STATUS,
}
impl ::core::marker::Copy for VIRTUAL_RESOURCE {}
impl ::core::clone::Clone for VIRTUAL_RESOURCE {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for VIRTUAL_RESOURCE {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for VIRTUAL_RESOURCE {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub union VIRTUAL_RESOURCE_CAPABILITY {
pub Anonymous: VIRTUAL_RESOURCE_CAPABILITY_0,
pub AsULONG: u32,
}
impl ::core::marker::Copy for VIRTUAL_RESOURCE_CAPABILITY {}
impl ::core::clone::Clone for VIRTUAL_RESOURCE_CAPABILITY {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for VIRTUAL_RESOURCE_CAPABILITY {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for VIRTUAL_RESOURCE_CAPABILITY {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct VIRTUAL_RESOURCE_CAPABILITY_0 {
pub _bitfield: u32,
}
impl ::core::marker::Copy for VIRTUAL_RESOURCE_CAPABILITY_0 {}
impl ::core::clone::Clone for VIRTUAL_RESOURCE_CAPABILITY_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for VIRTUAL_RESOURCE_CAPABILITY_0 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("VIRTUAL_RESOURCE_CAPABILITY_0").field("_bitfield", &self._bitfield).finish()
}
}
impl ::windows_core::TypeKind for VIRTUAL_RESOURCE_CAPABILITY_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for VIRTUAL_RESOURCE_CAPABILITY_0 {
fn eq(&self, other: &Self) -> bool {
self._bitfield == other._bitfield
}
}
impl ::core::cmp::Eq for VIRTUAL_RESOURCE_CAPABILITY_0 {}
impl ::core::default::Default for VIRTUAL_RESOURCE_CAPABILITY_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub union VIRTUAL_RESOURCE_CONTROL {
pub Anonymous: VIRTUAL_RESOURCE_CONTROL_0,
pub AsULONG: u32,
}
impl ::core::marker::Copy for VIRTUAL_RESOURCE_CONTROL {}
impl ::core::clone::Clone for VIRTUAL_RESOURCE_CONTROL {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for VIRTUAL_RESOURCE_CONTROL {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for VIRTUAL_RESOURCE_CONTROL {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct VIRTUAL_RESOURCE_CONTROL_0 {
pub _bitfield: u32,
}
impl ::core::marker::Copy for VIRTUAL_RESOURCE_CONTROL_0 {}
impl ::core::clone::Clone for VIRTUAL_RESOURCE_CONTROL_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for VIRTUAL_RESOURCE_CONTROL_0 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("VIRTUAL_RESOURCE_CONTROL_0").field("_bitfield", &self._bitfield).finish()
}
}
impl ::windows_core::TypeKind for VIRTUAL_RESOURCE_CONTROL_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for VIRTUAL_RESOURCE_CONTROL_0 {
fn eq(&self, other: &Self) -> bool {
self._bitfield == other._bitfield
}
}
impl ::core::cmp::Eq for VIRTUAL_RESOURCE_CONTROL_0 {}
impl ::core::default::Default for VIRTUAL_RESOURCE_CONTROL_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub union VIRTUAL_RESOURCE_STATUS {
pub Anonymous: VIRTUAL_RESOURCE_STATUS_0,
pub AsUSHORT: u16,
}
impl ::core::marker::Copy for VIRTUAL_RESOURCE_STATUS {}
impl ::core::clone::Clone for VIRTUAL_RESOURCE_STATUS {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for VIRTUAL_RESOURCE_STATUS {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for VIRTUAL_RESOURCE_STATUS {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct VIRTUAL_RESOURCE_STATUS_0 {
pub _bitfield: u16,
}
impl ::core::marker::Copy for VIRTUAL_RESOURCE_STATUS_0 {}
impl ::core::clone::Clone for VIRTUAL_RESOURCE_STATUS_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for VIRTUAL_RESOURCE_STATUS_0 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("VIRTUAL_RESOURCE_STATUS_0").field("_bitfield", &self._bitfield).finish()
}
}
impl ::windows_core::TypeKind for VIRTUAL_RESOURCE_STATUS_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for VIRTUAL_RESOURCE_STATUS_0 {
fn eq(&self, other: &Self) -> bool {
self._bitfield == other._bitfield
}
}
impl ::core::cmp::Eq for VIRTUAL_RESOURCE_STATUS_0 {}
impl ::core::default::Default for VIRTUAL_RESOURCE_STATUS_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct VM_COUNTERS {
pub PeakVirtualSize: usize,
pub VirtualSize: usize,
pub PageFaultCount: u32,
pub PeakWorkingSetSize: usize,
pub WorkingSetSize: usize,
pub QuotaPeakPagedPoolUsage: usize,
pub QuotaPagedPoolUsage: usize,
pub QuotaPeakNonPagedPoolUsage: usize,
pub QuotaNonPagedPoolUsage: usize,
pub PagefileUsage: usize,
pub PeakPagefileUsage: usize,
}
impl ::core::marker::Copy for VM_COUNTERS {}
impl ::core::clone::Clone for VM_COUNTERS {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for VM_COUNTERS {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("VM_COUNTERS")
.field("PeakVirtualSize", &self.PeakVirtualSize)
.field("VirtualSize", &self.VirtualSize)
.field("PageFaultCount", &self.PageFaultCount)
.field("PeakWorkingSetSize", &self.PeakWorkingSetSize)
.field("WorkingSetSize", &self.WorkingSetSize)
.field("QuotaPeakPagedPoolUsage", &self.QuotaPeakPagedPoolUsage)
.field("QuotaPagedPoolUsage", &self.QuotaPagedPoolUsage)
.field("QuotaPeakNonPagedPoolUsage", &self.QuotaPeakNonPagedPoolUsage)
.field("QuotaNonPagedPoolUsage", &self.QuotaNonPagedPoolUsage)
.field("PagefileUsage", &self.PagefileUsage)
.field("PeakPagefileUsage", &self.PeakPagefileUsage)
.finish()
}
}
impl ::windows_core::TypeKind for VM_COUNTERS {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for VM_COUNTERS {
fn eq(&self, other: &Self) -> bool {
self.PeakVirtualSize == other.PeakVirtualSize && self.VirtualSize == other.VirtualSize && self.PageFaultCount == other.PageFaultCount && self.PeakWorkingSetSize == other.PeakWorkingSetSize && self.WorkingSetSize == other.WorkingSetSize && self.QuotaPeakPagedPoolUsage == other.QuotaPeakPagedPoolUsage && self.QuotaPagedPoolUsage == other.QuotaPagedPoolUsage && self.QuotaPeakNonPagedPoolUsage == other.QuotaPeakNonPagedPoolUsage && self.QuotaNonPagedPoolUsage == other.QuotaNonPagedPoolUsage && self.PagefileUsage == other.PagefileUsage && self.PeakPagefileUsage == other.PeakPagefileUsage
}
}
impl ::core::cmp::Eq for VM_COUNTERS {}
impl ::core::default::Default for VM_COUNTERS {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct VM_COUNTERS_EX {
pub PeakVirtualSize: usize,
pub VirtualSize: usize,
pub PageFaultCount: u32,
pub PeakWorkingSetSize: usize,
pub WorkingSetSize: usize,
pub QuotaPeakPagedPoolUsage: usize,
pub QuotaPagedPoolUsage: usize,
pub QuotaPeakNonPagedPoolUsage: usize,
pub QuotaNonPagedPoolUsage: usize,
pub PagefileUsage: usize,
pub PeakPagefileUsage: usize,
pub PrivateUsage: usize,
}
impl ::core::marker::Copy for VM_COUNTERS_EX {}
impl ::core::clone::Clone for VM_COUNTERS_EX {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for VM_COUNTERS_EX {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("VM_COUNTERS_EX")
.field("PeakVirtualSize", &self.PeakVirtualSize)
.field("VirtualSize", &self.VirtualSize)
.field("PageFaultCount", &self.PageFaultCount)
.field("PeakWorkingSetSize", &self.PeakWorkingSetSize)
.field("WorkingSetSize", &self.WorkingSetSize)
.field("QuotaPeakPagedPoolUsage", &self.QuotaPeakPagedPoolUsage)
.field("QuotaPagedPoolUsage", &self.QuotaPagedPoolUsage)
.field("QuotaPeakNonPagedPoolUsage", &self.QuotaPeakNonPagedPoolUsage)
.field("QuotaNonPagedPoolUsage", &self.QuotaNonPagedPoolUsage)
.field("PagefileUsage", &self.PagefileUsage)
.field("PeakPagefileUsage", &self.PeakPagefileUsage)
.field("PrivateUsage", &self.PrivateUsage)
.finish()
}
}
impl ::windows_core::TypeKind for VM_COUNTERS_EX {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for VM_COUNTERS_EX {
fn eq(&self, other: &Self) -> bool {
self.PeakVirtualSize == other.PeakVirtualSize && self.VirtualSize == other.VirtualSize && self.PageFaultCount == other.PageFaultCount && self.PeakWorkingSetSize == other.PeakWorkingSetSize && self.WorkingSetSize == other.WorkingSetSize && self.QuotaPeakPagedPoolUsage == other.QuotaPeakPagedPoolUsage && self.QuotaPagedPoolUsage == other.QuotaPagedPoolUsage && self.QuotaPeakNonPagedPoolUsage == other.QuotaPeakNonPagedPoolUsage && self.QuotaNonPagedPoolUsage == other.QuotaNonPagedPoolUsage && self.PagefileUsage == other.PagefileUsage && self.PeakPagefileUsage == other.PeakPagefileUsage && self.PrivateUsage == other.PrivateUsage
}
}
impl ::core::cmp::Eq for VM_COUNTERS_EX {}
impl ::core::default::Default for VM_COUNTERS_EX {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct VM_COUNTERS_EX2 {
pub CountersEx: VM_COUNTERS_EX,
pub PrivateWorkingSetSize: usize,
pub SharedCommitUsage: u64,
}
impl ::core::marker::Copy for VM_COUNTERS_EX2 {}
impl ::core::clone::Clone for VM_COUNTERS_EX2 {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for VM_COUNTERS_EX2 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("VM_COUNTERS_EX2").field("CountersEx", &self.CountersEx).field("PrivateWorkingSetSize", &self.PrivateWorkingSetSize).field("SharedCommitUsage", &self.SharedCommitUsage).finish()
}
}
impl ::windows_core::TypeKind for VM_COUNTERS_EX2 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for VM_COUNTERS_EX2 {
fn eq(&self, other: &Self) -> bool {
self.CountersEx == other.CountersEx && self.PrivateWorkingSetSize == other.PrivateWorkingSetSize && self.SharedCommitUsage == other.SharedCommitUsage
}
}
impl ::core::cmp::Eq for VM_COUNTERS_EX2 {}
impl ::core::default::Default for VM_COUNTERS_EX2 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
pub struct WAIT_CONTEXT_BLOCK {
pub Anonymous: WAIT_CONTEXT_BLOCK_0,
pub DeviceRoutine: PDRIVER_CONTROL,
pub DeviceContext: *mut ::core::ffi::c_void,
pub NumberOfMapRegisters: u32,
pub DeviceObject: *mut ::core::ffi::c_void,
pub CurrentIrp: *mut ::core::ffi::c_void,
pub BufferChainingDpc: *mut super::super::Foundation::KDPC,
}
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
impl ::core::marker::Copy for WAIT_CONTEXT_BLOCK {}
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
impl ::core::clone::Clone for WAIT_CONTEXT_BLOCK {
fn clone(&self) -> Self {
*self
}
}
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
impl ::windows_core::TypeKind for WAIT_CONTEXT_BLOCK {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
impl ::core::default::Default for WAIT_CONTEXT_BLOCK {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
pub union WAIT_CONTEXT_BLOCK_0 {
pub WaitQueueEntry: KDEVICE_QUEUE_ENTRY,
pub Anonymous: WAIT_CONTEXT_BLOCK_0_0,
}
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
impl ::core::marker::Copy for WAIT_CONTEXT_BLOCK_0 {}
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
impl ::core::clone::Clone for WAIT_CONTEXT_BLOCK_0 {
fn clone(&self) -> Self {
*self
}
}
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
impl ::windows_core::TypeKind for WAIT_CONTEXT_BLOCK_0 {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
impl ::core::default::Default for WAIT_CONTEXT_BLOCK_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
pub struct WAIT_CONTEXT_BLOCK_0_0 {
pub DmaWaitEntry: super::super::super::Win32::System::Kernel::LIST_ENTRY,
pub NumberOfChannels: u32,
pub _bitfield: u32,
}
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
impl ::core::marker::Copy for WAIT_CONTEXT_BLOCK_0_0 {}
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
impl ::core::clone::Clone for WAIT_CONTEXT_BLOCK_0_0 {
fn clone(&self) -> Self {
*self
}
}
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
impl ::core::fmt::Debug for WAIT_CONTEXT_BLOCK_0_0 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("WAIT_CONTEXT_BLOCK_0_0").field("DmaWaitEntry", &self.DmaWaitEntry).field("NumberOfChannels", &self.NumberOfChannels).field("_bitfield", &self._bitfield).finish()
}
}
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
impl ::windows_core::TypeKind for WAIT_CONTEXT_BLOCK_0_0 {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
impl ::core::cmp::PartialEq for WAIT_CONTEXT_BLOCK_0_0 {
fn eq(&self, other: &Self) -> bool {
self.DmaWaitEntry == other.DmaWaitEntry && self.NumberOfChannels == other.NumberOfChannels && self._bitfield == other._bitfield
}
}
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
impl ::core::cmp::Eq for WAIT_CONTEXT_BLOCK_0_0 {}
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
impl ::core::default::Default for WAIT_CONTEXT_BLOCK_0_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct WHEA128A {
pub Low: u64,
pub High: i64,
}
impl ::core::marker::Copy for WHEA128A {}
impl ::core::clone::Clone for WHEA128A {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for WHEA128A {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("WHEA128A").field("Low", &self.Low).field("High", &self.High).finish()
}
}
impl ::windows_core::TypeKind for WHEA128A {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for WHEA128A {
fn eq(&self, other: &Self) -> bool {
self.Low == other.Low && self.High == other.High
}
}
impl ::core::cmp::Eq for WHEA128A {}
impl ::core::default::Default for WHEA128A {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct WHEAP_ACPI_TIMEOUT_EVENT {
pub WheaEventLogEntry: WHEA_EVENT_LOG_ENTRY,
pub TableType: [u8; 32],
pub TableRequest: [u8; 32],
}
impl ::core::marker::Copy for WHEAP_ACPI_TIMEOUT_EVENT {}
impl ::core::clone::Clone for WHEAP_ACPI_TIMEOUT_EVENT {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for WHEAP_ACPI_TIMEOUT_EVENT {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for WHEAP_ACPI_TIMEOUT_EVENT {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(1))]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Diagnostics_Debug\"`*"]
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Diagnostics_Debug"))]
pub struct WHEAP_ADD_REMOVE_ERROR_SOURCE_EVENT {
pub WheaEventLogEntry: WHEA_EVENT_LOG_ENTRY,
pub Descriptor: super::super::super::Win32::System::Diagnostics::Debug::WHEA_ERROR_SOURCE_DESCRIPTOR,
pub Status: super::super::super::Win32::Foundation::NTSTATUS,
pub IsRemove: super::super::super::Win32::Foundation::BOOLEAN,
}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Diagnostics_Debug"))]
impl ::core::marker::Copy for WHEAP_ADD_REMOVE_ERROR_SOURCE_EVENT {}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Diagnostics_Debug"))]
impl ::core::clone::Clone for WHEAP_ADD_REMOVE_ERROR_SOURCE_EVENT {
fn clone(&self) -> Self {
*self
}
}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Diagnostics_Debug"))]
impl ::windows_core::TypeKind for WHEAP_ADD_REMOVE_ERROR_SOURCE_EVENT {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Diagnostics_Debug"))]
impl ::core::default::Default for WHEAP_ADD_REMOVE_ERROR_SOURCE_EVENT {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(1))]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub struct WHEAP_ATTEMPT_RECOVERY_EVENT {
pub WheaEventLogEntry: WHEA_EVENT_LOG_ENTRY,
pub ErrorHeader: WHEA_ERROR_RECORD_HEADER,
pub ArchitecturalRecovery: super::super::super::Win32::Foundation::BOOLEAN,
pub PshedRecovery: super::super::super::Win32::Foundation::BOOLEAN,
pub Status: super::super::super::Win32::Foundation::NTSTATUS,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for WHEAP_ATTEMPT_RECOVERY_EVENT {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for WHEAP_ATTEMPT_RECOVERY_EVENT {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for WHEAP_ATTEMPT_RECOVERY_EVENT {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for WHEAP_ATTEMPT_RECOVERY_EVENT {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(1))]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_System_Diagnostics_Debug\"`*"]
#[cfg(feature = "Win32_System_Diagnostics_Debug")]
pub struct WHEAP_BAD_HEST_NOTIFY_DATA_EVENT {
pub WheaEventLogEntry: WHEA_EVENT_LOG_ENTRY,
pub SourceId: u16,
pub Reserved: u16,
pub NotifyDesc: super::super::super::Win32::System::Diagnostics::Debug::WHEA_NOTIFICATION_DESCRIPTOR,
}
#[cfg(feature = "Win32_System_Diagnostics_Debug")]
impl ::core::marker::Copy for WHEAP_BAD_HEST_NOTIFY_DATA_EVENT {}
#[cfg(feature = "Win32_System_Diagnostics_Debug")]
impl ::core::clone::Clone for WHEAP_BAD_HEST_NOTIFY_DATA_EVENT {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_System_Diagnostics_Debug")]
impl ::windows_core::TypeKind for WHEAP_BAD_HEST_NOTIFY_DATA_EVENT {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_System_Diagnostics_Debug")]
impl ::core::default::Default for WHEAP_BAD_HEST_NOTIFY_DATA_EVENT {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(1))]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct WHEAP_CLEARED_POISON_EVENT {
pub WheaEventLogEntry: WHEA_EVENT_LOG_ENTRY,
pub PhysicalAddress: u64,
}
impl ::core::marker::Copy for WHEAP_CLEARED_POISON_EVENT {}
impl ::core::clone::Clone for WHEAP_CLEARED_POISON_EVENT {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for WHEAP_CLEARED_POISON_EVENT {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for WHEAP_CLEARED_POISON_EVENT {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub struct WHEAP_CMCI_IMPLEMENTED_EVENT {
pub WheaEventLogEntry: WHEA_EVENT_LOG_ENTRY,
pub CmciAvailable: super::super::super::Win32::Foundation::BOOLEAN,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for WHEAP_CMCI_IMPLEMENTED_EVENT {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for WHEAP_CMCI_IMPLEMENTED_EVENT {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for WHEAP_CMCI_IMPLEMENTED_EVENT {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for WHEAP_CMCI_IMPLEMENTED_EVENT {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(1))]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct WHEAP_CMCI_INITERR_EVENT {
pub WheaEventLogEntry: WHEA_EVENT_LOG_ENTRY,
pub Msr: u64,
pub Type: u32,
pub Bank: u32,
pub EpIndex: u32,
}
impl ::core::marker::Copy for WHEAP_CMCI_INITERR_EVENT {}
impl ::core::clone::Clone for WHEAP_CMCI_INITERR_EVENT {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for WHEAP_CMCI_INITERR_EVENT {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for WHEAP_CMCI_INITERR_EVENT {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(1))]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct WHEAP_CMCI_RESTART_EVENT {
pub WheaEventLogEntry: WHEA_EVENT_LOG_ENTRY,
pub CmciRestoreAttempts: u32,
pub MaxCmciRestoreLimit: u32,
pub MaxCorrectedErrorsFound: u32,
pub MaxCorrectedErrorLimit: u32,
}
impl ::core::marker::Copy for WHEAP_CMCI_RESTART_EVENT {}
impl ::core::clone::Clone for WHEAP_CMCI_RESTART_EVENT {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for WHEAP_CMCI_RESTART_EVENT {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for WHEAP_CMCI_RESTART_EVENT {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(1))]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub struct WHEAP_CREATE_GENERIC_RECORD_EVENT {
pub WheaEventLogEntry: WHEA_EVENT_LOG_ENTRY,
pub Error: [u8; 32],
pub EntryCount: u32,
pub Status: super::super::super::Win32::Foundation::NTSTATUS,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for WHEAP_CREATE_GENERIC_RECORD_EVENT {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for WHEAP_CREATE_GENERIC_RECORD_EVENT {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for WHEAP_CREATE_GENERIC_RECORD_EVENT {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for WHEAP_CREATE_GENERIC_RECORD_EVENT {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(1))]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_System_Kernel\"`*"]
#[cfg(feature = "Win32_System_Kernel")]
pub struct WHEAP_DEFERRED_EVENT {
pub ListEntry: super::super::super::Win32::System::Kernel::LIST_ENTRY,
pub WheaEventLogEntry: WHEA_EVENT_LOG_ENTRY,
}
#[cfg(feature = "Win32_System_Kernel")]
impl ::core::marker::Copy for WHEAP_DEFERRED_EVENT {}
#[cfg(feature = "Win32_System_Kernel")]
impl ::core::clone::Clone for WHEAP_DEFERRED_EVENT {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_System_Kernel")]
impl ::windows_core::TypeKind for WHEAP_DEFERRED_EVENT {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_System_Kernel")]
impl ::core::default::Default for WHEAP_DEFERRED_EVENT {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct WHEAP_DEVICE_DRV_EVENT {
pub WheaEventLogEntry: WHEA_EVENT_LOG_ENTRY,
pub Function: [u8; 32],
}
impl ::core::marker::Copy for WHEAP_DEVICE_DRV_EVENT {}
impl ::core::clone::Clone for WHEAP_DEVICE_DRV_EVENT {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for WHEAP_DEVICE_DRV_EVENT {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for WHEAP_DEVICE_DRV_EVENT {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(1))]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct WHEAP_DPC_ERROR_EVENT {
pub WheaEventLogEntry: WHEA_EVENT_LOG_ENTRY,
pub ErrType: WHEAP_DPC_ERROR_EVENT_TYPE,
pub Bus: u32,
pub Device: u32,
pub Function: u32,
pub DeviceId: u16,
pub VendorId: u16,
}
impl ::core::marker::Copy for WHEAP_DPC_ERROR_EVENT {}
impl ::core::clone::Clone for WHEAP_DPC_ERROR_EVENT {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for WHEAP_DPC_ERROR_EVENT {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for WHEAP_DPC_ERROR_EVENT {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(1))]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_System_Diagnostics_Debug\"`*"]
#[cfg(feature = "Win32_System_Diagnostics_Debug")]
pub struct WHEAP_DROPPED_CORRECTED_ERROR_EVENT {
pub WheaEventLogEntry: WHEA_EVENT_LOG_ENTRY,
pub ErrorSourceType: super::super::super::Win32::System::Diagnostics::Debug::WHEA_ERROR_SOURCE_TYPE,
pub ErrorSourceId: u32,
}
#[cfg(feature = "Win32_System_Diagnostics_Debug")]
impl ::core::marker::Copy for WHEAP_DROPPED_CORRECTED_ERROR_EVENT {}
#[cfg(feature = "Win32_System_Diagnostics_Debug")]
impl ::core::clone::Clone for WHEAP_DROPPED_CORRECTED_ERROR_EVENT {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_System_Diagnostics_Debug")]
impl ::windows_core::TypeKind for WHEAP_DROPPED_CORRECTED_ERROR_EVENT {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_System_Diagnostics_Debug")]
impl ::core::default::Default for WHEAP_DROPPED_CORRECTED_ERROR_EVENT {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub struct WHEAP_EDPC_ENABLED_EVENT {
pub WheaEventLogEntry: WHEA_EVENT_LOG_ENTRY,
pub eDPCEnabled: super::super::super::Win32::Foundation::BOOLEAN,
pub eDPCRecovEnabled: super::super::super::Win32::Foundation::BOOLEAN,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for WHEAP_EDPC_ENABLED_EVENT {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for WHEAP_EDPC_ENABLED_EVENT {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for WHEAP_EDPC_ENABLED_EVENT {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for WHEAP_EDPC_ENABLED_EVENT {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(1))]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct WHEAP_ERROR_CLEARED_EVENT {
pub WheaEventLogEntry: WHEA_EVENT_LOG_ENTRY,
pub EpIndex: u32,
pub Bank: u32,
}
impl ::core::marker::Copy for WHEAP_ERROR_CLEARED_EVENT {}
impl ::core::clone::Clone for WHEAP_ERROR_CLEARED_EVENT {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for WHEAP_ERROR_CLEARED_EVENT {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for WHEAP_ERROR_CLEARED_EVENT {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(1))]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct WHEAP_ERROR_RECORD_EVENT {
pub WheaEventLogEntry: WHEA_EVENT_LOG_ENTRY,
pub Record: *mut WHEA_ERROR_RECORD,
}
impl ::core::marker::Copy for WHEAP_ERROR_RECORD_EVENT {}
impl ::core::clone::Clone for WHEAP_ERROR_RECORD_EVENT {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for WHEAP_ERROR_RECORD_EVENT {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for WHEAP_ERROR_RECORD_EVENT {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(1))]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct WHEAP_ERR_SRC_ARRAY_INVALID_EVENT {
pub WheaEventLogEntry: WHEA_EVENT_LOG_ENTRY,
pub ErrorSourceCount: u32,
pub ReportedLength: u32,
pub ExpectedLength: u32,
}
impl ::core::marker::Copy for WHEAP_ERR_SRC_ARRAY_INVALID_EVENT {}
impl ::core::clone::Clone for WHEAP_ERR_SRC_ARRAY_INVALID_EVENT {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for WHEAP_ERR_SRC_ARRAY_INVALID_EVENT {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for WHEAP_ERR_SRC_ARRAY_INVALID_EVENT {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Diagnostics_Debug\"`*"]
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Diagnostics_Debug"))]
pub struct WHEAP_ERR_SRC_INVALID_EVENT {
pub WheaEventLogEntry: WHEA_EVENT_LOG_ENTRY,
pub ErrDescriptor: super::super::super::Win32::System::Diagnostics::Debug::WHEA_ERROR_SOURCE_DESCRIPTOR,
pub Error: [u8; 32],
}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Diagnostics_Debug"))]
impl ::core::marker::Copy for WHEAP_ERR_SRC_INVALID_EVENT {}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Diagnostics_Debug"))]
impl ::core::clone::Clone for WHEAP_ERR_SRC_INVALID_EVENT {
fn clone(&self) -> Self {
*self
}
}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Diagnostics_Debug"))]
impl ::windows_core::TypeKind for WHEAP_ERR_SRC_INVALID_EVENT {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Diagnostics_Debug"))]
impl ::core::default::Default for WHEAP_ERR_SRC_INVALID_EVENT {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(1))]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct WHEAP_FOUND_ERROR_IN_BANK_EVENT {
pub WheaEventLogEntry: WHEA_EVENT_LOG_ENTRY,
pub EpIndex: u32,
pub Bank: u32,
pub MciStatus: u64,
pub ErrorType: u32,
}
impl ::core::marker::Copy for WHEAP_FOUND_ERROR_IN_BANK_EVENT {}
impl ::core::clone::Clone for WHEAP_FOUND_ERROR_IN_BANK_EVENT {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for WHEAP_FOUND_ERROR_IN_BANK_EVENT {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for WHEAP_FOUND_ERROR_IN_BANK_EVENT {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(1))]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct WHEAP_GENERIC_ERR_MEM_MAP_EVENT {
pub WheaEventLogEntry: WHEA_EVENT_LOG_ENTRY,
pub MapReason: [u8; 32],
pub PhysicalAddress: u64,
pub Length: u64,
}
impl ::core::marker::Copy for WHEAP_GENERIC_ERR_MEM_MAP_EVENT {}
impl ::core::clone::Clone for WHEAP_GENERIC_ERR_MEM_MAP_EVENT {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for WHEAP_GENERIC_ERR_MEM_MAP_EVENT {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for WHEAP_GENERIC_ERR_MEM_MAP_EVENT {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub struct WHEAP_OSC_IMPLEMENTED {
pub WheaEventLogEntry: WHEA_EVENT_LOG_ENTRY,
pub OscImplemented: super::super::super::Win32::Foundation::BOOLEAN,
pub DebugChecked: super::super::super::Win32::Foundation::BOOLEAN,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for WHEAP_OSC_IMPLEMENTED {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for WHEAP_OSC_IMPLEMENTED {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for WHEAP_OSC_IMPLEMENTED {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for WHEAP_OSC_IMPLEMENTED {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(1))]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct WHEAP_PCIE_CONFIG_INFO {
pub WheaEventLogEntry: WHEA_EVENT_LOG_ENTRY,
pub Segment: u32,
pub Bus: u32,
pub Device: u32,
pub Function: u32,
pub Offset: u32,
pub Length: u32,
pub Value: u64,
pub Succeeded: u8,
pub Reserved: [u8; 3],
}
impl ::core::marker::Copy for WHEAP_PCIE_CONFIG_INFO {}
impl ::core::clone::Clone for WHEAP_PCIE_CONFIG_INFO {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for WHEAP_PCIE_CONFIG_INFO {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for WHEAP_PCIE_CONFIG_INFO {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(1))]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct WHEAP_PCIE_OVERRIDE_INFO {
pub WheaEventLogEntry: WHEA_EVENT_LOG_ENTRY,
pub Segment: u32,
pub Bus: u32,
pub Device: u32,
pub Function: u32,
pub ValidBits: u8,
pub Reserved: [u8; 3],
pub UncorrectableErrorMask: u32,
pub UncorrectableErrorSeverity: u32,
pub CorrectableErrorMask: u32,
pub CapAndControl: u32,
}
impl ::core::marker::Copy for WHEAP_PCIE_OVERRIDE_INFO {}
impl ::core::clone::Clone for WHEAP_PCIE_OVERRIDE_INFO {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for WHEAP_PCIE_OVERRIDE_INFO {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for WHEAP_PCIE_OVERRIDE_INFO {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(1))]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub struct WHEAP_PCIE_READ_OVERRIDES_ERR {
pub WheaEventLogEntry: WHEA_EVENT_LOG_ENTRY,
pub FailureReason: u32,
pub FailureStatus: super::super::super::Win32::Foundation::NTSTATUS,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for WHEAP_PCIE_READ_OVERRIDES_ERR {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for WHEAP_PCIE_READ_OVERRIDES_ERR {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for WHEAP_PCIE_READ_OVERRIDES_ERR {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for WHEAP_PCIE_READ_OVERRIDES_ERR {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(1))]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub struct WHEAP_PFA_MEMORY_OFFLINED {
pub WheaEventLogEntry: WHEA_EVENT_LOG_ENTRY,
pub DecisionType: WHEAP_PFA_OFFLINE_DECISION_TYPE,
pub ImmediateSuccess: super::super::super::Win32::Foundation::BOOLEAN,
pub Page: u32,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for WHEAP_PFA_MEMORY_OFFLINED {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for WHEAP_PFA_MEMORY_OFFLINED {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for WHEAP_PFA_MEMORY_OFFLINED {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for WHEAP_PFA_MEMORY_OFFLINED {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(1))]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub struct WHEAP_PFA_MEMORY_POLICY {
pub WheaEventLogEntry: WHEA_EVENT_LOG_ENTRY,
pub RegistryKeysPresent: u32,
pub DisableOffline: super::super::super::Win32::Foundation::BOOLEAN,
pub PersistOffline: super::super::super::Win32::Foundation::BOOLEAN,
pub PfaDisabled: super::super::super::Win32::Foundation::BOOLEAN,
pub PageCount: u32,
pub ErrorThreshold: u32,
pub TimeOut: u32,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for WHEAP_PFA_MEMORY_POLICY {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for WHEAP_PFA_MEMORY_POLICY {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for WHEAP_PFA_MEMORY_POLICY {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for WHEAP_PFA_MEMORY_POLICY {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(1))]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct WHEAP_PFA_MEMORY_REMOVE_MONITOR {
pub WheaEventLogEntry: WHEA_EVENT_LOG_ENTRY,
pub RemoveTrigger: WHEA_PFA_REMOVE_TRIGGER,
pub TimeInList: u32,
pub ErrorCount: u32,
pub Page: u32,
}
impl ::core::marker::Copy for WHEAP_PFA_MEMORY_REMOVE_MONITOR {}
impl ::core::clone::Clone for WHEAP_PFA_MEMORY_REMOVE_MONITOR {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for WHEAP_PFA_MEMORY_REMOVE_MONITOR {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for WHEAP_PFA_MEMORY_REMOVE_MONITOR {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct WHEAP_PLUGIN_DEFECT_LIST_CORRUPT {
pub WheaEventLogEntry: WHEA_EVENT_LOG_ENTRY,
}
impl ::core::marker::Copy for WHEAP_PLUGIN_DEFECT_LIST_CORRUPT {}
impl ::core::clone::Clone for WHEAP_PLUGIN_DEFECT_LIST_CORRUPT {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for WHEAP_PLUGIN_DEFECT_LIST_CORRUPT {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for WHEAP_PLUGIN_DEFECT_LIST_CORRUPT {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct WHEAP_PLUGIN_DEFECT_LIST_FULL_EVENT {
pub WheaEventLogEntry: WHEA_EVENT_LOG_ENTRY,
}
impl ::core::marker::Copy for WHEAP_PLUGIN_DEFECT_LIST_FULL_EVENT {}
impl ::core::clone::Clone for WHEAP_PLUGIN_DEFECT_LIST_FULL_EVENT {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for WHEAP_PLUGIN_DEFECT_LIST_FULL_EVENT {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for WHEAP_PLUGIN_DEFECT_LIST_FULL_EVENT {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct WHEAP_PLUGIN_DEFECT_LIST_UEFI_VAR_FAILED {
pub WheaEventLogEntry: WHEA_EVENT_LOG_ENTRY,
}
impl ::core::marker::Copy for WHEAP_PLUGIN_DEFECT_LIST_UEFI_VAR_FAILED {}
impl ::core::clone::Clone for WHEAP_PLUGIN_DEFECT_LIST_UEFI_VAR_FAILED {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for WHEAP_PLUGIN_DEFECT_LIST_UEFI_VAR_FAILED {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for WHEAP_PLUGIN_DEFECT_LIST_UEFI_VAR_FAILED {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub struct WHEAP_PLUGIN_PFA_EVENT {
pub WheaEventLogEntry: WHEA_EVENT_LOG_ENTRY,
pub NoFurtherPfa: super::super::super::Win32::Foundation::BOOLEAN,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for WHEAP_PLUGIN_PFA_EVENT {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for WHEAP_PLUGIN_PFA_EVENT {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for WHEAP_PLUGIN_PFA_EVENT {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for WHEAP_PLUGIN_PFA_EVENT {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(1))]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub struct WHEAP_PROCESS_EINJ_EVENT {
pub WheaEventLogEntry: WHEA_EVENT_LOG_ENTRY,
pub Error: [u8; 32],
pub InjectionActionTableValid: super::super::super::Win32::Foundation::BOOLEAN,
pub BeginInjectionInstructionCount: u32,
pub GetTriggerErrorActionTableInstructionCount: u32,
pub SetErrorTypeInstructionCount: u32,
pub GetErrorTypeInstructionCount: u32,
pub EndOperationInstructionCount: u32,
pub ExecuteOperationInstructionCount: u32,
pub CheckBusyStatusInstructionCount: u32,
pub GetCommandStatusInstructionCount: u32,
pub SetErrorTypeWithAddressInstructionCount: u32,
pub GetExecuteOperationTimingsInstructionCount: u32,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for WHEAP_PROCESS_EINJ_EVENT {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for WHEAP_PROCESS_EINJ_EVENT {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for WHEAP_PROCESS_EINJ_EVENT {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for WHEAP_PROCESS_EINJ_EVENT {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(1))]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub struct WHEAP_PROCESS_HEST_EVENT {
pub WheaEventLogEntry: WHEA_EVENT_LOG_ENTRY,
pub Error: [u8; 32],
pub EntryType: [u8; 32],
pub EntryIndex: u32,
pub HestValid: super::super::super::Win32::Foundation::BOOLEAN,
pub CmcCount: u32,
pub MceCount: u32,
pub NmiCount: u32,
pub AerRootCount: u32,
pub AerBridgeCount: u32,
pub AerEndPointCount: u32,
pub GenericV1Count: u32,
pub GenericV2Count: u32,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for WHEAP_PROCESS_HEST_EVENT {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for WHEAP_PROCESS_HEST_EVENT {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for WHEAP_PROCESS_HEST_EVENT {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for WHEAP_PROCESS_HEST_EVENT {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(1))]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub struct WHEAP_PSHED_INJECT_ERROR {
pub WheaEventLogEntry: WHEA_EVENT_LOG_ENTRY,
pub ErrorType: u32,
pub Parameter1: u64,
pub Parameter2: u64,
pub Parameter3: u64,
pub Parameter4: u64,
pub InjectionStatus: super::super::super::Win32::Foundation::NTSTATUS,
pub InjectionAttempted: super::super::super::Win32::Foundation::BOOLEAN,
pub InjectionByPlugin: super::super::super::Win32::Foundation::BOOLEAN,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for WHEAP_PSHED_INJECT_ERROR {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for WHEAP_PSHED_INJECT_ERROR {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for WHEAP_PSHED_INJECT_ERROR {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for WHEAP_PSHED_INJECT_ERROR {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(1))]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub struct WHEAP_PSHED_PLUGIN_REGISTER {
pub WheaEventLogEntry: WHEA_EVENT_LOG_ENTRY,
pub Version: u32,
pub Length: u32,
pub FunctionalAreaMask: u32,
pub Status: super::super::super::Win32::Foundation::NTSTATUS,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for WHEAP_PSHED_PLUGIN_REGISTER {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for WHEAP_PSHED_PLUGIN_REGISTER {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for WHEAP_PSHED_PLUGIN_REGISTER {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for WHEAP_PSHED_PLUGIN_REGISTER {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(1))]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct WHEAP_ROW_FAILURE_EVENT {
pub WheaEventLogEntry: WHEA_EVENT_LOG_ENTRY,
pub LowOrderPage: u32,
pub HighOrderPage: u32,
}
impl ::core::marker::Copy for WHEAP_ROW_FAILURE_EVENT {}
impl ::core::clone::Clone for WHEAP_ROW_FAILURE_EVENT {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for WHEAP_ROW_FAILURE_EVENT {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for WHEAP_ROW_FAILURE_EVENT {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(1))]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct WHEAP_SPURIOUS_AER_EVENT {
pub WheaEventLogEntry: WHEA_EVENT_LOG_ENTRY,
pub ErrorSeverity: WHEA_ERROR_SEVERITY,
pub ErrorHandlerType: u32,
pub SpuriousErrorSourceId: u32,
pub RootErrorCommand: u32,
pub RootErrorStatus: u32,
pub DeviceAssociationBitmap: u32,
}
impl ::core::marker::Copy for WHEAP_SPURIOUS_AER_EVENT {}
impl ::core::clone::Clone for WHEAP_SPURIOUS_AER_EVENT {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for WHEAP_SPURIOUS_AER_EVENT {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for WHEAP_SPURIOUS_AER_EVENT {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(1))]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_System_Diagnostics_Debug\"`*"]
#[cfg(feature = "Win32_System_Diagnostics_Debug")]
pub struct WHEAP_STARTED_REPORT_HW_ERROR {
pub WheaEventLogEntry: WHEA_EVENT_LOG_ENTRY,
pub ErrorPacket: *mut WHEA_ERROR_PACKET_V2,
}
#[cfg(feature = "Win32_System_Diagnostics_Debug")]
impl ::core::marker::Copy for WHEAP_STARTED_REPORT_HW_ERROR {}
#[cfg(feature = "Win32_System_Diagnostics_Debug")]
impl ::core::clone::Clone for WHEAP_STARTED_REPORT_HW_ERROR {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_System_Diagnostics_Debug")]
impl ::windows_core::TypeKind for WHEAP_STARTED_REPORT_HW_ERROR {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_System_Diagnostics_Debug")]
impl ::core::default::Default for WHEAP_STARTED_REPORT_HW_ERROR {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(1))]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct WHEAP_STUCK_ERROR_EVENT {
pub WheaEventLogEntry: WHEA_EVENT_LOG_ENTRY,
pub EpIndex: u32,
pub Bank: u32,
pub MciStatus: u64,
}
impl ::core::marker::Copy for WHEAP_STUCK_ERROR_EVENT {}
impl ::core::clone::Clone for WHEAP_STUCK_ERROR_EVENT {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for WHEAP_STUCK_ERROR_EVENT {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for WHEAP_STUCK_ERROR_EVENT {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(1))]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct WHEA_ACPI_HEADER {
pub Signature: u32,
pub Length: u32,
pub Revision: u8,
pub Checksum: u8,
pub OemId: [u8; 6],
pub OemTableId: u64,
pub OemRevision: u32,
pub CreatorId: u32,
pub CreatorRevision: u32,
}
impl ::core::marker::Copy for WHEA_ACPI_HEADER {}
impl ::core::clone::Clone for WHEA_ACPI_HEADER {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for WHEA_ACPI_HEADER {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for WHEA_ACPI_HEADER {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(1))]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct WHEA_AMD_EXTENDED_REGISTERS {
pub IPID: u64,
pub SYND: u64,
pub CONFIG: u64,
pub DESTAT: u64,
pub DEADDR: u64,
pub MISC1: u64,
pub MISC2: u64,
pub MISC3: u64,
pub MISC4: u64,
pub RasCap: u64,
pub Reserved: [u64; 14],
}
impl ::core::marker::Copy for WHEA_AMD_EXTENDED_REGISTERS {}
impl ::core::clone::Clone for WHEA_AMD_EXTENDED_REGISTERS {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for WHEA_AMD_EXTENDED_REGISTERS {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for WHEA_AMD_EXTENDED_REGISTERS {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(1))]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct WHEA_ARMV8_AARCH32_GPRS {
pub R0: u32,
pub R1: u32,
pub R2: u32,
pub R3: u32,
pub R4: u32,
pub R5: u32,
pub R6: u32,
pub R7: u32,
pub R8: u32,
pub R9: u32,
pub R10: u32,
pub R11: u32,
pub R12: u32,
pub R13: u32,
pub R14: u32,
pub R15: u32,
}
impl ::core::marker::Copy for WHEA_ARMV8_AARCH32_GPRS {}
impl ::core::clone::Clone for WHEA_ARMV8_AARCH32_GPRS {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for WHEA_ARMV8_AARCH32_GPRS {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for WHEA_ARMV8_AARCH32_GPRS {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(1))]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct WHEA_ARMV8_AARCH64_EL3_CSR {
pub ELR_EL3: u64,
pub ESR_EL3: u64,
pub FAR_EL3: u64,
pub MAIR_EL3: u64,
pub SCTLR_EL3: u64,
pub SP_EL3: u64,
pub SPSR_EL3: u64,
pub TCR_EL3: u64,
pub TPIDR_EL3: u64,
pub TTBR0_EL3: u64,
}
impl ::core::marker::Copy for WHEA_ARMV8_AARCH64_EL3_CSR {}
impl ::core::clone::Clone for WHEA_ARMV8_AARCH64_EL3_CSR {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for WHEA_ARMV8_AARCH64_EL3_CSR {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for WHEA_ARMV8_AARCH64_EL3_CSR {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(1))]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct WHEA_ARMV8_AARCH64_GPRS {
pub X0: u64,
pub X1: u64,
pub X2: u64,
pub X3: u64,
pub X4: u64,
pub X5: u64,
pub X6: u64,
pub X7: u64,
pub X8: u64,
pub X9: u64,
pub X10: u64,
pub X11: u64,
pub X12: u64,
pub X13: u64,
pub X14: u64,
pub X15: u64,
pub X16: u64,
pub X17: u64,
pub X18: u64,
pub X19: u64,
pub X20: u64,
pub X21: u64,
pub X22: u64,
pub X23: u64,
pub X24: u64,
pub X25: u64,
pub X26: u64,
pub X27: u64,
pub X28: u64,
pub X29: u64,
pub X30: u64,
pub SP: u64,
}
impl ::core::marker::Copy for WHEA_ARMV8_AARCH64_GPRS {}
impl ::core::clone::Clone for WHEA_ARMV8_AARCH64_GPRS {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for WHEA_ARMV8_AARCH64_GPRS {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for WHEA_ARMV8_AARCH64_GPRS {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(1))]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct WHEA_ARM_AARCH32_EL1_CSR {
pub DFAR: u32,
pub DFSR: u32,
pub IFAR: u32,
pub ISR: u32,
pub MAIR0: u32,
pub MAIR1: u32,
pub MIDR: u32,
pub MPIDR: u32,
pub NMRR: u32,
pub PRRR: u32,
pub SCTLR: u32,
pub SPSR: u32,
pub SPSR_abt: u32,
pub SPSR_fiq: u32,
pub SPSR_irq: u32,
pub SPSR_svc: u32,
pub SPSR_und: u32,
pub TPIDRPRW: u32,
pub TPIDRURO: u32,
pub TPIDRURW: u32,
pub TTBCR: u32,
pub TTBR0: u32,
pub TTBR1: u32,
pub DACR: u32,
}
impl ::core::marker::Copy for WHEA_ARM_AARCH32_EL1_CSR {}
impl ::core::clone::Clone for WHEA_ARM_AARCH32_EL1_CSR {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for WHEA_ARM_AARCH32_EL1_CSR {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for WHEA_ARM_AARCH32_EL1_CSR {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(1))]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct WHEA_ARM_AARCH32_EL2_CSR {
pub ELR_hyp: u32,
pub HAMAIR0: u32,
pub HAMAIR1: u32,
pub HCR: u32,
pub HCR2: u32,
pub HDFAR: u32,
pub HIFAR: u32,
pub HPFAR: u32,
pub HSR: u32,
pub HTCR: u32,
pub HTPIDR: u32,
pub HTTBR: u32,
pub SPSR_hyp: u32,
pub VTCR: u32,
pub VTTBR: u32,
pub DACR32_EL2: u32,
}
impl ::core::marker::Copy for WHEA_ARM_AARCH32_EL2_CSR {}
impl ::core::clone::Clone for WHEA_ARM_AARCH32_EL2_CSR {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for WHEA_ARM_AARCH32_EL2_CSR {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for WHEA_ARM_AARCH32_EL2_CSR {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(1))]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct WHEA_ARM_AARCH32_SECURE_CSR {
pub SCTLR: u32,
pub SPSR_mon: u32,
}
impl ::core::marker::Copy for WHEA_ARM_AARCH32_SECURE_CSR {}
impl ::core::clone::Clone for WHEA_ARM_AARCH32_SECURE_CSR {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for WHEA_ARM_AARCH32_SECURE_CSR {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for WHEA_ARM_AARCH32_SECURE_CSR {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(1))]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct WHEA_ARM_AARCH64_EL1_CSR {
pub ELR_EL1: u64,
pub ESR_EL2: u64,
pub FAR_EL1: u64,
pub ISR_EL1: u64,
pub MAIR_EL1: u64,
pub MIDR_EL1: u64,
pub MPIDR_EL1: u64,
pub SCTLR_EL1: u64,
pub SP_EL0: u64,
pub SP_EL1: u64,
pub SPSR_EL1: u64,
pub TCR_EL1: u64,
pub TPIDR_EL0: u64,
pub TPIDR_EL1: u64,
pub TPIDRRO_EL0: u64,
pub TTBR0_EL1: u64,
pub TTBR1_EL1: u64,
}
impl ::core::marker::Copy for WHEA_ARM_AARCH64_EL1_CSR {}
impl ::core::clone::Clone for WHEA_ARM_AARCH64_EL1_CSR {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for WHEA_ARM_AARCH64_EL1_CSR {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for WHEA_ARM_AARCH64_EL1_CSR {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(1))]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct WHEA_ARM_AARCH64_EL2_CSR {
pub ELR_EL2: u64,
pub ESR_EL2: u64,
pub FAR_EL2: u64,
pub HACR_EL2: u64,
pub HCR_EL2: u64,
pub HPFAR_EL2: u64,
pub MAIR_EL2: u64,
pub SCTLR_EL2: u64,
pub SP_EL2: u64,
pub SPSR_EL2: u64,
pub TCR_EL2: u64,
pub TPIDR_EL2: u64,
pub TTBR0_EL2: u64,
pub VTCR_EL2: u64,
pub VTTBR_EL2: u64,
}
impl ::core::marker::Copy for WHEA_ARM_AARCH64_EL2_CSR {}
impl ::core::clone::Clone for WHEA_ARM_AARCH64_EL2_CSR {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for WHEA_ARM_AARCH64_EL2_CSR {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for WHEA_ARM_AARCH64_EL2_CSR {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(1))]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct WHEA_ARM_BUS_ERROR {
pub ValidationBit: WHEA_ARM_BUS_ERROR_VALID_BITS,
pub _bitfield1: u8,
pub _bitfield2: u8,
pub _bitfield3: u8,
pub _bitfield4: u16,
pub _bitfield5: u8,
pub _bitfield6: u32,
}
impl ::core::marker::Copy for WHEA_ARM_BUS_ERROR {}
impl ::core::clone::Clone for WHEA_ARM_BUS_ERROR {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for WHEA_ARM_BUS_ERROR {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for WHEA_ARM_BUS_ERROR {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(1))]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub union WHEA_ARM_BUS_ERROR_VALID_BITS {
pub Anonymous: WHEA_ARM_BUS_ERROR_VALID_BITS_0,
pub AsUSHORT: u16,
}
impl ::core::marker::Copy for WHEA_ARM_BUS_ERROR_VALID_BITS {}
impl ::core::clone::Clone for WHEA_ARM_BUS_ERROR_VALID_BITS {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for WHEA_ARM_BUS_ERROR_VALID_BITS {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for WHEA_ARM_BUS_ERROR_VALID_BITS {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(1))]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct WHEA_ARM_BUS_ERROR_VALID_BITS_0 {
pub _bitfield: u16,
}
impl ::core::marker::Copy for WHEA_ARM_BUS_ERROR_VALID_BITS_0 {}
impl ::core::clone::Clone for WHEA_ARM_BUS_ERROR_VALID_BITS_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for WHEA_ARM_BUS_ERROR_VALID_BITS_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for WHEA_ARM_BUS_ERROR_VALID_BITS_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(1))]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct WHEA_ARM_CACHE_ERROR {
pub ValidationBit: WHEA_ARM_CACHE_ERROR_VALID_BITS,
pub _bitfield1: u8,
pub _bitfield2: u8,
pub _bitfield3: u64,
}
impl ::core::marker::Copy for WHEA_ARM_CACHE_ERROR {}
impl ::core::clone::Clone for WHEA_ARM_CACHE_ERROR {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for WHEA_ARM_CACHE_ERROR {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for WHEA_ARM_CACHE_ERROR {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(1))]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub union WHEA_ARM_CACHE_ERROR_VALID_BITS {
pub Anonymous: WHEA_ARM_CACHE_ERROR_VALID_BITS_0,
pub AsUSHORT: u16,
}
impl ::core::marker::Copy for WHEA_ARM_CACHE_ERROR_VALID_BITS {}
impl ::core::clone::Clone for WHEA_ARM_CACHE_ERROR_VALID_BITS {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for WHEA_ARM_CACHE_ERROR_VALID_BITS {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for WHEA_ARM_CACHE_ERROR_VALID_BITS {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(1))]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct WHEA_ARM_CACHE_ERROR_VALID_BITS_0 {
pub _bitfield: u16,
}
impl ::core::marker::Copy for WHEA_ARM_CACHE_ERROR_VALID_BITS_0 {}
impl ::core::clone::Clone for WHEA_ARM_CACHE_ERROR_VALID_BITS_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for WHEA_ARM_CACHE_ERROR_VALID_BITS_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for WHEA_ARM_CACHE_ERROR_VALID_BITS_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(1))]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct WHEA_ARM_MISC_CSR {
pub MRSEncoding: u16,
pub Value: u64,
}
impl ::core::marker::Copy for WHEA_ARM_MISC_CSR {}
impl ::core::clone::Clone for WHEA_ARM_MISC_CSR {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for WHEA_ARM_MISC_CSR {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for WHEA_ARM_MISC_CSR {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(1))]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub union WHEA_ARM_PROCESSOR_ERROR {
pub CacheError: WHEA_ARM_CACHE_ERROR,
pub TlbError: WHEA_ARM_TLB_ERROR,
pub BusError: WHEA_ARM_BUS_ERROR,
pub AsULONGLONG: u64,
}
impl ::core::marker::Copy for WHEA_ARM_PROCESSOR_ERROR {}
impl ::core::clone::Clone for WHEA_ARM_PROCESSOR_ERROR {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for WHEA_ARM_PROCESSOR_ERROR {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for WHEA_ARM_PROCESSOR_ERROR {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(1))]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct WHEA_ARM_PROCESSOR_ERROR_CONTEXT_INFORMATION_HEADER {
pub Version: u16,
pub RegisterContextType: u16,
pub RegisterArraySize: u32,
pub RegisterArray: [u8; 1],
}
impl ::core::marker::Copy for WHEA_ARM_PROCESSOR_ERROR_CONTEXT_INFORMATION_HEADER {}
impl ::core::clone::Clone for WHEA_ARM_PROCESSOR_ERROR_CONTEXT_INFORMATION_HEADER {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for WHEA_ARM_PROCESSOR_ERROR_CONTEXT_INFORMATION_HEADER {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for WHEA_ARM_PROCESSOR_ERROR_CONTEXT_INFORMATION_HEADER {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(1))]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub union WHEA_ARM_PROCESSOR_ERROR_CONTEXT_INFORMATION_HEADER_FLAGS {
pub Anonymous: WHEA_ARM_PROCESSOR_ERROR_CONTEXT_INFORMATION_HEADER_FLAGS_0,
pub AsULONG: u32,
}
impl ::core::marker::Copy for WHEA_ARM_PROCESSOR_ERROR_CONTEXT_INFORMATION_HEADER_FLAGS {}
impl ::core::clone::Clone for WHEA_ARM_PROCESSOR_ERROR_CONTEXT_INFORMATION_HEADER_FLAGS {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for WHEA_ARM_PROCESSOR_ERROR_CONTEXT_INFORMATION_HEADER_FLAGS {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for WHEA_ARM_PROCESSOR_ERROR_CONTEXT_INFORMATION_HEADER_FLAGS {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(1))]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct WHEA_ARM_PROCESSOR_ERROR_CONTEXT_INFORMATION_HEADER_FLAGS_0 {
pub _bitfield: u32,
}
impl ::core::marker::Copy for WHEA_ARM_PROCESSOR_ERROR_CONTEXT_INFORMATION_HEADER_FLAGS_0 {}
impl ::core::clone::Clone for WHEA_ARM_PROCESSOR_ERROR_CONTEXT_INFORMATION_HEADER_FLAGS_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for WHEA_ARM_PROCESSOR_ERROR_CONTEXT_INFORMATION_HEADER_FLAGS_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for WHEA_ARM_PROCESSOR_ERROR_CONTEXT_INFORMATION_HEADER_FLAGS_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(1))]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct WHEA_ARM_PROCESSOR_ERROR_INFORMATION {
pub Version: u8,
pub Length: u8,
pub ValidationBit: WHEA_ARM_PROCESSOR_ERROR_INFORMATION_VALID_BITS,
pub Type: u8,
pub MultipleError: u16,
pub Flags: u8,
pub ErrorInformation: u64,
pub VirtualFaultAddress: u64,
pub PhysicalFaultAddress: u64,
}
impl ::core::marker::Copy for WHEA_ARM_PROCESSOR_ERROR_INFORMATION {}
impl ::core::clone::Clone for WHEA_ARM_PROCESSOR_ERROR_INFORMATION {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for WHEA_ARM_PROCESSOR_ERROR_INFORMATION {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for WHEA_ARM_PROCESSOR_ERROR_INFORMATION {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(1))]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub union WHEA_ARM_PROCESSOR_ERROR_INFORMATION_VALID_BITS {
pub Anonymous: WHEA_ARM_PROCESSOR_ERROR_INFORMATION_VALID_BITS_0,
pub AsUSHORT: u16,
}
impl ::core::marker::Copy for WHEA_ARM_PROCESSOR_ERROR_INFORMATION_VALID_BITS {}
impl ::core::clone::Clone for WHEA_ARM_PROCESSOR_ERROR_INFORMATION_VALID_BITS {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for WHEA_ARM_PROCESSOR_ERROR_INFORMATION_VALID_BITS {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for WHEA_ARM_PROCESSOR_ERROR_INFORMATION_VALID_BITS {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(1))]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct WHEA_ARM_PROCESSOR_ERROR_INFORMATION_VALID_BITS_0 {
pub _bitfield: u16,
}
impl ::core::marker::Copy for WHEA_ARM_PROCESSOR_ERROR_INFORMATION_VALID_BITS_0 {}
impl ::core::clone::Clone for WHEA_ARM_PROCESSOR_ERROR_INFORMATION_VALID_BITS_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for WHEA_ARM_PROCESSOR_ERROR_INFORMATION_VALID_BITS_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for WHEA_ARM_PROCESSOR_ERROR_INFORMATION_VALID_BITS_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(1))]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct WHEA_ARM_PROCESSOR_ERROR_SECTION {
pub ValidBits: WHEA_ARM_PROCESSOR_ERROR_SECTION_VALID_BITS,
pub ErrorInformationStructures: u16,
pub ContextInformationStructures: u16,
pub SectionLength: u32,
pub ErrorAffinityLevel: u8,
pub Reserved: [u8; 3],
pub MPIDR_EL1: u64,
pub MIDR_EL1: u64,
pub RunningState: u32,
pub PSCIState: u32,
pub Data: [u8; 1],
}
impl ::core::marker::Copy for WHEA_ARM_PROCESSOR_ERROR_SECTION {}
impl ::core::clone::Clone for WHEA_ARM_PROCESSOR_ERROR_SECTION {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for WHEA_ARM_PROCESSOR_ERROR_SECTION {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for WHEA_ARM_PROCESSOR_ERROR_SECTION {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(1))]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub union WHEA_ARM_PROCESSOR_ERROR_SECTION_VALID_BITS {
pub Anonymous: WHEA_ARM_PROCESSOR_ERROR_SECTION_VALID_BITS_0,
pub AsULONG: u32,
}
impl ::core::marker::Copy for WHEA_ARM_PROCESSOR_ERROR_SECTION_VALID_BITS {}
impl ::core::clone::Clone for WHEA_ARM_PROCESSOR_ERROR_SECTION_VALID_BITS {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for WHEA_ARM_PROCESSOR_ERROR_SECTION_VALID_BITS {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for WHEA_ARM_PROCESSOR_ERROR_SECTION_VALID_BITS {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(1))]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct WHEA_ARM_PROCESSOR_ERROR_SECTION_VALID_BITS_0 {
pub _bitfield: u32,
}
impl ::core::marker::Copy for WHEA_ARM_PROCESSOR_ERROR_SECTION_VALID_BITS_0 {}
impl ::core::clone::Clone for WHEA_ARM_PROCESSOR_ERROR_SECTION_VALID_BITS_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for WHEA_ARM_PROCESSOR_ERROR_SECTION_VALID_BITS_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for WHEA_ARM_PROCESSOR_ERROR_SECTION_VALID_BITS_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(1))]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct WHEA_ARM_TLB_ERROR {
pub ValidationBit: WHEA_ARM_TLB_ERROR_VALID_BITS,
pub _bitfield1: u8,
pub _bitfield2: u8,
pub _bitfield3: u64,
}
impl ::core::marker::Copy for WHEA_ARM_TLB_ERROR {}
impl ::core::clone::Clone for WHEA_ARM_TLB_ERROR {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for WHEA_ARM_TLB_ERROR {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for WHEA_ARM_TLB_ERROR {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(1))]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub union WHEA_ARM_TLB_ERROR_VALID_BITS {
pub Anonymous: WHEA_ARM_TLB_ERROR_VALID_BITS_0,
pub AsUSHORT: u16,
}
impl ::core::marker::Copy for WHEA_ARM_TLB_ERROR_VALID_BITS {}
impl ::core::clone::Clone for WHEA_ARM_TLB_ERROR_VALID_BITS {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for WHEA_ARM_TLB_ERROR_VALID_BITS {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for WHEA_ARM_TLB_ERROR_VALID_BITS {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(1))]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct WHEA_ARM_TLB_ERROR_VALID_BITS_0 {
pub _bitfield: u16,
}
impl ::core::marker::Copy for WHEA_ARM_TLB_ERROR_VALID_BITS_0 {}
impl ::core::clone::Clone for WHEA_ARM_TLB_ERROR_VALID_BITS_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for WHEA_ARM_TLB_ERROR_VALID_BITS_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for WHEA_ARM_TLB_ERROR_VALID_BITS_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub struct WHEA_AZCC_ROOT_BUS_ERR_EVENT {
pub WheaEventLogEntry: WHEA_EVENT_LOG_ENTRY,
pub MaxBusCountPassed: super::super::super::Win32::Foundation::BOOLEAN,
pub InvalidBusMSR: super::super::super::Win32::Foundation::BOOLEAN,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for WHEA_AZCC_ROOT_BUS_ERR_EVENT {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for WHEA_AZCC_ROOT_BUS_ERR_EVENT {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for WHEA_AZCC_ROOT_BUS_ERR_EVENT {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for WHEA_AZCC_ROOT_BUS_ERR_EVENT {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(1))]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct WHEA_AZCC_ROOT_BUS_LIST_EVENT {
pub WheaEventLogEntry: WHEA_EVENT_LOG_ENTRY,
pub RootBusCount: u32,
pub RootBuses: [u32; 8],
}
impl ::core::marker::Copy for WHEA_AZCC_ROOT_BUS_LIST_EVENT {}
impl ::core::clone::Clone for WHEA_AZCC_ROOT_BUS_LIST_EVENT {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for WHEA_AZCC_ROOT_BUS_LIST_EVENT {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for WHEA_AZCC_ROOT_BUS_LIST_EVENT {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(1))]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub struct WHEA_AZCC_SET_POISON_EVENT {
pub WheaEventLogEntry: WHEA_EVENT_LOG_ENTRY,
pub Bus: u32,
pub ReadSuccess: super::super::super::Win32::Foundation::BOOLEAN,
pub WriteSuccess: super::super::super::Win32::Foundation::BOOLEAN,
pub IsEnable: super::super::super::Win32::Foundation::BOOLEAN,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for WHEA_AZCC_SET_POISON_EVENT {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for WHEA_AZCC_SET_POISON_EVENT {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for WHEA_AZCC_SET_POISON_EVENT {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for WHEA_AZCC_SET_POISON_EVENT {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub union WHEA_ERROR_INJECTION_CAPABILITIES {
pub Anonymous: WHEA_ERROR_INJECTION_CAPABILITIES_0,
pub AsULONG: u32,
}
impl ::core::marker::Copy for WHEA_ERROR_INJECTION_CAPABILITIES {}
impl ::core::clone::Clone for WHEA_ERROR_INJECTION_CAPABILITIES {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for WHEA_ERROR_INJECTION_CAPABILITIES {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for WHEA_ERROR_INJECTION_CAPABILITIES {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct WHEA_ERROR_INJECTION_CAPABILITIES_0 {
pub _bitfield: u32,
}
impl ::core::marker::Copy for WHEA_ERROR_INJECTION_CAPABILITIES_0 {}
impl ::core::clone::Clone for WHEA_ERROR_INJECTION_CAPABILITIES_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for WHEA_ERROR_INJECTION_CAPABILITIES_0 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("WHEA_ERROR_INJECTION_CAPABILITIES_0").field("_bitfield", &self._bitfield).finish()
}
}
impl ::windows_core::TypeKind for WHEA_ERROR_INJECTION_CAPABILITIES_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for WHEA_ERROR_INJECTION_CAPABILITIES_0 {
fn eq(&self, other: &Self) -> bool {
self._bitfield == other._bitfield
}
}
impl ::core::cmp::Eq for WHEA_ERROR_INJECTION_CAPABILITIES_0 {}
impl ::core::default::Default for WHEA_ERROR_INJECTION_CAPABILITIES_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(1))]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub union WHEA_ERROR_PACKET_FLAGS {
pub Anonymous: WHEA_ERROR_PACKET_FLAGS_0,
pub AsULONG: u32,
}
impl ::core::marker::Copy for WHEA_ERROR_PACKET_FLAGS {}
impl ::core::clone::Clone for WHEA_ERROR_PACKET_FLAGS {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for WHEA_ERROR_PACKET_FLAGS {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for WHEA_ERROR_PACKET_FLAGS {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(1))]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct WHEA_ERROR_PACKET_FLAGS_0 {
pub _bitfield: u32,
}
impl ::core::marker::Copy for WHEA_ERROR_PACKET_FLAGS_0 {}
impl ::core::clone::Clone for WHEA_ERROR_PACKET_FLAGS_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for WHEA_ERROR_PACKET_FLAGS_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for WHEA_ERROR_PACKET_FLAGS_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(1))]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_System_Diagnostics_Debug\"`*"]
#[cfg(feature = "Win32_System_Diagnostics_Debug")]
pub struct WHEA_ERROR_PACKET_V1 {
pub Signature: u32,
pub Flags: WHEA_ERROR_PACKET_FLAGS,
pub Size: u32,
pub RawDataLength: u32,
pub Reserved1: u64,
pub Context: u64,
pub ErrorType: WHEA_ERROR_TYPE,
pub ErrorSeverity: WHEA_ERROR_SEVERITY,
pub ErrorSourceId: u32,
pub ErrorSourceType: super::super::super::Win32::System::Diagnostics::Debug::WHEA_ERROR_SOURCE_TYPE,
pub Reserved2: u32,
pub Version: u32,
pub Cpu: u64,
pub u: WHEA_ERROR_PACKET_V1_0,
pub RawDataFormat: WHEA_RAW_DATA_FORMAT,
pub RawDataOffset: u32,
pub RawData: [u8; 1],
}
#[cfg(feature = "Win32_System_Diagnostics_Debug")]
impl ::core::marker::Copy for WHEA_ERROR_PACKET_V1 {}
#[cfg(feature = "Win32_System_Diagnostics_Debug")]
impl ::core::clone::Clone for WHEA_ERROR_PACKET_V1 {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_System_Diagnostics_Debug")]
impl ::windows_core::TypeKind for WHEA_ERROR_PACKET_V1 {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_System_Diagnostics_Debug")]
impl ::core::default::Default for WHEA_ERROR_PACKET_V1 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_System_Diagnostics_Debug\"`*"]
#[cfg(feature = "Win32_System_Diagnostics_Debug")]
pub union WHEA_ERROR_PACKET_V1_0 {
pub ProcessorError: WHEA_PROCESSOR_GENERIC_ERROR_SECTION,
pub MemoryError: WHEA_MEMORY_ERROR_SECTION,
pub NmiError: WHEA_NMI_ERROR_SECTION,
pub PciExpressError: WHEA_PCIEXPRESS_ERROR_SECTION,
pub PciXBusError: WHEA_PCIXBUS_ERROR_SECTION,
pub PciXDeviceError: WHEA_PCIXDEVICE_ERROR_SECTION,
pub PmemError: WHEA_PMEM_ERROR_SECTION,
}
#[cfg(feature = "Win32_System_Diagnostics_Debug")]
impl ::core::marker::Copy for WHEA_ERROR_PACKET_V1_0 {}
#[cfg(feature = "Win32_System_Diagnostics_Debug")]
impl ::core::clone::Clone for WHEA_ERROR_PACKET_V1_0 {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_System_Diagnostics_Debug")]
impl ::windows_core::TypeKind for WHEA_ERROR_PACKET_V1_0 {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_System_Diagnostics_Debug")]
impl ::core::default::Default for WHEA_ERROR_PACKET_V1_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(1))]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_System_Diagnostics_Debug\"`*"]
#[cfg(feature = "Win32_System_Diagnostics_Debug")]
pub struct WHEA_ERROR_PACKET_V2 {
pub Signature: u32,
pub Version: u32,
pub Length: u32,
pub Flags: WHEA_ERROR_PACKET_FLAGS,
pub ErrorType: WHEA_ERROR_TYPE,
pub ErrorSeverity: WHEA_ERROR_SEVERITY,
pub ErrorSourceId: u32,
pub ErrorSourceType: super::super::super::Win32::System::Diagnostics::Debug::WHEA_ERROR_SOURCE_TYPE,
pub NotifyType: ::windows_core::GUID,
pub Context: u64,
pub DataFormat: WHEA_ERROR_PACKET_DATA_FORMAT,
pub Reserved1: u32,
pub DataOffset: u32,
pub DataLength: u32,
pub PshedDataOffset: u32,
pub PshedDataLength: u32,
}
#[cfg(feature = "Win32_System_Diagnostics_Debug")]
impl ::core::marker::Copy for WHEA_ERROR_PACKET_V2 {}
#[cfg(feature = "Win32_System_Diagnostics_Debug")]
impl ::core::clone::Clone for WHEA_ERROR_PACKET_V2 {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_System_Diagnostics_Debug")]
impl ::windows_core::TypeKind for WHEA_ERROR_PACKET_V2 {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_System_Diagnostics_Debug")]
impl ::core::default::Default for WHEA_ERROR_PACKET_V2 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct WHEA_ERROR_RECORD {
pub Header: WHEA_ERROR_RECORD_HEADER,
pub SectionDescriptor: [WHEA_ERROR_RECORD_SECTION_DESCRIPTOR; 1],
}
impl ::core::marker::Copy for WHEA_ERROR_RECORD {}
impl ::core::clone::Clone for WHEA_ERROR_RECORD {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for WHEA_ERROR_RECORD {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for WHEA_ERROR_RECORD {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(1))]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct WHEA_ERROR_RECORD_HEADER {
pub Signature: u32,
pub Revision: WHEA_REVISION,
pub SignatureEnd: u32,
pub SectionCount: u16,
pub Severity: WHEA_ERROR_SEVERITY,
pub ValidBits: WHEA_ERROR_RECORD_HEADER_VALIDBITS,
pub Length: u32,
pub Timestamp: WHEA_TIMESTAMP,
pub PlatformId: ::windows_core::GUID,
pub PartitionId: ::windows_core::GUID,
pub CreatorId: ::windows_core::GUID,
pub NotifyType: ::windows_core::GUID,
pub RecordId: u64,
pub Flags: WHEA_ERROR_RECORD_HEADER_FLAGS,
pub PersistenceInfo: WHEA_PERSISTENCE_INFO,
pub Anonymous: WHEA_ERROR_RECORD_HEADER_0,
}
impl ::core::marker::Copy for WHEA_ERROR_RECORD_HEADER {}
impl ::core::clone::Clone for WHEA_ERROR_RECORD_HEADER {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for WHEA_ERROR_RECORD_HEADER {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for WHEA_ERROR_RECORD_HEADER {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub union WHEA_ERROR_RECORD_HEADER_0 {
pub Anonymous: WHEA_ERROR_RECORD_HEADER_0_0,
pub Reserved: [u8; 12],
}
impl ::core::marker::Copy for WHEA_ERROR_RECORD_HEADER_0 {}
impl ::core::clone::Clone for WHEA_ERROR_RECORD_HEADER_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for WHEA_ERROR_RECORD_HEADER_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for WHEA_ERROR_RECORD_HEADER_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(1))]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct WHEA_ERROR_RECORD_HEADER_0_0 {
pub OsBuildNumber: u32,
pub Reserved2: [u8; 8],
}
impl ::core::marker::Copy for WHEA_ERROR_RECORD_HEADER_0_0 {}
impl ::core::clone::Clone for WHEA_ERROR_RECORD_HEADER_0_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for WHEA_ERROR_RECORD_HEADER_0_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for WHEA_ERROR_RECORD_HEADER_0_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(1))]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub union WHEA_ERROR_RECORD_HEADER_FLAGS {
pub Anonymous: WHEA_ERROR_RECORD_HEADER_FLAGS_0,
pub AsULONG: u32,
}
impl ::core::marker::Copy for WHEA_ERROR_RECORD_HEADER_FLAGS {}
impl ::core::clone::Clone for WHEA_ERROR_RECORD_HEADER_FLAGS {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for WHEA_ERROR_RECORD_HEADER_FLAGS {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for WHEA_ERROR_RECORD_HEADER_FLAGS {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(1))]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct WHEA_ERROR_RECORD_HEADER_FLAGS_0 {
pub _bitfield: u32,
}
impl ::core::marker::Copy for WHEA_ERROR_RECORD_HEADER_FLAGS_0 {}
impl ::core::clone::Clone for WHEA_ERROR_RECORD_HEADER_FLAGS_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for WHEA_ERROR_RECORD_HEADER_FLAGS_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for WHEA_ERROR_RECORD_HEADER_FLAGS_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(1))]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub union WHEA_ERROR_RECORD_HEADER_VALIDBITS {
pub Anonymous: WHEA_ERROR_RECORD_HEADER_VALIDBITS_0,
pub AsULONG: u32,
}
impl ::core::marker::Copy for WHEA_ERROR_RECORD_HEADER_VALIDBITS {}
impl ::core::clone::Clone for WHEA_ERROR_RECORD_HEADER_VALIDBITS {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for WHEA_ERROR_RECORD_HEADER_VALIDBITS {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for WHEA_ERROR_RECORD_HEADER_VALIDBITS {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(1))]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct WHEA_ERROR_RECORD_HEADER_VALIDBITS_0 {
pub _bitfield: u32,
}
impl ::core::marker::Copy for WHEA_ERROR_RECORD_HEADER_VALIDBITS_0 {}
impl ::core::clone::Clone for WHEA_ERROR_RECORD_HEADER_VALIDBITS_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for WHEA_ERROR_RECORD_HEADER_VALIDBITS_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for WHEA_ERROR_RECORD_HEADER_VALIDBITS_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(1))]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct WHEA_ERROR_RECORD_SECTION_DESCRIPTOR {
pub SectionOffset: u32,
pub SectionLength: u32,
pub Revision: WHEA_REVISION,
pub ValidBits: WHEA_ERROR_RECORD_SECTION_DESCRIPTOR_VALIDBITS,
pub Reserved: u8,
pub Flags: WHEA_ERROR_RECORD_SECTION_DESCRIPTOR_FLAGS,
pub SectionType: ::windows_core::GUID,
pub FRUId: ::windows_core::GUID,
pub SectionSeverity: WHEA_ERROR_SEVERITY,
pub FRUText: [i8; 20],
}
impl ::core::marker::Copy for WHEA_ERROR_RECORD_SECTION_DESCRIPTOR {}
impl ::core::clone::Clone for WHEA_ERROR_RECORD_SECTION_DESCRIPTOR {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for WHEA_ERROR_RECORD_SECTION_DESCRIPTOR {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for WHEA_ERROR_RECORD_SECTION_DESCRIPTOR {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(1))]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub union WHEA_ERROR_RECORD_SECTION_DESCRIPTOR_FLAGS {
pub Anonymous: WHEA_ERROR_RECORD_SECTION_DESCRIPTOR_FLAGS_0,
pub AsULONG: u32,
}
impl ::core::marker::Copy for WHEA_ERROR_RECORD_SECTION_DESCRIPTOR_FLAGS {}
impl ::core::clone::Clone for WHEA_ERROR_RECORD_SECTION_DESCRIPTOR_FLAGS {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for WHEA_ERROR_RECORD_SECTION_DESCRIPTOR_FLAGS {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for WHEA_ERROR_RECORD_SECTION_DESCRIPTOR_FLAGS {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(1))]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct WHEA_ERROR_RECORD_SECTION_DESCRIPTOR_FLAGS_0 {
pub _bitfield: u32,
}
impl ::core::marker::Copy for WHEA_ERROR_RECORD_SECTION_DESCRIPTOR_FLAGS_0 {}
impl ::core::clone::Clone for WHEA_ERROR_RECORD_SECTION_DESCRIPTOR_FLAGS_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for WHEA_ERROR_RECORD_SECTION_DESCRIPTOR_FLAGS_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for WHEA_ERROR_RECORD_SECTION_DESCRIPTOR_FLAGS_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub union WHEA_ERROR_RECORD_SECTION_DESCRIPTOR_VALIDBITS {
pub Anonymous: WHEA_ERROR_RECORD_SECTION_DESCRIPTOR_VALIDBITS_0,
pub AsUCHAR: u8,
}
impl ::core::marker::Copy for WHEA_ERROR_RECORD_SECTION_DESCRIPTOR_VALIDBITS {}
impl ::core::clone::Clone for WHEA_ERROR_RECORD_SECTION_DESCRIPTOR_VALIDBITS {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for WHEA_ERROR_RECORD_SECTION_DESCRIPTOR_VALIDBITS {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for WHEA_ERROR_RECORD_SECTION_DESCRIPTOR_VALIDBITS {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct WHEA_ERROR_RECORD_SECTION_DESCRIPTOR_VALIDBITS_0 {
pub _bitfield: u8,
}
impl ::core::marker::Copy for WHEA_ERROR_RECORD_SECTION_DESCRIPTOR_VALIDBITS_0 {}
impl ::core::clone::Clone for WHEA_ERROR_RECORD_SECTION_DESCRIPTOR_VALIDBITS_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for WHEA_ERROR_RECORD_SECTION_DESCRIPTOR_VALIDBITS_0 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("WHEA_ERROR_RECORD_SECTION_DESCRIPTOR_VALIDBITS_0").field("_bitfield", &self._bitfield).finish()
}
}
impl ::windows_core::TypeKind for WHEA_ERROR_RECORD_SECTION_DESCRIPTOR_VALIDBITS_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for WHEA_ERROR_RECORD_SECTION_DESCRIPTOR_VALIDBITS_0 {
fn eq(&self, other: &Self) -> bool {
self._bitfield == other._bitfield
}
}
impl ::core::cmp::Eq for WHEA_ERROR_RECORD_SECTION_DESCRIPTOR_VALIDBITS_0 {}
impl ::core::default::Default for WHEA_ERROR_RECORD_SECTION_DESCRIPTOR_VALIDBITS_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(1))]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub struct WHEA_ERROR_RECOVERY_INFO_SECTION {
pub RecoveryKernel: super::super::super::Win32::Foundation::BOOLEAN,
pub RecoveryAction: WHEA_RECOVERY_ACTION,
pub RecoveryType: WHEA_RECOVERY_TYPE,
pub Irql: u8,
pub RecoverySucceeded: super::super::super::Win32::Foundation::BOOLEAN,
pub FailureReason: WHEA_RECOVERY_FAILURE_REASON,
pub ProcessName: [i8; 20],
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for WHEA_ERROR_RECOVERY_INFO_SECTION {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for WHEA_ERROR_RECOVERY_INFO_SECTION {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for WHEA_ERROR_RECOVERY_INFO_SECTION {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for WHEA_ERROR_RECOVERY_INFO_SECTION {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub struct WHEA_ERROR_SOURCE_CONFIGURATION {
pub Flags: u32,
pub Correct: WHEA_ERROR_SOURCE_CORRECT,
pub Initialize: WHEA_ERROR_SOURCE_INITIALIZE,
pub CreateRecord: WHEA_ERROR_SOURCE_CREATE_RECORD,
pub Recover: WHEA_ERROR_SOURCE_RECOVER,
pub Uninitialize: WHEA_ERROR_SOURCE_UNINITIALIZE,
pub Reserved: *mut ::core::ffi::c_void,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for WHEA_ERROR_SOURCE_CONFIGURATION {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for WHEA_ERROR_SOURCE_CONFIGURATION {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::fmt::Debug for WHEA_ERROR_SOURCE_CONFIGURATION {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("WHEA_ERROR_SOURCE_CONFIGURATION").field("Flags", &self.Flags).field("Reserved", &self.Reserved).finish()
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for WHEA_ERROR_SOURCE_CONFIGURATION {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for WHEA_ERROR_SOURCE_CONFIGURATION {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_System_Diagnostics_Debug\"`*"]
#[cfg(feature = "Win32_System_Diagnostics_Debug")]
pub struct WHEA_ERROR_SOURCE_OVERRIDE_SETTINGS {
pub Type: super::super::super::Win32::System::Diagnostics::Debug::WHEA_ERROR_SOURCE_TYPE,
pub MaxRawDataLength: u32,
pub NumRecordsToPreallocate: u32,
pub MaxSectionsPerRecord: u32,
}
#[cfg(feature = "Win32_System_Diagnostics_Debug")]
impl ::core::marker::Copy for WHEA_ERROR_SOURCE_OVERRIDE_SETTINGS {}
#[cfg(feature = "Win32_System_Diagnostics_Debug")]
impl ::core::clone::Clone for WHEA_ERROR_SOURCE_OVERRIDE_SETTINGS {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_System_Diagnostics_Debug")]
impl ::core::fmt::Debug for WHEA_ERROR_SOURCE_OVERRIDE_SETTINGS {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("WHEA_ERROR_SOURCE_OVERRIDE_SETTINGS").field("Type", &self.Type).field("MaxRawDataLength", &self.MaxRawDataLength).field("NumRecordsToPreallocate", &self.NumRecordsToPreallocate).field("MaxSectionsPerRecord", &self.MaxSectionsPerRecord).finish()
}
}
#[cfg(feature = "Win32_System_Diagnostics_Debug")]
impl ::windows_core::TypeKind for WHEA_ERROR_SOURCE_OVERRIDE_SETTINGS {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_System_Diagnostics_Debug")]
impl ::core::cmp::PartialEq for WHEA_ERROR_SOURCE_OVERRIDE_SETTINGS {
fn eq(&self, other: &Self) -> bool {
self.Type == other.Type && self.MaxRawDataLength == other.MaxRawDataLength && self.NumRecordsToPreallocate == other.NumRecordsToPreallocate && self.MaxSectionsPerRecord == other.MaxSectionsPerRecord
}
}
#[cfg(feature = "Win32_System_Diagnostics_Debug")]
impl ::core::cmp::Eq for WHEA_ERROR_SOURCE_OVERRIDE_SETTINGS {}
#[cfg(feature = "Win32_System_Diagnostics_Debug")]
impl ::core::default::Default for WHEA_ERROR_SOURCE_OVERRIDE_SETTINGS {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(1))]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub union WHEA_ERROR_STATUS {
pub ErrorStatus: u64,
pub Anonymous: WHEA_ERROR_STATUS_0,
}
impl ::core::marker::Copy for WHEA_ERROR_STATUS {}
impl ::core::clone::Clone for WHEA_ERROR_STATUS {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for WHEA_ERROR_STATUS {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for WHEA_ERROR_STATUS {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(1))]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct WHEA_ERROR_STATUS_0 {
pub _bitfield: u64,
}
impl ::core::marker::Copy for WHEA_ERROR_STATUS_0 {}
impl ::core::clone::Clone for WHEA_ERROR_STATUS_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for WHEA_ERROR_STATUS_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for WHEA_ERROR_STATUS_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(1))]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct WHEA_ETW_OVERFLOW_EVENT {
pub WheaEventLogEntry: WHEA_EVENT_LOG_ENTRY,
pub RecordId: u64,
}
impl ::core::marker::Copy for WHEA_ETW_OVERFLOW_EVENT {}
impl ::core::clone::Clone for WHEA_ETW_OVERFLOW_EVENT {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for WHEA_ETW_OVERFLOW_EVENT {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for WHEA_ETW_OVERFLOW_EVENT {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct WHEA_EVENT_LOG_ENTRY {
pub Header: WHEA_EVENT_LOG_ENTRY_HEADER,
}
impl ::core::marker::Copy for WHEA_EVENT_LOG_ENTRY {}
impl ::core::clone::Clone for WHEA_EVENT_LOG_ENTRY {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for WHEA_EVENT_LOG_ENTRY {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for WHEA_EVENT_LOG_ENTRY {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(1))]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub union WHEA_EVENT_LOG_ENTRY_FLAGS {
pub Anonymous: WHEA_EVENT_LOG_ENTRY_FLAGS_0,
pub AsULONG: u32,
}
impl ::core::marker::Copy for WHEA_EVENT_LOG_ENTRY_FLAGS {}
impl ::core::clone::Clone for WHEA_EVENT_LOG_ENTRY_FLAGS {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for WHEA_EVENT_LOG_ENTRY_FLAGS {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for WHEA_EVENT_LOG_ENTRY_FLAGS {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(1))]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct WHEA_EVENT_LOG_ENTRY_FLAGS_0 {
pub _bitfield: u32,
}
impl ::core::marker::Copy for WHEA_EVENT_LOG_ENTRY_FLAGS_0 {}
impl ::core::clone::Clone for WHEA_EVENT_LOG_ENTRY_FLAGS_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for WHEA_EVENT_LOG_ENTRY_FLAGS_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for WHEA_EVENT_LOG_ENTRY_FLAGS_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(1))]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct WHEA_EVENT_LOG_ENTRY_HEADER {
pub Signature: u32,
pub Version: u32,
pub Length: u32,
pub Type: WHEA_EVENT_LOG_ENTRY_TYPE,
pub OwnerTag: u32,
pub Id: WHEA_EVENT_LOG_ENTRY_ID,
pub Flags: WHEA_EVENT_LOG_ENTRY_FLAGS,
pub PayloadLength: u32,
}
impl ::core::marker::Copy for WHEA_EVENT_LOG_ENTRY_HEADER {}
impl ::core::clone::Clone for WHEA_EVENT_LOG_ENTRY_HEADER {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for WHEA_EVENT_LOG_ENTRY_HEADER {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for WHEA_EVENT_LOG_ENTRY_HEADER {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct WHEA_FAILED_ADD_DEFECT_LIST_EVENT {
pub WheaEventLogEntry: WHEA_EVENT_LOG_ENTRY,
}
impl ::core::marker::Copy for WHEA_FAILED_ADD_DEFECT_LIST_EVENT {}
impl ::core::clone::Clone for WHEA_FAILED_ADD_DEFECT_LIST_EVENT {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for WHEA_FAILED_ADD_DEFECT_LIST_EVENT {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for WHEA_FAILED_ADD_DEFECT_LIST_EVENT {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(1))]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct WHEA_FIRMWARE_ERROR_RECORD_REFERENCE {
pub Type: u8,
pub Reserved: [u8; 7],
pub FirmwareRecordId: u64,
}
impl ::core::marker::Copy for WHEA_FIRMWARE_ERROR_RECORD_REFERENCE {}
impl ::core::clone::Clone for WHEA_FIRMWARE_ERROR_RECORD_REFERENCE {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for WHEA_FIRMWARE_ERROR_RECORD_REFERENCE {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for WHEA_FIRMWARE_ERROR_RECORD_REFERENCE {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(1))]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct WHEA_GENERIC_ERROR {
pub BlockStatus: WHEA_GENERIC_ERROR_BLOCKSTATUS,
pub RawDataOffset: u32,
pub RawDataLength: u32,
pub DataLength: u32,
pub ErrorSeverity: WHEA_ERROR_SEVERITY,
pub Data: [u8; 1],
}
impl ::core::marker::Copy for WHEA_GENERIC_ERROR {}
impl ::core::clone::Clone for WHEA_GENERIC_ERROR {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for WHEA_GENERIC_ERROR {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for WHEA_GENERIC_ERROR {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(1))]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub union WHEA_GENERIC_ERROR_BLOCKSTATUS {
pub Anonymous: WHEA_GENERIC_ERROR_BLOCKSTATUS_0,
pub AsULONG: u32,
}
impl ::core::marker::Copy for WHEA_GENERIC_ERROR_BLOCKSTATUS {}
impl ::core::clone::Clone for WHEA_GENERIC_ERROR_BLOCKSTATUS {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for WHEA_GENERIC_ERROR_BLOCKSTATUS {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for WHEA_GENERIC_ERROR_BLOCKSTATUS {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(1))]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct WHEA_GENERIC_ERROR_BLOCKSTATUS_0 {
pub _bitfield: u32,
}
impl ::core::marker::Copy for WHEA_GENERIC_ERROR_BLOCKSTATUS_0 {}
impl ::core::clone::Clone for WHEA_GENERIC_ERROR_BLOCKSTATUS_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for WHEA_GENERIC_ERROR_BLOCKSTATUS_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for WHEA_GENERIC_ERROR_BLOCKSTATUS_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(1))]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct WHEA_GENERIC_ERROR_DATA_ENTRY_V1 {
pub SectionType: ::windows_core::GUID,
pub ErrorSeverity: WHEA_ERROR_SEVERITY,
pub Revision: WHEA_REVISION,
pub ValidBits: u8,
pub Flags: u8,
pub ErrorDataLength: u32,
pub FRUId: ::windows_core::GUID,
pub FRUText: [u8; 20],
pub Data: [u8; 1],
}
impl ::core::marker::Copy for WHEA_GENERIC_ERROR_DATA_ENTRY_V1 {}
impl ::core::clone::Clone for WHEA_GENERIC_ERROR_DATA_ENTRY_V1 {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for WHEA_GENERIC_ERROR_DATA_ENTRY_V1 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for WHEA_GENERIC_ERROR_DATA_ENTRY_V1 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(1))]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct WHEA_GENERIC_ERROR_DATA_ENTRY_V2 {
pub SectionType: ::windows_core::GUID,
pub ErrorSeverity: WHEA_ERROR_SEVERITY,
pub Revision: WHEA_REVISION,
pub ValidBits: u8,
pub Flags: u8,
pub ErrorDataLength: u32,
pub FRUId: ::windows_core::GUID,
pub FRUText: [u8; 20],
pub Timestamp: WHEA_TIMESTAMP,
pub Data: [u8; 1],
}
impl ::core::marker::Copy for WHEA_GENERIC_ERROR_DATA_ENTRY_V2 {}
impl ::core::clone::Clone for WHEA_GENERIC_ERROR_DATA_ENTRY_V2 {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for WHEA_GENERIC_ERROR_DATA_ENTRY_V2 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for WHEA_GENERIC_ERROR_DATA_ENTRY_V2 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub union WHEA_IN_USE_PAGE_NOTIFY_FLAGS {
pub Bits: WHEA_IN_USE_PAGE_NOTIFY_FLAGS_0,
pub AsUCHAR: u8,
}
impl ::core::marker::Copy for WHEA_IN_USE_PAGE_NOTIFY_FLAGS {}
impl ::core::clone::Clone for WHEA_IN_USE_PAGE_NOTIFY_FLAGS {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for WHEA_IN_USE_PAGE_NOTIFY_FLAGS {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for WHEA_IN_USE_PAGE_NOTIFY_FLAGS {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct WHEA_IN_USE_PAGE_NOTIFY_FLAGS_0 {
pub _bitfield: u8,
}
impl ::core::marker::Copy for WHEA_IN_USE_PAGE_NOTIFY_FLAGS_0 {}
impl ::core::clone::Clone for WHEA_IN_USE_PAGE_NOTIFY_FLAGS_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for WHEA_IN_USE_PAGE_NOTIFY_FLAGS_0 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("WHEA_IN_USE_PAGE_NOTIFY_FLAGS_0").field("_bitfield", &self._bitfield).finish()
}
}
impl ::windows_core::TypeKind for WHEA_IN_USE_PAGE_NOTIFY_FLAGS_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for WHEA_IN_USE_PAGE_NOTIFY_FLAGS_0 {
fn eq(&self, other: &Self) -> bool {
self._bitfield == other._bitfield
}
}
impl ::core::cmp::Eq for WHEA_IN_USE_PAGE_NOTIFY_FLAGS_0 {}
impl ::core::default::Default for WHEA_IN_USE_PAGE_NOTIFY_FLAGS_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(1))]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct WHEA_MEMORY_CORRECTABLE_ERROR_DATA {
pub ValidBits: WHEA_MEMORY_CORRECTABLE_ERROR_SECTION_VALIDBITS,
pub SocketId: u32,
pub ChannelId: u32,
pub DimmSlot: u32,
pub CorrectableErrorCount: u32,
}
impl ::core::marker::Copy for WHEA_MEMORY_CORRECTABLE_ERROR_DATA {}
impl ::core::clone::Clone for WHEA_MEMORY_CORRECTABLE_ERROR_DATA {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for WHEA_MEMORY_CORRECTABLE_ERROR_DATA {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for WHEA_MEMORY_CORRECTABLE_ERROR_DATA {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(1))]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct WHEA_MEMORY_CORRECTABLE_ERROR_HEADER {
pub Version: u16,
pub Count: u16,
}
impl ::core::marker::Copy for WHEA_MEMORY_CORRECTABLE_ERROR_HEADER {}
impl ::core::clone::Clone for WHEA_MEMORY_CORRECTABLE_ERROR_HEADER {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for WHEA_MEMORY_CORRECTABLE_ERROR_HEADER {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for WHEA_MEMORY_CORRECTABLE_ERROR_HEADER {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct WHEA_MEMORY_CORRECTABLE_ERROR_SECTION {
pub Header: WHEA_MEMORY_CORRECTABLE_ERROR_HEADER,
pub Data: [WHEA_MEMORY_CORRECTABLE_ERROR_DATA; 1],
}
impl ::core::marker::Copy for WHEA_MEMORY_CORRECTABLE_ERROR_SECTION {}
impl ::core::clone::Clone for WHEA_MEMORY_CORRECTABLE_ERROR_SECTION {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for WHEA_MEMORY_CORRECTABLE_ERROR_SECTION {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for WHEA_MEMORY_CORRECTABLE_ERROR_SECTION {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(1))]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub union WHEA_MEMORY_CORRECTABLE_ERROR_SECTION_VALIDBITS {
pub Anonymous: WHEA_MEMORY_CORRECTABLE_ERROR_SECTION_VALIDBITS_0,
pub ValidBits: u64,
}
impl ::core::marker::Copy for WHEA_MEMORY_CORRECTABLE_ERROR_SECTION_VALIDBITS {}
impl ::core::clone::Clone for WHEA_MEMORY_CORRECTABLE_ERROR_SECTION_VALIDBITS {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for WHEA_MEMORY_CORRECTABLE_ERROR_SECTION_VALIDBITS {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for WHEA_MEMORY_CORRECTABLE_ERROR_SECTION_VALIDBITS {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(1))]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct WHEA_MEMORY_CORRECTABLE_ERROR_SECTION_VALIDBITS_0 {
pub _bitfield: u64,
}
impl ::core::marker::Copy for WHEA_MEMORY_CORRECTABLE_ERROR_SECTION_VALIDBITS_0 {}
impl ::core::clone::Clone for WHEA_MEMORY_CORRECTABLE_ERROR_SECTION_VALIDBITS_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for WHEA_MEMORY_CORRECTABLE_ERROR_SECTION_VALIDBITS_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for WHEA_MEMORY_CORRECTABLE_ERROR_SECTION_VALIDBITS_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(1))]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct WHEA_MEMORY_ERROR_SECTION {
pub ValidBits: WHEA_MEMORY_ERROR_SECTION_VALIDBITS,
pub ErrorStatus: WHEA_ERROR_STATUS,
pub PhysicalAddress: u64,
pub PhysicalAddressMask: u64,
pub Node: u16,
pub Card: u16,
pub Module: u16,
pub Bank: u16,
pub Device: u16,
pub Row: u16,
pub Column: u16,
pub BitPosition: u16,
pub RequesterId: u64,
pub ResponderId: u64,
pub TargetId: u64,
pub ErrorType: u8,
pub Extended: u8,
pub RankNumber: u16,
pub CardHandle: u16,
pub ModuleHandle: u16,
}
impl ::core::marker::Copy for WHEA_MEMORY_ERROR_SECTION {}
impl ::core::clone::Clone for WHEA_MEMORY_ERROR_SECTION {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for WHEA_MEMORY_ERROR_SECTION {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for WHEA_MEMORY_ERROR_SECTION {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(1))]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub union WHEA_MEMORY_ERROR_SECTION_VALIDBITS {
pub Anonymous: WHEA_MEMORY_ERROR_SECTION_VALIDBITS_0,
pub ValidBits: u64,
}
impl ::core::marker::Copy for WHEA_MEMORY_ERROR_SECTION_VALIDBITS {}
impl ::core::clone::Clone for WHEA_MEMORY_ERROR_SECTION_VALIDBITS {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for WHEA_MEMORY_ERROR_SECTION_VALIDBITS {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for WHEA_MEMORY_ERROR_SECTION_VALIDBITS {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(1))]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct WHEA_MEMORY_ERROR_SECTION_VALIDBITS_0 {
pub _bitfield: u64,
}
impl ::core::marker::Copy for WHEA_MEMORY_ERROR_SECTION_VALIDBITS_0 {}
impl ::core::clone::Clone for WHEA_MEMORY_ERROR_SECTION_VALIDBITS_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for WHEA_MEMORY_ERROR_SECTION_VALIDBITS_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for WHEA_MEMORY_ERROR_SECTION_VALIDBITS_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(1))]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub struct WHEA_MEMORY_THROTTLE_SUMMARY_FAILED_EVENT {
pub WheaEventLogEntry: WHEA_EVENT_LOG_ENTRY,
pub Status: super::super::super::Win32::Foundation::NTSTATUS,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for WHEA_MEMORY_THROTTLE_SUMMARY_FAILED_EVENT {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for WHEA_MEMORY_THROTTLE_SUMMARY_FAILED_EVENT {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for WHEA_MEMORY_THROTTLE_SUMMARY_FAILED_EVENT {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for WHEA_MEMORY_THROTTLE_SUMMARY_FAILED_EVENT {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(1))]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct WHEA_MSR_DUMP_SECTION {
pub MsrDumpBuffer: u8,
pub MsrDumpLength: u32,
pub MsrDumpData: [u8; 1],
}
impl ::core::marker::Copy for WHEA_MSR_DUMP_SECTION {}
impl ::core::clone::Clone for WHEA_MSR_DUMP_SECTION {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for WHEA_MSR_DUMP_SECTION {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for WHEA_MSR_DUMP_SECTION {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct WHEA_NMI_ERROR_SECTION {
pub Data: [u8; 8],
pub Flags: WHEA_NMI_ERROR_SECTION_FLAGS,
}
impl ::core::marker::Copy for WHEA_NMI_ERROR_SECTION {}
impl ::core::clone::Clone for WHEA_NMI_ERROR_SECTION {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for WHEA_NMI_ERROR_SECTION {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for WHEA_NMI_ERROR_SECTION {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(1))]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub union WHEA_NMI_ERROR_SECTION_FLAGS {
pub Anonymous: WHEA_NMI_ERROR_SECTION_FLAGS_0,
pub AsULONG: u32,
}
impl ::core::marker::Copy for WHEA_NMI_ERROR_SECTION_FLAGS {}
impl ::core::clone::Clone for WHEA_NMI_ERROR_SECTION_FLAGS {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for WHEA_NMI_ERROR_SECTION_FLAGS {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for WHEA_NMI_ERROR_SECTION_FLAGS {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(1))]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct WHEA_NMI_ERROR_SECTION_FLAGS_0 {
pub _bitfield: u32,
}
impl ::core::marker::Copy for WHEA_NMI_ERROR_SECTION_FLAGS_0 {}
impl ::core::clone::Clone for WHEA_NMI_ERROR_SECTION_FLAGS_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for WHEA_NMI_ERROR_SECTION_FLAGS_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for WHEA_NMI_ERROR_SECTION_FLAGS_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(1))]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct WHEA_OFFLINE_DONE_EVENT {
pub WheaEventLogEntry: WHEA_EVENT_LOG_ENTRY,
pub Address: u64,
}
impl ::core::marker::Copy for WHEA_OFFLINE_DONE_EVENT {}
impl ::core::clone::Clone for WHEA_OFFLINE_DONE_EVENT {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for WHEA_OFFLINE_DONE_EVENT {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for WHEA_OFFLINE_DONE_EVENT {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct WHEA_PACKET_LOG_DATA {
pub LogData: [u8; 36],
pub ExtraBytes: [u8; 36],
pub BcParam3: usize,
pub BcParam4: usize,
pub LogDataLength: u32,
pub LogTag: u16,
pub Reserved: u16,
pub Flags: WHEA_REPORT_HW_ERROR_DEVICE_DRIVER_FLAGS,
}
impl ::core::marker::Copy for WHEA_PACKET_LOG_DATA {}
impl ::core::clone::Clone for WHEA_PACKET_LOG_DATA {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for WHEA_PACKET_LOG_DATA {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for WHEA_PACKET_LOG_DATA {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(1))]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub union WHEA_PCIEXPRESS_BRIDGE_CONTROL_STATUS {
pub Anonymous: WHEA_PCIEXPRESS_BRIDGE_CONTROL_STATUS_0,
pub AsULONG: u32,
}
impl ::core::marker::Copy for WHEA_PCIEXPRESS_BRIDGE_CONTROL_STATUS {}
impl ::core::clone::Clone for WHEA_PCIEXPRESS_BRIDGE_CONTROL_STATUS {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for WHEA_PCIEXPRESS_BRIDGE_CONTROL_STATUS {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for WHEA_PCIEXPRESS_BRIDGE_CONTROL_STATUS {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(1))]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct WHEA_PCIEXPRESS_BRIDGE_CONTROL_STATUS_0 {
pub BridgeSecondaryStatus: u16,
pub BridgeControl: u16,
}
impl ::core::marker::Copy for WHEA_PCIEXPRESS_BRIDGE_CONTROL_STATUS_0 {}
impl ::core::clone::Clone for WHEA_PCIEXPRESS_BRIDGE_CONTROL_STATUS_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for WHEA_PCIEXPRESS_BRIDGE_CONTROL_STATUS_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for WHEA_PCIEXPRESS_BRIDGE_CONTROL_STATUS_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(1))]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub union WHEA_PCIEXPRESS_COMMAND_STATUS {
pub Anonymous: WHEA_PCIEXPRESS_COMMAND_STATUS_0,
pub AsULONG: u32,
}
impl ::core::marker::Copy for WHEA_PCIEXPRESS_COMMAND_STATUS {}
impl ::core::clone::Clone for WHEA_PCIEXPRESS_COMMAND_STATUS {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for WHEA_PCIEXPRESS_COMMAND_STATUS {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for WHEA_PCIEXPRESS_COMMAND_STATUS {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(1))]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct WHEA_PCIEXPRESS_COMMAND_STATUS_0 {
pub Command: u16,
pub Status: u16,
}
impl ::core::marker::Copy for WHEA_PCIEXPRESS_COMMAND_STATUS_0 {}
impl ::core::clone::Clone for WHEA_PCIEXPRESS_COMMAND_STATUS_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for WHEA_PCIEXPRESS_COMMAND_STATUS_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for WHEA_PCIEXPRESS_COMMAND_STATUS_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(1))]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct WHEA_PCIEXPRESS_DEVICE_ID {
pub VendorID: u16,
pub DeviceID: u16,
pub _bitfield1: u32,
pub _bitfield2: u32,
pub _bitfield3: u32,
}
impl ::core::marker::Copy for WHEA_PCIEXPRESS_DEVICE_ID {}
impl ::core::clone::Clone for WHEA_PCIEXPRESS_DEVICE_ID {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for WHEA_PCIEXPRESS_DEVICE_ID {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for WHEA_PCIEXPRESS_DEVICE_ID {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(1))]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct WHEA_PCIEXPRESS_ERROR_SECTION {
pub ValidBits: WHEA_PCIEXPRESS_ERROR_SECTION_VALIDBITS,
pub PortType: WHEA_PCIEXPRESS_DEVICE_TYPE,
pub Version: WHEA_PCIEXPRESS_VERSION,
pub CommandStatus: WHEA_PCIEXPRESS_COMMAND_STATUS,
pub Reserved: u32,
pub DeviceId: WHEA_PCIEXPRESS_DEVICE_ID,
pub DeviceSerialNumber: u64,
pub BridgeControlStatus: WHEA_PCIEXPRESS_BRIDGE_CONTROL_STATUS,
pub ExpressCapability: [u8; 60],
pub AerInfo: [u8; 96],
}
impl ::core::marker::Copy for WHEA_PCIEXPRESS_ERROR_SECTION {}
impl ::core::clone::Clone for WHEA_PCIEXPRESS_ERROR_SECTION {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for WHEA_PCIEXPRESS_ERROR_SECTION {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for WHEA_PCIEXPRESS_ERROR_SECTION {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(1))]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub union WHEA_PCIEXPRESS_ERROR_SECTION_VALIDBITS {
pub Anonymous: WHEA_PCIEXPRESS_ERROR_SECTION_VALIDBITS_0,
pub ValidBits: u64,
}
impl ::core::marker::Copy for WHEA_PCIEXPRESS_ERROR_SECTION_VALIDBITS {}
impl ::core::clone::Clone for WHEA_PCIEXPRESS_ERROR_SECTION_VALIDBITS {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for WHEA_PCIEXPRESS_ERROR_SECTION_VALIDBITS {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for WHEA_PCIEXPRESS_ERROR_SECTION_VALIDBITS {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(1))]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct WHEA_PCIEXPRESS_ERROR_SECTION_VALIDBITS_0 {
pub _bitfield: u64,
}
impl ::core::marker::Copy for WHEA_PCIEXPRESS_ERROR_SECTION_VALIDBITS_0 {}
impl ::core::clone::Clone for WHEA_PCIEXPRESS_ERROR_SECTION_VALIDBITS_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for WHEA_PCIEXPRESS_ERROR_SECTION_VALIDBITS_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for WHEA_PCIEXPRESS_ERROR_SECTION_VALIDBITS_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(1))]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub union WHEA_PCIEXPRESS_VERSION {
pub Anonymous: WHEA_PCIEXPRESS_VERSION_0,
pub AsULONG: u32,
}
impl ::core::marker::Copy for WHEA_PCIEXPRESS_VERSION {}
impl ::core::clone::Clone for WHEA_PCIEXPRESS_VERSION {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for WHEA_PCIEXPRESS_VERSION {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for WHEA_PCIEXPRESS_VERSION {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(1))]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct WHEA_PCIEXPRESS_VERSION_0 {
pub MinorVersion: u8,
pub MajorVersion: u8,
pub Reserved: u16,
}
impl ::core::marker::Copy for WHEA_PCIEXPRESS_VERSION_0 {}
impl ::core::clone::Clone for WHEA_PCIEXPRESS_VERSION_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for WHEA_PCIEXPRESS_VERSION_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for WHEA_PCIEXPRESS_VERSION_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(1))]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct WHEA_PCIE_ADDRESS {
pub Segment: u32,
pub Bus: u32,
pub Device: u32,
pub Function: u32,
}
impl ::core::marker::Copy for WHEA_PCIE_ADDRESS {}
impl ::core::clone::Clone for WHEA_PCIE_ADDRESS {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for WHEA_PCIE_ADDRESS {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for WHEA_PCIE_ADDRESS {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(1))]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct WHEA_PCIE_CORRECTABLE_ERROR_DEVICES {
pub ValidBits: WHEA_PCIE_CORRECTABLE_ERROR_DEVICES_VALIDBITS,
pub Address: WHEA_PCIE_ADDRESS,
pub Mask: u32,
pub CorrectableErrorCount: [u32; 32],
}
impl ::core::marker::Copy for WHEA_PCIE_CORRECTABLE_ERROR_DEVICES {}
impl ::core::clone::Clone for WHEA_PCIE_CORRECTABLE_ERROR_DEVICES {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for WHEA_PCIE_CORRECTABLE_ERROR_DEVICES {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for WHEA_PCIE_CORRECTABLE_ERROR_DEVICES {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(1))]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub union WHEA_PCIE_CORRECTABLE_ERROR_DEVICES_VALIDBITS {
pub Anonymous: WHEA_PCIE_CORRECTABLE_ERROR_DEVICES_VALIDBITS_0,
pub ValidBits: u64,
}
impl ::core::marker::Copy for WHEA_PCIE_CORRECTABLE_ERROR_DEVICES_VALIDBITS {}
impl ::core::clone::Clone for WHEA_PCIE_CORRECTABLE_ERROR_DEVICES_VALIDBITS {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for WHEA_PCIE_CORRECTABLE_ERROR_DEVICES_VALIDBITS {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for WHEA_PCIE_CORRECTABLE_ERROR_DEVICES_VALIDBITS {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(1))]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct WHEA_PCIE_CORRECTABLE_ERROR_DEVICES_VALIDBITS_0 {
pub _bitfield: u64,
}
impl ::core::marker::Copy for WHEA_PCIE_CORRECTABLE_ERROR_DEVICES_VALIDBITS_0 {}
impl ::core::clone::Clone for WHEA_PCIE_CORRECTABLE_ERROR_DEVICES_VALIDBITS_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for WHEA_PCIE_CORRECTABLE_ERROR_DEVICES_VALIDBITS_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for WHEA_PCIE_CORRECTABLE_ERROR_DEVICES_VALIDBITS_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct WHEA_PCIE_CORRECTABLE_ERROR_SECTION {
pub Header: WHEA_PCIE_CORRECTABLE_ERROR_SECTION_HEADER,
pub Devices: [WHEA_PCIE_CORRECTABLE_ERROR_DEVICES; 1],
}
impl ::core::marker::Copy for WHEA_PCIE_CORRECTABLE_ERROR_SECTION {}
impl ::core::clone::Clone for WHEA_PCIE_CORRECTABLE_ERROR_SECTION {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for WHEA_PCIE_CORRECTABLE_ERROR_SECTION {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for WHEA_PCIE_CORRECTABLE_ERROR_SECTION {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(1))]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct WHEA_PCIE_CORRECTABLE_ERROR_SECTION_HEADER {
pub Version: u16,
pub Count: u16,
}
impl ::core::marker::Copy for WHEA_PCIE_CORRECTABLE_ERROR_SECTION_HEADER {}
impl ::core::clone::Clone for WHEA_PCIE_CORRECTABLE_ERROR_SECTION_HEADER {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for WHEA_PCIE_CORRECTABLE_ERROR_SECTION_HEADER {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for WHEA_PCIE_CORRECTABLE_ERROR_SECTION_HEADER {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(1))]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub union WHEA_PCIXBUS_COMMAND {
pub Anonymous: WHEA_PCIXBUS_COMMAND_0,
pub AsULONGLONG: u64,
}
impl ::core::marker::Copy for WHEA_PCIXBUS_COMMAND {}
impl ::core::clone::Clone for WHEA_PCIXBUS_COMMAND {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for WHEA_PCIXBUS_COMMAND {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for WHEA_PCIXBUS_COMMAND {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(1))]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct WHEA_PCIXBUS_COMMAND_0 {
pub _bitfield: u64,
}
impl ::core::marker::Copy for WHEA_PCIXBUS_COMMAND_0 {}
impl ::core::clone::Clone for WHEA_PCIXBUS_COMMAND_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for WHEA_PCIXBUS_COMMAND_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for WHEA_PCIXBUS_COMMAND_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(1))]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct WHEA_PCIXBUS_ERROR_SECTION {
pub ValidBits: WHEA_PCIXBUS_ERROR_SECTION_VALIDBITS,
pub ErrorStatus: WHEA_ERROR_STATUS,
pub ErrorType: u16,
pub BusId: WHEA_PCIXBUS_ID,
pub Reserved: u32,
pub BusAddress: u64,
pub BusData: u64,
pub BusCommand: WHEA_PCIXBUS_COMMAND,
pub RequesterId: u64,
pub CompleterId: u64,
pub TargetId: u64,
}
impl ::core::marker::Copy for WHEA_PCIXBUS_ERROR_SECTION {}
impl ::core::clone::Clone for WHEA_PCIXBUS_ERROR_SECTION {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for WHEA_PCIXBUS_ERROR_SECTION {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for WHEA_PCIXBUS_ERROR_SECTION {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(1))]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub union WHEA_PCIXBUS_ERROR_SECTION_VALIDBITS {
pub Anonymous: WHEA_PCIXBUS_ERROR_SECTION_VALIDBITS_0,
pub ValidBits: u64,
}
impl ::core::marker::Copy for WHEA_PCIXBUS_ERROR_SECTION_VALIDBITS {}
impl ::core::clone::Clone for WHEA_PCIXBUS_ERROR_SECTION_VALIDBITS {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for WHEA_PCIXBUS_ERROR_SECTION_VALIDBITS {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for WHEA_PCIXBUS_ERROR_SECTION_VALIDBITS {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(1))]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct WHEA_PCIXBUS_ERROR_SECTION_VALIDBITS_0 {
pub _bitfield: u64,
}
impl ::core::marker::Copy for WHEA_PCIXBUS_ERROR_SECTION_VALIDBITS_0 {}
impl ::core::clone::Clone for WHEA_PCIXBUS_ERROR_SECTION_VALIDBITS_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for WHEA_PCIXBUS_ERROR_SECTION_VALIDBITS_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for WHEA_PCIXBUS_ERROR_SECTION_VALIDBITS_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(1))]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub union WHEA_PCIXBUS_ID {
pub Anonymous: WHEA_PCIXBUS_ID_0,
pub AsUSHORT: u16,
}
impl ::core::marker::Copy for WHEA_PCIXBUS_ID {}
impl ::core::clone::Clone for WHEA_PCIXBUS_ID {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for WHEA_PCIXBUS_ID {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for WHEA_PCIXBUS_ID {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct WHEA_PCIXBUS_ID_0 {
pub BusNumber: u8,
pub BusSegment: u8,
}
impl ::core::marker::Copy for WHEA_PCIXBUS_ID_0 {}
impl ::core::clone::Clone for WHEA_PCIXBUS_ID_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for WHEA_PCIXBUS_ID_0 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("WHEA_PCIXBUS_ID_0").field("BusNumber", &self.BusNumber).field("BusSegment", &self.BusSegment).finish()
}
}
impl ::windows_core::TypeKind for WHEA_PCIXBUS_ID_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for WHEA_PCIXBUS_ID_0 {
fn eq(&self, other: &Self) -> bool {
self.BusNumber == other.BusNumber && self.BusSegment == other.BusSegment
}
}
impl ::core::cmp::Eq for WHEA_PCIXBUS_ID_0 {}
impl ::core::default::Default for WHEA_PCIXBUS_ID_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(1))]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct WHEA_PCIXDEVICE_ERROR_SECTION {
pub ValidBits: WHEA_PCIXDEVICE_ERROR_SECTION_VALIDBITS,
pub ErrorStatus: WHEA_ERROR_STATUS,
pub IdInfo: WHEA_PCIXDEVICE_ID,
pub MemoryNumber: u32,
pub IoNumber: u32,
pub RegisterDataPairs: [WHEA_PCIXDEVICE_REGISTER_PAIR; 1],
}
impl ::core::marker::Copy for WHEA_PCIXDEVICE_ERROR_SECTION {}
impl ::core::clone::Clone for WHEA_PCIXDEVICE_ERROR_SECTION {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for WHEA_PCIXDEVICE_ERROR_SECTION {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for WHEA_PCIXDEVICE_ERROR_SECTION {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(1))]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub union WHEA_PCIXDEVICE_ERROR_SECTION_VALIDBITS {
pub Anonymous: WHEA_PCIXDEVICE_ERROR_SECTION_VALIDBITS_0,
pub ValidBits: u64,
}
impl ::core::marker::Copy for WHEA_PCIXDEVICE_ERROR_SECTION_VALIDBITS {}
impl ::core::clone::Clone for WHEA_PCIXDEVICE_ERROR_SECTION_VALIDBITS {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for WHEA_PCIXDEVICE_ERROR_SECTION_VALIDBITS {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for WHEA_PCIXDEVICE_ERROR_SECTION_VALIDBITS {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(1))]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct WHEA_PCIXDEVICE_ERROR_SECTION_VALIDBITS_0 {
pub _bitfield: u64,
}
impl ::core::marker::Copy for WHEA_PCIXDEVICE_ERROR_SECTION_VALIDBITS_0 {}
impl ::core::clone::Clone for WHEA_PCIXDEVICE_ERROR_SECTION_VALIDBITS_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for WHEA_PCIXDEVICE_ERROR_SECTION_VALIDBITS_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for WHEA_PCIXDEVICE_ERROR_SECTION_VALIDBITS_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(1))]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct WHEA_PCIXDEVICE_ID {
pub VendorId: u16,
pub DeviceId: u16,
pub _bitfield1: u32,
pub _bitfield2: u32,
pub Reserved2: u32,
}
impl ::core::marker::Copy for WHEA_PCIXDEVICE_ID {}
impl ::core::clone::Clone for WHEA_PCIXDEVICE_ID {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for WHEA_PCIXDEVICE_ID {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for WHEA_PCIXDEVICE_ID {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(1))]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct WHEA_PCIXDEVICE_REGISTER_PAIR {
pub Register: u64,
pub Data: u64,
}
impl ::core::marker::Copy for WHEA_PCIXDEVICE_REGISTER_PAIR {}
impl ::core::clone::Clone for WHEA_PCIXDEVICE_REGISTER_PAIR {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for WHEA_PCIXDEVICE_REGISTER_PAIR {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for WHEA_PCIXDEVICE_REGISTER_PAIR {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub struct WHEA_PCI_RECOVERY_SECTION {
pub SignalType: u8,
pub RecoveryAttempted: super::super::super::Win32::Foundation::BOOLEAN,
pub RecoveryStatus: u8,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for WHEA_PCI_RECOVERY_SECTION {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for WHEA_PCI_RECOVERY_SECTION {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::fmt::Debug for WHEA_PCI_RECOVERY_SECTION {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("WHEA_PCI_RECOVERY_SECTION").field("SignalType", &self.SignalType).field("RecoveryAttempted", &self.RecoveryAttempted).field("RecoveryStatus", &self.RecoveryStatus).finish()
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for WHEA_PCI_RECOVERY_SECTION {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::PartialEq for WHEA_PCI_RECOVERY_SECTION {
fn eq(&self, other: &Self) -> bool {
self.SignalType == other.SignalType && self.RecoveryAttempted == other.RecoveryAttempted && self.RecoveryStatus == other.RecoveryStatus
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::Eq for WHEA_PCI_RECOVERY_SECTION {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for WHEA_PCI_RECOVERY_SECTION {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(1))]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub union WHEA_PERSISTENCE_INFO {
pub Anonymous: WHEA_PERSISTENCE_INFO_0,
pub AsULONGLONG: u64,
}
impl ::core::marker::Copy for WHEA_PERSISTENCE_INFO {}
impl ::core::clone::Clone for WHEA_PERSISTENCE_INFO {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for WHEA_PERSISTENCE_INFO {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for WHEA_PERSISTENCE_INFO {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(1))]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct WHEA_PERSISTENCE_INFO_0 {
pub _bitfield: u64,
}
impl ::core::marker::Copy for WHEA_PERSISTENCE_INFO_0 {}
impl ::core::clone::Clone for WHEA_PERSISTENCE_INFO_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for WHEA_PERSISTENCE_INFO_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for WHEA_PERSISTENCE_INFO_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(1))]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct WHEA_PMEM_ERROR_SECTION {
pub ValidBits: WHEA_PMEM_ERROR_SECTION_VALIDBITS,
pub LocationInfo: [u8; 64],
pub ErrorStatus: WHEA_ERROR_STATUS,
pub NFITHandle: u32,
pub PageRangeCount: u32,
pub PageRange: [WHEA_PMEM_PAGE_RANGE; 1],
}
impl ::core::marker::Copy for WHEA_PMEM_ERROR_SECTION {}
impl ::core::clone::Clone for WHEA_PMEM_ERROR_SECTION {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for WHEA_PMEM_ERROR_SECTION {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for WHEA_PMEM_ERROR_SECTION {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(1))]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub union WHEA_PMEM_ERROR_SECTION_VALIDBITS {
pub Anonymous: WHEA_PMEM_ERROR_SECTION_VALIDBITS_0,
pub ValidBits: u64,
}
impl ::core::marker::Copy for WHEA_PMEM_ERROR_SECTION_VALIDBITS {}
impl ::core::clone::Clone for WHEA_PMEM_ERROR_SECTION_VALIDBITS {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for WHEA_PMEM_ERROR_SECTION_VALIDBITS {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for WHEA_PMEM_ERROR_SECTION_VALIDBITS {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(1))]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct WHEA_PMEM_ERROR_SECTION_VALIDBITS_0 {
pub _bitfield: u64,
}
impl ::core::marker::Copy for WHEA_PMEM_ERROR_SECTION_VALIDBITS_0 {}
impl ::core::clone::Clone for WHEA_PMEM_ERROR_SECTION_VALIDBITS_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for WHEA_PMEM_ERROR_SECTION_VALIDBITS_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for WHEA_PMEM_ERROR_SECTION_VALIDBITS_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(1))]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct WHEA_PMEM_PAGE_RANGE {
pub StartingPfn: u64,
pub PageCount: u64,
pub MarkedBadBitmap: u64,
}
impl ::core::marker::Copy for WHEA_PMEM_PAGE_RANGE {}
impl ::core::clone::Clone for WHEA_PMEM_PAGE_RANGE {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for WHEA_PMEM_PAGE_RANGE {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for WHEA_PMEM_PAGE_RANGE {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(1))]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub union WHEA_PROCESSOR_FAMILY_INFO {
pub Anonymous: WHEA_PROCESSOR_FAMILY_INFO_0,
pub AsULONGLONG: u64,
}
impl ::core::marker::Copy for WHEA_PROCESSOR_FAMILY_INFO {}
impl ::core::clone::Clone for WHEA_PROCESSOR_FAMILY_INFO {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for WHEA_PROCESSOR_FAMILY_INFO {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for WHEA_PROCESSOR_FAMILY_INFO {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(1))]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct WHEA_PROCESSOR_FAMILY_INFO_0 {
pub _bitfield: u32,
pub NativeModelId: u32,
}
impl ::core::marker::Copy for WHEA_PROCESSOR_FAMILY_INFO_0 {}
impl ::core::clone::Clone for WHEA_PROCESSOR_FAMILY_INFO_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for WHEA_PROCESSOR_FAMILY_INFO_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for WHEA_PROCESSOR_FAMILY_INFO_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(1))]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct WHEA_PROCESSOR_GENERIC_ERROR_SECTION {
pub ValidBits: WHEA_PROCESSOR_GENERIC_ERROR_SECTION_VALIDBITS,
pub ProcessorType: u8,
pub InstructionSet: u8,
pub ErrorType: u8,
pub Operation: u8,
pub Flags: u8,
pub Level: u8,
pub Reserved: u16,
pub CPUVersion: u64,
pub CPUBrandString: [u8; 128],
pub ProcessorId: u64,
pub TargetAddress: u64,
pub RequesterId: u64,
pub ResponderId: u64,
pub InstructionPointer: u64,
}
impl ::core::marker::Copy for WHEA_PROCESSOR_GENERIC_ERROR_SECTION {}
impl ::core::clone::Clone for WHEA_PROCESSOR_GENERIC_ERROR_SECTION {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for WHEA_PROCESSOR_GENERIC_ERROR_SECTION {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for WHEA_PROCESSOR_GENERIC_ERROR_SECTION {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(1))]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub union WHEA_PROCESSOR_GENERIC_ERROR_SECTION_VALIDBITS {
pub Anonymous: WHEA_PROCESSOR_GENERIC_ERROR_SECTION_VALIDBITS_0,
pub ValidBits: u64,
}
impl ::core::marker::Copy for WHEA_PROCESSOR_GENERIC_ERROR_SECTION_VALIDBITS {}
impl ::core::clone::Clone for WHEA_PROCESSOR_GENERIC_ERROR_SECTION_VALIDBITS {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for WHEA_PROCESSOR_GENERIC_ERROR_SECTION_VALIDBITS {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for WHEA_PROCESSOR_GENERIC_ERROR_SECTION_VALIDBITS {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(1))]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct WHEA_PROCESSOR_GENERIC_ERROR_SECTION_VALIDBITS_0 {
pub _bitfield: u64,
}
impl ::core::marker::Copy for WHEA_PROCESSOR_GENERIC_ERROR_SECTION_VALIDBITS_0 {}
impl ::core::clone::Clone for WHEA_PROCESSOR_GENERIC_ERROR_SECTION_VALIDBITS_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for WHEA_PROCESSOR_GENERIC_ERROR_SECTION_VALIDBITS_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for WHEA_PROCESSOR_GENERIC_ERROR_SECTION_VALIDBITS_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(1))]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub struct WHEA_PSHED_PI_CPU_BUSES_INIT_FAILED_EVENT {
pub WheaEventLogEntry: WHEA_EVENT_LOG_ENTRY,
pub Status: super::super::super::Win32::Foundation::NTSTATUS,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for WHEA_PSHED_PI_CPU_BUSES_INIT_FAILED_EVENT {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for WHEA_PSHED_PI_CPU_BUSES_INIT_FAILED_EVENT {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for WHEA_PSHED_PI_CPU_BUSES_INIT_FAILED_EVENT {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for WHEA_PSHED_PI_CPU_BUSES_INIT_FAILED_EVENT {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct WHEA_PSHED_PI_TRACE_EVENT {
pub WheaEventLogEntry: WHEA_EVENT_LOG_ENTRY,
pub Buffer: [i8; 256],
}
impl ::core::marker::Copy for WHEA_PSHED_PI_TRACE_EVENT {}
impl ::core::clone::Clone for WHEA_PSHED_PI_TRACE_EVENT {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for WHEA_PSHED_PI_TRACE_EVENT {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for WHEA_PSHED_PI_TRACE_EVENT {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Diagnostics_Debug\"`*"]
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Diagnostics_Debug"))]
pub struct WHEA_PSHED_PLUGIN_CALLBACKS {
pub GetAllErrorSources: PSHED_PI_GET_ALL_ERROR_SOURCES,
pub Reserved: *mut ::core::ffi::c_void,
pub GetErrorSourceInfo: PSHED_PI_GET_ERROR_SOURCE_INFO,
pub SetErrorSourceInfo: PSHED_PI_SET_ERROR_SOURCE_INFO,
pub EnableErrorSource: PSHED_PI_ENABLE_ERROR_SOURCE,
pub DisableErrorSource: PSHED_PI_DISABLE_ERROR_SOURCE,
pub WriteErrorRecord: PSHED_PI_WRITE_ERROR_RECORD,
pub ReadErrorRecord: PSHED_PI_READ_ERROR_RECORD,
pub ClearErrorRecord: PSHED_PI_CLEAR_ERROR_RECORD,
pub RetrieveErrorInfo: PSHED_PI_RETRIEVE_ERROR_INFO,
pub FinalizeErrorRecord: PSHED_PI_FINALIZE_ERROR_RECORD,
pub ClearErrorStatus: PSHED_PI_CLEAR_ERROR_STATUS,
pub AttemptRecovery: PSHED_PI_ATTEMPT_ERROR_RECOVERY,
pub GetInjectionCapabilities: PSHED_PI_GET_INJECTION_CAPABILITIES,
pub InjectError: PSHED_PI_INJECT_ERROR,
}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Diagnostics_Debug"))]
impl ::core::marker::Copy for WHEA_PSHED_PLUGIN_CALLBACKS {}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Diagnostics_Debug"))]
impl ::core::clone::Clone for WHEA_PSHED_PLUGIN_CALLBACKS {
fn clone(&self) -> Self {
*self
}
}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Diagnostics_Debug"))]
impl ::core::fmt::Debug for WHEA_PSHED_PLUGIN_CALLBACKS {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("WHEA_PSHED_PLUGIN_CALLBACKS").field("Reserved", &self.Reserved).finish()
}
}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Diagnostics_Debug"))]
impl ::windows_core::TypeKind for WHEA_PSHED_PLUGIN_CALLBACKS {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Diagnostics_Debug"))]
impl ::core::default::Default for WHEA_PSHED_PLUGIN_CALLBACKS {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(1))]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct WHEA_PSHED_PLUGIN_DIMM_MISMATCH {
pub WheaEventLogEntry: WHEA_EVENT_LOG_ENTRY,
pub FirmwareBank: u16,
pub FirmwareCol: u16,
pub FirmwareRow: u16,
pub RetryRdBank: u16,
pub RetryRdCol: u16,
pub RetryRdRow: u16,
pub TaBank: u16,
pub TaCol: u16,
pub TaRow: u16,
}
impl ::core::marker::Copy for WHEA_PSHED_PLUGIN_DIMM_MISMATCH {}
impl ::core::clone::Clone for WHEA_PSHED_PLUGIN_DIMM_MISMATCH {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for WHEA_PSHED_PLUGIN_DIMM_MISMATCH {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for WHEA_PSHED_PLUGIN_DIMM_MISMATCH {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(1))]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct WHEA_PSHED_PLUGIN_ENABLE_NOTIFY_FAILED_EVENT {
pub WheaEventLogEntry: WHEA_EVENT_LOG_ENTRY,
pub EnableError: WHEA_PSHED_PLUGIN_ENABLE_NOTIFY_ERRORS,
}
impl ::core::marker::Copy for WHEA_PSHED_PLUGIN_ENABLE_NOTIFY_FAILED_EVENT {}
impl ::core::clone::Clone for WHEA_PSHED_PLUGIN_ENABLE_NOTIFY_FAILED_EVENT {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for WHEA_PSHED_PLUGIN_ENABLE_NOTIFY_FAILED_EVENT {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for WHEA_PSHED_PLUGIN_ENABLE_NOTIFY_FAILED_EVENT {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct WHEA_PSHED_PLUGIN_HEARTBEAT {
pub WheaEventLogEntry: WHEA_EVENT_LOG_ENTRY,
}
impl ::core::marker::Copy for WHEA_PSHED_PLUGIN_HEARTBEAT {}
impl ::core::clone::Clone for WHEA_PSHED_PLUGIN_HEARTBEAT {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for WHEA_PSHED_PLUGIN_HEARTBEAT {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for WHEA_PSHED_PLUGIN_HEARTBEAT {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(1))]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub struct WHEA_PSHED_PLUGIN_INIT_FAILED_EVENT {
pub WheaEventLogEntry: WHEA_EVENT_LOG_ENTRY,
pub Status: super::super::super::Win32::Foundation::NTSTATUS,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for WHEA_PSHED_PLUGIN_INIT_FAILED_EVENT {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for WHEA_PSHED_PLUGIN_INIT_FAILED_EVENT {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for WHEA_PSHED_PLUGIN_INIT_FAILED_EVENT {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for WHEA_PSHED_PLUGIN_INIT_FAILED_EVENT {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(1))]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct WHEA_PSHED_PLUGIN_LOAD_EVENT {
pub WheaEventLogEntry: WHEA_EVENT_LOG_ENTRY,
pub PluginName: [u16; 32],
pub MajorVersion: u32,
pub MinorVersion: u32,
}
impl ::core::marker::Copy for WHEA_PSHED_PLUGIN_LOAD_EVENT {}
impl ::core::clone::Clone for WHEA_PSHED_PLUGIN_LOAD_EVENT {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for WHEA_PSHED_PLUGIN_LOAD_EVENT {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for WHEA_PSHED_PLUGIN_LOAD_EVENT {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(1))]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub struct WHEA_PSHED_PLUGIN_PLATFORM_SUPPORT_EVENT {
pub WheaEventLogEntry: WHEA_EVENT_LOG_ENTRY,
pub PluginName: [u16; 32],
pub Supported: super::super::super::Win32::Foundation::BOOLEAN,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for WHEA_PSHED_PLUGIN_PLATFORM_SUPPORT_EVENT {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for WHEA_PSHED_PLUGIN_PLATFORM_SUPPORT_EVENT {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for WHEA_PSHED_PLUGIN_PLATFORM_SUPPORT_EVENT {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for WHEA_PSHED_PLUGIN_PLATFORM_SUPPORT_EVENT {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Diagnostics_Debug\"`*"]
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Diagnostics_Debug"))]
pub struct WHEA_PSHED_PLUGIN_REGISTRATION_PACKET_V1 {
pub Length: u32,
pub Version: u32,
pub Context: *mut ::core::ffi::c_void,
pub FunctionalAreaMask: u32,
pub Reserved: u32,
pub Callbacks: WHEA_PSHED_PLUGIN_CALLBACKS,
}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Diagnostics_Debug"))]
impl ::core::marker::Copy for WHEA_PSHED_PLUGIN_REGISTRATION_PACKET_V1 {}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Diagnostics_Debug"))]
impl ::core::clone::Clone for WHEA_PSHED_PLUGIN_REGISTRATION_PACKET_V1 {
fn clone(&self) -> Self {
*self
}
}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Diagnostics_Debug"))]
impl ::core::fmt::Debug for WHEA_PSHED_PLUGIN_REGISTRATION_PACKET_V1 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("WHEA_PSHED_PLUGIN_REGISTRATION_PACKET_V1").field("Length", &self.Length).field("Version", &self.Version).field("Context", &self.Context).field("FunctionalAreaMask", &self.FunctionalAreaMask).field("Reserved", &self.Reserved).finish()
}
}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Diagnostics_Debug"))]
impl ::windows_core::TypeKind for WHEA_PSHED_PLUGIN_REGISTRATION_PACKET_V1 {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Diagnostics_Debug"))]
impl ::core::default::Default for WHEA_PSHED_PLUGIN_REGISTRATION_PACKET_V1 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Diagnostics_Debug\"`*"]
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Diagnostics_Debug"))]
pub struct WHEA_PSHED_PLUGIN_REGISTRATION_PACKET_V2 {
pub Length: u32,
pub Version: u32,
pub Context: *mut ::core::ffi::c_void,
pub FunctionalAreaMask: u32,
pub Reserved: u32,
pub Callbacks: WHEA_PSHED_PLUGIN_CALLBACKS,
pub PluginHandle: *mut ::core::ffi::c_void,
}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Diagnostics_Debug"))]
impl ::core::marker::Copy for WHEA_PSHED_PLUGIN_REGISTRATION_PACKET_V2 {}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Diagnostics_Debug"))]
impl ::core::clone::Clone for WHEA_PSHED_PLUGIN_REGISTRATION_PACKET_V2 {
fn clone(&self) -> Self {
*self
}
}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Diagnostics_Debug"))]
impl ::core::fmt::Debug for WHEA_PSHED_PLUGIN_REGISTRATION_PACKET_V2 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("WHEA_PSHED_PLUGIN_REGISTRATION_PACKET_V2").field("Length", &self.Length).field("Version", &self.Version).field("Context", &self.Context).field("FunctionalAreaMask", &self.FunctionalAreaMask).field("Reserved", &self.Reserved).field("PluginHandle", &self.PluginHandle).finish()
}
}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Diagnostics_Debug"))]
impl ::windows_core::TypeKind for WHEA_PSHED_PLUGIN_REGISTRATION_PACKET_V2 {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Diagnostics_Debug"))]
impl ::core::default::Default for WHEA_PSHED_PLUGIN_REGISTRATION_PACKET_V2 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(1))]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct WHEA_PSHED_PLUGIN_UNLOAD_EVENT {
pub WheaEventLogEntry: WHEA_EVENT_LOG_ENTRY,
pub PluginName: [u16; 32],
}
impl ::core::marker::Copy for WHEA_PSHED_PLUGIN_UNLOAD_EVENT {}
impl ::core::clone::Clone for WHEA_PSHED_PLUGIN_UNLOAD_EVENT {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for WHEA_PSHED_PLUGIN_UNLOAD_EVENT {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for WHEA_PSHED_PLUGIN_UNLOAD_EVENT {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(1))]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub union WHEA_RECOVERY_ACTION {
pub Anonymous: WHEA_RECOVERY_ACTION_0,
pub AsULONG: u32,
}
impl ::core::marker::Copy for WHEA_RECOVERY_ACTION {}
impl ::core::clone::Clone for WHEA_RECOVERY_ACTION {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for WHEA_RECOVERY_ACTION {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for WHEA_RECOVERY_ACTION {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(1))]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct WHEA_RECOVERY_ACTION_0 {
pub _bitfield1: u32,
pub _bitfield2: u32,
}
impl ::core::marker::Copy for WHEA_RECOVERY_ACTION_0 {}
impl ::core::clone::Clone for WHEA_RECOVERY_ACTION_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for WHEA_RECOVERY_ACTION_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for WHEA_RECOVERY_ACTION_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub struct WHEA_RECOVERY_CONTEXT {
pub Anonymous: WHEA_RECOVERY_CONTEXT_0,
pub PartitionId: u64,
pub VpIndex: u32,
pub ErrorType: WHEA_RECOVERY_CONTEXT_ERROR_TYPE,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for WHEA_RECOVERY_CONTEXT {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for WHEA_RECOVERY_CONTEXT {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for WHEA_RECOVERY_CONTEXT {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for WHEA_RECOVERY_CONTEXT {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub union WHEA_RECOVERY_CONTEXT_0 {
pub MemoryError: WHEA_RECOVERY_CONTEXT_0_0,
pub PmemError: WHEA_RECOVERY_CONTEXT_0_1,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for WHEA_RECOVERY_CONTEXT_0 {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for WHEA_RECOVERY_CONTEXT_0 {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for WHEA_RECOVERY_CONTEXT_0 {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for WHEA_RECOVERY_CONTEXT_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub struct WHEA_RECOVERY_CONTEXT_0_0 {
pub Address: usize,
pub Consumed: super::super::super::Win32::Foundation::BOOLEAN,
pub ErrorCode: u16,
pub ErrorIpValid: super::super::super::Win32::Foundation::BOOLEAN,
pub RestartIpValid: super::super::super::Win32::Foundation::BOOLEAN,
pub ClearPoison: super::super::super::Win32::Foundation::BOOLEAN,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for WHEA_RECOVERY_CONTEXT_0_0 {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for WHEA_RECOVERY_CONTEXT_0_0 {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::fmt::Debug for WHEA_RECOVERY_CONTEXT_0_0 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("WHEA_RECOVERY_CONTEXT_0_0").field("Address", &self.Address).field("Consumed", &self.Consumed).field("ErrorCode", &self.ErrorCode).field("ErrorIpValid", &self.ErrorIpValid).field("RestartIpValid", &self.RestartIpValid).field("ClearPoison", &self.ClearPoison).finish()
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for WHEA_RECOVERY_CONTEXT_0_0 {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::PartialEq for WHEA_RECOVERY_CONTEXT_0_0 {
fn eq(&self, other: &Self) -> bool {
self.Address == other.Address && self.Consumed == other.Consumed && self.ErrorCode == other.ErrorCode && self.ErrorIpValid == other.ErrorIpValid && self.RestartIpValid == other.RestartIpValid && self.ClearPoison == other.ClearPoison
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::Eq for WHEA_RECOVERY_CONTEXT_0_0 {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for WHEA_RECOVERY_CONTEXT_0_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub struct WHEA_RECOVERY_CONTEXT_0_1 {
pub PmemErrInfo: usize,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for WHEA_RECOVERY_CONTEXT_0_1 {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for WHEA_RECOVERY_CONTEXT_0_1 {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::fmt::Debug for WHEA_RECOVERY_CONTEXT_0_1 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("WHEA_RECOVERY_CONTEXT_0_1").field("PmemErrInfo", &self.PmemErrInfo).finish()
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for WHEA_RECOVERY_CONTEXT_0_1 {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::PartialEq for WHEA_RECOVERY_CONTEXT_0_1 {
fn eq(&self, other: &Self) -> bool {
self.PmemErrInfo == other.PmemErrInfo
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::Eq for WHEA_RECOVERY_CONTEXT_0_1 {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for WHEA_RECOVERY_CONTEXT_0_1 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct WHEA_REGISTER_KEY_NOTIFICATION_FAILED_EVENT {
pub WheaEventLogEntry: WHEA_EVENT_LOG_ENTRY,
}
impl ::core::marker::Copy for WHEA_REGISTER_KEY_NOTIFICATION_FAILED_EVENT {}
impl ::core::clone::Clone for WHEA_REGISTER_KEY_NOTIFICATION_FAILED_EVENT {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for WHEA_REGISTER_KEY_NOTIFICATION_FAILED_EVENT {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for WHEA_REGISTER_KEY_NOTIFICATION_FAILED_EVENT {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub union WHEA_REPORT_HW_ERROR_DEVICE_DRIVER_FLAGS {
pub Anonymous: WHEA_REPORT_HW_ERROR_DEVICE_DRIVER_FLAGS_0,
pub AsULONG: u32,
}
impl ::core::marker::Copy for WHEA_REPORT_HW_ERROR_DEVICE_DRIVER_FLAGS {}
impl ::core::clone::Clone for WHEA_REPORT_HW_ERROR_DEVICE_DRIVER_FLAGS {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for WHEA_REPORT_HW_ERROR_DEVICE_DRIVER_FLAGS {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for WHEA_REPORT_HW_ERROR_DEVICE_DRIVER_FLAGS {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct WHEA_REPORT_HW_ERROR_DEVICE_DRIVER_FLAGS_0 {
pub _bitfield: u32,
}
impl ::core::marker::Copy for WHEA_REPORT_HW_ERROR_DEVICE_DRIVER_FLAGS_0 {}
impl ::core::clone::Clone for WHEA_REPORT_HW_ERROR_DEVICE_DRIVER_FLAGS_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for WHEA_REPORT_HW_ERROR_DEVICE_DRIVER_FLAGS_0 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("WHEA_REPORT_HW_ERROR_DEVICE_DRIVER_FLAGS_0").field("_bitfield", &self._bitfield).finish()
}
}
impl ::windows_core::TypeKind for WHEA_REPORT_HW_ERROR_DEVICE_DRIVER_FLAGS_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for WHEA_REPORT_HW_ERROR_DEVICE_DRIVER_FLAGS_0 {
fn eq(&self, other: &Self) -> bool {
self._bitfield == other._bitfield
}
}
impl ::core::cmp::Eq for WHEA_REPORT_HW_ERROR_DEVICE_DRIVER_FLAGS_0 {}
impl ::core::default::Default for WHEA_REPORT_HW_ERROR_DEVICE_DRIVER_FLAGS_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(1))]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub union WHEA_REVISION {
pub Anonymous: WHEA_REVISION_0,
pub AsUSHORT: u16,
}
impl ::core::marker::Copy for WHEA_REVISION {}
impl ::core::clone::Clone for WHEA_REVISION {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for WHEA_REVISION {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for WHEA_REVISION {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct WHEA_REVISION_0 {
pub MinorRevision: u8,
pub MajorRevision: u8,
}
impl ::core::marker::Copy for WHEA_REVISION_0 {}
impl ::core::clone::Clone for WHEA_REVISION_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for WHEA_REVISION_0 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("WHEA_REVISION_0").field("MinorRevision", &self.MinorRevision).field("MajorRevision", &self.MajorRevision).finish()
}
}
impl ::windows_core::TypeKind for WHEA_REVISION_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for WHEA_REVISION_0 {
fn eq(&self, other: &Self) -> bool {
self.MinorRevision == other.MinorRevision && self.MajorRevision == other.MajorRevision
}
}
impl ::core::cmp::Eq for WHEA_REVISION_0 {}
impl ::core::default::Default for WHEA_REVISION_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(1))]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub struct WHEA_SEA_SECTION {
pub Esr: u32,
pub Far: u64,
pub Par: u64,
pub WasKernel: super::super::super::Win32::Foundation::BOOLEAN,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for WHEA_SEA_SECTION {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for WHEA_SEA_SECTION {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for WHEA_SEA_SECTION {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for WHEA_SEA_SECTION {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(1))]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct WHEA_SEI_SECTION {
pub Esr: u32,
pub Far: u64,
}
impl ::core::marker::Copy for WHEA_SEI_SECTION {}
impl ::core::clone::Clone for WHEA_SEI_SECTION {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for WHEA_SEI_SECTION {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for WHEA_SEI_SECTION {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(1))]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct WHEA_SEL_BUGCHECK_PROGRESS {
pub WheaEventLogEntry: WHEA_EVENT_LOG_ENTRY,
pub BugCheckCode: u32,
pub BugCheckProgressSummary: u32,
}
impl ::core::marker::Copy for WHEA_SEL_BUGCHECK_PROGRESS {}
impl ::core::clone::Clone for WHEA_SEL_BUGCHECK_PROGRESS {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for WHEA_SEL_BUGCHECK_PROGRESS {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for WHEA_SEL_BUGCHECK_PROGRESS {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub struct WHEA_SEL_BUGCHECK_RECOVERY_STATUS_MULTIPLE_BUGCHECK_EVENT {
pub WheaEventLogEntry: WHEA_EVENT_LOG_ENTRY,
pub IsBugcheckOwner: super::super::super::Win32::Foundation::BOOLEAN,
pub RecursionCount: u8,
pub IsBugcheckRecoveryOwner: super::super::super::Win32::Foundation::BOOLEAN,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for WHEA_SEL_BUGCHECK_RECOVERY_STATUS_MULTIPLE_BUGCHECK_EVENT {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for WHEA_SEL_BUGCHECK_RECOVERY_STATUS_MULTIPLE_BUGCHECK_EVENT {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for WHEA_SEL_BUGCHECK_RECOVERY_STATUS_MULTIPLE_BUGCHECK_EVENT {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for WHEA_SEL_BUGCHECK_RECOVERY_STATUS_MULTIPLE_BUGCHECK_EVENT {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(1))]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub struct WHEA_SEL_BUGCHECK_RECOVERY_STATUS_PHASE1_EVENT {
pub WheaEventLogEntry: WHEA_EVENT_LOG_ENTRY,
pub Success: super::super::super::Win32::Foundation::BOOLEAN,
pub Version: u8,
pub EntryCount: u16,
pub Data: WHEA_SEL_BUGCHECK_RECOVERY_STATUS_PHASE1_EVENT_0,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for WHEA_SEL_BUGCHECK_RECOVERY_STATUS_PHASE1_EVENT {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for WHEA_SEL_BUGCHECK_RECOVERY_STATUS_PHASE1_EVENT {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for WHEA_SEL_BUGCHECK_RECOVERY_STATUS_PHASE1_EVENT {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for WHEA_SEL_BUGCHECK_RECOVERY_STATUS_PHASE1_EVENT {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub struct WHEA_SEL_BUGCHECK_RECOVERY_STATUS_PHASE1_EVENT_0 {
pub DumpPolicy: u8,
pub Reserved: [u8; 3],
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for WHEA_SEL_BUGCHECK_RECOVERY_STATUS_PHASE1_EVENT_0 {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for WHEA_SEL_BUGCHECK_RECOVERY_STATUS_PHASE1_EVENT_0 {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::fmt::Debug for WHEA_SEL_BUGCHECK_RECOVERY_STATUS_PHASE1_EVENT_0 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("WHEA_SEL_BUGCHECK_RECOVERY_STATUS_PHASE1_EVENT_0").field("DumpPolicy", &self.DumpPolicy).field("Reserved", &self.Reserved).finish()
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for WHEA_SEL_BUGCHECK_RECOVERY_STATUS_PHASE1_EVENT_0 {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::PartialEq for WHEA_SEL_BUGCHECK_RECOVERY_STATUS_PHASE1_EVENT_0 {
fn eq(&self, other: &Self) -> bool {
self.DumpPolicy == other.DumpPolicy && self.Reserved == other.Reserved
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::cmp::Eq for WHEA_SEL_BUGCHECK_RECOVERY_STATUS_PHASE1_EVENT_0 {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for WHEA_SEL_BUGCHECK_RECOVERY_STATUS_PHASE1_EVENT_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(1))]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub struct WHEA_SEL_BUGCHECK_RECOVERY_STATUS_PHASE2_EVENT {
pub WheaEventLogEntry: WHEA_EVENT_LOG_ENTRY,
pub BootId: u32,
pub Success: super::super::super::Win32::Foundation::BOOLEAN,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for WHEA_SEL_BUGCHECK_RECOVERY_STATUS_PHASE2_EVENT {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for WHEA_SEL_BUGCHECK_RECOVERY_STATUS_PHASE2_EVENT {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for WHEA_SEL_BUGCHECK_RECOVERY_STATUS_PHASE2_EVENT {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for WHEA_SEL_BUGCHECK_RECOVERY_STATUS_PHASE2_EVENT {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct WHEA_SEL_BUGCHECK_RECOVERY_STATUS_START_EVENT {
pub WheaEventLogEntry: WHEA_EVENT_LOG_ENTRY,
pub StartingIrql: u8,
}
impl ::core::marker::Copy for WHEA_SEL_BUGCHECK_RECOVERY_STATUS_START_EVENT {}
impl ::core::clone::Clone for WHEA_SEL_BUGCHECK_RECOVERY_STATUS_START_EVENT {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for WHEA_SEL_BUGCHECK_RECOVERY_STATUS_START_EVENT {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for WHEA_SEL_BUGCHECK_RECOVERY_STATUS_START_EVENT {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(1))]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub struct WHEA_SRAR_DETAIL_EVENT {
pub WheaEventLogEntry: WHEA_EVENT_LOG_ENTRY,
pub RecoveryContextFlags: u32,
pub RecoveryContextPa: u64,
pub PageOfflineStatus: super::super::super::Win32::Foundation::NTSTATUS,
pub KernelConsumerError: super::super::super::Win32::Foundation::BOOLEAN,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for WHEA_SRAR_DETAIL_EVENT {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for WHEA_SRAR_DETAIL_EVENT {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for WHEA_SRAR_DETAIL_EVENT {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for WHEA_SRAR_DETAIL_EVENT {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(1))]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct WHEA_SRAS_TABLE_ENTRIES_EVENT {
pub WheaEventLogEntry: WHEA_EVENT_LOG_ENTRY,
pub LogNumber: u32,
pub NumberSignals: u32,
pub Data: [u8; 1],
}
impl ::core::marker::Copy for WHEA_SRAS_TABLE_ENTRIES_EVENT {}
impl ::core::clone::Clone for WHEA_SRAS_TABLE_ENTRIES_EVENT {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for WHEA_SRAS_TABLE_ENTRIES_EVENT {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for WHEA_SRAS_TABLE_ENTRIES_EVENT {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct WHEA_SRAS_TABLE_ERROR {
pub WheaEventLogEntry: WHEA_EVENT_LOG_ENTRY,
}
impl ::core::marker::Copy for WHEA_SRAS_TABLE_ERROR {}
impl ::core::clone::Clone for WHEA_SRAS_TABLE_ERROR {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for WHEA_SRAS_TABLE_ERROR {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for WHEA_SRAS_TABLE_ERROR {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct WHEA_SRAS_TABLE_NOT_FOUND {
pub WheaEventLogEntry: WHEA_EVENT_LOG_ENTRY,
}
impl ::core::marker::Copy for WHEA_SRAS_TABLE_NOT_FOUND {}
impl ::core::clone::Clone for WHEA_SRAS_TABLE_NOT_FOUND {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for WHEA_SRAS_TABLE_NOT_FOUND {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for WHEA_SRAS_TABLE_NOT_FOUND {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct WHEA_THROTTLE_ADD_ERR_SRC_FAILED_EVENT {
pub WheaEventLogEntry: WHEA_EVENT_LOG_ENTRY,
}
impl ::core::marker::Copy for WHEA_THROTTLE_ADD_ERR_SRC_FAILED_EVENT {}
impl ::core::clone::Clone for WHEA_THROTTLE_ADD_ERR_SRC_FAILED_EVENT {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for WHEA_THROTTLE_ADD_ERR_SRC_FAILED_EVENT {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for WHEA_THROTTLE_ADD_ERR_SRC_FAILED_EVENT {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(1))]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct WHEA_THROTTLE_MEMORY_ADD_OR_REMOVE_EVENT {
pub WheaEventLogEntry: WHEA_EVENT_LOG_ENTRY,
pub SocketId: u32,
pub ChannelId: u32,
pub DimmSlot: u32,
}
impl ::core::marker::Copy for WHEA_THROTTLE_MEMORY_ADD_OR_REMOVE_EVENT {}
impl ::core::clone::Clone for WHEA_THROTTLE_MEMORY_ADD_OR_REMOVE_EVENT {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for WHEA_THROTTLE_MEMORY_ADD_OR_REMOVE_EVENT {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for WHEA_THROTTLE_MEMORY_ADD_OR_REMOVE_EVENT {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(1))]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub struct WHEA_THROTTLE_PCIE_ADD_EVENT {
pub WheaEventLogEntry: WHEA_EVENT_LOG_ENTRY,
pub Address: WHEA_PCIE_ADDRESS,
pub Mask: u32,
pub Updated: super::super::super::Win32::Foundation::BOOLEAN,
pub Status: super::super::super::Win32::Foundation::NTSTATUS,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for WHEA_THROTTLE_PCIE_ADD_EVENT {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for WHEA_THROTTLE_PCIE_ADD_EVENT {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for WHEA_THROTTLE_PCIE_ADD_EVENT {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for WHEA_THROTTLE_PCIE_ADD_EVENT {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(1))]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct WHEA_THROTTLE_PCIE_REMOVE_EVENT {
pub WheaEventLogEntry: WHEA_EVENT_LOG_ENTRY,
pub Address: WHEA_PCIE_ADDRESS,
pub Mask: u32,
}
impl ::core::marker::Copy for WHEA_THROTTLE_PCIE_REMOVE_EVENT {}
impl ::core::clone::Clone for WHEA_THROTTLE_PCIE_REMOVE_EVENT {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for WHEA_THROTTLE_PCIE_REMOVE_EVENT {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for WHEA_THROTTLE_PCIE_REMOVE_EVENT {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(1))]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct WHEA_THROTTLE_REGISTRY_CORRUPT_EVENT {
pub WheaEventLogEntry: WHEA_EVENT_LOG_ENTRY,
pub ThrottleType: WHEA_THROTTLE_TYPE,
}
impl ::core::marker::Copy for WHEA_THROTTLE_REGISTRY_CORRUPT_EVENT {}
impl ::core::clone::Clone for WHEA_THROTTLE_REGISTRY_CORRUPT_EVENT {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for WHEA_THROTTLE_REGISTRY_CORRUPT_EVENT {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for WHEA_THROTTLE_REGISTRY_CORRUPT_EVENT {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(1))]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct WHEA_THROTTLE_REG_DATA_IGNORED_EVENT {
pub WheaEventLogEntry: WHEA_EVENT_LOG_ENTRY,
pub ThrottleType: WHEA_THROTTLE_TYPE,
}
impl ::core::marker::Copy for WHEA_THROTTLE_REG_DATA_IGNORED_EVENT {}
impl ::core::clone::Clone for WHEA_THROTTLE_REG_DATA_IGNORED_EVENT {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for WHEA_THROTTLE_REG_DATA_IGNORED_EVENT {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for WHEA_THROTTLE_REG_DATA_IGNORED_EVENT {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(1))]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub union WHEA_TIMESTAMP {
pub Anonymous: WHEA_TIMESTAMP_0,
pub AsLARGE_INTEGER: i64,
}
impl ::core::marker::Copy for WHEA_TIMESTAMP {}
impl ::core::clone::Clone for WHEA_TIMESTAMP {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for WHEA_TIMESTAMP {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for WHEA_TIMESTAMP {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(1))]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct WHEA_TIMESTAMP_0 {
pub _bitfield: u64,
}
impl ::core::marker::Copy for WHEA_TIMESTAMP_0 {}
impl ::core::clone::Clone for WHEA_TIMESTAMP_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for WHEA_TIMESTAMP_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for WHEA_TIMESTAMP_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct WHEA_X64_REGISTER_STATE {
pub Rax: u64,
pub Rbx: u64,
pub Rcx: u64,
pub Rdx: u64,
pub Rsi: u64,
pub Rdi: u64,
pub Rbp: u64,
pub Rsp: u64,
pub R8: u64,
pub R9: u64,
pub R10: u64,
pub R11: u64,
pub R12: u64,
pub R13: u64,
pub R14: u64,
pub R15: u64,
pub Cs: u16,
pub Ds: u16,
pub Ss: u16,
pub Es: u16,
pub Fs: u16,
pub Gs: u16,
pub Reserved: u32,
pub Rflags: u64,
pub Eip: u64,
pub Cr0: u64,
pub Cr1: u64,
pub Cr2: u64,
pub Cr3: u64,
pub Cr4: u64,
pub Cr8: u64,
pub Gdtr: WHEA128A,
pub Idtr: WHEA128A,
pub Ldtr: u16,
pub Tr: u16,
}
impl ::core::marker::Copy for WHEA_X64_REGISTER_STATE {}
impl ::core::clone::Clone for WHEA_X64_REGISTER_STATE {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for WHEA_X64_REGISTER_STATE {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("WHEA_X64_REGISTER_STATE")
.field("Rax", &self.Rax)
.field("Rbx", &self.Rbx)
.field("Rcx", &self.Rcx)
.field("Rdx", &self.Rdx)
.field("Rsi", &self.Rsi)
.field("Rdi", &self.Rdi)
.field("Rbp", &self.Rbp)
.field("Rsp", &self.Rsp)
.field("R8", &self.R8)
.field("R9", &self.R9)
.field("R10", &self.R10)
.field("R11", &self.R11)
.field("R12", &self.R12)
.field("R13", &self.R13)
.field("R14", &self.R14)
.field("R15", &self.R15)
.field("Cs", &self.Cs)
.field("Ds", &self.Ds)
.field("Ss", &self.Ss)
.field("Es", &self.Es)
.field("Fs", &self.Fs)
.field("Gs", &self.Gs)
.field("Reserved", &self.Reserved)
.field("Rflags", &self.Rflags)
.field("Eip", &self.Eip)
.field("Cr0", &self.Cr0)
.field("Cr1", &self.Cr1)
.field("Cr2", &self.Cr2)
.field("Cr3", &self.Cr3)
.field("Cr4", &self.Cr4)
.field("Cr8", &self.Cr8)
.field("Gdtr", &self.Gdtr)
.field("Idtr", &self.Idtr)
.field("Ldtr", &self.Ldtr)
.field("Tr", &self.Tr)
.finish()
}
}
impl ::windows_core::TypeKind for WHEA_X64_REGISTER_STATE {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for WHEA_X64_REGISTER_STATE {
fn eq(&self, other: &Self) -> bool {
self.Rax == other.Rax
&& self.Rbx == other.Rbx
&& self.Rcx == other.Rcx
&& self.Rdx == other.Rdx
&& self.Rsi == other.Rsi
&& self.Rdi == other.Rdi
&& self.Rbp == other.Rbp
&& self.Rsp == other.Rsp
&& self.R8 == other.R8
&& self.R9 == other.R9
&& self.R10 == other.R10
&& self.R11 == other.R11
&& self.R12 == other.R12
&& self.R13 == other.R13
&& self.R14 == other.R14
&& self.R15 == other.R15
&& self.Cs == other.Cs
&& self.Ds == other.Ds
&& self.Ss == other.Ss
&& self.Es == other.Es
&& self.Fs == other.Fs
&& self.Gs == other.Gs
&& self.Reserved == other.Reserved
&& self.Rflags == other.Rflags
&& self.Eip == other.Eip
&& self.Cr0 == other.Cr0
&& self.Cr1 == other.Cr1
&& self.Cr2 == other.Cr2
&& self.Cr3 == other.Cr3
&& self.Cr4 == other.Cr4
&& self.Cr8 == other.Cr8
&& self.Gdtr == other.Gdtr
&& self.Idtr == other.Idtr
&& self.Ldtr == other.Ldtr
&& self.Tr == other.Tr
}
}
impl ::core::cmp::Eq for WHEA_X64_REGISTER_STATE {}
impl ::core::default::Default for WHEA_X64_REGISTER_STATE {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(1))]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct WHEA_X86_REGISTER_STATE {
pub Eax: u32,
pub Ebx: u32,
pub Ecx: u32,
pub Edx: u32,
pub Esi: u32,
pub Edi: u32,
pub Ebp: u32,
pub Esp: u32,
pub Cs: u16,
pub Ds: u16,
pub Ss: u16,
pub Es: u16,
pub Fs: u16,
pub Gs: u16,
pub Eflags: u32,
pub Eip: u32,
pub Cr0: u32,
pub Cr1: u32,
pub Cr2: u32,
pub Cr3: u32,
pub Cr4: u32,
pub Gdtr: u64,
pub Idtr: u64,
pub Ldtr: u16,
pub Tr: u16,
}
impl ::core::marker::Copy for WHEA_X86_REGISTER_STATE {}
impl ::core::clone::Clone for WHEA_X86_REGISTER_STATE {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for WHEA_X86_REGISTER_STATE {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for WHEA_X86_REGISTER_STATE {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(1))]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub union WHEA_XPF_BUS_CHECK {
pub Anonymous: WHEA_XPF_BUS_CHECK_0,
pub XpfBusCheck: u64,
}
impl ::core::marker::Copy for WHEA_XPF_BUS_CHECK {}
impl ::core::clone::Clone for WHEA_XPF_BUS_CHECK {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for WHEA_XPF_BUS_CHECK {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for WHEA_XPF_BUS_CHECK {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(1))]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct WHEA_XPF_BUS_CHECK_0 {
pub _bitfield: u64,
}
impl ::core::marker::Copy for WHEA_XPF_BUS_CHECK_0 {}
impl ::core::clone::Clone for WHEA_XPF_BUS_CHECK_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for WHEA_XPF_BUS_CHECK_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for WHEA_XPF_BUS_CHECK_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(1))]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub union WHEA_XPF_CACHE_CHECK {
pub Anonymous: WHEA_XPF_CACHE_CHECK_0,
pub XpfCacheCheck: u64,
}
impl ::core::marker::Copy for WHEA_XPF_CACHE_CHECK {}
impl ::core::clone::Clone for WHEA_XPF_CACHE_CHECK {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for WHEA_XPF_CACHE_CHECK {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for WHEA_XPF_CACHE_CHECK {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(1))]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct WHEA_XPF_CACHE_CHECK_0 {
pub _bitfield: u64,
}
impl ::core::marker::Copy for WHEA_XPF_CACHE_CHECK_0 {}
impl ::core::clone::Clone for WHEA_XPF_CACHE_CHECK_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for WHEA_XPF_CACHE_CHECK_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for WHEA_XPF_CACHE_CHECK_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(1))]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct WHEA_XPF_CONTEXT_INFO {
pub RegisterContextType: u16,
pub RegisterDataSize: u16,
pub MSRAddress: u32,
pub MmRegisterAddress: u64,
}
impl ::core::marker::Copy for WHEA_XPF_CONTEXT_INFO {}
impl ::core::clone::Clone for WHEA_XPF_CONTEXT_INFO {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for WHEA_XPF_CONTEXT_INFO {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for WHEA_XPF_CONTEXT_INFO {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(1))]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub struct WHEA_XPF_MCA_SECTION {
pub VersionNumber: u32,
pub CpuVendor: WHEA_CPU_VENDOR,
pub Timestamp: i64,
pub ProcessorNumber: u32,
pub GlobalStatus: MCG_STATUS,
pub InstructionPointer: u64,
pub BankNumber: u32,
pub Status: MCI_STATUS,
pub Address: u64,
pub Misc: u64,
pub ExtendedRegisterCount: u32,
pub ApicId: u32,
pub Anonymous: WHEA_XPF_MCA_SECTION_0,
pub GlobalCapability: MCG_CAP,
pub RecoveryInfo: XPF_RECOVERY_INFO,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for WHEA_XPF_MCA_SECTION {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for WHEA_XPF_MCA_SECTION {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for WHEA_XPF_MCA_SECTION {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for WHEA_XPF_MCA_SECTION {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(1))]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub union WHEA_XPF_MCA_SECTION_0 {
pub ExtendedRegisters: [u64; 24],
pub AMDExtendedRegisters: WHEA_AMD_EXTENDED_REGISTERS,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for WHEA_XPF_MCA_SECTION_0 {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for WHEA_XPF_MCA_SECTION_0 {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for WHEA_XPF_MCA_SECTION_0 {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for WHEA_XPF_MCA_SECTION_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(1))]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub union WHEA_XPF_MS_CHECK {
pub Anonymous: WHEA_XPF_MS_CHECK_0,
pub XpfMsCheck: u64,
}
impl ::core::marker::Copy for WHEA_XPF_MS_CHECK {}
impl ::core::clone::Clone for WHEA_XPF_MS_CHECK {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for WHEA_XPF_MS_CHECK {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for WHEA_XPF_MS_CHECK {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(1))]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct WHEA_XPF_MS_CHECK_0 {
pub _bitfield: u64,
}
impl ::core::marker::Copy for WHEA_XPF_MS_CHECK_0 {}
impl ::core::clone::Clone for WHEA_XPF_MS_CHECK_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for WHEA_XPF_MS_CHECK_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for WHEA_XPF_MS_CHECK_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(1))]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct WHEA_XPF_PROCESSOR_ERROR_SECTION {
pub ValidBits: WHEA_XPF_PROCESSOR_ERROR_SECTION_VALIDBITS,
pub LocalAPICId: u64,
pub CpuId: [u8; 48],
pub VariableInfo: [u8; 1],
}
impl ::core::marker::Copy for WHEA_XPF_PROCESSOR_ERROR_SECTION {}
impl ::core::clone::Clone for WHEA_XPF_PROCESSOR_ERROR_SECTION {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for WHEA_XPF_PROCESSOR_ERROR_SECTION {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for WHEA_XPF_PROCESSOR_ERROR_SECTION {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(1))]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub union WHEA_XPF_PROCESSOR_ERROR_SECTION_VALIDBITS {
pub Anonymous: WHEA_XPF_PROCESSOR_ERROR_SECTION_VALIDBITS_0,
pub ValidBits: u64,
}
impl ::core::marker::Copy for WHEA_XPF_PROCESSOR_ERROR_SECTION_VALIDBITS {}
impl ::core::clone::Clone for WHEA_XPF_PROCESSOR_ERROR_SECTION_VALIDBITS {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for WHEA_XPF_PROCESSOR_ERROR_SECTION_VALIDBITS {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for WHEA_XPF_PROCESSOR_ERROR_SECTION_VALIDBITS {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(1))]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct WHEA_XPF_PROCESSOR_ERROR_SECTION_VALIDBITS_0 {
pub _bitfield: u64,
}
impl ::core::marker::Copy for WHEA_XPF_PROCESSOR_ERROR_SECTION_VALIDBITS_0 {}
impl ::core::clone::Clone for WHEA_XPF_PROCESSOR_ERROR_SECTION_VALIDBITS_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for WHEA_XPF_PROCESSOR_ERROR_SECTION_VALIDBITS_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for WHEA_XPF_PROCESSOR_ERROR_SECTION_VALIDBITS_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(1))]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct WHEA_XPF_PROCINFO {
pub CheckInfoId: ::windows_core::GUID,
pub ValidBits: WHEA_XPF_PROCINFO_VALIDBITS,
pub CheckInfo: WHEA_XPF_PROCINFO_0,
pub TargetId: u64,
pub RequesterId: u64,
pub ResponderId: u64,
pub InstructionPointer: u64,
}
impl ::core::marker::Copy for WHEA_XPF_PROCINFO {}
impl ::core::clone::Clone for WHEA_XPF_PROCINFO {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for WHEA_XPF_PROCINFO {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for WHEA_XPF_PROCINFO {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(1))]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub union WHEA_XPF_PROCINFO_0 {
pub CacheCheck: WHEA_XPF_CACHE_CHECK,
pub TlbCheck: WHEA_XPF_TLB_CHECK,
pub BusCheck: WHEA_XPF_BUS_CHECK,
pub MsCheck: WHEA_XPF_MS_CHECK,
pub AsULONGLONG: u64,
}
impl ::core::marker::Copy for WHEA_XPF_PROCINFO_0 {}
impl ::core::clone::Clone for WHEA_XPF_PROCINFO_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for WHEA_XPF_PROCINFO_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for WHEA_XPF_PROCINFO_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(1))]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub union WHEA_XPF_PROCINFO_VALIDBITS {
pub Anonymous: WHEA_XPF_PROCINFO_VALIDBITS_0,
pub ValidBits: u64,
}
impl ::core::marker::Copy for WHEA_XPF_PROCINFO_VALIDBITS {}
impl ::core::clone::Clone for WHEA_XPF_PROCINFO_VALIDBITS {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for WHEA_XPF_PROCINFO_VALIDBITS {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for WHEA_XPF_PROCINFO_VALIDBITS {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(1))]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct WHEA_XPF_PROCINFO_VALIDBITS_0 {
pub _bitfield: u64,
}
impl ::core::marker::Copy for WHEA_XPF_PROCINFO_VALIDBITS_0 {}
impl ::core::clone::Clone for WHEA_XPF_PROCINFO_VALIDBITS_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for WHEA_XPF_PROCINFO_VALIDBITS_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for WHEA_XPF_PROCINFO_VALIDBITS_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(1))]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub union WHEA_XPF_TLB_CHECK {
pub Anonymous: WHEA_XPF_TLB_CHECK_0,
pub XpfTLBCheck: u64,
}
impl ::core::marker::Copy for WHEA_XPF_TLB_CHECK {}
impl ::core::clone::Clone for WHEA_XPF_TLB_CHECK {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for WHEA_XPF_TLB_CHECK {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for WHEA_XPF_TLB_CHECK {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(1))]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct WHEA_XPF_TLB_CHECK_0 {
pub _bitfield: u64,
}
impl ::core::marker::Copy for WHEA_XPF_TLB_CHECK_0 {}
impl ::core::clone::Clone for WHEA_XPF_TLB_CHECK_0 {
fn clone(&self) -> Self {
*self
}
}
impl ::windows_core::TypeKind for WHEA_XPF_TLB_CHECK_0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::default::Default for WHEA_XPF_TLB_CHECK_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(1))]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub struct XPF_RECOVERY_INFO {
pub FailureReason: XPF_RECOVERY_INFO_1,
pub Action: XPF_RECOVERY_INFO_0,
pub ActionRequired: super::super::super::Win32::Foundation::BOOLEAN,
pub RecoverySucceeded: super::super::super::Win32::Foundation::BOOLEAN,
pub RecoveryKernel: super::super::super::Win32::Foundation::BOOLEAN,
pub Reserved: u8,
pub Reserved2: u16,
pub Reserved3: u16,
pub Reserved4: u32,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for XPF_RECOVERY_INFO {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for XPF_RECOVERY_INFO {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for XPF_RECOVERY_INFO {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for XPF_RECOVERY_INFO {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(1))]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub struct XPF_RECOVERY_INFO_0 {
pub _bitfield: u32,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for XPF_RECOVERY_INFO_0 {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for XPF_RECOVERY_INFO_0 {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for XPF_RECOVERY_INFO_0 {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for XPF_RECOVERY_INFO_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C, packed(1))]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub struct XPF_RECOVERY_INFO_1 {
pub _bitfield: u32,
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::marker::Copy for XPF_RECOVERY_INFO_1 {}
#[cfg(feature = "Win32_Foundation")]
impl ::core::clone::Clone for XPF_RECOVERY_INFO_1 {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_Foundation")]
impl ::windows_core::TypeKind for XPF_RECOVERY_INFO_1 {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_Foundation")]
impl ::core::default::Default for XPF_RECOVERY_INFO_1 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_System_Diagnostics_Debug\"`*"]
#[cfg(feature = "Win32_System_Diagnostics_Debug")]
pub struct XSAVE_FORMAT {
pub ControlWord: u16,
pub StatusWord: u16,
pub TagWord: u8,
pub Reserved1: u8,
pub ErrorOpcode: u16,
pub ErrorOffset: u32,
pub ErrorSelector: u16,
pub Reserved2: u16,
pub DataOffset: u32,
pub DataSelector: u16,
pub Reserved3: u16,
pub MxCsr: u32,
pub MxCsr_Mask: u32,
pub FloatRegisters: [super::super::super::Win32::System::Diagnostics::Debug::M128A; 8],
pub XmmRegisters: [super::super::super::Win32::System::Diagnostics::Debug::M128A; 8],
pub Reserved4: [u8; 224],
}
#[cfg(feature = "Win32_System_Diagnostics_Debug")]
impl ::core::marker::Copy for XSAVE_FORMAT {}
#[cfg(feature = "Win32_System_Diagnostics_Debug")]
impl ::core::clone::Clone for XSAVE_FORMAT {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_System_Diagnostics_Debug")]
impl ::core::fmt::Debug for XSAVE_FORMAT {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("XSAVE_FORMAT")
.field("ControlWord", &self.ControlWord)
.field("StatusWord", &self.StatusWord)
.field("TagWord", &self.TagWord)
.field("Reserved1", &self.Reserved1)
.field("ErrorOpcode", &self.ErrorOpcode)
.field("ErrorOffset", &self.ErrorOffset)
.field("ErrorSelector", &self.ErrorSelector)
.field("Reserved2", &self.Reserved2)
.field("DataOffset", &self.DataOffset)
.field("DataSelector", &self.DataSelector)
.field("Reserved3", &self.Reserved3)
.field("MxCsr", &self.MxCsr)
.field("MxCsr_Mask", &self.MxCsr_Mask)
.field("FloatRegisters", &self.FloatRegisters)
.field("XmmRegisters", &self.XmmRegisters)
.field("Reserved4", &self.Reserved4)
.finish()
}
}
#[cfg(feature = "Win32_System_Diagnostics_Debug")]
impl ::windows_core::TypeKind for XSAVE_FORMAT {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_System_Diagnostics_Debug")]
impl ::core::cmp::PartialEq for XSAVE_FORMAT {
fn eq(&self, other: &Self) -> bool {
self.ControlWord == other.ControlWord && self.StatusWord == other.StatusWord && self.TagWord == other.TagWord && self.Reserved1 == other.Reserved1 && self.ErrorOpcode == other.ErrorOpcode && self.ErrorOffset == other.ErrorOffset && self.ErrorSelector == other.ErrorSelector && self.Reserved2 == other.Reserved2 && self.DataOffset == other.DataOffset && self.DataSelector == other.DataSelector && self.Reserved3 == other.Reserved3 && self.MxCsr == other.MxCsr && self.MxCsr_Mask == other.MxCsr_Mask && self.FloatRegisters == other.FloatRegisters && self.XmmRegisters == other.XmmRegisters && self.Reserved4 == other.Reserved4
}
}
#[cfg(feature = "Win32_System_Diagnostics_Debug")]
impl ::core::cmp::Eq for XSAVE_FORMAT {}
#[cfg(feature = "Win32_System_Diagnostics_Debug")]
impl ::core::default::Default for XSAVE_FORMAT {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_System_Diagnostics_Debug\"`*"]
#[cfg(feature = "Win32_System_Diagnostics_Debug")]
pub struct XSTATE_CONTEXT {
pub Mask: u64,
pub Length: u32,
pub Reserved1: u32,
pub Area: *mut super::super::super::Win32::System::Diagnostics::Debug::XSAVE_AREA,
pub Reserved2: u32,
pub Buffer: *mut ::core::ffi::c_void,
pub Reserved3: u32,
}
#[cfg(feature = "Win32_System_Diagnostics_Debug")]
impl ::core::marker::Copy for XSTATE_CONTEXT {}
#[cfg(feature = "Win32_System_Diagnostics_Debug")]
impl ::core::clone::Clone for XSTATE_CONTEXT {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_System_Diagnostics_Debug")]
impl ::core::fmt::Debug for XSTATE_CONTEXT {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("XSTATE_CONTEXT").field("Mask", &self.Mask).field("Length", &self.Length).field("Reserved1", &self.Reserved1).field("Area", &self.Area).field("Reserved2", &self.Reserved2).field("Buffer", &self.Buffer).field("Reserved3", &self.Reserved3).finish()
}
}
#[cfg(feature = "Win32_System_Diagnostics_Debug")]
impl ::windows_core::TypeKind for XSTATE_CONTEXT {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_System_Diagnostics_Debug")]
impl ::core::cmp::PartialEq for XSTATE_CONTEXT {
fn eq(&self, other: &Self) -> bool {
self.Mask == other.Mask && self.Length == other.Length && self.Reserved1 == other.Reserved1 && self.Area == other.Area && self.Reserved2 == other.Reserved2 && self.Buffer == other.Buffer && self.Reserved3 == other.Reserved3
}
}
#[cfg(feature = "Win32_System_Diagnostics_Debug")]
impl ::core::cmp::Eq for XSTATE_CONTEXT {}
#[cfg(feature = "Win32_System_Diagnostics_Debug")]
impl ::core::default::Default for XSTATE_CONTEXT {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_System_Diagnostics_Debug\"`*"]
#[cfg(feature = "Win32_System_Diagnostics_Debug")]
pub struct XSTATE_SAVE {
pub Anonymous: XSTATE_SAVE_0,
}
#[cfg(feature = "Win32_System_Diagnostics_Debug")]
impl ::core::marker::Copy for XSTATE_SAVE {}
#[cfg(feature = "Win32_System_Diagnostics_Debug")]
impl ::core::clone::Clone for XSTATE_SAVE {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_System_Diagnostics_Debug")]
impl ::windows_core::TypeKind for XSTATE_SAVE {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_System_Diagnostics_Debug")]
impl ::core::default::Default for XSTATE_SAVE {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_System_Diagnostics_Debug\"`*"]
#[cfg(feature = "Win32_System_Diagnostics_Debug")]
pub union XSTATE_SAVE_0 {
pub Anonymous: XSTATE_SAVE_0_0,
pub XStateContext: XSTATE_CONTEXT,
}
#[cfg(feature = "Win32_System_Diagnostics_Debug")]
impl ::core::marker::Copy for XSTATE_SAVE_0 {}
#[cfg(feature = "Win32_System_Diagnostics_Debug")]
impl ::core::clone::Clone for XSTATE_SAVE_0 {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_System_Diagnostics_Debug")]
impl ::windows_core::TypeKind for XSTATE_SAVE_0 {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_System_Diagnostics_Debug")]
impl ::core::default::Default for XSTATE_SAVE_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_System_Diagnostics_Debug\"`*"]
#[cfg(feature = "Win32_System_Diagnostics_Debug")]
pub struct XSTATE_SAVE_0_0 {
pub Reserved1: i64,
pub Reserved2: u32,
pub Prev: *mut XSTATE_SAVE,
pub Reserved3: *mut super::super::super::Win32::System::Diagnostics::Debug::XSAVE_AREA,
pub Thread: *mut isize,
pub Reserved4: *mut ::core::ffi::c_void,
pub Level: u8,
}
#[cfg(feature = "Win32_System_Diagnostics_Debug")]
impl ::core::marker::Copy for XSTATE_SAVE_0_0 {}
#[cfg(feature = "Win32_System_Diagnostics_Debug")]
impl ::core::clone::Clone for XSTATE_SAVE_0_0 {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_System_Diagnostics_Debug")]
impl ::core::fmt::Debug for XSTATE_SAVE_0_0 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("XSTATE_SAVE_0_0").field("Reserved1", &self.Reserved1).field("Reserved2", &self.Reserved2).field("Prev", &self.Prev).field("Reserved3", &self.Reserved3).field("Thread", &self.Thread).field("Reserved4", &self.Reserved4).field("Level", &self.Level).finish()
}
}
#[cfg(feature = "Win32_System_Diagnostics_Debug")]
impl ::windows_core::TypeKind for XSTATE_SAVE_0_0 {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_System_Diagnostics_Debug")]
impl ::core::cmp::PartialEq for XSTATE_SAVE_0_0 {
fn eq(&self, other: &Self) -> bool {
self.Reserved1 == other.Reserved1 && self.Reserved2 == other.Reserved2 && self.Prev == other.Prev && self.Reserved3 == other.Reserved3 && self.Thread == other.Thread && self.Reserved4 == other.Reserved4 && self.Level == other.Level
}
}
#[cfg(feature = "Win32_System_Diagnostics_Debug")]
impl ::core::cmp::Eq for XSTATE_SAVE_0_0 {}
#[cfg(feature = "Win32_System_Diagnostics_Debug")]
impl ::core::default::Default for XSTATE_SAVE_0_0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_System_Kernel\"`*"]
#[cfg(feature = "Win32_System_Kernel")]
pub struct ZONE_HEADER {
pub FreeList: super::super::super::Win32::System::Kernel::SINGLE_LIST_ENTRY,
pub SegmentList: super::super::super::Win32::System::Kernel::SINGLE_LIST_ENTRY,
pub BlockSize: u32,
pub TotalSegmentSize: u32,
}
#[cfg(feature = "Win32_System_Kernel")]
impl ::core::marker::Copy for ZONE_HEADER {}
#[cfg(feature = "Win32_System_Kernel")]
impl ::core::clone::Clone for ZONE_HEADER {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_System_Kernel")]
impl ::core::fmt::Debug for ZONE_HEADER {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("ZONE_HEADER").field("FreeList", &self.FreeList).field("SegmentList", &self.SegmentList).field("BlockSize", &self.BlockSize).field("TotalSegmentSize", &self.TotalSegmentSize).finish()
}
}
#[cfg(feature = "Win32_System_Kernel")]
impl ::windows_core::TypeKind for ZONE_HEADER {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_System_Kernel")]
impl ::core::cmp::PartialEq for ZONE_HEADER {
fn eq(&self, other: &Self) -> bool {
self.FreeList == other.FreeList && self.SegmentList == other.SegmentList && self.BlockSize == other.BlockSize && self.TotalSegmentSize == other.TotalSegmentSize
}
}
#[cfg(feature = "Win32_System_Kernel")]
impl ::core::cmp::Eq for ZONE_HEADER {}
#[cfg(feature = "Win32_System_Kernel")]
impl ::core::default::Default for ZONE_HEADER {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_System_Kernel\"`*"]
#[cfg(feature = "Win32_System_Kernel")]
pub struct ZONE_SEGMENT_HEADER {
pub SegmentList: super::super::super::Win32::System::Kernel::SINGLE_LIST_ENTRY,
pub Reserved: *mut ::core::ffi::c_void,
}
#[cfg(feature = "Win32_System_Kernel")]
impl ::core::marker::Copy for ZONE_SEGMENT_HEADER {}
#[cfg(feature = "Win32_System_Kernel")]
impl ::core::clone::Clone for ZONE_SEGMENT_HEADER {
fn clone(&self) -> Self {
*self
}
}
#[cfg(feature = "Win32_System_Kernel")]
impl ::core::fmt::Debug for ZONE_SEGMENT_HEADER {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("ZONE_SEGMENT_HEADER").field("SegmentList", &self.SegmentList).field("Reserved", &self.Reserved).finish()
}
}
#[cfg(feature = "Win32_System_Kernel")]
impl ::windows_core::TypeKind for ZONE_SEGMENT_HEADER {
type TypeKind = ::windows_core::CopyType;
}
#[cfg(feature = "Win32_System_Kernel")]
impl ::core::cmp::PartialEq for ZONE_SEGMENT_HEADER {
fn eq(&self, other: &Self) -> bool {
self.SegmentList == other.SegmentList && self.Reserved == other.Reserved
}
}
#[cfg(feature = "Win32_System_Kernel")]
impl ::core::cmp::Eq for ZONE_SEGMENT_HEADER {}
#[cfg(feature = "Win32_System_Kernel")]
impl ::core::default::Default for ZONE_SEGMENT_HEADER {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[repr(C)]
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub struct _EXT_SET_PARAMETERS_V0 {
pub Version: u32,
pub Reserved: u32,
pub NoWakeTolerance: i64,
}
impl ::core::marker::Copy for _EXT_SET_PARAMETERS_V0 {}
impl ::core::clone::Clone for _EXT_SET_PARAMETERS_V0 {
fn clone(&self) -> Self {
*self
}
}
impl ::core::fmt::Debug for _EXT_SET_PARAMETERS_V0 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
f.debug_struct("_EXT_SET_PARAMETERS_V0").field("Version", &self.Version).field("Reserved", &self.Reserved).field("NoWakeTolerance", &self.NoWakeTolerance).finish()
}
}
impl ::windows_core::TypeKind for _EXT_SET_PARAMETERS_V0 {
type TypeKind = ::windows_core::CopyType;
}
impl ::core::cmp::PartialEq for _EXT_SET_PARAMETERS_V0 {
fn eq(&self, other: &Self) -> bool {
self.Version == other.Version && self.Reserved == other.Reserved && self.NoWakeTolerance == other.NoWakeTolerance
}
}
impl ::core::cmp::Eq for _EXT_SET_PARAMETERS_V0 {}
impl ::core::default::Default for _EXT_SET_PARAMETERS_V0 {
fn default() -> Self {
unsafe { ::core::mem::zeroed() }
}
}
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`*"]
#[cfg(feature = "Wdk_Foundation")]
pub type ALLOCATE_FUNCTION = ::core::option::Option<unsafe extern "system" fn(pooltype: super::super::Foundation::POOL_TYPE, numberofbytes: usize, tag: u32) -> *mut ::core::ffi::c_void>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub type BOOT_DRIVER_CALLBACK_FUNCTION = ::core::option::Option<unsafe extern "system" fn(callbackcontext: *const ::core::ffi::c_void, classification: BDCB_CALLBACK_TYPE, imageinformation: *mut BDCB_IMAGE_INFORMATION) -> ()>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub type BOUND_CALLBACK = ::core::option::Option<unsafe extern "system" fn() -> BOUND_CALLBACK_STATUS>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub type D3COLD_REQUEST_AUX_POWER = ::core::option::Option<unsafe extern "system" fn(context: *const ::core::ffi::c_void, auxpowerinmilliwatts: u32, retryinseconds: *mut u32) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub type D3COLD_REQUEST_CORE_POWER_RAIL = ::core::option::Option<unsafe extern "system" fn(context: *const ::core::ffi::c_void, corepowerrailneeded: super::super::super::Win32::Foundation::BOOLEAN) -> ()>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub type D3COLD_REQUEST_PERST_DELAY = ::core::option::Option<unsafe extern "system" fn(context: *const ::core::ffi::c_void, delayinmicroseconds: u32) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub type DEVICE_BUS_SPECIFIC_RESET_HANDLER = ::core::option::Option<unsafe extern "system" fn(interfacecontext: *const ::core::ffi::c_void, bustype: *const ::windows_core::GUID, resettypeselected: DEVICE_BUS_SPECIFIC_RESET_TYPE, flags: *const BUS_SPECIFIC_RESET_FLAGS, resetparameters: *const ::core::ffi::c_void) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub type DEVICE_CHANGE_COMPLETE_CALLBACK = ::core::option::Option<unsafe extern "system" fn(context: *mut ::core::ffi::c_void) -> ()>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub type DEVICE_QUERY_BUS_SPECIFIC_RESET_HANDLER = ::core::option::Option<unsafe extern "system" fn(interfacecontext: *const ::core::ffi::c_void, resetinfocount: *mut u32, resetinfosupported: *mut DEVICE_BUS_SPECIFIC_RESET_INFO) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub type DEVICE_RESET_COMPLETION = ::core::option::Option<unsafe extern "system" fn(status: super::super::super::Win32::Foundation::NTSTATUS, context: *mut ::core::ffi::c_void) -> ()>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub type DEVICE_RESET_HANDLER = ::core::option::Option<unsafe extern "system" fn(interfacecontext: *const ::core::ffi::c_void, resettype: DEVICE_RESET_TYPE, flags: u32, resetparameters: *const ::core::ffi::c_void) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
pub type DMA_COMPLETION_ROUTINE = ::core::option::Option<unsafe extern "system" fn(dmaadapter: *const DMA_ADAPTER, deviceobject: *const super::super::Foundation::DEVICE_OBJECT, completioncontext: *const ::core::ffi::c_void, status: DMA_COMPLETION_STATUS) -> ()>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
pub type DRIVER_ADD_DEVICE = ::core::option::Option<unsafe extern "system" fn(driverobject: *const super::super::Foundation::DRIVER_OBJECT, physicaldeviceobject: *const super::super::Foundation::DEVICE_OBJECT) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
pub type DRIVER_CANCEL = ::core::option::Option<unsafe extern "system" fn(deviceobject: *mut super::super::Foundation::DEVICE_OBJECT, irp: *mut super::super::Foundation::IRP) -> ()>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
pub type DRIVER_CONTROL = ::core::option::Option<unsafe extern "system" fn(deviceobject: *const super::super::Foundation::DEVICE_OBJECT, irp: *mut super::super::Foundation::IRP, mapregisterbase: *const ::core::ffi::c_void, context: *const ::core::ffi::c_void) -> IO_ALLOCATION_ACTION>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
pub type DRIVER_DISPATCH = ::core::option::Option<unsafe extern "system" fn(deviceobject: *const super::super::Foundation::DEVICE_OBJECT, irp: *mut super::super::Foundation::IRP) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
pub type DRIVER_DISPATCH_PAGED = ::core::option::Option<unsafe extern "system" fn(deviceobject: *const super::super::Foundation::DEVICE_OBJECT, irp: *mut super::super::Foundation::IRP) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub type DRIVER_DISPATCH_RAISED = ::core::option::Option<unsafe extern "system" fn() -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
pub type DRIVER_INITIALIZE = ::core::option::Option<unsafe extern "system" fn(driverobject: *const super::super::Foundation::DRIVER_OBJECT, registrypath: *const super::super::super::Win32::Foundation::UNICODE_STRING) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
pub type DRIVER_LIST_CONTROL = ::core::option::Option<unsafe extern "system" fn(deviceobject: *const super::super::Foundation::DEVICE_OBJECT, irp: *const super::super::Foundation::IRP, scattergather: *const SCATTER_GATHER_LIST, context: *const ::core::ffi::c_void) -> ()>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub type DRIVER_NOTIFICATION_CALLBACK_ROUTINE = ::core::option::Option<unsafe extern "system" fn(notificationstructure: *const ::core::ffi::c_void, context: *mut ::core::ffi::c_void) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
pub type DRIVER_REINITIALIZE = ::core::option::Option<unsafe extern "system" fn(driverobject: *const super::super::Foundation::DRIVER_OBJECT, context: *const ::core::ffi::c_void, count: u32) -> ()>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
pub type DRIVER_STARTIO = ::core::option::Option<unsafe extern "system" fn(deviceobject: *mut super::super::Foundation::DEVICE_OBJECT, irp: *mut super::super::Foundation::IRP) -> ()>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
pub type DRIVER_UNLOAD = ::core::option::Option<unsafe extern "system" fn(driverobject: *const super::super::Foundation::DRIVER_OBJECT) -> ()>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub type ENABLE_VIRTUALIZATION = ::core::option::Option<unsafe extern "system" fn(context: *mut ::core::ffi::c_void, numvfs: u16, enablevfmigration: super::super::super::Win32::Foundation::BOOLEAN, enablemigrationinterrupt: super::super::super::Win32::Foundation::BOOLEAN, enablevirtualization: super::super::super::Win32::Foundation::BOOLEAN) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_System_Diagnostics_Etw\"`*"]
#[cfg(feature = "Win32_System_Diagnostics_Etw")]
pub type ETWENABLECALLBACK = ::core::option::Option<unsafe extern "system" fn(sourceid: *const ::windows_core::GUID, controlcode: u32, level: u8, matchanykeyword: u64, matchallkeyword: u64, filterdata: *const super::super::super::Win32::System::Diagnostics::Etw::EVENT_FILTER_DESCRIPTOR, callbackcontext: *mut ::core::ffi::c_void) -> ()>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub type EXPAND_STACK_CALLOUT = ::core::option::Option<unsafe extern "system" fn(parameter: *const ::core::ffi::c_void) -> ()>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`*"]
#[cfg(feature = "Wdk_Foundation")]
pub type EXT_CALLBACK = ::core::option::Option<unsafe extern "system" fn(timer: super::super::Foundation::PEX_TIMER, context: *const ::core::ffi::c_void) -> ()>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub type EXT_DELETE_CALLBACK = ::core::option::Option<unsafe extern "system" fn(context: *const ::core::ffi::c_void) -> ()>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub type EX_CALLBACK_FUNCTION = ::core::option::Option<unsafe extern "system" fn(callbackcontext: *const ::core::ffi::c_void, argument1: *const ::core::ffi::c_void, argument2: *const ::core::ffi::c_void) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
pub type FAST_IO_ACQUIRE_FILE = ::core::option::Option<unsafe extern "system" fn(fileobject: *const super::super::Foundation::FILE_OBJECT) -> ()>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
pub type FAST_IO_ACQUIRE_FOR_CCFLUSH = ::core::option::Option<unsafe extern "system" fn(fileobject: *const super::super::Foundation::FILE_OBJECT, deviceobject: *const super::super::Foundation::DEVICE_OBJECT) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
pub type FAST_IO_ACQUIRE_FOR_MOD_WRITE = ::core::option::Option<unsafe extern "system" fn(fileobject: *const super::super::Foundation::FILE_OBJECT, endingoffset: *const i64, resourcetorelease: *mut *mut super::super::Foundation::ERESOURCE, deviceobject: *const super::super::Foundation::DEVICE_OBJECT) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
pub type FAST_IO_CHECK_IF_POSSIBLE = ::core::option::Option<unsafe extern "system" fn(fileobject: *const super::super::Foundation::FILE_OBJECT, fileoffset: *const i64, length: u32, wait: super::super::super::Win32::Foundation::BOOLEAN, lockkey: u32, checkforreadoperation: super::super::super::Win32::Foundation::BOOLEAN, iostatus: *mut super::super::super::Win32::System::IO::IO_STATUS_BLOCK, deviceobject: *const super::super::Foundation::DEVICE_OBJECT) -> super::super::super::Win32::Foundation::BOOLEAN>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
pub type FAST_IO_DETACH_DEVICE = ::core::option::Option<unsafe extern "system" fn(sourcedevice: *const super::super::Foundation::DEVICE_OBJECT, targetdevice: *const super::super::Foundation::DEVICE_OBJECT) -> ()>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
pub type FAST_IO_DEVICE_CONTROL = ::core::option::Option<unsafe extern "system" fn(fileobject: *const super::super::Foundation::FILE_OBJECT, wait: super::super::super::Win32::Foundation::BOOLEAN, inputbuffer: *const ::core::ffi::c_void, inputbufferlength: u32, outputbuffer: *mut ::core::ffi::c_void, outputbufferlength: u32, iocontrolcode: u32, iostatus: *mut super::super::super::Win32::System::IO::IO_STATUS_BLOCK, deviceobject: *const super::super::Foundation::DEVICE_OBJECT) -> super::super::super::Win32::Foundation::BOOLEAN>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
pub type FAST_IO_LOCK = ::core::option::Option<unsafe extern "system" fn(fileobject: *const super::super::Foundation::FILE_OBJECT, fileoffset: *const i64, length: *const i64, processid: super::super::Foundation::PEPROCESS, key: u32, failimmediately: super::super::super::Win32::Foundation::BOOLEAN, exclusivelock: super::super::super::Win32::Foundation::BOOLEAN, iostatus: *mut super::super::super::Win32::System::IO::IO_STATUS_BLOCK, deviceobject: *const super::super::Foundation::DEVICE_OBJECT) -> super::super::super::Win32::Foundation::BOOLEAN>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
pub type FAST_IO_MDL_READ = ::core::option::Option<unsafe extern "system" fn(fileobject: *const super::super::Foundation::FILE_OBJECT, fileoffset: *const i64, length: u32, lockkey: u32, mdlchain: *mut *mut super::super::Foundation::MDL, iostatus: *mut super::super::super::Win32::System::IO::IO_STATUS_BLOCK, deviceobject: *const super::super::Foundation::DEVICE_OBJECT) -> super::super::super::Win32::Foundation::BOOLEAN>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
pub type FAST_IO_MDL_READ_COMPLETE = ::core::option::Option<unsafe extern "system" fn(fileobject: *const super::super::Foundation::FILE_OBJECT, mdlchain: *const super::super::Foundation::MDL, deviceobject: *const super::super::Foundation::DEVICE_OBJECT) -> super::super::super::Win32::Foundation::BOOLEAN>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
pub type FAST_IO_MDL_READ_COMPLETE_COMPRESSED = ::core::option::Option<unsafe extern "system" fn(fileobject: *const super::super::Foundation::FILE_OBJECT, mdlchain: *const super::super::Foundation::MDL, deviceobject: *const super::super::Foundation::DEVICE_OBJECT) -> super::super::super::Win32::Foundation::BOOLEAN>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
pub type FAST_IO_MDL_WRITE_COMPLETE = ::core::option::Option<unsafe extern "system" fn(fileobject: *const super::super::Foundation::FILE_OBJECT, fileoffset: *const i64, mdlchain: *const super::super::Foundation::MDL, deviceobject: *const super::super::Foundation::DEVICE_OBJECT) -> super::super::super::Win32::Foundation::BOOLEAN>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
pub type FAST_IO_MDL_WRITE_COMPLETE_COMPRESSED = ::core::option::Option<unsafe extern "system" fn(fileobject: *const super::super::Foundation::FILE_OBJECT, fileoffset: *const i64, mdlchain: *const super::super::Foundation::MDL, deviceobject: *const super::super::Foundation::DEVICE_OBJECT) -> super::super::super::Win32::Foundation::BOOLEAN>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
pub type FAST_IO_PREPARE_MDL_WRITE = ::core::option::Option<unsafe extern "system" fn(fileobject: *const super::super::Foundation::FILE_OBJECT, fileoffset: *const i64, length: u32, lockkey: u32, mdlchain: *mut *mut super::super::Foundation::MDL, iostatus: *mut super::super::super::Win32::System::IO::IO_STATUS_BLOCK, deviceobject: *const super::super::Foundation::DEVICE_OBJECT) -> super::super::super::Win32::Foundation::BOOLEAN>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
pub type FAST_IO_QUERY_BASIC_INFO = ::core::option::Option<unsafe extern "system" fn(fileobject: *const super::super::Foundation::FILE_OBJECT, wait: super::super::super::Win32::Foundation::BOOLEAN, buffer: *mut super::super::Storage::FileSystem::FILE_BASIC_INFORMATION, iostatus: *mut super::super::super::Win32::System::IO::IO_STATUS_BLOCK, deviceobject: *const super::super::Foundation::DEVICE_OBJECT) -> super::super::super::Win32::Foundation::BOOLEAN>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
pub type FAST_IO_QUERY_NETWORK_OPEN_INFO = ::core::option::Option<unsafe extern "system" fn(fileobject: *const super::super::Foundation::FILE_OBJECT, wait: super::super::super::Win32::Foundation::BOOLEAN, buffer: *mut super::super::Storage::FileSystem::FILE_NETWORK_OPEN_INFORMATION, iostatus: *mut super::super::super::Win32::System::IO::IO_STATUS_BLOCK, deviceobject: *const super::super::Foundation::DEVICE_OBJECT) -> super::super::super::Win32::Foundation::BOOLEAN>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
pub type FAST_IO_QUERY_OPEN = ::core::option::Option<unsafe extern "system" fn(irp: *mut super::super::Foundation::IRP, networkinformation: *mut super::super::Storage::FileSystem::FILE_NETWORK_OPEN_INFORMATION, deviceobject: *const super::super::Foundation::DEVICE_OBJECT) -> super::super::super::Win32::Foundation::BOOLEAN>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
pub type FAST_IO_QUERY_STANDARD_INFO = ::core::option::Option<unsafe extern "system" fn(fileobject: *const super::super::Foundation::FILE_OBJECT, wait: super::super::super::Win32::Foundation::BOOLEAN, buffer: *mut super::super::Storage::FileSystem::FILE_STANDARD_INFORMATION, iostatus: *mut super::super::super::Win32::System::IO::IO_STATUS_BLOCK, deviceobject: *const super::super::Foundation::DEVICE_OBJECT) -> super::super::super::Win32::Foundation::BOOLEAN>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
pub type FAST_IO_READ = ::core::option::Option<unsafe extern "system" fn(fileobject: *const super::super::Foundation::FILE_OBJECT, fileoffset: *const i64, length: u32, wait: super::super::super::Win32::Foundation::BOOLEAN, lockkey: u32, buffer: *mut ::core::ffi::c_void, iostatus: *mut super::super::super::Win32::System::IO::IO_STATUS_BLOCK, deviceobject: *const super::super::Foundation::DEVICE_OBJECT) -> super::super::super::Win32::Foundation::BOOLEAN>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
pub type FAST_IO_READ_COMPRESSED = ::core::option::Option<unsafe extern "system" fn(fileobject: *const super::super::Foundation::FILE_OBJECT, fileoffset: *const i64, length: u32, lockkey: u32, buffer: *mut ::core::ffi::c_void, mdlchain: *mut *mut super::super::Foundation::MDL, iostatus: *mut super::super::super::Win32::System::IO::IO_STATUS_BLOCK, compresseddatainfo: *mut super::super::Storage::FileSystem::COMPRESSED_DATA_INFO, compresseddatainfolength: u32, deviceobject: *const super::super::Foundation::DEVICE_OBJECT) -> super::super::super::Win32::Foundation::BOOLEAN>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
pub type FAST_IO_RELEASE_FILE = ::core::option::Option<unsafe extern "system" fn(fileobject: *const super::super::Foundation::FILE_OBJECT) -> ()>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
pub type FAST_IO_RELEASE_FOR_CCFLUSH = ::core::option::Option<unsafe extern "system" fn(fileobject: *const super::super::Foundation::FILE_OBJECT, deviceobject: *const super::super::Foundation::DEVICE_OBJECT) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
pub type FAST_IO_RELEASE_FOR_MOD_WRITE = ::core::option::Option<unsafe extern "system" fn(fileobject: *const super::super::Foundation::FILE_OBJECT, resourcetorelease: *const super::super::Foundation::ERESOURCE, deviceobject: *const super::super::Foundation::DEVICE_OBJECT) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
pub type FAST_IO_UNLOCK_ALL = ::core::option::Option<unsafe extern "system" fn(fileobject: *const super::super::Foundation::FILE_OBJECT, processid: super::super::Foundation::PEPROCESS, iostatus: *mut super::super::super::Win32::System::IO::IO_STATUS_BLOCK, deviceobject: *const super::super::Foundation::DEVICE_OBJECT) -> super::super::super::Win32::Foundation::BOOLEAN>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
pub type FAST_IO_UNLOCK_ALL_BY_KEY = ::core::option::Option<unsafe extern "system" fn(fileobject: *const super::super::Foundation::FILE_OBJECT, processid: *const ::core::ffi::c_void, key: u32, iostatus: *mut super::super::super::Win32::System::IO::IO_STATUS_BLOCK, deviceobject: *const super::super::Foundation::DEVICE_OBJECT) -> super::super::super::Win32::Foundation::BOOLEAN>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
pub type FAST_IO_UNLOCK_SINGLE = ::core::option::Option<unsafe extern "system" fn(fileobject: *const super::super::Foundation::FILE_OBJECT, fileoffset: *const i64, length: *const i64, processid: super::super::Foundation::PEPROCESS, key: u32, iostatus: *mut super::super::super::Win32::System::IO::IO_STATUS_BLOCK, deviceobject: *const super::super::Foundation::DEVICE_OBJECT) -> super::super::super::Win32::Foundation::BOOLEAN>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
pub type FAST_IO_WRITE = ::core::option::Option<unsafe extern "system" fn(fileobject: *const super::super::Foundation::FILE_OBJECT, fileoffset: *const i64, length: u32, wait: super::super::super::Win32::Foundation::BOOLEAN, lockkey: u32, buffer: *const ::core::ffi::c_void, iostatus: *mut super::super::super::Win32::System::IO::IO_STATUS_BLOCK, deviceobject: *const super::super::Foundation::DEVICE_OBJECT) -> super::super::super::Win32::Foundation::BOOLEAN>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
pub type FAST_IO_WRITE_COMPRESSED = ::core::option::Option<unsafe extern "system" fn(fileobject: *const super::super::Foundation::FILE_OBJECT, fileoffset: *const i64, length: u32, lockkey: u32, buffer: *const ::core::ffi::c_void, mdlchain: *mut *mut super::super::Foundation::MDL, iostatus: *mut super::super::super::Win32::System::IO::IO_STATUS_BLOCK, compresseddatainfo: *const super::super::Storage::FileSystem::COMPRESSED_DATA_INFO, compresseddatainfolength: u32, deviceobject: *const super::super::Foundation::DEVICE_OBJECT) -> super::super::super::Win32::Foundation::BOOLEAN>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub type FPGA_BUS_SCAN = ::core::option::Option<unsafe extern "system" fn(context: *const ::core::ffi::c_void) -> ()>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub type FPGA_CONTROL_CONFIG_SPACE = ::core::option::Option<unsafe extern "system" fn(context: *const ::core::ffi::c_void, enable: super::super::super::Win32::Foundation::BOOLEAN) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub type FPGA_CONTROL_ERROR_REPORTING = ::core::option::Option<unsafe extern "system" fn(context: *const ::core::ffi::c_void, uncorrectablemask: u32, correctablemask: u32, disableerrorreporting: super::super::super::Win32::Foundation::BOOLEAN) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub type FPGA_CONTROL_LINK = ::core::option::Option<unsafe extern "system" fn(context: *const ::core::ffi::c_void, enable: super::super::super::Win32::Foundation::BOOLEAN) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub type FREE_FUNCTION = ::core::option::Option<unsafe extern "system" fn(buffer: *const ::core::ffi::c_void) -> ()>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub type FWMI_NOTIFICATION_CALLBACK = ::core::option::Option<unsafe extern "system" fn(wnode: *mut ::core::ffi::c_void, context: *mut ::core::ffi::c_void) -> ()>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub type GET_D3COLD_CAPABILITY = ::core::option::Option<unsafe extern "system" fn(context: *const ::core::ffi::c_void, d3coldsupported: *mut super::super::super::Win32::Foundation::BOOLEAN) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub type GET_D3COLD_LAST_TRANSITION_STATUS = ::core::option::Option<unsafe extern "system" fn(context: *const ::core::ffi::c_void, lasttransitionstatus: *mut D3COLD_LAST_TRANSITION_STATUS) -> ()>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub type GET_DEVICE_RESET_STATUS = ::core::option::Option<unsafe extern "system" fn(interfacecontext: *const ::core::ffi::c_void, isresetting: *mut super::super::super::Win32::Foundation::BOOLEAN, resettypeselected: *mut DEVICE_BUS_SPECIFIC_RESET_TYPE, flags: *mut DEVICE_RESET_STATUS_FLAGS) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
pub type GET_DMA_ADAPTER = ::core::option::Option<unsafe extern "system" fn(context: *mut ::core::ffi::c_void, devicedescriptor: *const DEVICE_DESCRIPTION, numberofmapregisters: *mut u32) -> *mut DMA_ADAPTER>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Power\"`*"]
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Power"))]
pub type GET_IDLE_WAKE_INFO = ::core::option::Option<unsafe extern "system" fn(context: *const ::core::ffi::c_void, systempowerstate: super::super::super::Win32::System::Power::SYSTEM_POWER_STATE, deepestwakeabledstate: *mut DEVICE_WAKE_DEPTH) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub type GET_SDEV_IDENTIFIER = ::core::option::Option<unsafe extern "system" fn(interfacecontext: *const ::core::ffi::c_void) -> u64>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub type GET_SET_DEVICE_DATA = ::core::option::Option<unsafe extern "system" fn(context: *mut ::core::ffi::c_void, datatype: u32, buffer: *mut ::core::ffi::c_void, offset: u32, length: u32) -> u32>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub type GET_UPDATED_BUS_RESOURCE = ::core::option::Option<unsafe extern "system" fn(context: *const ::core::ffi::c_void, updatedresourcelist: *mut *mut CM_RESOURCE_LIST, updatedtranslatedresourcelist: *mut *mut CM_RESOURCE_LIST) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub type GET_VIRTUAL_DEVICE_DATA = ::core::option::Option<unsafe extern "system" fn(context: *mut ::core::ffi::c_void, virtualfunction: u16, buffer: *mut ::core::ffi::c_void, offset: u32, length: u32) -> u32>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub type GET_VIRTUAL_DEVICE_LOCATION = ::core::option::Option<unsafe extern "system" fn(context: *mut ::core::ffi::c_void, virtualfunction: u16, segmentnumber: *mut u16, busnumber: *mut u8, functionnumber: *mut u8) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub type GET_VIRTUAL_DEVICE_RESOURCES = ::core::option::Option<unsafe extern "system" fn(context: *mut ::core::ffi::c_void, capturedbusnumbers: *mut u8) -> ()>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub type GET_VIRTUAL_FUNCTION_PROBED_BARS = ::core::option::Option<unsafe extern "system" fn(context: *mut ::core::ffi::c_void, baseregistervalues: *mut u32) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub type HVL_WHEA_ERROR_NOTIFICATION = ::core::option::Option<unsafe extern "system" fn(recoverycontext: *const WHEA_RECOVERY_CONTEXT, platformdirected: super::super::super::Win32::Foundation::BOOLEAN, poisoned: super::super::super::Win32::Foundation::BOOLEAN) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
pub type IOMMU_DEVICE_CREATE = ::core::option::Option<unsafe extern "system" fn(deviceobject: *const super::super::Foundation::DEVICE_OBJECT, deviceconfig: *const IOMMU_DEVICE_CREATION_CONFIGURATION, dmadeviceout: *mut *mut super::super::Foundation::IOMMU_DMA_DEVICE) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))]
pub type IOMMU_DEVICE_DELETE = ::core::option::Option<unsafe extern "system" fn(dmadevice: *const super::super::Foundation::IOMMU_DMA_DEVICE) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
pub type IOMMU_DEVICE_FAULT_HANDLER = ::core::option::Option<unsafe extern "system" fn(context: *mut ::core::ffi::c_void, faultinformation: *mut FAULT_INFORMATION) -> ()>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`*"]
#[cfg(feature = "Wdk_Foundation")]
pub type IOMMU_DEVICE_QUERY_DOMAIN_TYPES = ::core::option::Option<unsafe extern "system" fn(dmadevice: *const super::super::Foundation::IOMMU_DMA_DEVICE, availabledomains: *mut u32) -> ()>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
pub type IOMMU_DOMAIN_ATTACH_DEVICE = ::core::option::Option<unsafe extern "system" fn(domain: *const super::super::Foundation::IOMMU_DMA_DOMAIN, physicaldeviceobject: *const super::super::Foundation::DEVICE_OBJECT, inputmappingidbase: u32, mappingcount: u32) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))]
pub type IOMMU_DOMAIN_ATTACH_DEVICE_EX = ::core::option::Option<unsafe extern "system" fn(domain: *const super::super::Foundation::IOMMU_DMA_DOMAIN, dmadevice: *const super::super::Foundation::IOMMU_DMA_DEVICE) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))]
pub type IOMMU_DOMAIN_CONFIGURE = ::core::option::Option<unsafe extern "system" fn(domain: *const super::super::Foundation::IOMMU_DMA_DOMAIN, configuration: *const DOMAIN_CONFIGURATION) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))]
pub type IOMMU_DOMAIN_CREATE = ::core::option::Option<unsafe extern "system" fn(osmanagedpagetable: super::super::super::Win32::Foundation::BOOLEAN, domainout: *mut *mut super::super::Foundation::IOMMU_DMA_DOMAIN) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))]
pub type IOMMU_DOMAIN_CREATE_EX = ::core::option::Option<unsafe extern "system" fn(domaintype: IOMMU_DMA_DOMAIN_TYPE, flags: IOMMU_DMA_DOMAIN_CREATION_FLAGS, logicalallocatorconfig: *const IOMMU_DMA_LOGICAL_ALLOCATOR_CONFIG, reservedregions: *const IOMMU_DMA_RESERVED_REGION, domainout: *mut *mut super::super::Foundation::IOMMU_DMA_DOMAIN) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))]
pub type IOMMU_DOMAIN_DELETE = ::core::option::Option<unsafe extern "system" fn(domain: *const super::super::Foundation::IOMMU_DMA_DOMAIN) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
pub type IOMMU_DOMAIN_DETACH_DEVICE = ::core::option::Option<unsafe extern "system" fn(domain: *const super::super::Foundation::IOMMU_DMA_DOMAIN, physicaldeviceobject: *const super::super::Foundation::DEVICE_OBJECT, inputmappingid: u32) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))]
pub type IOMMU_DOMAIN_DETACH_DEVICE_EX = ::core::option::Option<unsafe extern "system" fn(dmadevice: *const super::super::Foundation::IOMMU_DMA_DEVICE) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))]
pub type IOMMU_FLUSH_DOMAIN = ::core::option::Option<unsafe extern "system" fn(domain: *const super::super::Foundation::IOMMU_DMA_DOMAIN) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))]
pub type IOMMU_FLUSH_DOMAIN_VA_LIST = ::core::option::Option<unsafe extern "system" fn(domain: *const super::super::Foundation::IOMMU_DMA_DOMAIN, lastlevel: super::super::super::Win32::Foundation::BOOLEAN, number: u32, valist: *const ::core::ffi::c_void) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub type IOMMU_FREE_RESERVED_LOGICAL_ADDRESS_RANGE = ::core::option::Option<unsafe extern "system" fn(logicaladdresstoken: *const IOMMU_DMA_LOGICAL_ADDRESS_TOKEN) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub type IOMMU_INTERFACE_STATE_CHANGE_CALLBACK = ::core::option::Option<unsafe extern "system" fn(statechange: *const IOMMU_INTERFACE_STATE_CHANGE, context: *const ::core::ffi::c_void) -> ()>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))]
pub type IOMMU_MAP_IDENTITY_RANGE = ::core::option::Option<unsafe extern "system" fn(domain: *const super::super::Foundation::IOMMU_DMA_DOMAIN, permissions: u32, mdl: *const super::super::Foundation::MDL) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))]
pub type IOMMU_MAP_IDENTITY_RANGE_EX = ::core::option::Option<unsafe extern "system" fn(domain: *const super::super::Foundation::IOMMU_DMA_DOMAIN, permissions: u32, physicaladdresstomap: *const IOMMU_MAP_PHYSICAL_ADDRESS) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))]
pub type IOMMU_MAP_LOGICAL_RANGE = ::core::option::Option<unsafe extern "system" fn(domain: *const super::super::Foundation::IOMMU_DMA_DOMAIN, permissions: u32, mdl: *const super::super::Foundation::MDL, logicaladdress: u64) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))]
pub type IOMMU_MAP_LOGICAL_RANGE_EX = ::core::option::Option<unsafe extern "system" fn(domain: *const super::super::Foundation::IOMMU_DMA_DOMAIN, permissions: u32, physicaladdresstomap: *const IOMMU_MAP_PHYSICAL_ADDRESS, explicitlogicaladdress: *const u64, minlogicaladdress: *const u64, maxlogicaladdress: *const u64, logicaladdressout: *mut u64) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))]
pub type IOMMU_MAP_RESERVED_LOGICAL_RANGE = ::core::option::Option<unsafe extern "system" fn(logicaladdresstoken: *mut IOMMU_DMA_LOGICAL_ADDRESS_TOKEN, offset: usize, permissions: u32, physicaladdresstomap: *const IOMMU_MAP_PHYSICAL_ADDRESS, mappedsegment: *mut IOMMU_DMA_LOGICAL_ADDRESS_TOKEN_MAPPED_SEGMENT) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
pub type IOMMU_QUERY_INPUT_MAPPINGS = ::core::option::Option<unsafe extern "system" fn(physicaldeviceobject: *const super::super::Foundation::DEVICE_OBJECT, buffer: *mut INPUT_MAPPING_ELEMENT, bufferlength: u32, returnlength: *mut u32) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))]
pub type IOMMU_REGISTER_INTERFACE_STATE_CHANGE_CALLBACK = ::core::option::Option<unsafe extern "system" fn(statechangecallback: PIOMMU_INTERFACE_STATE_CHANGE_CALLBACK, context: *const ::core::ffi::c_void, dmadevice: *const super::super::Foundation::IOMMU_DMA_DEVICE, statefields: *const IOMMU_INTERFACE_STATE_CHANGE_FIELDS) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))]
pub type IOMMU_RESERVE_LOGICAL_ADDRESS_RANGE = ::core::option::Option<unsafe extern "system" fn(domain: *const super::super::Foundation::IOMMU_DMA_DOMAIN, size: usize, explicitlogicaladdress: *const u64, minlogicaladdress: *const u64, maxlogicaladdress: *const u64, logicaladdresstoken: *mut *mut IOMMU_DMA_LOGICAL_ADDRESS_TOKEN) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
pub type IOMMU_SET_DEVICE_FAULT_REPORTING = ::core::option::Option<unsafe extern "system" fn(physicaldeviceobject: *const super::super::Foundation::DEVICE_OBJECT, inputmappingidbase: u32, enable: super::super::super::Win32::Foundation::BOOLEAN, faultconfig: *const DEVICE_FAULT_CONFIGURATION) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))]
pub type IOMMU_SET_DEVICE_FAULT_REPORTING_EX = ::core::option::Option<unsafe extern "system" fn(dmadevice: *const super::super::Foundation::IOMMU_DMA_DEVICE, inputmappingidbase: u32, enable: super::super::super::Win32::Foundation::BOOLEAN, faultconfig: *const DEVICE_FAULT_CONFIGURATION) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))]
pub type IOMMU_UNMAP_IDENTITY_RANGE = ::core::option::Option<unsafe extern "system" fn(domain: *const super::super::Foundation::IOMMU_DMA_DOMAIN, mdl: *const super::super::Foundation::MDL) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))]
pub type IOMMU_UNMAP_IDENTITY_RANGE_EX = ::core::option::Option<unsafe extern "system" fn(domain: *const super::super::Foundation::IOMMU_DMA_DOMAIN, mappedphysicaladdress: *const IOMMU_MAP_PHYSICAL_ADDRESS) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))]
pub type IOMMU_UNMAP_LOGICAL_RANGE = ::core::option::Option<unsafe extern "system" fn(domain: *const super::super::Foundation::IOMMU_DMA_DOMAIN, logicaladdress: u64, numberofpages: u64) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub type IOMMU_UNMAP_RESERVED_LOGICAL_RANGE = ::core::option::Option<unsafe extern "system" fn(mappedsegment: *mut IOMMU_DMA_LOGICAL_ADDRESS_TOKEN_MAPPED_SEGMENT) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))]
pub type IOMMU_UNREGISTER_INTERFACE_STATE_CHANGE_CALLBACK = ::core::option::Option<unsafe extern "system" fn(statechangecallback: PIOMMU_INTERFACE_STATE_CHANGE_CALLBACK, dmadevice: *const super::super::Foundation::IOMMU_DMA_DEVICE) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
pub type IO_COMPLETION_ROUTINE = ::core::option::Option<unsafe extern "system" fn(deviceobject: *const super::super::Foundation::DEVICE_OBJECT, irp: *const super::super::Foundation::IRP, context: *const ::core::ffi::c_void) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
pub type IO_CSQ_ACQUIRE_LOCK = ::core::option::Option<unsafe extern "system" fn(csq: *const IO_CSQ, irql: *mut u8) -> ()>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
pub type IO_CSQ_COMPLETE_CANCELED_IRP = ::core::option::Option<unsafe extern "system" fn(csq: *const IO_CSQ, irp: *const super::super::Foundation::IRP) -> ()>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
pub type IO_CSQ_INSERT_IRP = ::core::option::Option<unsafe extern "system" fn(csq: *const IO_CSQ, irp: *const super::super::Foundation::IRP) -> ()>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
pub type IO_CSQ_INSERT_IRP_EX = ::core::option::Option<unsafe extern "system" fn(csq: *const IO_CSQ, irp: *const super::super::Foundation::IRP, insertcontext: *const ::core::ffi::c_void) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
pub type IO_CSQ_PEEK_NEXT_IRP = ::core::option::Option<unsafe extern "system" fn(csq: *const IO_CSQ, irp: *const super::super::Foundation::IRP, peekcontext: *const ::core::ffi::c_void) -> *mut super::super::Foundation::IRP>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
pub type IO_CSQ_RELEASE_LOCK = ::core::option::Option<unsafe extern "system" fn(csq: *const IO_CSQ, irql: u8) -> ()>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
pub type IO_CSQ_REMOVE_IRP = ::core::option::Option<unsafe extern "system" fn(csq: *const IO_CSQ, irp: *const super::super::Foundation::IRP) -> ()>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
pub type IO_DPC_ROUTINE = ::core::option::Option<unsafe extern "system" fn(dpc: *const super::super::Foundation::KDPC, deviceobject: *const super::super::Foundation::DEVICE_OBJECT, irp: *mut super::super::Foundation::IRP, context: *const ::core::ffi::c_void) -> ()>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
pub type IO_PERSISTED_MEMORY_ENUMERATION_CALLBACK = ::core::option::Option<unsafe extern "system" fn(driverobject: *const super::super::Foundation::DRIVER_OBJECT, physicaldeviceobject: *const super::super::Foundation::DEVICE_OBJECT, physicaldeviceid: *const super::super::super::Win32::Foundation::UNICODE_STRING, datatag: *const u16, dataversion: *const u32, context: *const ::core::ffi::c_void) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub type IO_SESSION_NOTIFICATION_FUNCTION = ::core::option::Option<unsafe extern "system" fn(sessionobject: *const ::core::ffi::c_void, ioobject: *const ::core::ffi::c_void, event: u32, context: *const ::core::ffi::c_void, notificationpayload: *const ::core::ffi::c_void, payloadlength: u32) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
pub type IO_TIMER_ROUTINE = ::core::option::Option<unsafe extern "system" fn(deviceobject: *const super::super::Foundation::DEVICE_OBJECT, context: *const ::core::ffi::c_void) -> ()>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
pub type IO_WORKITEM_ROUTINE = ::core::option::Option<unsafe extern "system" fn(deviceobject: *const super::super::Foundation::DEVICE_OBJECT, context: *const ::core::ffi::c_void) -> ()>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`*"]
#[cfg(feature = "Wdk_Foundation")]
pub type IO_WORKITEM_ROUTINE_EX = ::core::option::Option<unsafe extern "system" fn(ioobject: *const ::core::ffi::c_void, context: *const ::core::ffi::c_void, ioworkitem: super::super::Foundation::PIO_WORKITEM) -> ()>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub type KBUGCHECK_CALLBACK_ROUTINE = ::core::option::Option<unsafe extern "system" fn(buffer: *mut ::core::ffi::c_void, length: u32) -> ()>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_System_Kernel\"`*"]
#[cfg(feature = "Win32_System_Kernel")]
pub type KBUGCHECK_REASON_CALLBACK_ROUTINE = ::core::option::Option<unsafe extern "system" fn(reason: KBUGCHECK_CALLBACK_REASON, record: *const KBUGCHECK_REASON_CALLBACK_RECORD, reasonspecificdata: *mut ::core::ffi::c_void, reasonspecificdatalength: u32) -> ()>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_System_Kernel\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_System_Kernel"))]
pub type KDEFERRED_ROUTINE = ::core::option::Option<unsafe extern "system" fn(dpc: *const super::super::Foundation::KDPC, deferredcontext: *const ::core::ffi::c_void, systemargument1: *const ::core::ffi::c_void, systemargument2: *const ::core::ffi::c_void) -> ()>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub type KIPI_BROADCAST_WORKER = ::core::option::Option<unsafe extern "system" fn(argument: usize) -> usize>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub type KMESSAGE_SERVICE_ROUTINE = ::core::option::Option<unsafe extern "system" fn(interrupt: *const isize, servicecontext: *const ::core::ffi::c_void, messageid: u32) -> super::super::super::Win32::Foundation::BOOLEAN>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub type KSERVICE_ROUTINE = ::core::option::Option<unsafe extern "system" fn(interrupt: *const isize, servicecontext: *const ::core::ffi::c_void) -> super::super::super::Win32::Foundation::BOOLEAN>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub type KSTART_ROUTINE = ::core::option::Option<unsafe extern "system" fn(startcontext: *const ::core::ffi::c_void) -> ()>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub type KSYNCHRONIZE_ROUTINE = ::core::option::Option<unsafe extern "system" fn(synchronizecontext: *const ::core::ffi::c_void) -> super::super::super::Win32::Foundation::BOOLEAN>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub type MM_MDL_ROUTINE = ::core::option::Option<unsafe extern "system" fn(drivercontext: *const ::core::ffi::c_void, mappedva: *const ::core::ffi::c_void) -> ()>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub type NMI_CALLBACK = ::core::option::Option<unsafe extern "system" fn(context: *const ::core::ffi::c_void, handled: super::super::super::Win32::Foundation::BOOLEAN) -> super::super::super::Win32::Foundation::BOOLEAN>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub type NPEM_CONTROL_ENABLE_DISABLE = ::core::option::Option<unsafe extern "system" fn(context: *const ::core::ffi::c_void, enablenpem: super::super::super::Win32::Foundation::BOOLEAN) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub type NPEM_CONTROL_QUERY_CONTROL = ::core::option::Option<unsafe extern "system" fn(context: *const ::core::ffi::c_void) -> u32>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub type NPEM_CONTROL_QUERY_STANDARD_CAPABILITIES = ::core::option::Option<unsafe extern "system" fn(context: *const ::core::ffi::c_void, standardcapabilities: *mut NPEM_CAPABILITY_STANDARD) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub type NPEM_CONTROL_SET_STANDARD_CONTROL = ::core::option::Option<unsafe extern "system" fn(context: *const ::core::ffi::c_void, standardcontrol: NPEM_CONTROL_STANDARD_CONTROL_BIT, set: super::super::super::Win32::Foundation::BOOLEAN) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Security\"`*"]
#[cfg(feature = "Win32_Security")]
pub type NTFS_DEREF_EXPORTED_SECURITY_DESCRIPTOR = ::core::option::Option<unsafe extern "system" fn(vcb: *const ::core::ffi::c_void, securitydescriptor: super::super::super::Win32::Security::PSECURITY_DESCRIPTOR) -> ()>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
pub type PALLOCATE_ADAPTER_CHANNEL = ::core::option::Option<unsafe extern "system" fn(dmaadapter: *const DMA_ADAPTER, deviceobject: *const super::super::Foundation::DEVICE_OBJECT, numberofmapregisters: u32, executionroutine: PDRIVER_CONTROL, context: *const ::core::ffi::c_void) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
pub type PALLOCATE_ADAPTER_CHANNEL_EX = ::core::option::Option<unsafe extern "system" fn(dmaadapter: *const DMA_ADAPTER, deviceobject: *const super::super::Foundation::DEVICE_OBJECT, dmatransfercontext: *const ::core::ffi::c_void, numberofmapregisters: u32, flags: u32, executionroutine: PDRIVER_CONTROL, executioncontext: *const ::core::ffi::c_void, mapregisterbase: *mut *mut ::core::ffi::c_void) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
pub type PALLOCATE_COMMON_BUFFER = ::core::option::Option<unsafe extern "system" fn(dmaadapter: *const DMA_ADAPTER, length: u32, logicaladdress: *mut i64, cacheenabled: super::super::super::Win32::Foundation::BOOLEAN) -> *mut ::core::ffi::c_void>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
pub type PALLOCATE_COMMON_BUFFER_EX = ::core::option::Option<unsafe extern "system" fn(dmaadapter: *const DMA_ADAPTER, maximumaddress: *const i64, length: u32, logicaladdress: *mut i64, cacheenabled: super::super::super::Win32::Foundation::BOOLEAN, preferrednode: u32) -> *mut ::core::ffi::c_void>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
pub type PALLOCATE_COMMON_BUFFER_VECTOR = ::core::option::Option<unsafe extern "system" fn(dmaadapter: *const DMA_ADAPTER, lowaddress: i64, highaddress: i64, cachetype: MEMORY_CACHING_TYPE, idealnode: u32, flags: u32, numberofelements: u32, sizeofelements: u64, vectorout: *mut *mut super::super::Foundation::DMA_COMMON_BUFFER_VECTOR) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
pub type PALLOCATE_COMMON_BUFFER_WITH_BOUNDS = ::core::option::Option<unsafe extern "system" fn(dmaadapter: *const DMA_ADAPTER, minimumaddress: *const i64, maximumaddress: *const i64, length: u32, flags: u32, cachetype: *const MEMORY_CACHING_TYPE, preferrednode: u32, logicaladdress: *mut i64) -> *mut ::core::ffi::c_void>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
pub type PALLOCATE_DOMAIN_COMMON_BUFFER = ::core::option::Option<unsafe extern "system" fn(dmaadapter: *const DMA_ADAPTER, domainhandle: super::super::super::Win32::Foundation::HANDLE, maximumaddress: *const i64, length: u32, flags: u32, cachetype: *const MEMORY_CACHING_TYPE, preferrednode: u32, logicaladdress: *mut i64, virtualaddress: *mut *mut ::core::ffi::c_void) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub type PALLOCATE_FUNCTION = ::core::option::Option<unsafe extern "system" fn() -> *mut ::core::ffi::c_void>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub type PALLOCATE_FUNCTION_EX = ::core::option::Option<unsafe extern "system" fn() -> *mut ::core::ffi::c_void>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
pub type PARBITER_HANDLER = ::core::option::Option<unsafe extern "system" fn(context: *mut ::core::ffi::c_void, action: ARBITER_ACTION, parameters: *mut ARBITER_PARAMETERS) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub type PBOOT_DRIVER_CALLBACK_FUNCTION = ::core::option::Option<unsafe extern "system" fn() -> ()>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub type PBOUND_CALLBACK = ::core::option::Option<unsafe extern "system" fn() -> BOUND_CALLBACK_STATUS>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
pub type PBUILD_MDL_FROM_SCATTER_GATHER_LIST = ::core::option::Option<unsafe extern "system" fn(dmaadapter: *const DMA_ADAPTER, scattergather: *const SCATTER_GATHER_LIST, originalmdl: *const super::super::Foundation::MDL, targetmdl: *mut *mut super::super::Foundation::MDL) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
pub type PBUILD_SCATTER_GATHER_LIST = ::core::option::Option<unsafe extern "system" fn(dmaadapter: *const DMA_ADAPTER, deviceobject: *const super::super::Foundation::DEVICE_OBJECT, mdl: *const super::super::Foundation::MDL, currentva: *const ::core::ffi::c_void, length: u32, executionroutine: PDRIVER_LIST_CONTROL, context: *const ::core::ffi::c_void, writetodevice: super::super::super::Win32::Foundation::BOOLEAN, scattergatherbuffer: *const ::core::ffi::c_void, scattergatherlength: u32) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
pub type PBUILD_SCATTER_GATHER_LIST_EX = ::core::option::Option<unsafe extern "system" fn(dmaadapter: *const DMA_ADAPTER, deviceobject: *const super::super::Foundation::DEVICE_OBJECT, dmatransfercontext: *const ::core::ffi::c_void, mdl: *const super::super::Foundation::MDL, offset: u64, length: u32, flags: u32, executionroutine: PDRIVER_LIST_CONTROL, context: *const ::core::ffi::c_void, writetodevice: super::super::super::Win32::Foundation::BOOLEAN, scattergatherbuffer: *const ::core::ffi::c_void, scattergatherlength: u32, dmacompletionroutine: PDMA_COMPLETION_ROUTINE, completioncontext: *const ::core::ffi::c_void, scattergatherlist: *mut ::core::ffi::c_void) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
pub type PCALCULATE_SCATTER_GATHER_LIST_SIZE = ::core::option::Option<unsafe extern "system" fn(dmaadapter: *const DMA_ADAPTER, mdl: *const super::super::Foundation::MDL, currentva: *const ::core::ffi::c_void, length: u32, scattergatherlistsize: *mut u32, pnumberofmapregisters: *mut u32) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub type PCALLBACK_FUNCTION = ::core::option::Option<unsafe extern "system" fn() -> ()>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
pub type PCANCEL_ADAPTER_CHANNEL = ::core::option::Option<unsafe extern "system" fn(dmaadapter: *const DMA_ADAPTER, deviceobject: *const super::super::Foundation::DEVICE_OBJECT, dmatransfercontext: *const ::core::ffi::c_void) -> super::super::super::Win32::Foundation::BOOLEAN>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
pub type PCANCEL_MAPPED_TRANSFER = ::core::option::Option<unsafe extern "system" fn(dmaadapter: *const DMA_ADAPTER, dmatransfercontext: *const ::core::ffi::c_void) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub type PCI_ERROR_HANDLER_CALLBACK = ::core::option::Option<unsafe extern "system" fn() -> ()>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub type PCI_EXPRESS_ENTER_LINK_QUIESCENT_MODE = ::core::option::Option<unsafe extern "system" fn(context: *mut ::core::ffi::c_void) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub type PCI_EXPRESS_EXIT_LINK_QUIESCENT_MODE = ::core::option::Option<unsafe extern "system" fn(context: *mut ::core::ffi::c_void) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub type PCI_EXPRESS_WAKE_CONTROL = ::core::option::Option<unsafe extern "system" fn(context: *const ::core::ffi::c_void, enablewake: super::super::super::Win32::Foundation::BOOLEAN) -> ()>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub type PCI_IS_DEVICE_PRESENT = ::core::option::Option<unsafe extern "system" fn(vendorid: u16, deviceid: u16, revisionid: u8, subvendorid: u16, subsystemid: u16, flags: u32) -> super::super::super::Win32::Foundation::BOOLEAN>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub type PCI_IS_DEVICE_PRESENT_EX = ::core::option::Option<unsafe extern "system" fn(context: *const ::core::ffi::c_void, parameters: *const PCI_DEVICE_PRESENCE_PARAMETERS) -> super::super::super::Win32::Foundation::BOOLEAN>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub type PCI_LINE_TO_PIN = ::core::option::Option<unsafe extern "system" fn(context: *const ::core::ffi::c_void, pcinewdata: *const PCI_COMMON_CONFIG, pciolddata: *const PCI_COMMON_CONFIG) -> ()>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub type PCI_MSIX_GET_ENTRY = ::core::option::Option<unsafe extern "system" fn(context: *const ::core::ffi::c_void, tableentry: u32, messagenumber: *mut u32, masked: *mut super::super::super::Win32::Foundation::BOOLEAN) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub type PCI_MSIX_GET_TABLE_SIZE = ::core::option::Option<unsafe extern "system" fn(context: *const ::core::ffi::c_void, tablesize: *mut u32) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub type PCI_MSIX_MASKUNMASK_ENTRY = ::core::option::Option<unsafe extern "system" fn(context: *const ::core::ffi::c_void, tableentry: u32) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub type PCI_MSIX_SET_ENTRY = ::core::option::Option<unsafe extern "system" fn(context: *const ::core::ffi::c_void, tableentry: u32, messagenumber: u32) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub type PCI_PIN_TO_LINE = ::core::option::Option<unsafe extern "system" fn(context: *const ::core::ffi::c_void, pcidata: *const PCI_COMMON_CONFIG) -> ()>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub type PCI_PREPARE_MULTISTAGE_RESUME = ::core::option::Option<unsafe extern "system" fn(context: *const ::core::ffi::c_void) -> ()>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub type PCI_READ_WRITE_CONFIG = ::core::option::Option<unsafe extern "system" fn(context: *const ::core::ffi::c_void, busoffset: u32, slot: u32, buffer: *const ::core::ffi::c_void, offset: u32, length: u32) -> u32>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub type PCI_ROOT_BUS_CAPABILITY = ::core::option::Option<unsafe extern "system" fn(context: *const ::core::ffi::c_void, hardwarecapability: *mut PCI_ROOT_BUS_HARDWARE_CAPABILITY) -> ()>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub type PCI_SET_ACS = ::core::option::Option<unsafe extern "system" fn(context: *mut ::core::ffi::c_void, enablesourcevalidation: PCI_ACS_BIT, enabletranslationblocking: PCI_ACS_BIT, enablep2prequestredirect: PCI_ACS_BIT, enablecompletionredirect: PCI_ACS_BIT, enableupstreamforwarding: PCI_ACS_BIT, enableegresscontrol: PCI_ACS_BIT, enabledirecttranslatedp2p: PCI_ACS_BIT) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub type PCI_SET_ACS2 = ::core::option::Option<unsafe extern "system" fn(context: *mut ::core::ffi::c_void, scenariostomodify: u32, scenariostate: u32) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub type PCI_SET_ATS = ::core::option::Option<unsafe extern "system" fn(context: *const ::core::ffi::c_void, enableats: super::super::super::Win32::Foundation::BOOLEAN) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_Storage_FileSystem\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_Storage_FileSystem", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
pub type PCLFS_CLIENT_ADVANCE_TAIL_CALLBACK = ::core::option::Option<unsafe extern "system" fn(logfile: *const super::super::Foundation::FILE_OBJECT, targetlsn: *const super::super::super::Win32::Storage::FileSystem::CLS_LSN, clientdata: *const ::core::ffi::c_void) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
pub type PCLFS_CLIENT_LFF_HANDLER_COMPLETE_CALLBACK = ::core::option::Option<unsafe extern "system" fn(logfile: *const super::super::Foundation::FILE_OBJECT, operationstatus: super::super::super::Win32::Foundation::NTSTATUS, logispinned: super::super::super::Win32::Foundation::BOOLEAN, clientdata: *const ::core::ffi::c_void) -> ()>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
pub type PCLFS_CLIENT_LOG_UNPINNED_CALLBACK = ::core::option::Option<unsafe extern "system" fn(logfile: *const super::super::Foundation::FILE_OBJECT, clientdata: *const ::core::ffi::c_void) -> ()>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
pub type PCLFS_SET_LOG_SIZE_COMPLETE_CALLBACK = ::core::option::Option<unsafe extern "system" fn(logfile: *const super::super::Foundation::FILE_OBJECT, operationstatus: super::super::super::Win32::Foundation::NTSTATUS, clientdata: *const ::core::ffi::c_void) -> ()>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
pub type PCONFIGURE_ADAPTER_CHANNEL = ::core::option::Option<unsafe extern "system" fn(dmaadapter: *const DMA_ADAPTER, functionnumber: u32, context: *const ::core::ffi::c_void) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub type PCRASHDUMP_POWER_ON = ::core::option::Option<unsafe extern "system" fn(context: *const ::core::ffi::c_void) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
pub type PCREATE_COMMON_BUFFER_FROM_MDL = ::core::option::Option<unsafe extern "system" fn(dmaadapter: *const DMA_ADAPTER, mdl: *const super::super::Foundation::MDL, extendedconfigs: *const DMA_COMMON_BUFFER_EXTENDED_CONFIGURATION, extendedconfigscount: u32, logicaladdress: *mut i64) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub type PCREATE_PROCESS_NOTIFY_ROUTINE = ::core::option::Option<unsafe extern "system" fn(parentid: super::super::super::Win32::Foundation::HANDLE, processid: super::super::super::Win32::Foundation::HANDLE, create: super::super::super::Win32::Foundation::BOOLEAN) -> ()>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
pub type PCREATE_PROCESS_NOTIFY_ROUTINE_EX = ::core::option::Option<unsafe extern "system" fn(process: super::super::Foundation::PEPROCESS, processid: super::super::super::Win32::Foundation::HANDLE, createinfo: *mut PS_CREATE_NOTIFY_INFO) -> ()>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub type PCREATE_THREAD_NOTIFY_ROUTINE = ::core::option::Option<unsafe extern "system" fn(processid: super::super::super::Win32::Foundation::HANDLE, threadid: super::super::super::Win32::Foundation::HANDLE, create: super::super::super::Win32::Foundation::BOOLEAN) -> ()>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
pub type PCW_CALLBACK = ::core::option::Option<unsafe extern "system" fn(r#type: PCW_CALLBACK_TYPE, info: *const PCW_CALLBACK_INFORMATION, context: *const ::core::ffi::c_void) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub type PD3COLD_REQUEST_AUX_POWER = ::core::option::Option<unsafe extern "system" fn() -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub type PD3COLD_REQUEST_CORE_POWER_RAIL = ::core::option::Option<unsafe extern "system" fn() -> ()>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub type PD3COLD_REQUEST_PERST_DELAY = ::core::option::Option<unsafe extern "system" fn() -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub type PDEBUG_DEVICE_FOUND_FUNCTION = ::core::option::Option<unsafe extern "system" fn(device: *mut DEBUG_DEVICE_DESCRIPTOR) -> KD_CALLBACK_ACTION>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_System_Kernel\"`*"]
#[cfg(feature = "Win32_System_Kernel")]
pub type PDEBUG_PRINT_CALLBACK = ::core::option::Option<unsafe extern "system" fn(output: *const super::super::super::Win32::System::Kernel::STRING, componentid: u32, level: u32) -> ()>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub type PDEVICE_BUS_SPECIFIC_RESET_HANDLER = ::core::option::Option<unsafe extern "system" fn() -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub type PDEVICE_CHANGE_COMPLETE_CALLBACK = ::core::option::Option<unsafe extern "system" fn() -> ()>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub type PDEVICE_NOTIFY_CALLBACK = ::core::option::Option<unsafe extern "system" fn(param0: *mut ::core::ffi::c_void, param1: u32) -> ()>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub type PDEVICE_NOTIFY_CALLBACK2 = ::core::option::Option<unsafe extern "system" fn(notificationcontext: *mut ::core::ffi::c_void, notifycode: u32) -> ()>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub type PDEVICE_QUERY_BUS_SPECIFIC_RESET_HANDLER = ::core::option::Option<unsafe extern "system" fn() -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub type PDEVICE_RESET_COMPLETION = ::core::option::Option<unsafe extern "system" fn() -> ()>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub type PDEVICE_RESET_HANDLER = ::core::option::Option<unsafe extern "system" fn() -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub type PDMA_COMPLETION_ROUTINE = ::core::option::Option<unsafe extern "system" fn() -> ()>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub type PDRIVER_CMC_EXCEPTION_CALLBACK = ::core::option::Option<unsafe extern "system" fn(context: *const ::core::ffi::c_void, cmclog: *const MCA_EXCEPTION) -> ()>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub type PDRIVER_CONTROL = ::core::option::Option<unsafe extern "system" fn() -> IO_ALLOCATION_ACTION>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub type PDRIVER_CPE_EXCEPTION_CALLBACK = ::core::option::Option<unsafe extern "system" fn(context: *const ::core::ffi::c_void, cmclog: *const MCA_EXCEPTION) -> ()>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub type PDRIVER_DISPATCH_PAGED = ::core::option::Option<unsafe extern "system" fn() -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub type PDRIVER_EXCPTN_CALLBACK = ::core::option::Option<unsafe extern "system" fn(context: *const ::core::ffi::c_void, banklog: *const MCA_EXCEPTION) -> ()>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub type PDRIVER_LIST_CONTROL = ::core::option::Option<unsafe extern "system" fn() -> ()>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub type PDRIVER_MCA_EXCEPTION_CALLBACK = ::core::option::Option<unsafe extern "system" fn() -> ()>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub type PDRIVER_NOTIFICATION_CALLBACK_ROUTINE = ::core::option::Option<unsafe extern "system" fn() -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub type PDRIVER_REINITIALIZE = ::core::option::Option<unsafe extern "system" fn() -> ()>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub type PDRIVER_VERIFIER_THUNK_ROUTINE = ::core::option::Option<unsafe extern "system" fn(context: *const ::core::ffi::c_void) -> usize>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub type PENABLE_VIRTUALIZATION = ::core::option::Option<unsafe extern "system" fn() -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub type PETWENABLECALLBACK = ::core::option::Option<unsafe extern "system" fn() -> ()>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub type PEXPAND_STACK_CALLOUT = ::core::option::Option<unsafe extern "system" fn() -> ()>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub type PEXT_CALLBACK = ::core::option::Option<unsafe extern "system" fn() -> ()>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub type PEXT_DELETE_CALLBACK = ::core::option::Option<unsafe extern "system" fn() -> ()>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub type PEX_CALLBACK_FUNCTION = ::core::option::Option<unsafe extern "system" fn() -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
pub type PFLUSH_ADAPTER_BUFFERS = ::core::option::Option<unsafe extern "system" fn(dmaadapter: *const DMA_ADAPTER, mdl: *const super::super::Foundation::MDL, mapregisterbase: *const ::core::ffi::c_void, currentva: *const ::core::ffi::c_void, length: u32, writetodevice: super::super::super::Win32::Foundation::BOOLEAN) -> super::super::super::Win32::Foundation::BOOLEAN>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
pub type PFLUSH_ADAPTER_BUFFERS_EX = ::core::option::Option<unsafe extern "system" fn(dmaadapter: *const DMA_ADAPTER, mdl: *const super::super::Foundation::MDL, mapregisterbase: *const ::core::ffi::c_void, offset: u64, length: u32, writetodevice: super::super::super::Win32::Foundation::BOOLEAN) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
pub type PFLUSH_DMA_BUFFER = ::core::option::Option<unsafe extern "system" fn(dmaadapter: *const DMA_ADAPTER, mdl: *const super::super::Foundation::MDL, readoperation: super::super::super::Win32::Foundation::BOOLEAN) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub type PFNFTH = ::core::option::Option<unsafe extern "system" fn(systemfirmwaretableinfo: *mut SYSTEM_FIRMWARE_TABLE_INFORMATION) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub type PFN_IN_USE_PAGE_OFFLINE_NOTIFY = ::core::option::Option<unsafe extern "system" fn(page: u32, flags: super::super::super::Win32::Foundation::BOOLEAN, poisoned: super::super::super::Win32::Foundation::BOOLEAN, context: *const ::core::ffi::c_void) -> super::super::super::Win32::Foundation::BOOLEAN>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub type PFN_NT_COMMIT_TRANSACTION = ::core::option::Option<unsafe extern "system" fn(transactionhandle: super::super::super::Win32::Foundation::HANDLE, wait: super::super::super::Win32::Foundation::BOOLEAN) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))]
pub type PFN_NT_CREATE_TRANSACTION = ::core::option::Option<unsafe extern "system" fn(transactionhandle: *mut super::super::super::Win32::Foundation::HANDLE, desiredaccess: u32, objectattributes: *const super::super::Foundation::OBJECT_ATTRIBUTES, uow: *const ::windows_core::GUID, tmhandle: super::super::super::Win32::Foundation::HANDLE, createoptions: u32, isolationlevel: u32, isolationflags: u32, timeout: *const i64, description: *const super::super::super::Win32::Foundation::UNICODE_STRING) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))]
pub type PFN_NT_OPEN_TRANSACTION = ::core::option::Option<unsafe extern "system" fn(transactionhandle: *mut super::super::super::Win32::Foundation::HANDLE, desiredaccess: u32, objectattributes: *const super::super::Foundation::OBJECT_ATTRIBUTES, uow: *const ::windows_core::GUID, tmhandle: super::super::super::Win32::Foundation::HANDLE) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_SystemServices\"`*"]
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_SystemServices"))]
pub type PFN_NT_QUERY_INFORMATION_TRANSACTION = ::core::option::Option<unsafe extern "system" fn(transactionhandle: super::super::super::Win32::Foundation::HANDLE, transactioninformationclass: super::super::super::Win32::System::SystemServices::TRANSACTION_INFORMATION_CLASS, transactioninformation: *mut ::core::ffi::c_void, transactioninformationlength: u32, returnlength: *mut u32) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub type PFN_NT_ROLLBACK_TRANSACTION = ::core::option::Option<unsafe extern "system" fn(transactionhandle: super::super::super::Win32::Foundation::HANDLE, wait: super::super::super::Win32::Foundation::BOOLEAN) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_SystemServices\"`*"]
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_SystemServices"))]
pub type PFN_NT_SET_INFORMATION_TRANSACTION = ::core::option::Option<unsafe extern "system" fn(transactionhandle: super::super::super::Win32::Foundation::HANDLE, transactioninformationclass: super::super::super::Win32::System::SystemServices::TRANSACTION_INFORMATION_CLASS, transactioninformation: *const ::core::ffi::c_void, transactioninformationlength: u32) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub type PFN_RTL_IS_NTDDI_VERSION_AVAILABLE = ::core::option::Option<unsafe extern "system" fn(version: u32) -> super::super::super::Win32::Foundation::BOOLEAN>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub type PFN_RTL_IS_SERVICE_PACK_VERSION_INSTALLED = ::core::option::Option<unsafe extern "system" fn(version: u32) -> super::super::super::Win32::Foundation::BOOLEAN>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Diagnostics_Debug\"`*"]
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Diagnostics_Debug"))]
pub type PFN_WHEA_HIGH_IRQL_LOG_SEL_EVENT_HANDLER = ::core::option::Option<unsafe extern "system" fn(context: *const ::core::ffi::c_void, osselrecord: *const super::super::super::Win32::System::Diagnostics::Debug::IPMI_OS_SEL_RECORD) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub type PFPGA_BUS_SCAN = ::core::option::Option<unsafe extern "system" fn() -> ()>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub type PFPGA_CONTROL_CONFIG_SPACE = ::core::option::Option<unsafe extern "system" fn() -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub type PFPGA_CONTROL_ERROR_REPORTING = ::core::option::Option<unsafe extern "system" fn() -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub type PFPGA_CONTROL_LINK = ::core::option::Option<unsafe extern "system" fn() -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
pub type PFREE_ADAPTER_CHANNEL = ::core::option::Option<unsafe extern "system" fn(dmaadapter: *const DMA_ADAPTER) -> ()>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
pub type PFREE_ADAPTER_OBJECT = ::core::option::Option<unsafe extern "system" fn(dmaadapter: *const DMA_ADAPTER, allocationaction: IO_ALLOCATION_ACTION) -> ()>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
pub type PFREE_COMMON_BUFFER = ::core::option::Option<unsafe extern "system" fn(dmaadapter: *const DMA_ADAPTER, length: u32, logicaladdress: i64, virtualaddress: *const ::core::ffi::c_void, cacheenabled: super::super::super::Win32::Foundation::BOOLEAN) -> ()>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
pub type PFREE_COMMON_BUFFER_FROM_VECTOR = ::core::option::Option<unsafe extern "system" fn(dmaadapter: *const DMA_ADAPTER, vector: *const super::super::Foundation::DMA_COMMON_BUFFER_VECTOR, index: u32) -> ()>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
pub type PFREE_COMMON_BUFFER_VECTOR = ::core::option::Option<unsafe extern "system" fn(dmaadapter: *const DMA_ADAPTER, vector: *const super::super::Foundation::DMA_COMMON_BUFFER_VECTOR) -> ()>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub type PFREE_FUNCTION_EX = ::core::option::Option<unsafe extern "system" fn() -> ()>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
pub type PFREE_MAP_REGISTERS = ::core::option::Option<unsafe extern "system" fn(dmaadapter: *const DMA_ADAPTER, mapregisterbase: *mut ::core::ffi::c_void, numberofmapregisters: u32) -> ()>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
pub type PGET_COMMON_BUFFER_FROM_VECTOR_BY_INDEX = ::core::option::Option<unsafe extern "system" fn(dmaadapter: *const DMA_ADAPTER, vector: *const super::super::Foundation::DMA_COMMON_BUFFER_VECTOR, index: u32, virtualaddressout: *mut *mut ::core::ffi::c_void, logicaladdressout: *mut i64) -> ()>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub type PGET_D3COLD_CAPABILITY = ::core::option::Option<unsafe extern "system" fn() -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub type PGET_D3COLD_LAST_TRANSITION_STATUS = ::core::option::Option<unsafe extern "system" fn() -> ()>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub type PGET_DEVICE_RESET_STATUS = ::core::option::Option<unsafe extern "system" fn() -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
pub type PGET_DMA_ADAPTER = ::core::option::Option<unsafe extern "system" fn() -> *mut DMA_ADAPTER>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
pub type PGET_DMA_ADAPTER_INFO = ::core::option::Option<unsafe extern "system" fn(dmaadapter: *const DMA_ADAPTER, adapterinfo: *mut DMA_ADAPTER_INFO) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
pub type PGET_DMA_ALIGNMENT = ::core::option::Option<unsafe extern "system" fn(dmaadapter: *const DMA_ADAPTER) -> u32>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
pub type PGET_DMA_DOMAIN = ::core::option::Option<unsafe extern "system" fn(dmaadapter: *const DMA_ADAPTER) -> super::super::super::Win32::Foundation::HANDLE>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
pub type PGET_DMA_TRANSFER_INFO = ::core::option::Option<unsafe extern "system" fn(dmaadapter: *const DMA_ADAPTER, mdl: *const super::super::Foundation::MDL, offset: u64, length: u32, writeonly: super::super::super::Win32::Foundation::BOOLEAN, transferinfo: *mut DMA_TRANSFER_INFO) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub type PGET_IDLE_WAKE_INFO = ::core::option::Option<unsafe extern "system" fn() -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub type PGET_LOCATION_STRING = ::core::option::Option<unsafe extern "system" fn(context: *mut ::core::ffi::c_void, locationstrings: *mut ::windows_core::PWSTR) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
pub type PGET_SCATTER_GATHER_LIST = ::core::option::Option<unsafe extern "system" fn(dmaadapter: *const DMA_ADAPTER, deviceobject: *const super::super::Foundation::DEVICE_OBJECT, mdl: *const super::super::Foundation::MDL, currentva: *const ::core::ffi::c_void, length: u32, executionroutine: PDRIVER_LIST_CONTROL, context: *const ::core::ffi::c_void, writetodevice: super::super::super::Win32::Foundation::BOOLEAN) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
pub type PGET_SCATTER_GATHER_LIST_EX = ::core::option::Option<unsafe extern "system" fn(dmaadapter: *const DMA_ADAPTER, deviceobject: *const super::super::Foundation::DEVICE_OBJECT, dmatransfercontext: *const ::core::ffi::c_void, mdl: *const super::super::Foundation::MDL, offset: u64, length: u32, flags: u32, executionroutine: PDRIVER_LIST_CONTROL, context: *const ::core::ffi::c_void, writetodevice: super::super::super::Win32::Foundation::BOOLEAN, dmacompletionroutine: PDMA_COMPLETION_ROUTINE, completioncontext: *const ::core::ffi::c_void, scattergatherlist: *mut *mut SCATTER_GATHER_LIST) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub type PGET_SDEV_IDENTIFIER = ::core::option::Option<unsafe extern "system" fn() -> u64>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub type PGET_SET_DEVICE_DATA = ::core::option::Option<unsafe extern "system" fn() -> u32>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub type PGET_UPDATED_BUS_RESOURCE = ::core::option::Option<unsafe extern "system" fn() -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub type PGET_VIRTUAL_DEVICE_DATA = ::core::option::Option<unsafe extern "system" fn() -> u32>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub type PGET_VIRTUAL_DEVICE_LOCATION = ::core::option::Option<unsafe extern "system" fn() -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub type PGET_VIRTUAL_DEVICE_RESOURCES = ::core::option::Option<unsafe extern "system" fn() -> ()>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub type PGET_VIRTUAL_FUNCTION_PROBED_BARS = ::core::option::Option<unsafe extern "system" fn() -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
pub type PGPE_CLEAR_STATUS = ::core::option::Option<unsafe extern "system" fn(param0: *mut super::super::Foundation::DEVICE_OBJECT, param1: *mut ::core::ffi::c_void) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub type PGPE_CLEAR_STATUS2 = ::core::option::Option<unsafe extern "system" fn(context: *mut ::core::ffi::c_void, objectcontext: *mut ::core::ffi::c_void) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
pub type PGPE_CONNECT_VECTOR = ::core::option::Option<unsafe extern "system" fn(param0: *mut super::super::Foundation::DEVICE_OBJECT, param1: u32, param2: KINTERRUPT_MODE, param3: super::super::super::Win32::Foundation::BOOLEAN, param4: PGPE_SERVICE_ROUTINE, param5: *mut ::core::ffi::c_void, param6: *mut ::core::ffi::c_void) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub type PGPE_CONNECT_VECTOR2 = ::core::option::Option<unsafe extern "system" fn(context: *mut ::core::ffi::c_void, gpenumber: u32, mode: KINTERRUPT_MODE, shareable: super::super::super::Win32::Foundation::BOOLEAN, serviceroutine: PGPE_SERVICE_ROUTINE, servicecontext: *mut ::core::ffi::c_void, objectcontext: *mut *mut ::core::ffi::c_void) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
pub type PGPE_DISABLE_EVENT = ::core::option::Option<unsafe extern "system" fn(param0: *mut super::super::Foundation::DEVICE_OBJECT, param1: *mut ::core::ffi::c_void) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub type PGPE_DISABLE_EVENT2 = ::core::option::Option<unsafe extern "system" fn(context: *mut ::core::ffi::c_void, objectcontext: *mut ::core::ffi::c_void) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub type PGPE_DISCONNECT_VECTOR = ::core::option::Option<unsafe extern "system" fn(param0: *mut ::core::ffi::c_void) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub type PGPE_DISCONNECT_VECTOR2 = ::core::option::Option<unsafe extern "system" fn(context: *mut ::core::ffi::c_void, objectcontext: *mut ::core::ffi::c_void) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
pub type PGPE_ENABLE_EVENT = ::core::option::Option<unsafe extern "system" fn(param0: *mut super::super::Foundation::DEVICE_OBJECT, param1: *mut ::core::ffi::c_void) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub type PGPE_ENABLE_EVENT2 = ::core::option::Option<unsafe extern "system" fn(context: *mut ::core::ffi::c_void, objectcontext: *mut ::core::ffi::c_void) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub type PGPE_SERVICE_ROUTINE = ::core::option::Option<unsafe extern "system" fn(param0: *mut ::core::ffi::c_void, param1: *mut ::core::ffi::c_void) -> super::super::super::Win32::Foundation::BOOLEAN>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub type PGPE_SERVICE_ROUTINE2 = ::core::option::Option<unsafe extern "system" fn(objectcontext: *mut ::core::ffi::c_void, servicecontext: *mut ::core::ffi::c_void) -> super::super::super::Win32::Foundation::BOOLEAN>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub type PHALIOREADWRITEHANDLER = ::core::option::Option<unsafe extern "system" fn(fread: super::super::super::Win32::Foundation::BOOLEAN, dwaddr: u32, dwsize: u32, pdwdata: *mut u32) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub type PHALMCAINTERFACELOCK = ::core::option::Option<unsafe extern "system" fn() -> ()>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub type PHALMCAINTERFACEREADREGISTER = ::core::option::Option<unsafe extern "system" fn(banknumber: u8, exception: *mut ::core::ffi::c_void) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub type PHALMCAINTERFACEUNLOCK = ::core::option::Option<unsafe extern "system" fn() -> ()>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub type PHAL_RESET_DISPLAY_PARAMETERS = ::core::option::Option<unsafe extern "system" fn(columns: u32, rows: u32) -> super::super::super::Win32::Foundation::BOOLEAN>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub type PHVL_WHEA_ERROR_NOTIFICATION = ::core::option::Option<unsafe extern "system" fn() -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
pub type PINITIALIZE_DMA_TRANSFER_CONTEXT = ::core::option::Option<unsafe extern "system" fn(dmaadapter: *const DMA_ADAPTER, dmatransfercontext: *mut ::core::ffi::c_void) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub type PINTERFACE_DEREFERENCE = ::core::option::Option<unsafe extern "system" fn(context: *mut ::core::ffi::c_void) -> ()>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub type PINTERFACE_REFERENCE = ::core::option::Option<unsafe extern "system" fn(context: *mut ::core::ffi::c_void) -> ()>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub type PIOMMU_DEVICE_CREATE = ::core::option::Option<unsafe extern "system" fn() -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub type PIOMMU_DEVICE_DELETE = ::core::option::Option<unsafe extern "system" fn() -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub type PIOMMU_DEVICE_FAULT_HANDLER = ::core::option::Option<unsafe extern "system" fn() -> ()>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub type PIOMMU_DEVICE_QUERY_DOMAIN_TYPES = ::core::option::Option<unsafe extern "system" fn() -> ()>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub type PIOMMU_DOMAIN_ATTACH_DEVICE = ::core::option::Option<unsafe extern "system" fn() -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub type PIOMMU_DOMAIN_ATTACH_DEVICE_EX = ::core::option::Option<unsafe extern "system" fn() -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub type PIOMMU_DOMAIN_CONFIGURE = ::core::option::Option<unsafe extern "system" fn() -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub type PIOMMU_DOMAIN_CREATE = ::core::option::Option<unsafe extern "system" fn() -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub type PIOMMU_DOMAIN_CREATE_EX = ::core::option::Option<unsafe extern "system" fn() -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub type PIOMMU_DOMAIN_DELETE = ::core::option::Option<unsafe extern "system" fn() -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub type PIOMMU_DOMAIN_DETACH_DEVICE = ::core::option::Option<unsafe extern "system" fn() -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub type PIOMMU_DOMAIN_DETACH_DEVICE_EX = ::core::option::Option<unsafe extern "system" fn() -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub type PIOMMU_FLUSH_DOMAIN = ::core::option::Option<unsafe extern "system" fn() -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub type PIOMMU_FLUSH_DOMAIN_VA_LIST = ::core::option::Option<unsafe extern "system" fn() -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub type PIOMMU_FREE_RESERVED_LOGICAL_ADDRESS_RANGE = ::core::option::Option<unsafe extern "system" fn() -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub type PIOMMU_INTERFACE_STATE_CHANGE_CALLBACK = ::core::option::Option<unsafe extern "system" fn() -> ()>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub type PIOMMU_MAP_IDENTITY_RANGE = ::core::option::Option<unsafe extern "system" fn() -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub type PIOMMU_MAP_IDENTITY_RANGE_EX = ::core::option::Option<unsafe extern "system" fn() -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub type PIOMMU_MAP_LOGICAL_RANGE = ::core::option::Option<unsafe extern "system" fn() -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub type PIOMMU_MAP_LOGICAL_RANGE_EX = ::core::option::Option<unsafe extern "system" fn() -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub type PIOMMU_MAP_RESERVED_LOGICAL_RANGE = ::core::option::Option<unsafe extern "system" fn() -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub type PIOMMU_QUERY_INPUT_MAPPINGS = ::core::option::Option<unsafe extern "system" fn() -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub type PIOMMU_REGISTER_INTERFACE_STATE_CHANGE_CALLBACK = ::core::option::Option<unsafe extern "system" fn() -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub type PIOMMU_RESERVE_LOGICAL_ADDRESS_RANGE = ::core::option::Option<unsafe extern "system" fn() -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub type PIOMMU_SET_DEVICE_FAULT_REPORTING = ::core::option::Option<unsafe extern "system" fn() -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub type PIOMMU_SET_DEVICE_FAULT_REPORTING_EX = ::core::option::Option<unsafe extern "system" fn() -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub type PIOMMU_UNMAP_IDENTITY_RANGE = ::core::option::Option<unsafe extern "system" fn() -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub type PIOMMU_UNMAP_IDENTITY_RANGE_EX = ::core::option::Option<unsafe extern "system" fn() -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub type PIOMMU_UNMAP_LOGICAL_RANGE = ::core::option::Option<unsafe extern "system" fn() -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub type PIOMMU_UNMAP_RESERVED_LOGICAL_RANGE = ::core::option::Option<unsafe extern "system" fn() -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub type PIOMMU_UNREGISTER_INTERFACE_STATE_CHANGE_CALLBACK = ::core::option::Option<unsafe extern "system" fn() -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub type PIO_CONTAINER_NOTIFICATION_FUNCTION = ::core::option::Option<unsafe extern "system" fn() -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub type PIO_CSQ_ACQUIRE_LOCK = ::core::option::Option<unsafe extern "system" fn() -> ()>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub type PIO_CSQ_COMPLETE_CANCELED_IRP = ::core::option::Option<unsafe extern "system" fn() -> ()>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub type PIO_CSQ_INSERT_IRP = ::core::option::Option<unsafe extern "system" fn() -> ()>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub type PIO_CSQ_INSERT_IRP_EX = ::core::option::Option<unsafe extern "system" fn() -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
pub type PIO_CSQ_PEEK_NEXT_IRP = ::core::option::Option<unsafe extern "system" fn() -> *mut super::super::Foundation::IRP>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub type PIO_CSQ_RELEASE_LOCK = ::core::option::Option<unsafe extern "system" fn() -> ()>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub type PIO_CSQ_REMOVE_IRP = ::core::option::Option<unsafe extern "system" fn() -> ()>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub type PIO_DEVICE_EJECT_CALLBACK = ::core::option::Option<unsafe extern "system" fn(status: super::super::super::Win32::Foundation::NTSTATUS, context: *mut ::core::ffi::c_void) -> ()>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub type PIO_DPC_ROUTINE = ::core::option::Option<unsafe extern "system" fn() -> ()>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub type PIO_PERSISTED_MEMORY_ENUMERATION_CALLBACK = ::core::option::Option<unsafe extern "system" fn() -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub type PIO_QUERY_DEVICE_ROUTINE = ::core::option::Option<unsafe extern "system" fn(context: *const ::core::ffi::c_void, pathname: *const super::super::super::Win32::Foundation::UNICODE_STRING, bustype: INTERFACE_TYPE, busnumber: u32, businformation: *const *const KEY_VALUE_FULL_INFORMATION, controllertype: CONFIGURATION_TYPE, controllernumber: u32, controllerinformation: *const *const KEY_VALUE_FULL_INFORMATION, peripheraltype: CONFIGURATION_TYPE, peripheralnumber: u32, peripheralinformation: *const *const KEY_VALUE_FULL_INFORMATION) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub type PIO_SESSION_NOTIFICATION_FUNCTION = ::core::option::Option<unsafe extern "system" fn() -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub type PIO_TIMER_ROUTINE = ::core::option::Option<unsafe extern "system" fn() -> ()>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub type PIO_WORKITEM_ROUTINE = ::core::option::Option<unsafe extern "system" fn() -> ()>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub type PIO_WORKITEM_ROUTINE_EX = ::core::option::Option<unsafe extern "system" fn() -> ()>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
pub type PJOIN_DMA_DOMAIN = ::core::option::Option<unsafe extern "system" fn(dmaadapter: *const DMA_ADAPTER, domainhandle: super::super::super::Win32::Foundation::HANDLE) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub type PKBUGCHECK_CALLBACK_ROUTINE = ::core::option::Option<unsafe extern "system" fn() -> ()>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub type PKBUGCHECK_REASON_CALLBACK_ROUTINE = ::core::option::Option<unsafe extern "system" fn() -> ()>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub type PKIPI_BROADCAST_WORKER = ::core::option::Option<unsafe extern "system" fn() -> usize>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub type PKMESSAGE_SERVICE_ROUTINE = ::core::option::Option<unsafe extern "system" fn() -> super::super::super::Win32::Foundation::BOOLEAN>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub type PKSERVICE_ROUTINE = ::core::option::Option<unsafe extern "system" fn() -> super::super::super::Win32::Foundation::BOOLEAN>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub type PKSTART_ROUTINE = ::core::option::Option<unsafe extern "system" fn() -> ()>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub type PKSYNCHRONIZE_ROUTINE = ::core::option::Option<unsafe extern "system" fn() -> super::super::super::Win32::Foundation::BOOLEAN>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
pub type PLEAVE_DMA_DOMAIN = ::core::option::Option<unsafe extern "system" fn(dmaadapter: *const DMA_ADAPTER) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub type PLOAD_IMAGE_NOTIFY_ROUTINE = ::core::option::Option<unsafe extern "system" fn(fullimagename: *const super::super::super::Win32::Foundation::UNICODE_STRING, processid: super::super::super::Win32::Foundation::HANDLE, imageinfo: *const IMAGE_INFO) -> ()>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
pub type PMAP_TRANSFER = ::core::option::Option<unsafe extern "system" fn(dmaadapter: *const DMA_ADAPTER, mdl: *const super::super::Foundation::MDL, mapregisterbase: *const ::core::ffi::c_void, currentva: *const ::core::ffi::c_void, length: *mut u32, writetodevice: super::super::super::Win32::Foundation::BOOLEAN) -> i64>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
pub type PMAP_TRANSFER_EX = ::core::option::Option<unsafe extern "system" fn(dmaadapter: *const DMA_ADAPTER, mdl: *const super::super::Foundation::MDL, mapregisterbase: *const ::core::ffi::c_void, offset: u64, deviceoffset: u32, length: *mut u32, writetodevice: super::super::super::Win32::Foundation::BOOLEAN, scattergatherbuffer: *mut SCATTER_GATHER_LIST, scattergatherbufferlength: u32, dmacompletionroutine: PDMA_COMPLETION_ROUTINE, completioncontext: *const ::core::ffi::c_void) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub type PMM_DLL_INITIALIZE = ::core::option::Option<unsafe extern "system" fn(registrypath: *const super::super::super::Win32::Foundation::UNICODE_STRING) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub type PMM_DLL_UNLOAD = ::core::option::Option<unsafe extern "system" fn() -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub type PMM_GET_SYSTEM_ROUTINE_ADDRESS_EX = ::core::option::Option<unsafe extern "system" fn(modulename: *const super::super::super::Win32::Foundation::UNICODE_STRING, functionname: ::windows_core::PCSTR) -> *mut ::core::ffi::c_void>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub type PMM_MDL_ROUTINE = ::core::option::Option<unsafe extern "system" fn() -> ()>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))]
pub type PMM_ROTATE_COPY_CALLBACK_FUNCTION = ::core::option::Option<unsafe extern "system" fn(destinationmdl: *const super::super::Foundation::MDL, sourcemdl: *const super::super::Foundation::MDL, context: *const ::core::ffi::c_void) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub type PNMI_CALLBACK = ::core::option::Option<unsafe extern "system" fn() -> super::super::super::Win32::Foundation::BOOLEAN>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub type PNPEM_CONTROL_ENABLE_DISABLE = ::core::option::Option<unsafe extern "system" fn() -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub type PNPEM_CONTROL_QUERY_CONTROL = ::core::option::Option<unsafe extern "system" fn() -> u32>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub type PNPEM_CONTROL_QUERY_STANDARD_CAPABILITIES = ::core::option::Option<unsafe extern "system" fn() -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub type PNPEM_CONTROL_SET_STANDARD_CONTROL = ::core::option::Option<unsafe extern "system" fn() -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub type PNTFS_DEREF_EXPORTED_SECURITY_DESCRIPTOR = ::core::option::Option<unsafe extern "system" fn() -> ()>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))]
pub type POB_POST_OPERATION_CALLBACK = ::core::option::Option<unsafe extern "system" fn(registrationcontext: *const ::core::ffi::c_void, operationinformation: *const OB_POST_OPERATION_INFORMATION) -> ()>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`*"]
#[cfg(feature = "Wdk_Foundation")]
pub type POB_PRE_OPERATION_CALLBACK = ::core::option::Option<unsafe extern "system" fn(registrationcontext: *const ::core::ffi::c_void, operationinformation: *mut OB_PRE_OPERATION_INFORMATION) -> OB_PREOP_CALLBACK_STATUS>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub type POWER_SETTING_CALLBACK = ::core::option::Option<unsafe extern "system" fn(settingguid: *const ::windows_core::GUID, value: *const ::core::ffi::c_void, valuelength: u32, context: *mut ::core::ffi::c_void) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub type PO_FX_COMPONENT_ACTIVE_CONDITION_CALLBACK = ::core::option::Option<unsafe extern "system" fn(context: *const ::core::ffi::c_void, component: u32) -> ()>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub type PO_FX_COMPONENT_CRITICAL_TRANSITION_CALLBACK = ::core::option::Option<unsafe extern "system" fn(context: *const ::core::ffi::c_void, component: u32, active: super::super::super::Win32::Foundation::BOOLEAN) -> ()>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub type PO_FX_COMPONENT_IDLE_CONDITION_CALLBACK = ::core::option::Option<unsafe extern "system" fn(context: *const ::core::ffi::c_void, component: u32) -> ()>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub type PO_FX_COMPONENT_IDLE_STATE_CALLBACK = ::core::option::Option<unsafe extern "system" fn(context: *const ::core::ffi::c_void, component: u32, state: u32) -> ()>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub type PO_FX_COMPONENT_PERF_STATE_CALLBACK = ::core::option::Option<unsafe extern "system" fn(context: *const ::core::ffi::c_void, component: u32, succeeded: super::super::super::Win32::Foundation::BOOLEAN, requestcontext: *const ::core::ffi::c_void) -> ()>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub type PO_FX_DEVICE_POWER_NOT_REQUIRED_CALLBACK = ::core::option::Option<unsafe extern "system" fn(context: *const ::core::ffi::c_void) -> ()>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub type PO_FX_DEVICE_POWER_REQUIRED_CALLBACK = ::core::option::Option<unsafe extern "system" fn(context: *const ::core::ffi::c_void) -> ()>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub type PO_FX_DIRECTED_POWER_DOWN_CALLBACK = ::core::option::Option<unsafe extern "system" fn(context: *const ::core::ffi::c_void, flags: u32) -> ()>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub type PO_FX_DIRECTED_POWER_UP_CALLBACK = ::core::option::Option<unsafe extern "system" fn(context: *const ::core::ffi::c_void, flags: u32) -> ()>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
pub type PO_FX_DRIPS_WATCHDOG_CALLBACK = ::core::option::Option<unsafe extern "system" fn(context: *const ::core::ffi::c_void, physicaldeviceobject: *const super::super::Foundation::DEVICE_OBJECT, uniqueid: u32) -> ()>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub type PO_FX_POWER_CONTROL_CALLBACK = ::core::option::Option<unsafe extern "system" fn(devicecontext: *const ::core::ffi::c_void, powercontrolcode: *const ::windows_core::GUID, inbuffer: *const ::core::ffi::c_void, inbuffersize: usize, outbuffer: *mut ::core::ffi::c_void, outbuffersize: usize, bytesreturned: *mut usize) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub type PPCI_EXPRESS_ENTER_LINK_QUIESCENT_MODE = ::core::option::Option<unsafe extern "system" fn() -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub type PPCI_EXPRESS_EXIT_LINK_QUIESCENT_MODE = ::core::option::Option<unsafe extern "system" fn() -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub type PPCI_EXPRESS_ROOT_PORT_READ_CONFIG_SPACE = ::core::option::Option<unsafe extern "system" fn(context: *const ::core::ffi::c_void, buffer: *mut ::core::ffi::c_void, offset: u32, length: u32) -> u32>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub type PPCI_EXPRESS_ROOT_PORT_WRITE_CONFIG_SPACE = ::core::option::Option<unsafe extern "system" fn(context: *const ::core::ffi::c_void, buffer: *const ::core::ffi::c_void, offset: u32, length: u32) -> u32>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub type PPCI_EXPRESS_WAKE_CONTROL = ::core::option::Option<unsafe extern "system" fn() -> ()>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub type PPCI_IS_DEVICE_PRESENT = ::core::option::Option<unsafe extern "system" fn() -> super::super::super::Win32::Foundation::BOOLEAN>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub type PPCI_IS_DEVICE_PRESENT_EX = ::core::option::Option<unsafe extern "system" fn() -> super::super::super::Win32::Foundation::BOOLEAN>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub type PPCI_LINE_TO_PIN = ::core::option::Option<unsafe extern "system" fn() -> ()>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub type PPCI_MSIX_GET_ENTRY = ::core::option::Option<unsafe extern "system" fn() -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub type PPCI_MSIX_GET_TABLE_SIZE = ::core::option::Option<unsafe extern "system" fn() -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub type PPCI_MSIX_MASKUNMASK_ENTRY = ::core::option::Option<unsafe extern "system" fn() -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub type PPCI_MSIX_SET_ENTRY = ::core::option::Option<unsafe extern "system" fn() -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub type PPCI_PIN_TO_LINE = ::core::option::Option<unsafe extern "system" fn() -> ()>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub type PPCI_PREPARE_MULTISTAGE_RESUME = ::core::option::Option<unsafe extern "system" fn() -> ()>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub type PPCI_READ_WRITE_CONFIG = ::core::option::Option<unsafe extern "system" fn() -> u32>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub type PPCI_ROOT_BUS_CAPABILITY = ::core::option::Option<unsafe extern "system" fn() -> ()>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub type PPCI_SET_ACS = ::core::option::Option<unsafe extern "system" fn() -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub type PPCI_SET_ACS2 = ::core::option::Option<unsafe extern "system" fn() -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub type PPCI_SET_ATS = ::core::option::Option<unsafe extern "system" fn() -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub type PPCW_CALLBACK = ::core::option::Option<unsafe extern "system" fn() -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub type PPHYSICAL_COUNTER_EVENT_BUFFER_OVERFLOW_HANDLER = ::core::option::Option<unsafe extern "system" fn(eventbuffer: *const ::core::ffi::c_void, entrysize: usize, numberofentries: usize, owninghandle: super::super::super::Win32::Foundation::HANDLE) -> ()>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub type PPHYSICAL_COUNTER_OVERFLOW_HANDLER = ::core::option::Option<unsafe extern "system" fn(overflowbits: u64, owninghandle: super::super::super::Win32::Foundation::HANDLE) -> ()>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub type PPOWER_SETTING_CALLBACK = ::core::option::Option<unsafe extern "system" fn() -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub type PPO_FX_COMPONENT_ACTIVE_CONDITION_CALLBACK = ::core::option::Option<unsafe extern "system" fn() -> ()>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub type PPO_FX_COMPONENT_CRITICAL_TRANSITION_CALLBACK = ::core::option::Option<unsafe extern "system" fn() -> ()>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub type PPO_FX_COMPONENT_IDLE_CONDITION_CALLBACK = ::core::option::Option<unsafe extern "system" fn() -> ()>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub type PPO_FX_COMPONENT_IDLE_STATE_CALLBACK = ::core::option::Option<unsafe extern "system" fn() -> ()>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub type PPO_FX_COMPONENT_PERF_STATE_CALLBACK = ::core::option::Option<unsafe extern "system" fn() -> ()>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub type PPO_FX_DEVICE_POWER_NOT_REQUIRED_CALLBACK = ::core::option::Option<unsafe extern "system" fn() -> ()>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub type PPO_FX_DEVICE_POWER_REQUIRED_CALLBACK = ::core::option::Option<unsafe extern "system" fn() -> ()>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub type PPO_FX_DIRECTED_POWER_DOWN_CALLBACK = ::core::option::Option<unsafe extern "system" fn() -> ()>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub type PPO_FX_DIRECTED_POWER_UP_CALLBACK = ::core::option::Option<unsafe extern "system" fn() -> ()>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub type PPO_FX_DRIPS_WATCHDOG_CALLBACK = ::core::option::Option<unsafe extern "system" fn() -> ()>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub type PPO_FX_POWER_CONTROL_CALLBACK = ::core::option::Option<unsafe extern "system" fn() -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub type PPROCESSOR_CALLBACK_FUNCTION = ::core::option::Option<unsafe extern "system" fn() -> ()>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub type PPROCESSOR_HALT_ROUTINE = ::core::option::Option<unsafe extern "system" fn() -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub type PPTM_DEVICE_DISABLE = ::core::option::Option<unsafe extern "system" fn() -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub type PPTM_DEVICE_ENABLE = ::core::option::Option<unsafe extern "system" fn() -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub type PPTM_DEVICE_QUERY_GRANULARITY = ::core::option::Option<unsafe extern "system" fn() -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub type PPTM_DEVICE_QUERY_TIME_SOURCE = ::core::option::Option<unsafe extern "system" fn() -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
pub type PPUT_DMA_ADAPTER = ::core::option::Option<unsafe extern "system" fn(dmaadapter: *mut DMA_ADAPTER) -> ()>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
pub type PPUT_SCATTER_GATHER_LIST = ::core::option::Option<unsafe extern "system" fn(dmaadapter: *const DMA_ADAPTER, scattergather: *const SCATTER_GATHER_LIST, writetodevice: super::super::super::Win32::Foundation::BOOLEAN) -> ()>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub type PQUERYEXTENDEDADDRESS = ::core::option::Option<unsafe extern "system" fn(context: *const ::core::ffi::c_void, extendedaddress: *mut u64) -> ()>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
pub type PREAD_DMA_COUNTER = ::core::option::Option<unsafe extern "system" fn(dmaadapter: *const DMA_ADAPTER) -> u32>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub type PREENUMERATE_SELF = ::core::option::Option<unsafe extern "system" fn(context: *const ::core::ffi::c_void) -> ()>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
pub type PREGISTER_FOR_DEVICE_NOTIFICATIONS = ::core::option::Option<unsafe extern "system" fn(param0: *mut super::super::Foundation::DEVICE_OBJECT, param1: PDEVICE_NOTIFY_CALLBACK, param2: *mut ::core::ffi::c_void) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub type PREGISTER_FOR_DEVICE_NOTIFICATIONS2 = ::core::option::Option<unsafe extern "system" fn(context: *mut ::core::ffi::c_void, notificationhandler: PDEVICE_NOTIFY_CALLBACK2, notificationcontext: *mut ::core::ffi::c_void) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub type PREPLACE_BEGIN = ::core::option::Option<unsafe extern "system" fn(parameters: *const PNP_REPLACE_PARAMETERS, context: *mut *mut ::core::ffi::c_void) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub type PREPLACE_DRIVER_INIT = ::core::option::Option<unsafe extern "system" fn(interface: *mut PNP_REPLACE_DRIVER_INTERFACE, unused: *const ::core::ffi::c_void) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub type PREPLACE_ENABLE_DISABLE_HARDWARE_QUIESCE = ::core::option::Option<unsafe extern "system" fn(context: *const ::core::ffi::c_void, enable: super::super::super::Win32::Foundation::BOOLEAN) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub type PREPLACE_END = ::core::option::Option<unsafe extern "system" fn(context: *const ::core::ffi::c_void) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub type PREPLACE_GET_MEMORY_DESTINATION = ::core::option::Option<unsafe extern "system" fn(context: *const ::core::ffi::c_void, sourceaddress: i64, destinationaddress: *mut i64) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub type PREPLACE_INITIATE_HARDWARE_MIRROR = ::core::option::Option<unsafe extern "system" fn(context: *const ::core::ffi::c_void) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub type PREPLACE_MAP_MEMORY = ::core::option::Option<unsafe extern "system" fn(targetphysicaladdress: i64, sparephysicaladdress: i64, numberofbytes: *mut i64, targetaddress: *mut *mut ::core::ffi::c_void, spareaddress: *mut *mut ::core::ffi::c_void) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub type PREPLACE_MIRROR_PHYSICAL_MEMORY = ::core::option::Option<unsafe extern "system" fn(context: *const ::core::ffi::c_void, physicaladdress: i64, bytecount: i64) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub type PREPLACE_MIRROR_PLATFORM_MEMORY = ::core::option::Option<unsafe extern "system" fn(context: *const ::core::ffi::c_void) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub type PREPLACE_SET_PROCESSOR_ID = ::core::option::Option<unsafe extern "system" fn(context: *const ::core::ffi::c_void, apicid: u32, target: super::super::super::Win32::Foundation::BOOLEAN) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub type PREPLACE_SWAP = ::core::option::Option<unsafe extern "system" fn(context: *const ::core::ffi::c_void) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub type PREPLACE_UNLOAD = ::core::option::Option<unsafe extern "system" fn() -> ()>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub type PREQUEST_POWER_COMPLETE = ::core::option::Option<unsafe extern "system" fn() -> ()>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"]
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
pub type PROCESSOR_CALLBACK_FUNCTION = ::core::option::Option<unsafe extern "system" fn(callbackcontext: *const ::core::ffi::c_void, changecontext: *const KE_PROCESSOR_CHANGE_NOTIFY_CONTEXT, operationstatus: *mut i32) -> ()>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub type PROCESSOR_HALT_ROUTINE = ::core::option::Option<unsafe extern "system" fn(context: *mut ::core::ffi::c_void) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub type PRTL_AVL_ALLOCATE_ROUTINE = ::core::option::Option<unsafe extern "system" fn() -> *mut ::core::ffi::c_void>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub type PRTL_AVL_COMPARE_ROUTINE = ::core::option::Option<unsafe extern "system" fn() -> RTL_GENERIC_COMPARE_RESULTS>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub type PRTL_AVL_FREE_ROUTINE = ::core::option::Option<unsafe extern "system" fn() -> ()>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub type PRTL_AVL_MATCH_FUNCTION = ::core::option::Option<unsafe extern "system" fn() -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub type PRTL_GENERIC_ALLOCATE_ROUTINE = ::core::option::Option<unsafe extern "system" fn() -> *mut ::core::ffi::c_void>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub type PRTL_GENERIC_COMPARE_ROUTINE = ::core::option::Option<unsafe extern "system" fn() -> RTL_GENERIC_COMPARE_RESULTS>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub type PRTL_GENERIC_FREE_ROUTINE = ::core::option::Option<unsafe extern "system" fn() -> ()>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub type PRTL_QUERY_REGISTRY_ROUTINE = ::core::option::Option<unsafe extern "system" fn() -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub type PRTL_RUN_ONCE_INIT_FN = ::core::option::Option<unsafe extern "system" fn() -> u32>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub type PSECURE_DRIVER_PROCESS_DEREFERENCE = ::core::option::Option<unsafe extern "system" fn() -> ()>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`*"]
#[cfg(feature = "Wdk_Foundation")]
pub type PSECURE_DRIVER_PROCESS_REFERENCE = ::core::option::Option<unsafe extern "system" fn() -> super::super::Foundation::PEPROCESS>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub type PSET_D3COLD_SUPPORT = ::core::option::Option<unsafe extern "system" fn() -> ()>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub type PSET_VIRTUAL_DEVICE_DATA = ::core::option::Option<unsafe extern "system" fn() -> u32>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub type PSE_IMAGE_VERIFICATION_CALLBACK_FUNCTION = ::core::option::Option<unsafe extern "system" fn() -> ()>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub type PSHED_PI_ATTEMPT_ERROR_RECOVERY = ::core::option::Option<unsafe extern "system" fn(plugincontext: *mut ::core::ffi::c_void, bufferlength: u32, errorrecord: *const WHEA_ERROR_RECORD) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub type PSHED_PI_CLEAR_ERROR_RECORD = ::core::option::Option<unsafe extern "system" fn(plugincontext: *mut ::core::ffi::c_void, flags: u32, errorrecordid: u64) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Diagnostics_Debug\"`*"]
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Diagnostics_Debug"))]
pub type PSHED_PI_CLEAR_ERROR_STATUS = ::core::option::Option<unsafe extern "system" fn(plugincontext: *mut ::core::ffi::c_void, errorsource: *const super::super::super::Win32::System::Diagnostics::Debug::WHEA_ERROR_SOURCE_DESCRIPTOR, bufferlength: u32, errorrecord: *const WHEA_ERROR_RECORD) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Diagnostics_Debug\"`*"]
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Diagnostics_Debug"))]
pub type PSHED_PI_DISABLE_ERROR_SOURCE = ::core::option::Option<unsafe extern "system" fn(plugincontext: *mut ::core::ffi::c_void, errorsource: *const super::super::super::Win32::System::Diagnostics::Debug::WHEA_ERROR_SOURCE_DESCRIPTOR) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Diagnostics_Debug\"`*"]
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Diagnostics_Debug"))]
pub type PSHED_PI_ENABLE_ERROR_SOURCE = ::core::option::Option<unsafe extern "system" fn(plugincontext: *mut ::core::ffi::c_void, errorsource: *const super::super::super::Win32::System::Diagnostics::Debug::WHEA_ERROR_SOURCE_DESCRIPTOR) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Diagnostics_Debug\"`*"]
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Diagnostics_Debug"))]
pub type PSHED_PI_FINALIZE_ERROR_RECORD = ::core::option::Option<unsafe extern "system" fn(plugincontext: *mut ::core::ffi::c_void, errorsource: *const super::super::super::Win32::System::Diagnostics::Debug::WHEA_ERROR_SOURCE_DESCRIPTOR, bufferlength: u32, errorrecord: *mut WHEA_ERROR_RECORD) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Diagnostics_Debug\"`*"]
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Diagnostics_Debug"))]
pub type PSHED_PI_GET_ALL_ERROR_SOURCES = ::core::option::Option<unsafe extern "system" fn(plugincontext: *mut ::core::ffi::c_void, count: *mut u32, errorsrcs: *mut *mut super::super::super::Win32::System::Diagnostics::Debug::WHEA_ERROR_SOURCE_DESCRIPTOR, length: *mut u32) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Diagnostics_Debug\"`*"]
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Diagnostics_Debug"))]
pub type PSHED_PI_GET_ERROR_SOURCE_INFO = ::core::option::Option<unsafe extern "system" fn(plugincontext: *mut ::core::ffi::c_void, errorsource: *mut super::super::super::Win32::System::Diagnostics::Debug::WHEA_ERROR_SOURCE_DESCRIPTOR) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub type PSHED_PI_GET_INJECTION_CAPABILITIES = ::core::option::Option<unsafe extern "system" fn(plugincontext: *mut ::core::ffi::c_void, capabilities: *mut WHEA_ERROR_INJECTION_CAPABILITIES) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub type PSHED_PI_INJECT_ERROR = ::core::option::Option<unsafe extern "system" fn(plugincontext: *mut ::core::ffi::c_void, errortype: u64, parameter1: u64, parameter2: u64, parameter3: u64, parameter4: u64) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub type PSHED_PI_READ_ERROR_RECORD = ::core::option::Option<unsafe extern "system" fn(plugincontext: *mut ::core::ffi::c_void, flags: u32, errorrecordid: u64, nexterrorrecordid: *mut u64, recordlength: *mut u32, errorrecord: *mut WHEA_ERROR_RECORD) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Diagnostics_Debug\"`*"]
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Diagnostics_Debug"))]
pub type PSHED_PI_RETRIEVE_ERROR_INFO = ::core::option::Option<unsafe extern "system" fn(plugincontext: *mut ::core::ffi::c_void, errorsource: *const super::super::super::Win32::System::Diagnostics::Debug::WHEA_ERROR_SOURCE_DESCRIPTOR, bufferlength: u64, packet: *mut WHEA_ERROR_PACKET_V2) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Diagnostics_Debug\"`*"]
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Diagnostics_Debug"))]
pub type PSHED_PI_SET_ERROR_SOURCE_INFO = ::core::option::Option<unsafe extern "system" fn(plugincontext: *mut ::core::ffi::c_void, errorsource: *const super::super::super::Win32::System::Diagnostics::Debug::WHEA_ERROR_SOURCE_DESCRIPTOR) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub type PSHED_PI_WRITE_ERROR_RECORD = ::core::option::Option<unsafe extern "system" fn(plugincontext: *mut ::core::ffi::c_void, flags: u32, recordlength: u32, errorrecord: *const WHEA_ERROR_RECORD) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub type PTIMER_APC_ROUTINE = ::core::option::Option<unsafe extern "system" fn(timercontext: *const ::core::ffi::c_void, timerlowvalue: u32, timerhighvalue: i32) -> ()>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub type PTM_DEVICE_DISABLE = ::core::option::Option<unsafe extern "system" fn(context: *const ::core::ffi::c_void) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub type PTM_DEVICE_ENABLE = ::core::option::Option<unsafe extern "system" fn(context: *const ::core::ffi::c_void) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub type PTM_DEVICE_QUERY_GRANULARITY = ::core::option::Option<unsafe extern "system" fn(context: *const ::core::ffi::c_void, granularity: *mut u8) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub type PTM_DEVICE_QUERY_TIME_SOURCE = ::core::option::Option<unsafe extern "system" fn(context: *const ::core::ffi::c_void, timesource: *mut u32) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub type PTM_PROPAGATE_ROUTINE = ::core::option::Option<unsafe extern "system" fn(propagationcookie: *const ::core::ffi::c_void, callbackdata: *const ::core::ffi::c_void, propagationstatus: super::super::super::Win32::Foundation::NTSTATUS, transactionguid: ::windows_core::GUID) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))]
pub type PTM_RM_NOTIFICATION = ::core::option::Option<unsafe extern "system" fn(enlistmentobject: *const super::super::Foundation::KENLISTMENT, rmcontext: *const ::core::ffi::c_void, transactioncontext: *const ::core::ffi::c_void, transactionnotification: u32, tmvirtualclock: *mut i64, argumentlength: u32, argument: *const ::core::ffi::c_void) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub type PTRANSLATE_BUS_ADDRESS = ::core::option::Option<unsafe extern "system" fn() -> super::super::super::Win32::Foundation::BOOLEAN>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
pub type PTRANSLATE_RESOURCE_HANDLER = ::core::option::Option<unsafe extern "system" fn(context: *mut ::core::ffi::c_void, source: *const CM_PARTIAL_RESOURCE_DESCRIPTOR, direction: RESOURCE_TRANSLATION_DIRECTION, alternativescount: u32, alternatives: *const IO_RESOURCE_DESCRIPTOR, physicaldeviceobject: *const super::super::Foundation::DEVICE_OBJECT, target: *mut CM_PARTIAL_RESOURCE_DESCRIPTOR) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
pub type PTRANSLATE_RESOURCE_REQUIREMENTS_HANDLER = ::core::option::Option<unsafe extern "system" fn(context: *mut ::core::ffi::c_void, source: *const IO_RESOURCE_DESCRIPTOR, physicaldeviceobject: *const super::super::Foundation::DEVICE_OBJECT, targetcount: *mut u32, target: *mut *mut IO_RESOURCE_DESCRIPTOR) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
pub type PUNREGISTER_FOR_DEVICE_NOTIFICATIONS = ::core::option::Option<unsafe extern "system" fn(param0: *mut super::super::Foundation::DEVICE_OBJECT, param1: PDEVICE_NOTIFY_CALLBACK) -> ()>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub type PUNREGISTER_FOR_DEVICE_NOTIFICATIONS2 = ::core::option::Option<unsafe extern "system" fn(context: *mut ::core::ffi::c_void) -> ()>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub type PciLine2Pin = ::core::option::Option<unsafe extern "system" fn(bushandler: *const isize, roothandler: *const isize, slotnumber: PCI_SLOT_NUMBER, pcinewdata: *const PCI_COMMON_CONFIG, pciolddata: *const PCI_COMMON_CONFIG) -> ()>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub type PciPin2Line = ::core::option::Option<unsafe extern "system" fn(bushandler: *const isize, roothandler: *const isize, slotnumber: PCI_SLOT_NUMBER, pcidata: *const PCI_COMMON_CONFIG) -> ()>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub type PciReadWriteConfig = ::core::option::Option<unsafe extern "system" fn(bushandler: *const isize, slot: PCI_SLOT_NUMBER, buffer: *const ::core::ffi::c_void, offset: u32, length: u32) -> ()>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
pub type REQUEST_POWER_COMPLETE = ::core::option::Option<unsafe extern "system" fn(deviceobject: *const super::super::Foundation::DEVICE_OBJECT, minorfunction: u8, powerstate: POWER_STATE, context: *const ::core::ffi::c_void, iostatus: *const super::super::super::Win32::System::IO::IO_STATUS_BLOCK) -> ()>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub type RTL_AVL_ALLOCATE_ROUTINE = ::core::option::Option<unsafe extern "system" fn(table: *const RTL_AVL_TABLE, bytesize: u32) -> *mut ::core::ffi::c_void>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub type RTL_AVL_COMPARE_ROUTINE = ::core::option::Option<unsafe extern "system" fn(table: *const RTL_AVL_TABLE, firststruct: *const ::core::ffi::c_void, secondstruct: *const ::core::ffi::c_void) -> RTL_GENERIC_COMPARE_RESULTS>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub type RTL_AVL_FREE_ROUTINE = ::core::option::Option<unsafe extern "system" fn(table: *const RTL_AVL_TABLE, buffer: *const ::core::ffi::c_void) -> ()>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub type RTL_AVL_MATCH_FUNCTION = ::core::option::Option<unsafe extern "system" fn(table: *const RTL_AVL_TABLE, userdata: *const ::core::ffi::c_void, matchdata: *const ::core::ffi::c_void) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_System_Kernel\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_System_Kernel"))]
pub type RTL_GENERIC_ALLOCATE_ROUTINE = ::core::option::Option<unsafe extern "system" fn(table: *const RTL_GENERIC_TABLE, bytesize: u32) -> *mut ::core::ffi::c_void>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_System_Kernel\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_System_Kernel"))]
pub type RTL_GENERIC_COMPARE_ROUTINE = ::core::option::Option<unsafe extern "system" fn(table: *const RTL_GENERIC_TABLE, firststruct: *const ::core::ffi::c_void, secondstruct: *const ::core::ffi::c_void) -> RTL_GENERIC_COMPARE_RESULTS>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_System_Kernel\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_System_Kernel"))]
pub type RTL_GENERIC_FREE_ROUTINE = ::core::option::Option<unsafe extern "system" fn(table: *const RTL_GENERIC_TABLE, buffer: *const ::core::ffi::c_void) -> ()>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub type RTL_QUERY_REGISTRY_ROUTINE = ::core::option::Option<unsafe extern "system" fn(valuename: ::windows_core::PCWSTR, valuetype: u32, valuedata: *const ::core::ffi::c_void, valuelength: u32, context: *const ::core::ffi::c_void, entrycontext: *const ::core::ffi::c_void) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_System_Threading\"`*"]
#[cfg(feature = "Win32_System_Threading")]
pub type RTL_RUN_ONCE_INIT_FN = ::core::option::Option<unsafe extern "system" fn(runonce: *mut super::super::super::Win32::System::Threading::INIT_ONCE, parameter: *mut ::core::ffi::c_void, context: *mut *mut ::core::ffi::c_void) -> u32>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`*"]
#[cfg(feature = "Wdk_Foundation")]
pub type SECURE_DRIVER_PROCESS_DEREFERENCE = ::core::option::Option<unsafe extern "system" fn(interfacecontext: *const ::core::ffi::c_void, process: super::super::Foundation::PEPROCESS) -> ()>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`*"]
#[cfg(feature = "Wdk_Foundation")]
pub type SECURE_DRIVER_PROCESS_REFERENCE = ::core::option::Option<unsafe extern "system" fn(interfacecontext: *const ::core::ffi::c_void) -> super::super::Foundation::PEPROCESS>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub type SET_D3COLD_SUPPORT = ::core::option::Option<unsafe extern "system" fn(context: *const ::core::ffi::c_void, d3coldsupport: super::super::super::Win32::Foundation::BOOLEAN) -> ()>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub type SET_VIRTUAL_DEVICE_DATA = ::core::option::Option<unsafe extern "system" fn(context: *mut ::core::ffi::c_void, virtualfunction: u16, buffer: *const ::core::ffi::c_void, offset: u32, length: u32) -> u32>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub type SE_IMAGE_VERIFICATION_CALLBACK_FUNCTION = ::core::option::Option<unsafe extern "system" fn(callbackcontext: *const ::core::ffi::c_void, imagetype: SE_IMAGE_TYPE, imageinformation: *mut BDCB_IMAGE_INFORMATION) -> ()>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub type SILO_CONTEXT_CLEANUP_CALLBACK = ::core::option::Option<unsafe extern "system" fn(silocontext: *const ::core::ffi::c_void) -> ()>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))]
pub type SILO_MONITOR_CREATE_CALLBACK = ::core::option::Option<unsafe extern "system" fn(silo: super::super::Foundation::PESILO) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`*"]
#[cfg(feature = "Wdk_Foundation")]
pub type SILO_MONITOR_TERMINATE_CALLBACK = ::core::option::Option<unsafe extern "system" fn(silo: super::super::Foundation::PESILO) -> ()>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub type TRANSLATE_BUS_ADDRESS = ::core::option::Option<unsafe extern "system" fn(context: *mut ::core::ffi::c_void, busaddress: i64, length: u32, addressspace: *mut u32, translatedaddress: *mut i64) -> super::super::super::Win32::Foundation::BOOLEAN>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub type WHEA_ERROR_SOURCE_CORRECT = ::core::option::Option<unsafe extern "system" fn() -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub type WHEA_ERROR_SOURCE_CREATE_RECORD = ::core::option::Option<unsafe extern "system" fn() -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub type WHEA_ERROR_SOURCE_INITIALIZE = ::core::option::Option<unsafe extern "system" fn() -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub type WHEA_ERROR_SOURCE_RECOVER = ::core::option::Option<unsafe extern "system" fn() -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub type WHEA_ERROR_SOURCE_UNINITIALIZE = ::core::option::Option<unsafe extern "system" fn() -> ()>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub type WHEA_SIGNAL_HANDLER_OVERRIDE_CALLBACK = ::core::option::Option<unsafe extern "system" fn() -> super::super::super::Win32::Foundation::BOOLEAN>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub type WMI_NOTIFICATION_CALLBACK = ::core::option::Option<unsafe extern "system" fn() -> ()>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub type WORKER_THREAD_ROUTINE = ::core::option::Option<unsafe extern "system" fn(parameter: *const ::core::ffi::c_void) -> ()>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Diagnostics_Debug\"`*"]
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Diagnostics_Debug"))]
pub type _WHEA_ERROR_SOURCE_CORRECT = ::core::option::Option<unsafe extern "system" fn(errorsource: *mut super::super::super::Win32::System::Diagnostics::Debug::WHEA_ERROR_SOURCE_DESCRIPTOR, maximumsectionlength: *mut u32) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Diagnostics_Debug\"`*"]
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Diagnostics_Debug"))]
pub type _WHEA_ERROR_SOURCE_CREATE_RECORD = ::core::option::Option<unsafe extern "system" fn(errorsource: *mut super::super::super::Win32::System::Diagnostics::Debug::WHEA_ERROR_SOURCE_DESCRIPTOR, errorpacket: *mut WHEA_ERROR_PACKET_V2, errorrecord: *mut WHEA_ERROR_RECORD, buffersize: u32, context: *mut ::core::ffi::c_void) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Diagnostics_Debug\"`*"]
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Diagnostics_Debug"))]
pub type _WHEA_ERROR_SOURCE_INITIALIZE = ::core::option::Option<unsafe extern "system" fn(phase: u32, errorsource: *mut super::super::super::Win32::System::Diagnostics::Debug::WHEA_ERROR_SOURCE_DESCRIPTOR, context: *mut ::core::ffi::c_void) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub type _WHEA_ERROR_SOURCE_RECOVER = ::core::option::Option<unsafe extern "system" fn(recoverycontext: *mut ::core::ffi::c_void, severity: *mut WHEA_ERROR_SEVERITY) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub type _WHEA_ERROR_SOURCE_UNINITIALIZE = ::core::option::Option<unsafe extern "system" fn(context: *mut ::core::ffi::c_void) -> ()>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub type _WHEA_SIGNAL_HANDLER_OVERRIDE_CALLBACK = ::core::option::Option<unsafe extern "system" fn(context: usize) -> super::super::super::Win32::Foundation::BOOLEAN>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
pub type pHalAssignSlotResources = ::core::option::Option<unsafe extern "system" fn(registrypath: *const super::super::super::Win32::Foundation::UNICODE_STRING, driverclassname: *const super::super::super::Win32::Foundation::UNICODE_STRING, driverobject: *const super::super::Foundation::DRIVER_OBJECT, deviceobject: *const super::super::Foundation::DEVICE_OBJECT, bustype: INTERFACE_TYPE, busnumber: u32, slotnumber: u32, allocatedresources: *mut *mut CM_RESOURCE_LIST) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub type pHalEndMirroring = ::core::option::Option<unsafe extern "system" fn(passnumber: u32) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub type pHalEndOfBoot = ::core::option::Option<unsafe extern "system" fn() -> ()>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
pub type pHalExamineMBR = ::core::option::Option<unsafe extern "system" fn(deviceobject: *const super::super::Foundation::DEVICE_OBJECT, sectorsize: u32, mbrtypeidentifier: u32, buffer: *mut *mut ::core::ffi::c_void) -> ()>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub type pHalFindBusAddressTranslation = ::core::option::Option<unsafe extern "system" fn(busaddress: i64, addressspace: *mut u32, translatedaddress: *mut i64, context: *mut usize, nextbus: super::super::super::Win32::Foundation::BOOLEAN) -> super::super::super::Win32::Foundation::BOOLEAN>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub type pHalGetAcpiTable = ::core::option::Option<unsafe extern "system" fn(signature: u32, oemid: ::windows_core::PCSTR, oemtableid: ::windows_core::PCSTR) -> *mut ::core::ffi::c_void>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
pub type pHalGetDmaAdapter = ::core::option::Option<unsafe extern "system" fn(physicaldeviceobject: *const ::core::ffi::c_void, devicedescriptor: *const DEVICE_DESCRIPTION, numberofmapregisters: *mut u32) -> *mut DMA_ADAPTER>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
pub type pHalGetInterruptTranslator = ::core::option::Option<unsafe extern "system" fn(parentinterfacetype: INTERFACE_TYPE, parentbusnumber: u32, bridgeinterfacetype: INTERFACE_TYPE, size: u16, version: u16, translator: *mut TRANSLATOR_INTERFACE, bridgebusnumber: *mut u32) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_System_Kernel\"`*"]
#[cfg(feature = "Win32_System_Kernel")]
pub type pHalGetPrmCache = ::core::option::Option<unsafe extern "system" fn(firmwarelist: *mut *mut super::super::super::Win32::System::Kernel::LIST_ENTRY, updatelist: *mut *mut super::super::super::Win32::System::Kernel::LIST_ENTRY) -> ()>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub type pHalHaltSystem = ::core::option::Option<unsafe extern "system" fn() -> ()>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`*"]
#[cfg(feature = "Wdk_Foundation")]
pub type pHalHandlerForBus = ::core::option::Option<unsafe extern "system" fn(interfacetype: INTERFACE_TYPE, busnumber: u32) -> super::super::Foundation::PBUS_HANDLER>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub type pHalInitPnpDriver = ::core::option::Option<unsafe extern "system" fn() -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub type pHalInitPowerManagement = ::core::option::Option<unsafe extern "system" fn(pmdriverdispatchtable: *const PM_DISPATCH_TABLE, pmhaldispatchtable: *mut *mut PM_DISPATCH_TABLE) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Ioctl\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Ioctl", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
pub type pHalIoReadPartitionTable = ::core::option::Option<unsafe extern "system" fn(deviceobject: *const super::super::Foundation::DEVICE_OBJECT, sectorsize: u32, returnrecognizedpartitions: super::super::super::Win32::Foundation::BOOLEAN, partitionbuffer: *mut *mut super::super::super::Win32::System::Ioctl::DRIVE_LAYOUT_INFORMATION) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
pub type pHalIoSetPartitionInformation = ::core::option::Option<unsafe extern "system" fn(deviceobject: *const super::super::Foundation::DEVICE_OBJECT, sectorsize: u32, partitionnumber: u32, partitiontype: u32) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Wdk_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_IO\"`, `\"Win32_System_Ioctl\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Power\"`, `\"Win32_System_WindowsProgramming\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Foundation", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Ioctl", feature = "Win32_System_Kernel", feature = "Win32_System_Power", feature = "Win32_System_WindowsProgramming"))]
pub type pHalIoWritePartitionTable = ::core::option::Option<unsafe extern "system" fn(deviceobject: *const super::super::Foundation::DEVICE_OBJECT, sectorsize: u32, sectorspertrack: u32, numberofheads: u32, partitionbuffer: *const super::super::super::Win32::System::Ioctl::DRIVE_LAYOUT_INFORMATION) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub type pHalMirrorPhysicalMemory = ::core::option::Option<unsafe extern "system" fn(physicaladdress: i64, numberofbytes: i64) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub type pHalMirrorVerify = ::core::option::Option<unsafe extern "system" fn(physicaladdress: i64, numberofbytes: i64) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`, `\"Win32_Foundation\"`*"]
#[cfg(all(feature = "Wdk_Foundation", feature = "Win32_Foundation"))]
pub type pHalQueryBusSlots = ::core::option::Option<unsafe extern "system" fn(bushandler: super::super::Foundation::PBUS_HANDLER, buffersize: u32, slotnumbers: *mut u32, returnedlength: *mut u32) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub type pHalQuerySystemInformation = ::core::option::Option<unsafe extern "system" fn(informationclass: HAL_QUERY_INFORMATION_CLASS, buffersize: u32, buffer: *mut ::core::ffi::c_void, returnedlength: *mut u32) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Wdk_Foundation\"`*"]
#[cfg(feature = "Wdk_Foundation")]
pub type pHalReferenceBusHandler = ::core::option::Option<unsafe extern "system" fn(bushandler: super::super::Foundation::PBUS_HANDLER) -> ()>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub type pHalResetDisplay = ::core::option::Option<unsafe extern "system" fn() -> super::super::super::Win32::Foundation::BOOLEAN>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub type pHalSetPciErrorHandlerCallback = ::core::option::Option<unsafe extern "system" fn(callback: PCI_ERROR_HANDLER_CALLBACK) -> ()>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub type pHalSetSystemInformation = ::core::option::Option<unsafe extern "system" fn(informationclass: HAL_SET_INFORMATION_CLASS, buffersize: u32, buffer: *const ::core::ffi::c_void) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub type pHalStartMirroring = ::core::option::Option<unsafe extern "system" fn() -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub type pHalTranslateBusAddress = ::core::option::Option<unsafe extern "system" fn(interfacetype: INTERFACE_TYPE, busnumber: u32, busaddress: i64, addressspace: *mut u32, translatedaddress: *mut i64) -> super::super::super::Win32::Foundation::BOOLEAN>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub type pHalVectorToIDTEntry = ::core::option::Option<unsafe extern "system" fn(vector: u32) -> u8>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub type pKdCheckPowerButton = ::core::option::Option<unsafe extern "system" fn() -> ()>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub type pKdEnumerateDebuggingDevices = ::core::option::Option<unsafe extern "system" fn(loaderblock: *const ::core::ffi::c_void, device: *mut DEBUG_DEVICE_DESCRIPTOR, callback: PDEBUG_DEVICE_FOUND_FUNCTION) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub type pKdGetAcpiTablePhase0 = ::core::option::Option<unsafe extern "system" fn(loaderblock: *const isize, signature: u32) -> *mut ::core::ffi::c_void>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub type pKdGetPciDataByOffset = ::core::option::Option<unsafe extern "system" fn(busnumber: u32, slotnumber: u32, buffer: *mut ::core::ffi::c_void, offset: u32, length: u32) -> u32>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub type pKdMapPhysicalMemory64 = ::core::option::Option<unsafe extern "system" fn(physicaladdress: i64, numberpages: u32, flushcurrenttlb: super::super::super::Win32::Foundation::BOOLEAN) -> *mut ::core::ffi::c_void>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub type pKdReleaseIntegratedDeviceForDebugging = ::core::option::Option<unsafe extern "system" fn(integrateddevice: *mut DEBUG_DEVICE_DESCRIPTOR) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub type pKdReleasePciDeviceForDebugging = ::core::option::Option<unsafe extern "system" fn(pcidevice: *mut DEBUG_DEVICE_DESCRIPTOR) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`*"]
pub type pKdSetPciDataByOffset = ::core::option::Option<unsafe extern "system" fn(busnumber: u32, slotnumber: u32, buffer: *const ::core::ffi::c_void, offset: u32, length: u32) -> u32>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub type pKdSetupIntegratedDeviceForDebugging = ::core::option::Option<unsafe extern "system" fn(loaderblock: *const ::core::ffi::c_void, integrateddevice: *mut DEBUG_DEVICE_DESCRIPTOR) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub type pKdSetupPciDeviceForDebugging = ::core::option::Option<unsafe extern "system" fn(loaderblock: *const ::core::ffi::c_void, pcidevice: *mut DEBUG_DEVICE_DESCRIPTOR) -> super::super::super::Win32::Foundation::NTSTATUS>;
#[doc = "*Required features: `\"Wdk_System_SystemServices\"`, `\"Win32_Foundation\"`*"]
#[cfg(feature = "Win32_Foundation")]
pub type pKdUnmapVirtualAddress = ::core::option::Option<unsafe extern "system" fn(virtualaddress: *const ::core::ffi::c_void, numberpages: u32, flushcurrenttlb: super::super::super::Win32::Foundation::BOOLEAN) -> ()>;