Heap Alloc Method Fling OS
Attempts to allocate the specified amount of memory from the heap.

Namespace: Kernel
Assembly: Kernel (in Kernel.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax

[NoDebugAttribute]
[NoGCAttribute]
public static void* Alloc(
	uint size
)

Parameters

size
Type: System UInt32
The amount of memory to try and allocate.

Return Value

Type: Void*
A pointer to the start of the allocated memory or a null pointer if not enough contiguous memory is available.
See Also