Bewerken

Delen via


VideoPortGetDmaAdapter function (video.h)

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_DEPRECATED VIDEOPORT_API PVP_DMA_ADAPTER VideoPortGetDmaAdapter(
  [in] IN PVOID                  HwDeviceExtension,
  [in] IN PVP_DEVICE_DESCRIPTION VpDeviceDescription
);

Parameters

[in] HwDeviceExtension

Pointer to the miniport driver's device extension.

[in] 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

Requirement Value
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