Returns the size of a virtual memory block.
#include <vmemory.h>
unsigned long __far _vmsize( _vmhnd_t handle ):
handle | Handle to previously allocated virtual memory block |
The _vmsize function returns the size, in bytes, of a virtual memory block. The argument handle points to a virtual memory block previously allocated through a call to _vmalloc or _vrealloc. The size returned may be larger than the size requested in the call to _vmalloc or _vrealloc.
The _vmsize function returns the size (in bytes) of the specified virtual memory block as an unsigned long.
Standards:None
16-Bit:DOS
32-Bit:None
See the example for _vrealloc.