Heap AddBlock Method Fling OS
Adds a contiguous block of memory to the heap so it can be used for allocating memory to objects.

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

[NoGCAttribute]
[NoDebugAttribute]
public static int AddBlock(
	uint* addr,
	uint size,
	uint bsize
)

Parameters

addr
Type: System UInt32*
The address of the start of the block of memory.
size
Type: System UInt32
The size of the block of memory to add.
bsize
Type: System UInt32
The size of the chunks to use when allocating memory.

Return Value

Type: Int32
Returns 1 if the block was added successfully.
See Also