Function : OS Memory

OSMemRealloc - Change the size of an existing Domino memory object.
----------------------------------------------------------------------------------------------------------

#include <osmem.h>

STATUS LNPUBLIC OSMemRealloc(
DHANDLE Handle,
DWORD NewSize
);

Description :

OSMemRealloc is used to increase or decrease the allocated size of a Domino memory object. If the size is increased, then a new block may be allocated, but the block's contents will be copied to the new block. Reallocations are allowed while the block is locked, but the caller MUST refresh all pointers (using OSLockObject) to the block, since it is extremely likely that the block will have moved after the reallocation.

If you call this routine with a HANDLE that is invalid or out of range, Domino or Notes will panic and halt.


Parameters :

See Also :

MEM_xxx
----------------------------------------------------------------------------------------------------------