VDMAD_Release_Buffer

include vdmad.inc

VxDcall VDMAD_Release_Buffer


The VDMAD_Release_Buffer service releases the VDMAD buffer assigned to a DMA channel from a previous call to the VDMAD_Request_Buffer service. This service exits from a critical section, and 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.

Parameters

EBX

Specifies the buffer identifier.

Return Value

The carry flag is clear if the buffer is released. Otherwise, the carry flag is set to indicate an invalid buffer identifier.

Uses

Flags