Expand Minimize

VideoPortUnlockPages function

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


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

Target platform

Desktop

Version

Available in Windows 2000 and later versions of the Windows operating systems.

Header

Video.h (include Video.h)

Library

Videoprt.lib

DLL

Videoprt.sys

See also

VideoPortUnlockBuffer

 

 

Send comments about this topic to Microsoft

Show:
© 2015 Microsoft