Debian Codegraph @

.cargo/vendor/windows-sys/src/Windows/Win32/System/Diagnostics/ProcessSnapshotting/mod.rs

raw
1 #[cfg(feature = "Win32_Foundation")]
2 ::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn PssCaptureSnapshot(processhandle : super::super::super::Foundation:: HANDLE, captureflags : PSS_CAPTURE_FLAGS, threadcontextflags : u32, snapshothandle : *mut HPSS) -> u32);
3 #[cfg(feature = "Win32_Foundation")]
4 ::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"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);
5 #[cfg(feature = "Win32_Foundation")]
6 ::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn PssFreeSnapshot(processhandle : super::super::super::Foundation:: HANDLE, snapshothandle : HPSS) -> u32);
7 ::windows_targets::link!("kernel32.dll" "system" fn PssQuerySnapshot(snapshothandle : HPSS, informationclass : PSS_QUERY_INFORMATION_CLASS, buffer : *mut ::core::ffi::c_void, bufferlength : u32) -> u32);
8 ::windows_targets::link!("kernel32.dll" "system" fn PssWalkMarkerCreate(allocator : *const PSS_ALLOCATOR, walkmarkerhandle : *mut HPSSWALK) -> u32);
9 ::windows_targets::link!("kernel32.dll" "system" fn PssWalkMarkerFree(walkmarkerhandle : HPSSWALK) -> u32);
10 ::windows_targets::link!("kernel32.dll" "system" fn PssWalkMarkerGetPosition(walkmarkerhandle : HPSSWALK, position : *mut usize) -> u32);
11 ::windows_targets::link!("kernel32.dll" "system" fn PssWalkMarkerSeekToBeginning(walkmarkerhandle : HPSSWALK) -> u32);
12 ::windows_targets::link!("kernel32.dll" "system" fn PssWalkMarkerSetPosition(walkmarkerhandle : HPSSWALK, position : usize) -> u32);
13 ::windows_targets::link!("kernel32.dll" "system" fn PssWalkSnapshot(snapshothandle : HPSS, informationclass : PSS_WALK_INFORMATION_CLASS, walkmarkerhandle : HPSSWALK, buffer : *mut ::core::ffi::c_void, bufferlength : u32) -> u32);
14 pub const PSS_CAPTURE_HANDLES: PSS_CAPTURE_FLAGS = 4u32;
15 pub const PSS_CAPTURE_HANDLE_BASIC_INFORMATION: PSS_CAPTURE_FLAGS = 16u32;
16 pub const PSS_CAPTURE_HANDLE_NAME_INFORMATION: PSS_CAPTURE_FLAGS = 8u32;
17 pub const PSS_CAPTURE_HANDLE_TRACE: PSS_CAPTURE_FLAGS = 64u32;
18 pub const PSS_CAPTURE_HANDLE_TYPE_SPECIFIC_INFORMATION: PSS_CAPTURE_FLAGS = 32u32;
19 pub const PSS_CAPTURE_IPT_TRACE: PSS_CAPTURE_FLAGS = 8192u32;
20 pub const PSS_CAPTURE_NONE: PSS_CAPTURE_FLAGS = 0u32;
21 pub const PSS_CAPTURE_RESERVED_00000002: PSS_CAPTURE_FLAGS = 2u32;
22 pub const PSS_CAPTURE_RESERVED_00000400: PSS_CAPTURE_FLAGS = 1024u32;
23 pub const PSS_CAPTURE_RESERVED_00004000: PSS_CAPTURE_FLAGS = 16384u32;
24 pub const PSS_CAPTURE_THREADS: PSS_CAPTURE_FLAGS = 128u32;
25 pub const PSS_CAPTURE_THREAD_CONTEXT: PSS_CAPTURE_FLAGS = 256u32;
26 pub const PSS_CAPTURE_THREAD_CONTEXT_EXTENDED: PSS_CAPTURE_FLAGS = 512u32;
27 pub const PSS_CAPTURE_VA_CLONE: PSS_CAPTURE_FLAGS = 1u32;
28 pub const PSS_CAPTURE_VA_SPACE: PSS_CAPTURE_FLAGS = 2048u32;
29 pub const PSS_CAPTURE_VA_SPACE_SECTION_INFORMATION: PSS_CAPTURE_FLAGS = 4096u32;
30 pub const PSS_CREATE_BREAKAWAY: PSS_CAPTURE_FLAGS = 134217728u32;
31 pub const PSS_CREATE_BREAKAWAY_OPTIONAL: PSS_CAPTURE_FLAGS = 67108864u32;
32 pub const PSS_CREATE_FORCE_BREAKAWAY: PSS_CAPTURE_FLAGS = 268435456u32;
33 pub const PSS_CREATE_MEASURE_PERFORMANCE: PSS_CAPTURE_FLAGS = 1073741824u32;
34 pub const PSS_CREATE_RELEASE_SECTION: PSS_CAPTURE_FLAGS = 2147483648u32;
35 pub const PSS_CREATE_USE_VM_ALLOCATIONS: PSS_CAPTURE_FLAGS = 536870912u32;
36 pub const PSS_DUPLICATE_CLOSE_SOURCE: PSS_DUPLICATE_FLAGS = 1i32;
37 pub const PSS_DUPLICATE_NONE: PSS_DUPLICATE_FLAGS = 0i32;
38 pub const PSS_HANDLE_HAVE_BASIC_INFORMATION: PSS_HANDLE_FLAGS = 4i32;
39 pub const PSS_HANDLE_HAVE_NAME: PSS_HANDLE_FLAGS = 2i32;
40 pub const PSS_HANDLE_HAVE_TYPE: PSS_HANDLE_FLAGS = 1i32;
41 pub const PSS_HANDLE_HAVE_TYPE_SPECIFIC_INFORMATION: PSS_HANDLE_FLAGS = 8i32;
42 pub const PSS_HANDLE_NONE: PSS_HANDLE_FLAGS = 0i32;
43 pub const PSS_OBJECT_TYPE_EVENT: PSS_OBJECT_TYPE = 4i32;
44 pub const PSS_OBJECT_TYPE_MUTANT: PSS_OBJECT_TYPE = 3i32;
45 pub const PSS_OBJECT_TYPE_PROCESS: PSS_OBJECT_TYPE = 1i32;
46 pub const PSS_OBJECT_TYPE_SECTION: PSS_OBJECT_TYPE = 5i32;
47 pub const PSS_OBJECT_TYPE_SEMAPHORE: PSS_OBJECT_TYPE = 6i32;
48 pub const PSS_OBJECT_TYPE_THREAD: PSS_OBJECT_TYPE = 2i32;
49 pub const PSS_OBJECT_TYPE_UNKNOWN: PSS_OBJECT_TYPE = 0i32;
50 pub const PSS_PERF_RESOLUTION: u32 = 1000000u32;
51 pub const PSS_PROCESS_FLAGS_FROZEN: PSS_PROCESS_FLAGS = 16i32;
52 pub const PSS_PROCESS_FLAGS_NONE: PSS_PROCESS_FLAGS = 0i32;
53 pub const PSS_PROCESS_FLAGS_PROTECTED: PSS_PROCESS_FLAGS = 1i32;
54 pub const PSS_PROCESS_FLAGS_RESERVED_03: PSS_PROCESS_FLAGS = 4i32;
55 pub const PSS_PROCESS_FLAGS_RESERVED_04: PSS_PROCESS_FLAGS = 8i32;
56 pub const PSS_PROCESS_FLAGS_WOW64: PSS_PROCESS_FLAGS = 2i32;
57 pub const PSS_QUERY_AUXILIARY_PAGES_INFORMATION: PSS_QUERY_INFORMATION_CLASS = 2i32;
58 pub const PSS_QUERY_HANDLE_INFORMATION: PSS_QUERY_INFORMATION_CLASS = 4i32;
59 pub const PSS_QUERY_HANDLE_TRACE_INFORMATION: PSS_QUERY_INFORMATION_CLASS = 6i32;
60 pub const PSS_QUERY_PERFORMANCE_COUNTERS: PSS_QUERY_INFORMATION_CLASS = 7i32;
61 pub const PSS_QUERY_PROCESS_INFORMATION: PSS_QUERY_INFORMATION_CLASS = 0i32;
62 pub const PSS_QUERY_THREAD_INFORMATION: PSS_QUERY_INFORMATION_CLASS = 5i32;
63 pub const PSS_QUERY_VA_CLONE_INFORMATION: PSS_QUERY_INFORMATION_CLASS = 1i32;
64 pub const PSS_QUERY_VA_SPACE_INFORMATION: PSS_QUERY_INFORMATION_CLASS = 3i32;
65 pub const PSS_THREAD_FLAGS_NONE: PSS_THREAD_FLAGS = 0i32;
66 pub const PSS_THREAD_FLAGS_TERMINATED: PSS_THREAD_FLAGS = 1i32;
67 pub const PSS_WALK_AUXILIARY_PAGES: PSS_WALK_INFORMATION_CLASS = 0i32;
68 pub const PSS_WALK_HANDLES: PSS_WALK_INFORMATION_CLASS = 2i32;
69 pub const PSS_WALK_THREADS: PSS_WALK_INFORMATION_CLASS = 3i32;
70 pub const PSS_WALK_VA_SPACE: PSS_WALK_INFORMATION_CLASS = 1i32;
71 pub type PSS_CAPTURE_FLAGS = u32;
72 pub type PSS_DUPLICATE_FLAGS = i32;
73 pub type PSS_HANDLE_FLAGS = i32;
74 pub type PSS_OBJECT_TYPE = i32;
75 pub type PSS_PROCESS_FLAGS = i32;
76 pub type PSS_QUERY_INFORMATION_CLASS = i32;
77 pub type PSS_THREAD_FLAGS = i32;
78 pub type PSS_WALK_INFORMATION_CLASS = i32;
79 pub type HPSS = isize;
80 pub type HPSSWALK = isize;
81 #[repr(C)]
82 pub struct PSS_ALLOCATOR {
83 pub Context: *mut ::core::ffi::c_void,
84 pub AllocRoutine: isize,
85 pub FreeRoutine: isize,
86 }
87 impl ::core::marker::Copy for PSS_ALLOCATOR {}
88 impl ::core::clone::Clone for PSS_ALLOCATOR {
89 fn clone(&self) -> Self {
90 *self
91 }
92 }
93 #[repr(C)]
94 pub struct PSS_AUXILIARY_PAGES_INFORMATION {
95 pub AuxPagesCaptured: u32,
96 }
97 impl ::core::marker::Copy for PSS_AUXILIARY_PAGES_INFORMATION {}
98 impl ::core::clone::Clone for PSS_AUXILIARY_PAGES_INFORMATION {
99 fn clone(&self) -> Self {
100 *self
101 }
102 }
103 #[repr(C)]
104 #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_System_Memory\"`"]
105 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Memory"))]
106 pub struct PSS_AUXILIARY_PAGE_ENTRY {
107 pub Address: *mut ::core::ffi::c_void,
108 pub BasicInformation: super::super::Memory::MEMORY_BASIC_INFORMATION,
109 pub CaptureTime: super::super::super::Foundation::FILETIME,
110 pub PageContents: *mut ::core::ffi::c_void,
111 pub PageSize: u32,
112 }
113 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Memory"))]
114 impl ::core::marker::Copy for PSS_AUXILIARY_PAGE_ENTRY {}
115 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Memory"))]
116 impl ::core::clone::Clone for PSS_AUXILIARY_PAGE_ENTRY {
117 fn clone(&self) -> Self {
118 *self
119 }
120 }
121 #[repr(C)]
122 #[doc = "Required features: `\"Win32_Foundation\"`"]
123 #[cfg(feature = "Win32_Foundation")]
124 pub struct PSS_HANDLE_ENTRY {
125 pub Handle: super::super::super::Foundation::HANDLE,
126 pub Flags: PSS_HANDLE_FLAGS,
127 pub ObjectType: PSS_OBJECT_TYPE,
128 pub CaptureTime: super::super::super::Foundation::FILETIME,
129 pub Attributes: u32,
130 pub GrantedAccess: u32,
131 pub HandleCount: u32,
132 pub PointerCount: u32,
133 pub PagedPoolCharge: u32,
134 pub NonPagedPoolCharge: u32,
135 pub CreationTime: super::super::super::Foundation::FILETIME,
136 pub TypeNameLength: u16,
137 pub TypeName: ::windows_sys::core::PCWSTR,
138 pub ObjectNameLength: u16,
139 pub ObjectName: ::windows_sys::core::PCWSTR,
140 pub TypeSpecificInformation: PSS_HANDLE_ENTRY_0,
141 }
142 #[cfg(feature = "Win32_Foundation")]
143 impl ::core::marker::Copy for PSS_HANDLE_ENTRY {}
144 #[cfg(feature = "Win32_Foundation")]
145 impl ::core::clone::Clone for PSS_HANDLE_ENTRY {
146 fn clone(&self) -> Self {
147 *self
148 }
149 }
150 #[repr(C)]
151 #[doc = "Required features: `\"Win32_Foundation\"`"]
152 #[cfg(feature = "Win32_Foundation")]
153 pub union PSS_HANDLE_ENTRY_0 {
154 pub Process: PSS_HANDLE_ENTRY_0_2,
155 pub Thread: PSS_HANDLE_ENTRY_0_5,
156 pub Mutant: PSS_HANDLE_ENTRY_0_1,
157 pub Event: PSS_HANDLE_ENTRY_0_0,
158 pub Section: PSS_HANDLE_ENTRY_0_3,
159 pub Semaphore: PSS_HANDLE_ENTRY_0_4,
160 }
161 #[cfg(feature = "Win32_Foundation")]
162 impl ::core::marker::Copy for PSS_HANDLE_ENTRY_0 {}
163 #[cfg(feature = "Win32_Foundation")]
164 impl ::core::clone::Clone for PSS_HANDLE_ENTRY_0 {
165 fn clone(&self) -> Self {
166 *self
167 }
168 }
169 #[repr(C)]
170 #[doc = "Required features: `\"Win32_Foundation\"`"]
171 #[cfg(feature = "Win32_Foundation")]
172 pub struct PSS_HANDLE_ENTRY_0_0 {
173 pub ManualReset: super::super::super::Foundation::BOOL,
174 pub Signaled: super::super::super::Foundation::BOOL,
175 }
176 #[cfg(feature = "Win32_Foundation")]
177 impl ::core::marker::Copy for PSS_HANDLE_ENTRY_0_0 {}
178 #[cfg(feature = "Win32_Foundation")]
179 impl ::core::clone::Clone for PSS_HANDLE_ENTRY_0_0 {
180 fn clone(&self) -> Self {
181 *self
182 }
183 }
184 #[repr(C)]
185 #[doc = "Required features: `\"Win32_Foundation\"`"]
186 #[cfg(feature = "Win32_Foundation")]
187 pub struct PSS_HANDLE_ENTRY_0_1 {
188 pub CurrentCount: i32,
189 pub Abandoned: super::super::super::Foundation::BOOL,
190 pub OwnerProcessId: u32,
191 pub OwnerThreadId: u32,
192 }
193 #[cfg(feature = "Win32_Foundation")]
194 impl ::core::marker::Copy for PSS_HANDLE_ENTRY_0_1 {}
195 #[cfg(feature = "Win32_Foundation")]
196 impl ::core::clone::Clone for PSS_HANDLE_ENTRY_0_1 {
197 fn clone(&self) -> Self {
198 *self
199 }
200 }
201 #[repr(C)]
202 #[doc = "Required features: `\"Win32_Foundation\"`"]
203 #[cfg(feature = "Win32_Foundation")]
204 pub struct PSS_HANDLE_ENTRY_0_2 {
205 pub ExitStatus: u32,
206 pub PebBaseAddress: *mut ::core::ffi::c_void,
207 pub AffinityMask: usize,
208 pub BasePriority: i32,
209 pub ProcessId: u32,
210 pub ParentProcessId: u32,
211 pub Flags: u32,
212 }
213 #[cfg(feature = "Win32_Foundation")]
214 impl ::core::marker::Copy for PSS_HANDLE_ENTRY_0_2 {}
215 #[cfg(feature = "Win32_Foundation")]
216 impl ::core::clone::Clone for PSS_HANDLE_ENTRY_0_2 {
217 fn clone(&self) -> Self {
218 *self
219 }
220 }
221 #[repr(C)]
222 #[doc = "Required features: `\"Win32_Foundation\"`"]
223 #[cfg(feature = "Win32_Foundation")]
224 pub struct PSS_HANDLE_ENTRY_0_3 {
225 pub BaseAddress: *mut ::core::ffi::c_void,
226 pub AllocationAttributes: u32,
227 pub MaximumSize: i64,
228 }
229 #[cfg(feature = "Win32_Foundation")]
230 impl ::core::marker::Copy for PSS_HANDLE_ENTRY_0_3 {}
231 #[cfg(feature = "Win32_Foundation")]
232 impl ::core::clone::Clone for PSS_HANDLE_ENTRY_0_3 {
233 fn clone(&self) -> Self {
234 *self
235 }
236 }
237 #[repr(C)]
238 #[doc = "Required features: `\"Win32_Foundation\"`"]
239 #[cfg(feature = "Win32_Foundation")]
240 pub struct PSS_HANDLE_ENTRY_0_4 {
241 pub CurrentCount: i32,
242 pub MaximumCount: i32,
243 }
244 #[cfg(feature = "Win32_Foundation")]
245 impl ::core::marker::Copy for PSS_HANDLE_ENTRY_0_4 {}
246 #[cfg(feature = "Win32_Foundation")]
247 impl ::core::clone::Clone for PSS_HANDLE_ENTRY_0_4 {
248 fn clone(&self) -> Self {
249 *self
250 }
251 }
252 #[repr(C)]
253 #[doc = "Required features: `\"Win32_Foundation\"`"]
254 #[cfg(feature = "Win32_Foundation")]
255 pub struct PSS_HANDLE_ENTRY_0_5 {
256 pub ExitStatus: u32,
257 pub TebBaseAddress: *mut ::core::ffi::c_void,
258 pub ProcessId: u32,
259 pub ThreadId: u32,
260 pub AffinityMask: usize,
261 pub Priority: i32,
262 pub BasePriority: i32,
263 pub Win32StartAddress: *mut ::core::ffi::c_void,
264 }
265 #[cfg(feature = "Win32_Foundation")]
266 impl ::core::marker::Copy for PSS_HANDLE_ENTRY_0_5 {}
267 #[cfg(feature = "Win32_Foundation")]
268 impl ::core::clone::Clone for PSS_HANDLE_ENTRY_0_5 {
269 fn clone(&self) -> Self {
270 *self
271 }
272 }
273 #[repr(C)]
274 pub struct PSS_HANDLE_INFORMATION {
275 pub HandlesCaptured: u32,
276 }
277 impl ::core::marker::Copy for PSS_HANDLE_INFORMATION {}
278 impl ::core::clone::Clone for PSS_HANDLE_INFORMATION {
279 fn clone(&self) -> Self {
280 *self
281 }
282 }
283 #[repr(C)]
284 #[doc = "Required features: `\"Win32_Foundation\"`"]
285 #[cfg(feature = "Win32_Foundation")]
286 pub struct PSS_HANDLE_TRACE_INFORMATION {
287 pub SectionHandle: super::super::super::Foundation::HANDLE,
288 pub Size: u32,
289 }
290 #[cfg(feature = "Win32_Foundation")]
291 impl ::core::marker::Copy for PSS_HANDLE_TRACE_INFORMATION {}
292 #[cfg(feature = "Win32_Foundation")]
293 impl ::core::clone::Clone for PSS_HANDLE_TRACE_INFORMATION {
294 fn clone(&self) -> Self {
295 *self
296 }
297 }
298 #[repr(C)]
299 pub struct PSS_PERFORMANCE_COUNTERS {
300 pub TotalCycleCount: u64,
301 pub TotalWallClockPeriod: u64,
302 pub VaCloneCycleCount: u64,
303 pub VaCloneWallClockPeriod: u64,
304 pub VaSpaceCycleCount: u64,
305 pub VaSpaceWallClockPeriod: u64,
306 pub AuxPagesCycleCount: u64,
307 pub AuxPagesWallClockPeriod: u64,
308 pub HandlesCycleCount: u64,
309 pub HandlesWallClockPeriod: u64,
310 pub ThreadsCycleCount: u64,
311 pub ThreadsWallClockPeriod: u64,
312 }
313 impl ::core::marker::Copy for PSS_PERFORMANCE_COUNTERS {}
314 impl ::core::clone::Clone for PSS_PERFORMANCE_COUNTERS {
315 fn clone(&self) -> Self {
316 *self
317 }
318 }
319 #[repr(C)]
320 #[doc = "Required features: `\"Win32_Foundation\"`"]
321 #[cfg(feature = "Win32_Foundation")]
322 pub struct PSS_PROCESS_INFORMATION {
323 pub ExitStatus: u32,
324 pub PebBaseAddress: *mut ::core::ffi::c_void,
325 pub AffinityMask: usize,
326 pub BasePriority: i32,
327 pub ProcessId: u32,
328 pub ParentProcessId: u32,
329 pub Flags: PSS_PROCESS_FLAGS,
330 pub CreateTime: super::super::super::Foundation::FILETIME,
331 pub ExitTime: super::super::super::Foundation::FILETIME,
332 pub KernelTime: super::super::super::Foundation::FILETIME,
333 pub UserTime: super::super::super::Foundation::FILETIME,
334 pub PriorityClass: u32,
335 pub PeakVirtualSize: usize,
336 pub VirtualSize: usize,
337 pub PageFaultCount: u32,
338 pub PeakWorkingSetSize: usize,
339 pub WorkingSetSize: usize,
340 pub QuotaPeakPagedPoolUsage: usize,
341 pub QuotaPagedPoolUsage: usize,
342 pub QuotaPeakNonPagedPoolUsage: usize,
343 pub QuotaNonPagedPoolUsage: usize,
344 pub PagefileUsage: usize,
345 pub PeakPagefileUsage: usize,
346 pub PrivateUsage: usize,
347 pub ExecuteFlags: u32,
348 pub ImageFileName: [u16; 260],
349 }
350 #[cfg(feature = "Win32_Foundation")]
351 impl ::core::marker::Copy for PSS_PROCESS_INFORMATION {}
352 #[cfg(feature = "Win32_Foundation")]
353 impl ::core::clone::Clone for PSS_PROCESS_INFORMATION {
354 fn clone(&self) -> Self {
355 *self
356 }
357 }
358 #[repr(C)]
359 #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_System_Kernel\"`"]
360 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Diagnostics_Debug", feature = "Win32_System_Kernel"))]
361 pub struct PSS_THREAD_ENTRY {
362 pub ExitStatus: u32,
363 pub TebBaseAddress: *mut ::core::ffi::c_void,
364 pub ProcessId: u32,
365 pub ThreadId: u32,
366 pub AffinityMask: usize,
367 pub Priority: i32,
368 pub BasePriority: i32,
369 pub LastSyscallFirstArgument: *mut ::core::ffi::c_void,
370 pub LastSyscallNumber: u16,
371 pub CreateTime: super::super::super::Foundation::FILETIME,
372 pub ExitTime: super::super::super::Foundation::FILETIME,
373 pub KernelTime: super::super::super::Foundation::FILETIME,
374 pub UserTime: super::super::super::Foundation::FILETIME,
375 pub Win32StartAddress: *mut ::core::ffi::c_void,
376 pub CaptureTime: super::super::super::Foundation::FILETIME,
377 pub Flags: PSS_THREAD_FLAGS,
378 pub SuspendCount: u16,
379 pub SizeOfContextRecord: u16,
380 pub ContextRecord: *mut super::Debug::CONTEXT,
381 }
382 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Diagnostics_Debug", feature = "Win32_System_Kernel"))]
383 impl ::core::marker::Copy for PSS_THREAD_ENTRY {}
384 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Diagnostics_Debug", feature = "Win32_System_Kernel"))]
385 impl ::core::clone::Clone for PSS_THREAD_ENTRY {
386 fn clone(&self) -> Self {
387 *self
388 }
389 }
390 #[repr(C)]
391 pub struct PSS_THREAD_INFORMATION {
392 pub ThreadsCaptured: u32,
393 pub ContextLength: u32,
394 }
395 impl ::core::marker::Copy for PSS_THREAD_INFORMATION {}
396 impl ::core::clone::Clone for PSS_THREAD_INFORMATION {
397 fn clone(&self) -> Self {
398 *self
399 }
400 }
401 #[repr(C)]
402 #[doc = "Required features: `\"Win32_Foundation\"`"]
403 #[cfg(feature = "Win32_Foundation")]
404 pub struct PSS_VA_CLONE_INFORMATION {
405 pub VaCloneHandle: super::super::super::Foundation::HANDLE,
406 }
407 #[cfg(feature = "Win32_Foundation")]
408 impl ::core::marker::Copy for PSS_VA_CLONE_INFORMATION {}
409 #[cfg(feature = "Win32_Foundation")]
410 impl ::core::clone::Clone for PSS_VA_CLONE_INFORMATION {
411 fn clone(&self) -> Self {
412 *self
413 }
414 }
415 #[repr(C)]
416 pub struct PSS_VA_SPACE_ENTRY {
417 pub BaseAddress: *mut ::core::ffi::c_void,
418 pub AllocationBase: *mut ::core::ffi::c_void,
419 pub AllocationProtect: u32,
420 pub RegionSize: usize,
421 pub State: u32,
422 pub Protect: u32,
423 pub Type: u32,
424 pub TimeDateStamp: u32,
425 pub SizeOfImage: u32,
426 pub ImageBase: *mut ::core::ffi::c_void,
427 pub CheckSum: u32,
428 pub MappedFileNameLength: u16,
429 pub MappedFileName: ::windows_sys::core::PCWSTR,
430 }
431 impl ::core::marker::Copy for PSS_VA_SPACE_ENTRY {}
432 impl ::core::clone::Clone for PSS_VA_SPACE_ENTRY {
433 fn clone(&self) -> Self {
434 *self
435 }
436 }
437 #[repr(C)]
438 pub struct PSS_VA_SPACE_INFORMATION {
439 pub RegionCount: u32,
440 }
441 impl ::core::marker::Copy for PSS_VA_SPACE_INFORMATION {}
442 impl ::core::clone::Clone for PSS_VA_SPACE_INFORMATION {
443 fn clone(&self) -> Self {
444 *self
445 }
446 }