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_Get_Region_Info
                                                     Up Next Previous
────────────────────────────────────────────────────────────────────────────
 
include vdmad.inc
 
VxDcall VDMAD_Get_Region_Info
 
The VDMAD_Get_Region_Info service returns information about the current
region assigned to a DMA handle. This information can be used by a handler
to call following services:
 
VDMAD_Unlock_DMA_Region
VDMAD_Release_Buffer
VDMAD_Copy_To_Buffer
VDMAD_Copy_From_Buffer
 
Parameter  Description
────────────────────────────────────────────────────────────────────────────
 
EAX        Specifies the DMA handle.
 
Return Value
 
The BX, ESI, and ECX registers contain the following information:
 
Register  Description
────────────────────────────────────────────────────────────────────────────
BL        Specifies the buffer identifier.
 
BH        Specifies whether pages are locked (zero is not locked, nonzero is
          locked).
 
ESI       Specifies the region linear.
 
ECX       Specifies the size in bytes.
 
Uses
 
EBX, ECX, ESI
 
                                      ♦