LBuffer::Reallocate

#include "ltwrappr.h"

L_INT LBuffer::Reallocate(dwSize)

L_SIZE_T dwSize;

/* the new size for the LEAD buffer to allocate */

Changes the size of the class object's buffer.

Parameter

Description

dwSize

The new size for the LEAD buffer to allocate.

Returns

SUCCESS

The function was successful.

< 1

An error occurred. Refer to Return Codes.

Comments

If the class object does not have an allocated buffer when this function is called, one will be allocated the size of dwSize.

Required DLLs and Libraries

LTDIS

For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application.

Platforms

Win32, x64.

See Also

Functions:

Class Members

Example

For an example, refer to LBuffer::GetSize.