VideoPortGetDmaAdapter - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// 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 reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nf-video-videoportgetdmaadapter)

VideoPortGetDmaAdapter function

Description

The VideoPortGetDmaAdapter function returns a pointer to a VP_DMA_ADAPTER structure, which is used in subsequent calls to other DMA-related functions.

Parameters

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.

Return value

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.

Remarks

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.

See also

VP_DEVICE_DESCRIPTION

VideoPortCompleteDma

VideoPortPutDmaAdapter

VideoPortStartDma