VideoPortUnlockPages - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// video.h

VIDEOPORT_DEPRECATED VIDEOPORT_API BOOLEAN VideoPortUnlockPages(
  PVOID hwDeviceExtension,
  PDMA  pDma
);
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nf-video-videoportunlockpages)

VideoPortUnlockPages function

Description

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.

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.

See also

VideoPortUnlockBuffer