Search
Module:
Directory

   Desktop Functions:

   Smart Device Functions:


Show Recent Changes
Subscribe (RSS)
Misc. Pages
Comments
FAQ
Helpful Tools
Playground
Suggested Reading
Website TODO List
Download Visual Studio Add-In

SnapshotFlags (Enums)
 
.
Summary

C# Definition:

[Flags]
public enum SnapshotFlags : uint
public enum SnapshotFlags : int
{
    HeapList = 0x00000001,
    Process  = 0x00000002,
    Thread   = 0x00000004,
    Module   = 0x00000008,
    Module32 = 0x00000010,
    All      = (HeapList | Process | Thread | Module),
    Inherit  = 0x80000000,
    NoHeaps = 0x40000000

    Inherit  = 0x80000000
}

VB.NET Definition:

<Flags()> _
Public Enum SnapshotFlags As Integer
    HeapList = &H1
    Process = &H2
    Thread = &H4
    [Module] = &H8
    Module32 = &H10
    Inherit = &H80000000
    All = &Hf
    NoHeaps = &H40000000
End Enum

Notes:

Includes the undocumented TH32CS value without which your call to CreateToolhelp32Snapshot may well fail with an "Out of memory" error (ERROR_NOT_ENOUGH_MEMORY = 8).

None.

Documentation
 

Please edit this page!

Do you have...

  • helpful tips?
  • corrections to the existing content?
  • additional languages you want to include?

Select "Edit This Page" on the right hand toolbar and edit it!

 
Access PInvoke.net directly from VS:
Terms of Use
Edit This Page
Find References
Show Printable Version
Revisions