VideoPortUnlockPages function (video.h)

The VideoPortUnlockPages function is obsolete in Windows 2000 and later. Use VideoPortUnlockBuffer in place of this function.

VideoPortUnlockPages releases memory used for packet-based DMA.

Syntax

VIDEOPORT_DEPRECATED VIDEOPORT_API BOOLEAN VideoPortUnlockPages(
  PVOID hwDeviceExtension,
  PDMA  pDma
);

Parameters

hwDeviceExtension

Pointer to the miniport driver's device extension.

pDma

Specifies a non-NULL DMA handle.

Return value

VideoPortUnlockPages always returns TRUE.

Remarks

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

This function can be called only within the context of a DMA IOCTL. It cannot be called from an ISR or DPC.

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

See also

VideoPortUnlockBuffer