VirtualQueryEx (kernel32)
Last changed: -186.136.223.176

.
Summary

C# Signature:

[DllImport("kernel32.dll")]
static extern uint VirtualQueryEx(IntPtr hProcess, ref uint lpAddress,
   out MEMORY_BASIC_INFORMATION lpBuffer, uint dwLength);

C# User-Defined Types:

MEMORY_BASIC_INFORMATION

[StructLayout(LayoutKind.Sequential)]

    public struct MEMORY_BASIC_INFORMATION
    {
    public UIntPtr BaseAddress;
    public UIntPtr AllocationBase;
    public uint AllocationProtect;
    public IntPtr RegionSize;
    public uint State;
    public uint Protect;
    public uint Type;
    }

Notes:

None.

Tips & Tricks:

Please add some!

Sample Code:

Please add some!

Alternative Managed API:

Do you know one? Please contribute it!

Documentation