Function : OS Memory

OSMemGetSize - Get the size of a Domino memory object.
----------------------------------------------------------------------------------------------------------

#include <osmem.h>

STATUS LNPUBLIC OSMemGetSize(
DHANDLE Handle,
DWORD far *retSize);

Description :

OsMemGetSize is used to get the size of an object in bytes. This function may return a size larger than the object was originally allocated, in the event that the operating system rounded up the size to the nearest allocation boundary.

Calling this routine with a HANDLE that is invalid or out of range will result in a Notes PANIC Halt.

Parameters :

See Also :

OSMemAlloc
----------------------------------------------------------------------------------------------------------