include vdmad.inc
mov ebx, Buffer
VxDcall VDMAD_Release_Buffer
jc ErrorHandler
Releases the VDMAD buffer assigned to a DMA channel from a previous call to the VDMAD_Request_Buffer service. Uses flags
This service will exit from a critical section, making the DMA buffer becomes available for other users. Any data in the buffer is not automatically copied, so the VDMAD_Copy_From_Buffer service must be called if the data is important.