|
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.ProcessesAssembly: Xcalibur.NativeMethods.V2 (in Xcalibur.NativeMethods.V2.dll) Version: 1.0.1.0
Syntax [FlagsAttribute]
public enum SnapshotFlags
<FlagsAttribute>
Public Enumeration SnapshotFlags
[FlagsAttribute]
public enum class SnapshotFlags
[<FlagsAttribute>]
type SnapshotFlags
Members Member name | Value | Description |
---|
HeapList | 1 |
Includes all heaps of the process specified in th32ProcessID in the snapshot. To enumerate
the heaps, see Heap32ListFirst.
|
Process | 2 |
Includes all processes in the system in the snapshot. To enumerate the processes, see
.
|
Thread | 4 |
Includes all threads in the system in the snapshot. To enumerate the threads, see
.
|
Module | 8 |
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.
|
Module32 | 16 |
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.
|
All | 31 |
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 ('|').
|
NoHeaps | 1,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
.
|
Inherit | 2,147,483,648 |
Indicates that the snapshot handle is to be inheritable.
|
See Also