CreateBuffer (FUN)

FUNCTION CreateBuffer : CAA.HANDLE

Create a segmented buffer

InOut:

Scope

Name

Type

Comment

Return

CreateBuffer

CAA.HANDLE

Handle to the buffer

Input

szSize

CAA.SIZE

size of the new Buffer

pData

CAA.PVOID

Pointer to initial data. CAA.gc_pNULL => Init with zero

xPermanent

BOOL

TRUE => Buffer is immutable

peError

POINTER TO ERROR

Local library ERROR ID