Skip to content

Latest commit

 

History

History
30 lines (18 loc) · 616 Bytes

File metadata and controls

30 lines (18 loc) · 616 Bytes

NAME

AllocVec -- allocate memory and keep track of the size (V36)

SYNOPSIS

    memoryBlock = AllocVec(byteSize, attributes)
    D0                     D0        D1

    void *AllocVec(ULONG, ULONG);

FUNCTION

This function works identically to AllocMem, but tracks the size of the allocation.

See the AllocMem documentation for details.

WARNING

The result of any memory allocation MUST be checked, and a viable error handling path taken. ANY allocation may fail if memory has been filled.

SEE ALSO

FreeVec, AllocMem