VDMAD_Disable_Translation

include vdmad.inc

VxDcall VDMAD_Disable_Translation


The VDMAD_Disable_Translation service disables the automatic translation done for the standard DMA channels. It is necessary if a V86 application or driver, or a PM application uses the DMA services through Interrupt 4Bh to determine actual physical addresses for DMA transfers. A disable count is maintained, so a matching call to VDMAD_Enable_Translation is required for each call to this service to re-enable translation.

Parameters

EAX

Specifies the DMA handle.

EBX

Specifies the virtual machine handle.

Return Value

The carry flag is clear if automatic translation is disabled for the channel. Otherwise, the carry flag is set if the disable count overflowed.

Uses

Flags