Partager via


Testing for DMA Support

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

Before using DMA operations, you must test the device for DMA support and, if it does support DMA, how much support it provides.

To determine if the driver supports DMA, retrieve the driver capabilities by calling the IDirectDraw::GetCaps method, then look for DDBLTCAPS_READSYSMEM and/or DDBLTCAPS_WRITESYSMEM. If either of these flags is set, the device supports DMA.

If the flag is not present, the driver is not reporting support for asynchronous DMA blit operations.