# CreateMemblock

## Description

Creates a section of memory of the given size for read or write access. The contents of the memory is undefined until you write to it. A memblock must not already exist with your chosen memID.

## Definition

CreateMemblock( memID, size )

void agk::CreateMemblock( UINT memID, UINT size )

integer CreateMemblock( size )

UINT agk::CreateMemblock( UINT size )

## Parameters

- memID - The ID of the memblock you want to use.
- size - The size of the memblock in bytes. max 100,000,000.