Bewerken

Delen via


VideoPortUnmapDmaMemory function (video.h)

The VideoPortUnmapDmaMemory function is obsolete in Windows 2000 and later.

VideoPortUnmapDmaMemory unmaps a range of memory previously mapped by VideoPortMapDmaMemory.

Syntax

VIDEOPORT_DEPRECATED VIDEOPORT_API BOOLEAN VideoPortUnmapDmaMemory(
  PVOID  HwDeviceExtension,
  PVOID  VirtualAddress,
  HANDLE ProcessHandle,
  PDMA   BoardMemoryHandle
);

Parameters

HwDeviceExtension

Pointer to the miniport driver's device extension.

VirtualAddress

Pointer to a virtual address within the mapped range to be released.

ProcessHandle

Is the handle to the current process.

BoardMemoryHandle

Is the handle to adapter's memory.

Return value

VideoPortUnmapDmaMemory always FALSE.

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