Method VirtualAlloc
VirtualAlloc(nint, uint, AllocationType, MemoryProtection)
Declaration
public static extern nint VirtualAlloc(nint lpAddress, uint dwSize, UnsafeNative.AllocationType flAllocationType, UnsafeNative.MemoryProtection flProtect)
Parameters
| Type | Name | Description |
|---|---|---|
| nint | lpAddress | |
| uint | dwSize | |
| UnsafeNative.AllocationType | flAllocationType | |
| UnsafeNative.MemoryProtection | flProtect |
Returns
| Type | Description |
|---|---|
| nint |