VideoPortGetMdl function (video.h)

The VideoPortGetMdl function is obsolete in Windows 2000 and later.

VideoPortGetMdl retrieves the memory descriptor list (MDL) that represents the page table of the locked buffer.

Syntax

VIDEOPORT_DEPRECATED VIDEOPORT_API PVOID VideoPortGetMdl(
  [in] IN PVOID HwDeviceExtension,
  [in] IN PDMA  pDma
);

Parameters

[in] HwDeviceExtension

Pointer to the miniport driver's device extension.

[in] pDma

Is a handle to the DMA context being queried. This handle was obtained from VideoPortLockPages or VideoPortDoDma.

Return value

VideoPortGetMdl returns pDma, for compatibility reasons.

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