AddToBuffer

Miscellaneous functions

Description

Adds a block of data to the buffer created with the CreateBuffer function.

This function can be called multiple times until the buffer is full. The return value is the number of bytes remaining in the buffer.

Syntax

DLL

int DLAddToBuffer(int InstanceID, char * Buffer, char * Source, int SourceLength);

Parameters

BufferA value returned from the CreateBuffer function A pointer to the first byte of data to add
Source
SourceLengthThe total number of bytes to copy from the source