Virtual Devices (3.1) (vdag31qh.hlp) (Table of Contents; Topic list)
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
 
                                      ♦