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, 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 |
|
|
|
|
|
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.
Pointer to the miniport driver's device extension.
Specifies the virtual address of the buffer to be locked.
Specifies the length in bytes of the buffer to be locked.
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 a pointer to a memory descriptor list (MDL), or a NULL pointer if the MDL for the memory to be locked cannot be allocated.
To unlock the buffer, the video miniport driver should call VideoPortUnlockBuffer.