GameAllocateMemory Method

RAGE Plugin Hook Documentation

[This is preliminary documentation and is subject to change.]

Allocates a block of memory of the specified size using VirtualAlloc.

Namespace:  Rage
Assembly:  RagePluginHook (in RagePluginHook.dll) Version: 0.0.0.0 (0.56.1131.11510)
Syntax

public static IntPtr AllocateMemory(
	long size
)

Parameters

size
Type: SystemInt64
The amount of bytes to allocate.

Return Value

Type: IntPtr
A IntPtr representing the address of the allocated memory.
See Also

Reference