IWABObject::AllocateMoreIWABObject::AllocateMore*
*



Contents  *



Index  *Topic Contents
*Previous Topic: IWABObject::AllocateBuffer
*Next Topic: IWABObject::Backup

IWABObject::AllocateMore

HRESULT AllocateMore(
    ULONG           cbSize,
    LPVOID          lpObject,
    LPVOID FAR *    lppBuffer
);

Allocates a memory buffer that is linked to another buffer previously allocated with the AllocateBuffer function.

cbSize
Size, in bytes, of the buffer to be allocated.
lpObject
Existing buffer object allocated using AllocateBuffer.
lppBuffer
Returned buffer pointer; this buffer is linked to lpObject.

The only way to release a buffer allocated with AllocateMore is to pass the buffer pointer specified in the lpObject parameter to the FreeBuffer function. The link between the memory buffers allocated with AllocateBuffer and AllocateMore enables FreeBuffer to release both buffers with a single call.

Back to top


Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.