◄Summary► ◄Example► ◄Up► ◄Contents► ◄Index► ◄Back► ─────Run-Time Library─────────────────────────────────────────────────────── The _vmalloc function allocates a virtual memory block of at least <size> bytes. The actual size of the allocated block may be larger than <size> bytes to allow the virtual memory manager to operate more efficiently; use _vmsize to find the actual size of the block. The value returned by _vmalloc is a handle that uniquely identifies the virtual memory block. This value is not an address and cannot be used to access memory directly. The value must be passed to either the _vload or _vlock function in order to obtain a valid address. Return Value The _vmalloc function returns a handle to the allocated virtual memory block, or _VM_NULL if insufficient memory is available or if the requested block size is too large to load into DOS memory. -♦-