diff options
Diffstat (limited to 'vendor/windows-sys-0.45.0/src/Windows/Win32/System/Diagnostics/ProcessSnapshotting')
-rw-r--r-- | vendor/windows-sys-0.45.0/src/Windows/Win32/System/Diagnostics/ProcessSnapshotting/mod.rs | 518 |
1 files changed, 0 insertions, 518 deletions
diff --git a/vendor/windows-sys-0.45.0/src/Windows/Win32/System/Diagnostics/ProcessSnapshotting/mod.rs b/vendor/windows-sys-0.45.0/src/Windows/Win32/System/Diagnostics/ProcessSnapshotting/mod.rs deleted file mode 100644 index 7429c3d..0000000 --- a/vendor/windows-sys-0.45.0/src/Windows/Win32/System/Diagnostics/ProcessSnapshotting/mod.rs +++ /dev/null @@ -1,518 +0,0 @@ -#[cfg(feature = "Win32_Foundation")] -::windows_sys::core::link ! ( "kernel32.dll""system" #[doc = "*Required features: `\"Win32_System_Diagnostics_ProcessSnapshotting\"`, `\"Win32_Foundation\"`*"] fn PssCaptureSnapshot ( processhandle : super::super::super::Foundation:: HANDLE , captureflags : PSS_CAPTURE_FLAGS , threadcontextflags : u32 , snapshothandle : *mut HPSS ) -> u32 ); -#[cfg(feature = "Win32_Foundation")] -::windows_sys::core::link ! ( "kernel32.dll""system" #[doc = "*Required features: `\"Win32_System_Diagnostics_ProcessSnapshotting\"`, `\"Win32_Foundation\"`*"] fn PssDuplicateSnapshot ( sourceprocesshandle : super::super::super::Foundation:: HANDLE , snapshothandle : HPSS , targetprocesshandle : super::super::super::Foundation:: HANDLE , targetsnapshothandle : *mut HPSS , flags : PSS_DUPLICATE_FLAGS ) -> u32 ); -#[cfg(feature = "Win32_Foundation")] -::windows_sys::core::link ! ( "kernel32.dll""system" #[doc = "*Required features: `\"Win32_System_Diagnostics_ProcessSnapshotting\"`, `\"Win32_Foundation\"`*"] fn PssFreeSnapshot ( processhandle : super::super::super::Foundation:: HANDLE , snapshothandle : HPSS ) -> u32 ); -::windows_sys::core::link ! ( "kernel32.dll""system" #[doc = "*Required features: `\"Win32_System_Diagnostics_ProcessSnapshotting\"`*"] fn PssQuerySnapshot ( snapshothandle : HPSS , informationclass : PSS_QUERY_INFORMATION_CLASS , buffer : *mut ::core::ffi::c_void , bufferlength : u32 ) -> u32 ); -::windows_sys::core::link ! ( "kernel32.dll""system" #[doc = "*Required features: `\"Win32_System_Diagnostics_ProcessSnapshotting\"`*"] fn PssWalkMarkerCreate ( allocator : *const PSS_ALLOCATOR , walkmarkerhandle : *mut HPSSWALK ) -> u32 ); -::windows_sys::core::link ! ( "kernel32.dll""system" #[doc = "*Required features: `\"Win32_System_Diagnostics_ProcessSnapshotting\"`*"] fn PssWalkMarkerFree ( walkmarkerhandle : HPSSWALK ) -> u32 ); -::windows_sys::core::link ! ( "kernel32.dll""system" #[doc = "*Required features: `\"Win32_System_Diagnostics_ProcessSnapshotting\"`*"] fn PssWalkMarkerGetPosition ( walkmarkerhandle : HPSSWALK , position : *mut usize ) -> u32 ); -::windows_sys::core::link ! ( "kernel32.dll""system" #[doc = "*Required features: `\"Win32_System_Diagnostics_ProcessSnapshotting\"`*"] fn PssWalkMarkerSeekToBeginning ( walkmarkerhandle : HPSSWALK ) -> u32 ); -::windows_sys::core::link ! ( "kernel32.dll""system" #[doc = "*Required features: `\"Win32_System_Diagnostics_ProcessSnapshotting\"`*"] fn PssWalkMarkerSetPosition ( walkmarkerhandle : HPSSWALK , position : usize ) -> u32 ); -::windows_sys::core::link ! ( "kernel32.dll""system" #[doc = "*Required features: `\"Win32_System_Diagnostics_ProcessSnapshotting\"`*"] fn PssWalkSnapshot ( snapshothandle : HPSS , informationclass : PSS_WALK_INFORMATION_CLASS , walkmarkerhandle : HPSSWALK , buffer : *mut ::core::ffi::c_void , bufferlength : u32 ) -> u32 ); -#[doc = "*Required features: `\"Win32_System_Diagnostics_ProcessSnapshotting\"`*"] -pub const PSS_PERF_RESOLUTION: u32 = 1000000u32; -#[doc = "*Required features: `\"Win32_System_Diagnostics_ProcessSnapshotting\"`*"] -pub type PSS_CAPTURE_FLAGS = u32; -#[doc = "*Required features: `\"Win32_System_Diagnostics_ProcessSnapshotting\"`*"] -pub const PSS_CAPTURE_NONE: PSS_CAPTURE_FLAGS = 0u32; -#[doc = "*Required features: `\"Win32_System_Diagnostics_ProcessSnapshotting\"`*"] -pub const PSS_CAPTURE_VA_CLONE: PSS_CAPTURE_FLAGS = 1u32; -#[doc = "*Required features: `\"Win32_System_Diagnostics_ProcessSnapshotting\"`*"] -pub const PSS_CAPTURE_RESERVED_00000002: PSS_CAPTURE_FLAGS = 2u32; -#[doc = "*Required features: `\"Win32_System_Diagnostics_ProcessSnapshotting\"`*"] -pub const PSS_CAPTURE_HANDLES: PSS_CAPTURE_FLAGS = 4u32; -#[doc = "*Required features: `\"Win32_System_Diagnostics_ProcessSnapshotting\"`*"] -pub const PSS_CAPTURE_HANDLE_NAME_INFORMATION: PSS_CAPTURE_FLAGS = 8u32; -#[doc = "*Required features: `\"Win32_System_Diagnostics_ProcessSnapshotting\"`*"] -pub const PSS_CAPTURE_HANDLE_BASIC_INFORMATION: PSS_CAPTURE_FLAGS = 16u32; -#[doc = "*Required features: `\"Win32_System_Diagnostics_ProcessSnapshotting\"`*"] -pub const PSS_CAPTURE_HANDLE_TYPE_SPECIFIC_INFORMATION: PSS_CAPTURE_FLAGS = 32u32; -#[doc = "*Required features: `\"Win32_System_Diagnostics_ProcessSnapshotting\"`*"] -pub const PSS_CAPTURE_HANDLE_TRACE: PSS_CAPTURE_FLAGS = 64u32; -#[doc = "*Required features: `\"Win32_System_Diagnostics_ProcessSnapshotting\"`*"] -pub const PSS_CAPTURE_THREADS: PSS_CAPTURE_FLAGS = 128u32; -#[doc = "*Required features: `\"Win32_System_Diagnostics_ProcessSnapshotting\"`*"] -pub const PSS_CAPTURE_THREAD_CONTEXT: PSS_CAPTURE_FLAGS = 256u32; -#[doc = "*Required features: `\"Win32_System_Diagnostics_ProcessSnapshotting\"`*"] -pub const PSS_CAPTURE_THREAD_CONTEXT_EXTENDED: PSS_CAPTURE_FLAGS = 512u32; -#[doc = "*Required features: `\"Win32_System_Diagnostics_ProcessSnapshotting\"`*"] -pub const PSS_CAPTURE_RESERVED_00000400: PSS_CAPTURE_FLAGS = 1024u32; -#[doc = "*Required features: `\"Win32_System_Diagnostics_ProcessSnapshotting\"`*"] -pub const PSS_CAPTURE_VA_SPACE: PSS_CAPTURE_FLAGS = 2048u32; -#[doc = "*Required features: `\"Win32_System_Diagnostics_ProcessSnapshotting\"`*"] -pub const PSS_CAPTURE_VA_SPACE_SECTION_INFORMATION: PSS_CAPTURE_FLAGS = 4096u32; -#[doc = "*Required features: `\"Win32_System_Diagnostics_ProcessSnapshotting\"`*"] -pub const PSS_CAPTURE_IPT_TRACE: PSS_CAPTURE_FLAGS = 8192u32; -#[doc = "*Required features: `\"Win32_System_Diagnostics_ProcessSnapshotting\"`*"] -pub const PSS_CAPTURE_RESERVED_00004000: PSS_CAPTURE_FLAGS = 16384u32; -#[doc = "*Required features: `\"Win32_System_Diagnostics_ProcessSnapshotting\"`*"] -pub const PSS_CREATE_BREAKAWAY_OPTIONAL: PSS_CAPTURE_FLAGS = 67108864u32; -#[doc = "*Required features: `\"Win32_System_Diagnostics_ProcessSnapshotting\"`*"] -pub const PSS_CREATE_BREAKAWAY: PSS_CAPTURE_FLAGS = 134217728u32; -#[doc = "*Required features: `\"Win32_System_Diagnostics_ProcessSnapshotting\"`*"] -pub const PSS_CREATE_FORCE_BREAKAWAY: PSS_CAPTURE_FLAGS = 268435456u32; -#[doc = "*Required features: `\"Win32_System_Diagnostics_ProcessSnapshotting\"`*"] -pub const PSS_CREATE_USE_VM_ALLOCATIONS: PSS_CAPTURE_FLAGS = 536870912u32; -#[doc = "*Required features: `\"Win32_System_Diagnostics_ProcessSnapshotting\"`*"] -pub const PSS_CREATE_MEASURE_PERFORMANCE: PSS_CAPTURE_FLAGS = 1073741824u32; -#[doc = "*Required features: `\"Win32_System_Diagnostics_ProcessSnapshotting\"`*"] -pub const PSS_CREATE_RELEASE_SECTION: PSS_CAPTURE_FLAGS = 2147483648u32; -#[doc = "*Required features: `\"Win32_System_Diagnostics_ProcessSnapshotting\"`*"] -pub type PSS_DUPLICATE_FLAGS = u32; -#[doc = "*Required features: `\"Win32_System_Diagnostics_ProcessSnapshotting\"`*"] -pub const PSS_DUPLICATE_NONE: PSS_DUPLICATE_FLAGS = 0u32; -#[doc = "*Required features: `\"Win32_System_Diagnostics_ProcessSnapshotting\"`*"] -pub const PSS_DUPLICATE_CLOSE_SOURCE: PSS_DUPLICATE_FLAGS = 1u32; -#[doc = "*Required features: `\"Win32_System_Diagnostics_ProcessSnapshotting\"`*"] -pub type PSS_HANDLE_FLAGS = u32; -#[doc = "*Required features: `\"Win32_System_Diagnostics_ProcessSnapshotting\"`*"] -pub const PSS_HANDLE_NONE: PSS_HANDLE_FLAGS = 0u32; -#[doc = "*Required features: `\"Win32_System_Diagnostics_ProcessSnapshotting\"`*"] -pub const PSS_HANDLE_HAVE_TYPE: PSS_HANDLE_FLAGS = 1u32; -#[doc = "*Required features: `\"Win32_System_Diagnostics_ProcessSnapshotting\"`*"] -pub const PSS_HANDLE_HAVE_NAME: PSS_HANDLE_FLAGS = 2u32; -#[doc = "*Required features: `\"Win32_System_Diagnostics_ProcessSnapshotting\"`*"] -pub const PSS_HANDLE_HAVE_BASIC_INFORMATION: PSS_HANDLE_FLAGS = 4u32; -#[doc = "*Required features: `\"Win32_System_Diagnostics_ProcessSnapshotting\"`*"] -pub const PSS_HANDLE_HAVE_TYPE_SPECIFIC_INFORMATION: PSS_HANDLE_FLAGS = 8u32; -#[doc = "*Required features: `\"Win32_System_Diagnostics_ProcessSnapshotting\"`*"] -pub type PSS_OBJECT_TYPE = i32; -#[doc = "*Required features: `\"Win32_System_Diagnostics_ProcessSnapshotting\"`*"] -pub const PSS_OBJECT_TYPE_UNKNOWN: PSS_OBJECT_TYPE = 0i32; -#[doc = "*Required features: `\"Win32_System_Diagnostics_ProcessSnapshotting\"`*"] -pub const PSS_OBJECT_TYPE_PROCESS: PSS_OBJECT_TYPE = 1i32; -#[doc = "*Required features: `\"Win32_System_Diagnostics_ProcessSnapshotting\"`*"] -pub const PSS_OBJECT_TYPE_THREAD: PSS_OBJECT_TYPE = 2i32; -#[doc = "*Required features: `\"Win32_System_Diagnostics_ProcessSnapshotting\"`*"] -pub const PSS_OBJECT_TYPE_MUTANT: PSS_OBJECT_TYPE = 3i32; -#[doc = "*Required features: `\"Win32_System_Diagnostics_ProcessSnapshotting\"`*"] -pub const PSS_OBJECT_TYPE_EVENT: PSS_OBJECT_TYPE = 4i32; -#[doc = "*Required features: `\"Win32_System_Diagnostics_ProcessSnapshotting\"`*"] -pub const PSS_OBJECT_TYPE_SECTION: PSS_OBJECT_TYPE = 5i32; -#[doc = "*Required features: `\"Win32_System_Diagnostics_ProcessSnapshotting\"`*"] -pub const PSS_OBJECT_TYPE_SEMAPHORE: PSS_OBJECT_TYPE = 6i32; -#[doc = "*Required features: `\"Win32_System_Diagnostics_ProcessSnapshotting\"`*"] -pub type PSS_PROCESS_FLAGS = u32; -#[doc = "*Required features: `\"Win32_System_Diagnostics_ProcessSnapshotting\"`*"] -pub const PSS_PROCESS_FLAGS_NONE: PSS_PROCESS_FLAGS = 0u32; -#[doc = "*Required features: `\"Win32_System_Diagnostics_ProcessSnapshotting\"`*"] -pub const PSS_PROCESS_FLAGS_PROTECTED: PSS_PROCESS_FLAGS = 1u32; -#[doc = "*Required features: `\"Win32_System_Diagnostics_ProcessSnapshotting\"`*"] -pub const PSS_PROCESS_FLAGS_WOW64: PSS_PROCESS_FLAGS = 2u32; -#[doc = "*Required features: `\"Win32_System_Diagnostics_ProcessSnapshotting\"`*"] -pub const PSS_PROCESS_FLAGS_RESERVED_03: PSS_PROCESS_FLAGS = 4u32; -#[doc = "*Required features: `\"Win32_System_Diagnostics_ProcessSnapshotting\"`*"] -pub const PSS_PROCESS_FLAGS_RESERVED_04: PSS_PROCESS_FLAGS = 8u32; -#[doc = "*Required features: `\"Win32_System_Diagnostics_ProcessSnapshotting\"`*"] -pub const PSS_PROCESS_FLAGS_FROZEN: PSS_PROCESS_FLAGS = 16u32; -#[doc = "*Required features: `\"Win32_System_Diagnostics_ProcessSnapshotting\"`*"] -pub type PSS_QUERY_INFORMATION_CLASS = i32; -#[doc = "*Required features: `\"Win32_System_Diagnostics_ProcessSnapshotting\"`*"] -pub const PSS_QUERY_PROCESS_INFORMATION: PSS_QUERY_INFORMATION_CLASS = 0i32; -#[doc = "*Required features: `\"Win32_System_Diagnostics_ProcessSnapshotting\"`*"] -pub const PSS_QUERY_VA_CLONE_INFORMATION: PSS_QUERY_INFORMATION_CLASS = 1i32; -#[doc = "*Required features: `\"Win32_System_Diagnostics_ProcessSnapshotting\"`*"] -pub const PSS_QUERY_AUXILIARY_PAGES_INFORMATION: PSS_QUERY_INFORMATION_CLASS = 2i32; -#[doc = "*Required features: `\"Win32_System_Diagnostics_ProcessSnapshotting\"`*"] -pub const PSS_QUERY_VA_SPACE_INFORMATION: PSS_QUERY_INFORMATION_CLASS = 3i32; -#[doc = "*Required features: `\"Win32_System_Diagnostics_ProcessSnapshotting\"`*"] -pub const PSS_QUERY_HANDLE_INFORMATION: PSS_QUERY_INFORMATION_CLASS = 4i32; -#[doc = "*Required features: `\"Win32_System_Diagnostics_ProcessSnapshotting\"`*"] -pub const PSS_QUERY_THREAD_INFORMATION: PSS_QUERY_INFORMATION_CLASS = 5i32; -#[doc = "*Required features: `\"Win32_System_Diagnostics_ProcessSnapshotting\"`*"] -pub const PSS_QUERY_HANDLE_TRACE_INFORMATION: PSS_QUERY_INFORMATION_CLASS = 6i32; -#[doc = "*Required features: `\"Win32_System_Diagnostics_ProcessSnapshotting\"`*"] -pub const PSS_QUERY_PERFORMANCE_COUNTERS: PSS_QUERY_INFORMATION_CLASS = 7i32; -#[doc = "*Required features: `\"Win32_System_Diagnostics_ProcessSnapshotting\"`*"] -pub type PSS_THREAD_FLAGS = u32; -#[doc = "*Required features: `\"Win32_System_Diagnostics_ProcessSnapshotting\"`*"] -pub const PSS_THREAD_FLAGS_NONE: PSS_THREAD_FLAGS = 0u32; -#[doc = "*Required features: `\"Win32_System_Diagnostics_ProcessSnapshotting\"`*"] -pub const PSS_THREAD_FLAGS_TERMINATED: PSS_THREAD_FLAGS = 1u32; -#[doc = "*Required features: `\"Win32_System_Diagnostics_ProcessSnapshotting\"`*"] -pub type PSS_WALK_INFORMATION_CLASS = i32; -#[doc = "*Required features: `\"Win32_System_Diagnostics_ProcessSnapshotting\"`*"] -pub const PSS_WALK_AUXILIARY_PAGES: PSS_WALK_INFORMATION_CLASS = 0i32; -#[doc = "*Required features: `\"Win32_System_Diagnostics_ProcessSnapshotting\"`*"] -pub const PSS_WALK_VA_SPACE: PSS_WALK_INFORMATION_CLASS = 1i32; -#[doc = "*Required features: `\"Win32_System_Diagnostics_ProcessSnapshotting\"`*"] -pub const PSS_WALK_HANDLES: PSS_WALK_INFORMATION_CLASS = 2i32; -#[doc = "*Required features: `\"Win32_System_Diagnostics_ProcessSnapshotting\"`*"] -pub const PSS_WALK_THREADS: PSS_WALK_INFORMATION_CLASS = 3i32; -pub type HPSS = isize; -pub type HPSSWALK = isize; -#[repr(C)] -#[doc = "*Required features: `\"Win32_System_Diagnostics_ProcessSnapshotting\"`*"] -pub struct PSS_ALLOCATOR { - pub Context: *mut ::core::ffi::c_void, - pub AllocRoutine: isize, - pub FreeRoutine: isize, -} -impl ::core::marker::Copy for PSS_ALLOCATOR {} -impl ::core::clone::Clone for PSS_ALLOCATOR { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "*Required features: `\"Win32_System_Diagnostics_ProcessSnapshotting\"`*"] -pub struct PSS_AUXILIARY_PAGES_INFORMATION { - pub AuxPagesCaptured: u32, -} -impl ::core::marker::Copy for PSS_AUXILIARY_PAGES_INFORMATION {} -impl ::core::clone::Clone for PSS_AUXILIARY_PAGES_INFORMATION { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "*Required features: `\"Win32_System_Diagnostics_ProcessSnapshotting\"`, `\"Win32_Foundation\"`, `\"Win32_System_Memory\"`*"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Memory"))] -pub struct PSS_AUXILIARY_PAGE_ENTRY { - pub Address: *mut ::core::ffi::c_void, - pub BasicInformation: super::super::Memory::MEMORY_BASIC_INFORMATION, - pub CaptureTime: super::super::super::Foundation::FILETIME, - pub PageContents: *mut ::core::ffi::c_void, - pub PageSize: u32, -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Memory"))] -impl ::core::marker::Copy for PSS_AUXILIARY_PAGE_ENTRY {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Memory"))] -impl ::core::clone::Clone for PSS_AUXILIARY_PAGE_ENTRY { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "*Required features: `\"Win32_System_Diagnostics_ProcessSnapshotting\"`, `\"Win32_Foundation\"`*"] -#[cfg(feature = "Win32_Foundation")] -pub struct PSS_HANDLE_ENTRY { - pub Handle: super::super::super::Foundation::HANDLE, - pub Flags: PSS_HANDLE_FLAGS, - pub ObjectType: PSS_OBJECT_TYPE, - pub CaptureTime: super::super::super::Foundation::FILETIME, - pub Attributes: u32, - pub GrantedAccess: u32, - pub HandleCount: u32, - pub PointerCount: u32, - pub PagedPoolCharge: u32, - pub NonPagedPoolCharge: u32, - pub CreationTime: super::super::super::Foundation::FILETIME, - pub TypeNameLength: u16, - pub TypeName: ::windows_sys::core::PCWSTR, - pub ObjectNameLength: u16, - pub ObjectName: ::windows_sys::core::PCWSTR, - pub TypeSpecificInformation: PSS_HANDLE_ENTRY_0, -} -#[cfg(feature = "Win32_Foundation")] -impl ::core::marker::Copy for PSS_HANDLE_ENTRY {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::clone::Clone for PSS_HANDLE_ENTRY { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "*Required features: `\"Win32_System_Diagnostics_ProcessSnapshotting\"`, `\"Win32_Foundation\"`*"] -#[cfg(feature = "Win32_Foundation")] -pub union PSS_HANDLE_ENTRY_0 { - pub Process: PSS_HANDLE_ENTRY_0_2, - pub Thread: PSS_HANDLE_ENTRY_0_5, - pub Mutant: PSS_HANDLE_ENTRY_0_1, - pub Event: PSS_HANDLE_ENTRY_0_0, - pub Section: PSS_HANDLE_ENTRY_0_3, - pub Semaphore: PSS_HANDLE_ENTRY_0_4, -} -#[cfg(feature = "Win32_Foundation")] -impl ::core::marker::Copy for PSS_HANDLE_ENTRY_0 {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::clone::Clone for PSS_HANDLE_ENTRY_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "*Required features: `\"Win32_System_Diagnostics_ProcessSnapshotting\"`, `\"Win32_Foundation\"`*"] -#[cfg(feature = "Win32_Foundation")] -pub struct PSS_HANDLE_ENTRY_0_0 { - pub ManualReset: super::super::super::Foundation::BOOL, - pub Signaled: super::super::super::Foundation::BOOL, -} -#[cfg(feature = "Win32_Foundation")] -impl ::core::marker::Copy for PSS_HANDLE_ENTRY_0_0 {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::clone::Clone for PSS_HANDLE_ENTRY_0_0 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "*Required features: `\"Win32_System_Diagnostics_ProcessSnapshotting\"`, `\"Win32_Foundation\"`*"] -#[cfg(feature = "Win32_Foundation")] -pub struct PSS_HANDLE_ENTRY_0_1 { - pub CurrentCount: i32, - pub Abandoned: super::super::super::Foundation::BOOL, - pub OwnerProcessId: u32, - pub OwnerThreadId: u32, -} -#[cfg(feature = "Win32_Foundation")] -impl ::core::marker::Copy for PSS_HANDLE_ENTRY_0_1 {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::clone::Clone for PSS_HANDLE_ENTRY_0_1 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "*Required features: `\"Win32_System_Diagnostics_ProcessSnapshotting\"`, `\"Win32_Foundation\"`*"] -#[cfg(feature = "Win32_Foundation")] -pub struct PSS_HANDLE_ENTRY_0_2 { - pub ExitStatus: u32, - pub PebBaseAddress: *mut ::core::ffi::c_void, - pub AffinityMask: usize, - pub BasePriority: i32, - pub ProcessId: u32, - pub ParentProcessId: u32, - pub Flags: u32, -} -#[cfg(feature = "Win32_Foundation")] -impl ::core::marker::Copy for PSS_HANDLE_ENTRY_0_2 {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::clone::Clone for PSS_HANDLE_ENTRY_0_2 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "*Required features: `\"Win32_System_Diagnostics_ProcessSnapshotting\"`, `\"Win32_Foundation\"`*"] -#[cfg(feature = "Win32_Foundation")] -pub struct PSS_HANDLE_ENTRY_0_3 { - pub BaseAddress: *mut ::core::ffi::c_void, - pub AllocationAttributes: u32, - pub MaximumSize: i64, -} -#[cfg(feature = "Win32_Foundation")] -impl ::core::marker::Copy for PSS_HANDLE_ENTRY_0_3 {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::clone::Clone for PSS_HANDLE_ENTRY_0_3 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "*Required features: `\"Win32_System_Diagnostics_ProcessSnapshotting\"`, `\"Win32_Foundation\"`*"] -#[cfg(feature = "Win32_Foundation")] -pub struct PSS_HANDLE_ENTRY_0_4 { - pub CurrentCount: i32, - pub MaximumCount: i32, -} -#[cfg(feature = "Win32_Foundation")] -impl ::core::marker::Copy for PSS_HANDLE_ENTRY_0_4 {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::clone::Clone for PSS_HANDLE_ENTRY_0_4 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "*Required features: `\"Win32_System_Diagnostics_ProcessSnapshotting\"`, `\"Win32_Foundation\"`*"] -#[cfg(feature = "Win32_Foundation")] -pub struct PSS_HANDLE_ENTRY_0_5 { - pub ExitStatus: u32, - pub TebBaseAddress: *mut ::core::ffi::c_void, - pub ProcessId: u32, - pub ThreadId: u32, - pub AffinityMask: usize, - pub Priority: i32, - pub BasePriority: i32, - pub Win32StartAddress: *mut ::core::ffi::c_void, -} -#[cfg(feature = "Win32_Foundation")] -impl ::core::marker::Copy for PSS_HANDLE_ENTRY_0_5 {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::clone::Clone for PSS_HANDLE_ENTRY_0_5 { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "*Required features: `\"Win32_System_Diagnostics_ProcessSnapshotting\"`*"] -pub struct PSS_HANDLE_INFORMATION { - pub HandlesCaptured: u32, -} -impl ::core::marker::Copy for PSS_HANDLE_INFORMATION {} -impl ::core::clone::Clone for PSS_HANDLE_INFORMATION { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "*Required features: `\"Win32_System_Diagnostics_ProcessSnapshotting\"`, `\"Win32_Foundation\"`*"] -#[cfg(feature = "Win32_Foundation")] -pub struct PSS_HANDLE_TRACE_INFORMATION { - pub SectionHandle: super::super::super::Foundation::HANDLE, - pub Size: u32, -} -#[cfg(feature = "Win32_Foundation")] -impl ::core::marker::Copy for PSS_HANDLE_TRACE_INFORMATION {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::clone::Clone for PSS_HANDLE_TRACE_INFORMATION { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "*Required features: `\"Win32_System_Diagnostics_ProcessSnapshotting\"`*"] -pub struct PSS_PERFORMANCE_COUNTERS { - pub TotalCycleCount: u64, - pub TotalWallClockPeriod: u64, - pub VaCloneCycleCount: u64, - pub VaCloneWallClockPeriod: u64, - pub VaSpaceCycleCount: u64, - pub VaSpaceWallClockPeriod: u64, - pub AuxPagesCycleCount: u64, - pub AuxPagesWallClockPeriod: u64, - pub HandlesCycleCount: u64, - pub HandlesWallClockPeriod: u64, - pub ThreadsCycleCount: u64, - pub ThreadsWallClockPeriod: u64, -} -impl ::core::marker::Copy for PSS_PERFORMANCE_COUNTERS {} -impl ::core::clone::Clone for PSS_PERFORMANCE_COUNTERS { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "*Required features: `\"Win32_System_Diagnostics_ProcessSnapshotting\"`, `\"Win32_Foundation\"`*"] -#[cfg(feature = "Win32_Foundation")] -pub struct PSS_PROCESS_INFORMATION { - pub ExitStatus: u32, - pub PebBaseAddress: *mut ::core::ffi::c_void, - pub AffinityMask: usize, - pub BasePriority: i32, - pub ProcessId: u32, - pub ParentProcessId: u32, - pub Flags: PSS_PROCESS_FLAGS, - pub CreateTime: super::super::super::Foundation::FILETIME, - pub ExitTime: super::super::super::Foundation::FILETIME, - pub KernelTime: super::super::super::Foundation::FILETIME, - pub UserTime: super::super::super::Foundation::FILETIME, - pub PriorityClass: u32, - 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, - pub ExecuteFlags: u32, - pub ImageFileName: [u16; 260], -} -#[cfg(feature = "Win32_Foundation")] -impl ::core::marker::Copy for PSS_PROCESS_INFORMATION {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::clone::Clone for PSS_PROCESS_INFORMATION { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "*Required features: `\"Win32_System_Diagnostics_ProcessSnapshotting\"`, `\"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 PSS_THREAD_ENTRY { - pub ExitStatus: u32, - pub TebBaseAddress: *mut ::core::ffi::c_void, - pub ProcessId: u32, - pub ThreadId: u32, - pub AffinityMask: usize, - pub Priority: i32, - pub BasePriority: i32, - pub LastSyscallFirstArgument: *mut ::core::ffi::c_void, - pub LastSyscallNumber: u16, - pub CreateTime: super::super::super::Foundation::FILETIME, - pub ExitTime: super::super::super::Foundation::FILETIME, - pub KernelTime: super::super::super::Foundation::FILETIME, - pub UserTime: super::super::super::Foundation::FILETIME, - pub Win32StartAddress: *mut ::core::ffi::c_void, - pub CaptureTime: super::super::super::Foundation::FILETIME, - pub Flags: PSS_THREAD_FLAGS, - pub SuspendCount: u16, - pub SizeOfContextRecord: u16, - pub ContextRecord: *mut super::Debug::CONTEXT, -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Diagnostics_Debug", feature = "Win32_System_Kernel"))] -impl ::core::marker::Copy for PSS_THREAD_ENTRY {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Diagnostics_Debug", feature = "Win32_System_Kernel"))] -impl ::core::clone::Clone for PSS_THREAD_ENTRY { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "*Required features: `\"Win32_System_Diagnostics_ProcessSnapshotting\"`*"] -pub struct PSS_THREAD_INFORMATION { - pub ThreadsCaptured: u32, - pub ContextLength: u32, -} -impl ::core::marker::Copy for PSS_THREAD_INFORMATION {} -impl ::core::clone::Clone for PSS_THREAD_INFORMATION { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "*Required features: `\"Win32_System_Diagnostics_ProcessSnapshotting\"`, `\"Win32_Foundation\"`*"] -#[cfg(feature = "Win32_Foundation")] -pub struct PSS_VA_CLONE_INFORMATION { - pub VaCloneHandle: super::super::super::Foundation::HANDLE, -} -#[cfg(feature = "Win32_Foundation")] -impl ::core::marker::Copy for PSS_VA_CLONE_INFORMATION {} -#[cfg(feature = "Win32_Foundation")] -impl ::core::clone::Clone for PSS_VA_CLONE_INFORMATION { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "*Required features: `\"Win32_System_Diagnostics_ProcessSnapshotting\"`*"] -pub struct PSS_VA_SPACE_ENTRY { - pub BaseAddress: *mut ::core::ffi::c_void, - pub AllocationBase: *mut ::core::ffi::c_void, - pub AllocationProtect: u32, - pub RegionSize: usize, - pub State: u32, - pub Protect: u32, - pub Type: u32, - pub TimeDateStamp: u32, - pub SizeOfImage: u32, - pub ImageBase: *mut ::core::ffi::c_void, - pub CheckSum: u32, - pub MappedFileNameLength: u16, - pub MappedFileName: ::windows_sys::core::PCWSTR, -} -impl ::core::marker::Copy for PSS_VA_SPACE_ENTRY {} -impl ::core::clone::Clone for PSS_VA_SPACE_ENTRY { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "*Required features: `\"Win32_System_Diagnostics_ProcessSnapshotting\"`*"] -pub struct PSS_VA_SPACE_INFORMATION { - pub RegionCount: u32, -} -impl ::core::marker::Copy for PSS_VA_SPACE_INFORMATION {} -impl ::core::clone::Clone for PSS_VA_SPACE_INFORMATION { - fn clone(&self) -> Self { - *self - } -} |