Click or drag to resize
Xcalibur Systems LLC Logo

SnapshotFlags Enumeration

The portions of the system to be included in the snapshot. This parameter can be one or more of the following values.

SnapshotFlags structure


Namespace: Xcalibur.NativeMethods.V2.Processes
Assembly: Xcalibur.NativeMethods.V2 (in Xcalibur.NativeMethods.V2.dll) Version: 1.0.1.0
Syntax
[FlagsAttribute]
public enum SnapshotFlags
Members
Member nameValueDescription
HeapList1 Includes all heaps of the process specified in th32ProcessID in the snapshot. To enumerate the heaps, see Heap32ListFirst.
Process2 Includes all processes in the system in the snapshot. To enumerate the processes, see .
Thread4 Includes all threads in the system in the snapshot. To enumerate the threads, see .
Module8 Includes all modules of the process specified in processID in the snapshot. To enumerate the modules, see . If the function fails with , retry the function until it succeeds.
Module3216 Includes all 32-bit modules of the process specified in th32ProcessID in the snapshot when called from a 64-bit process. This flag can be combined with or . If the function fails with , retry the function until it succeeds.
All31 ncludes all processes and threads in the system, plus the heaps and modules of the process specified in processId. Equivalent to specifying the , , , and values combined using an OR operation ('|').
NoHeaps1,073,741,824 By default, the process heap information is included when creating PROCESS snapshot. For a more efficient way of receiving the basic information of the process, use this flag with .
Inherit2,147,483,648 Indicates that the snapshot handle is to be inheritable.
See Also