Skip to content

Latest commit

 

History

History
82 lines (59 loc) · 2.54 KB

nf-video-videoportlockbuffer.md

File metadata and controls

82 lines (59 loc) · 2.54 KB
UID title description old-location tech.root ms.date keywords ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames f1_keywords topic_type api_type api_location api_name
NF:video.VideoPortLockBuffer
VideoPortLockBuffer function (video.h)
The VideoPortLockBuffer function probes the specified buffer, makes the buffer's memory pages resident in memory, and locks the physical pages mapped by the virtual address range.
display\videoportlockbuffer.htm
display
05/10/2018
VideoPortLockBuffer function
VideoPortLockBuffer, VideoPortLockBuffer function [Display Devices], VideoPort_Functions_8c96bd4d-b9fc-4ff7-9d81-1087d6527700.xml, display.videoportlockbuffer, video/VideoPortLockBuffer
video.h
Video.h
Desktop
Available in Windows XP and later versions of the Windows operating systems.
Videoprt.lib
Videoprt.sys
PASSIVE_LEVEL
Windows
VideoPortLockBuffer
video/VideoPortLockBuffer
APIRef
kbSyntax
DllExport
Videoprt.sys
VideoPortLockBuffer

VideoPortLockBuffer function

-description

The VideoPortLockBuffer function probes the specified buffer, makes the buffer's memory pages resident in memory, and locks the physical pages mapped by the virtual address range.

-parameters

-param HwDeviceExtension [in]

Pointer to the miniport driver's device extension.

-param BaseAddress [in]

Specifies the virtual address of the buffer to be locked.

-param Length [in]

Specifies the length in bytes of the buffer to be locked.

-param Operation [in]

Specifies the type of operation for which the caller wants the access rights probed and the pages locked. The operation can be one of the following: VpReadAccess, VpWriteAccess, or VpModifyAccess.

-returns

Returns a pointer to a memory descriptor list (MDL), or a NULL pointer if the MDL for the memory to be locked cannot be allocated.

-remarks

To unlock the buffer, the video miniport driver should call VideoPortUnlockBuffer.

-see-also

VideoPortUnlockBuffer