BOOL VDDSetDMA(hVdd, iChannel, fDMA,
Buffer)
IN HANDLE hVdd;
IN WORD iChannel;
IN WORD fDMA;
IN PVDD_DMA_INFO Buffer;
VDDSetDMA resets the state of the virtual DMA controller after a DMA operation using VDDQueryDMA.
VDD_DMA_ADDR
VDD_DMA_COUNT
VDD_DMA_PAGE
VDD_DMA_STATUS
VDD_DMA_ALL (All of the above)
VDDSetDMA returns TRUE if successful. If the function fails then FALSE is returned. The error logged is ERROR_INVALID_ADDRESS to identify an invalid channel.
VDDRequestDMA, VDDQueryDMA