// video.h
VIDEOPORT_DEPRECATED VIDEOPORT_API PDMA VideoPortDoDma(
[in] IN PVOID HwDeviceExtension,
[in] IN PDMA pDma,
[in] IN DMA_FLAGS DmaFlags
);
View the official Windows Driver Kit DDI referenceNo description available.
The VideoPortDoDma function is obsolete in Windows 2000 and later.
VideoPortDoDma causes the miniport driver's HwVidStartDma function to be called.
HwDeviceExtension [in]Pointer to the miniport driver's device extension.
pDma [in]Specifies a non-NULL DMA handle. This handle was obtained from a prior call to VideoPortDoDma or from the OutputBuffer member of the VIDEO_REQUEST_PACKET returned by VideoPortLockPages.
DmaFlags [in]Specifies the action to be performed. This member can be one of the following values:
| Value | Meaning |
|---|---|
| VideoPortKeepPagesLockedVideoPortDmaInitOnly | If possible, the video port driver should keep the memory locked for subsequent DMA operation(s). |
| VideoPortUnlockAfterDma | The video port driver should unlock the memory after the DMA operation is performed. |
VideoPortDoDma always returns NULL.
See Bus-Master DMA in Video Miniport Drivers for information about packet-based and common-buffer DMA transfers.