// video.h
VIDEOPORT_DEPRECATED VIDEOPORT_API PVP_DMA_ADAPTER VideoPortGetDmaAdapter(
[in] IN PVOID HwDeviceExtension,
[in] IN PVP_DEVICE_DESCRIPTION VpDeviceDescription
);
View the official Windows Driver Kit DDI referenceNo description available.
The VideoPortGetDmaAdapter function returns a pointer to a VP_DMA_ADAPTER structure, which is used in subsequent calls to other DMA-related functions.
HwDeviceExtension [in]Pointer to the miniport driver's device extension.
VpDeviceDescription [in]Pointer to a VP_DEVICE_DESCRIPTION structure, which describes the attributes of the physical device.
VideoPortGetDmaAdapter returns a pointer to a VP_DMA_ADAPTER structure on success; if it is unsuccessful in obtaining information about the DMA adapter, it returns NULL.
The VP_DMA_ADAPTER structure contains attribute information about a particular DMA adapter. This structure is an opaque data type that is used internally by the video port driver.
A video miniport driver should call the video port driver's VideoPortGetDmaAdapter to obtain information about a DMA adapter.
typedef struct __VP_DMA_ADAPTER* PVP_DMA_ADAPTER;
This structure has no public members.
This structure is available in Windows XP and later.