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.
VDMAD_Request_Buffer
                                                     Up Next Previous
────────────────────────────────────────────────────────────────────────────
 
include vdmad.inc
 
VxDcall VDMAD_Request_Buffer
 
The VDMAD_Request_Buffer service reserves the DMA buffer for a DMA
transfer.
 
Parameter  Description
────────────────────────────────────────────────────────────────────────────
 
ESI        Specifies the linear address of the actual DMA region.
 
ECX        Specifies the number of bytes in the DMA region.
 
Return Value
 
The carry flag is clear if the service is successful. The EBX register
contains the buffer identifier and the EDX register contains the physical
address of the buffer.
 
Otherwise, the carry flag is set and the AL register contains one of the
following error values:
 
Value  Meaning
────────────────────────────────────────────────────────────────────────────
5      DMA_Buffer_Too_Small: region request is too large for buffer
 
6      DMA_Buffer_In_Use: buffer already in use
 
Uses
 
EAX, EBX, ESI, Flags
 
                                      ♦