SBM.CreateBuffer (FUN)

 

(CAA_SegBufferMan.library)

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 imutable

peError

POINTER TO SBM.ERROR

Error id

Returns:

hBuffer

CAA.HANDLE

Handle of buffer