void EBufferPreLoad ( unsigned int flags, /* storage type flags */ EBUFFER_T * ebuffp, /* extended buffer */ OCTET_T * datap, /* data pointer */ ALENGTH_T datal /* data length */ );
This routine attaches a full memory buffer to a buffer-control block. Use this routine when constructing a parameter for a procedure which requires buffers in the extended-buffer format.
flags should be set to the manifest constant BFL_IS_DYNAMIC if the buffer has been allocated from the dynamic pool. Otherwise, flags should be set to BFL_IS_STATIC. The location and length of the buffer are described by datap and datal, respectively.