The CopyTo method copies sample data to the DMA channel's common buffer from the specified source buffer.
void CopyTo( PVOID Destination, PVOID Source, ULONG ByteCount );
Pointer to the destination buffer, which is located in the DMA channel's common buffer.
Pointer to the source buffer
Specifies the number of bytes to be copied.
The Source and Destination pointers are both kernel-mode virtual addresses. The IDmaChannel::SystemAddress call returns the virtual address of a DMA channel's common buffer.
The Destination parameter points to the beginning of the destination buffer, which occupies ByteCount contiguous bytes in the DMA channel's common buffer.