Virtual Devices (3.1) (vdag31qh.hlp) (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
V86MMGR_Free_Buffer
                                                     Up Next Previous
────────────────────────────────────────────────────────────────────────────
 
include v86mmgr.inc
 
VxDcall V86MMGR_Free_Buffer
 
The V86MMGR_Free_Buffer service deallocates a buffer that was allocated by
the V86MMGR_Allocate_Buffer service. It will optionally copy data from the
translation buffer to the buffer pointed to by FS:ESI.
 
The buffers are maintained as a stack. Therefore, the last buffer allocated
must be the first buffer freed.
 
Parameter  Description
────────────────────────────────────────────────────────────────────────────
 
 
EBX        Specifies the current virtual machine handle. The current virtual
           machine must be in protected mode.
 
EBP        Points to a Client_Reg_Struc structure containing the register
           values of the current virtual machine.
 
ECX        Specifies the number of bytes to free (returned from the
           V86MMGR_Allocate_Buffer service).
 
FS:ESI     Specifies a pointer to an extended memory buffer. If the carry
           flag is set, the service copies the buffer from V86 memory;
           otherwise, it does not copy the buffer.
 
Return Value
 
This service has no return value.
 
Uses
 
Flags
 
                                      ♦