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

Search Results for "VirtualAllocEx" in [All]

user32

.

    private static extern IntPtr VirtualAllocEx(

.

        VirtualAllocExTypes allocationType,

.

        VirtualAllocExTypes dwFreeType

.

    private enum VirtualAllocExTypes

.

            allocated = StatusBar.VirtualAllocEx(hProcess, IntPtr.Zero, length, (VirtualAllocExTypes.MEM_COMMIT_OR_RESERVE), AccessProtectionFlags.PAGE_READWRITE);

.

            StatusBar.VirtualFreeEx(hProcess, allocated, 0, VirtualAllocExTypes.MEM_RELEASE);

.

    IntPtr pszTextPtr = VirtualAllocEx(process, IntPtr.Zero, 512, AllocationType.Commit, MemoryProtection.ReadWrite);

.

    IntPtr tcitemPtr = VirtualAllocEx(process, IntPtr.Zero, (uint)Marshal.SizeOf(typeof(TCITEM)), AllocationType.Commit, MemoryProtection.ReadWrite);

.

    static extern IntPtr VirtualAllocEx(IntPtr hProcess, IntPtr lpAddress,

kernel32

.
Summary
.

static extern IntPtr VirtualAllocEx(IntPtr hProcess, IntPtr lpAddress,

.

Private Function VirtualAllocEx(ByVal hProcess As IntPtr, ByVal lpAddress As IntPtr, _

.

static def VirtualAllocEx(hProcess as IntPtr, lpAddress as IntPtr, dwSize as IntPtr, flAllocationType as AllocationType, flProtect as MemoryProtection) as IntPtr:

.
Documentation
[VirtualAllocEx] on MSDN
.
Summary
.

static extern IntPtr VirtualAllocEx(IntPtr hProcess, IntPtr lpAddress,

.

Private Function VirtualAllocEx(ByVal hProcess As IntPtr, ByVal lpAddress As IntPtr, _

.

static def VirtualAllocEx(hProcess as IntPtr, lpAddress as IntPtr, dwSize as int, flAllocationType as AllocationType, flProtect as MemoryProtection) as IntPtr:

.
Documentation
[VirtualAllocEx] on MSDN

 
Access PInvoke.net directly from VS: