Edit

Share via


VideoPortAssociateEventsWithDmaHandle function (video.h)

The VideoPortAssociateEventsWithDmaHandle function is obsolete in Windows 2000 and later.

VideoPortAssociateEventsWithDmaHandle associates an event, which is shared by the video display driver and the video miniport driver, with a DMA handle.

Syntax

VIDEOPORT_DEPRECATED VIDEOPORT_API PDMA VideoPortAssociateEventsWithDmaHandle(
  [in]      IN PVOID                     HwDeviceExtension,
  [in, out] IN OUT PVIDEO_REQUEST_PACKET pVrp,
  [in]      IN PVOID                     MappedUserEvent,
  [in]      IN PVOID                     DisplayDriverEvent
);

Parameters

[in] HwDeviceExtension

Pointer to the miniport driver's device extension.

[in, out] pVrp

Pointer to a VIDEO_REQUEST_PACKET.

[in] MappedUserEvent

Is reserved for system use.

[in] DisplayDriverEvent

Is reserved for system use.

Return value

VideoPortAssociateEventsWithDmaHandle always returns NULL.

Remarks

See Bus-Master DMA in Video Miniport Drivers for information about packet-based and common-buffer DMA transfers.

Requirements

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