VideoPortGetDmaAdapter function

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

Syntax

VIDEOPORT_API PVP_DMA_ADAPTER VideoPortGetDmaAdapter(
  IN PVOID                  HwDeviceExtension,
  IN PVP_DEVICE_DESCRIPTION VpDeviceDescription
);

Parameters

HwDeviceExtension

Pointer to the miniport driver's device extension.

VpDeviceDescription

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.

Requirements

   
Minimum supported client Available in Windows XP and later versions of the Windows operating systems.
Target Platform Desktop
Header video.h (include Video.h)
Library Videoprt.lib
DLL Videoprt.sys
IRQL PASSIVE_LEVEL

See Also

VP_DEVICE_DESCRIPTION

VideoPortCompleteDma

VideoPortPutDmaAdapter

VideoPortStartDma