VDMAD_Unlock_DMA_Region_No_Dirty


include vdmad.inc

mov esi, OFFSET32 DMA_Region
mov ecx, Size
VxDcall VDMAD_Unlock_DMA_Region_No_Dirty
jc  error

Unlocks the DMA region previously locked to a channel but does not mark each page in the region as dirty. In most cases, the VDMAD_Unlock_DMA_Region service should be used. However, if you are performing a memory read operation, (for example, doing DMA output to a device) and you know that the page has not been touched, VDMAD_Unlock_DMA_Region_No_Dirty may be used to prevent the page from being marked as dirty. Uses Flags.

DMA_Region

Linear address of the DMA region.

Size

Size in bytes of the DMA region.