◄Up► ◄Next► ◄Previous► ──────────────────────────────────────────────────────────────────────────── include vdmad.inc VxDcall VDMAD_Copy_To_Buffer The VDMAD_Copy_To_Buffer service allows another device to copy data into the VDMAD buffer from the actual DMA region associated with the buffer. This service is called after the VDMAD_Request_Buffer service and before starting a memory read transfer. Parameter Description ──────────────────────────────────────────────────────────────────────────── EBX Specifies the buffer identifier. ESI Specifies the region linear. EDI Specifies the offset within the buffer to the start of copying. ECX Specifies the size of the buffer. Return Value The carry flag is clear if the data is copied from the DMA region into the buffer. Otherwise, the carry flag is set and the AL register contains one of the following error values: Value Meaning ──────────────────────────────────────────────────────────────────────────── 0Ah DMA_Invalid_Buffer: invalid buffer id supplied 0Bh DMA_Copy_Out_Range: (ESI + ECX) is greater than buffer size Uses EAX, Flags ♦