PINT10_READ_MEMORY callback function (video.h)
The Int10ReadMemory function reads a block of memory in the context of another thread and stores it in an output buffer.
Syntax
PINT10_READ_MEMORY Pint10ReadMemory;
VP_STATUS Pint10ReadMemory(
[in] IN PVOID Context,
[in] IN USHORT Seg,
[in] IN USHORT Off,
[out] OUT PVOID Buffer,
[in] IN ULONG Length
)
{...}
Parameters
[in] Context
Pointer to a video port driver-defined context for the interface. This should be the same as the value in the Context member of the VIDEO_PORT_INT10_INTERFACE structure after VideoPortQueryServices returns.
[in] Seg
Specifies the segment address of the buffer to be read.
[in] Off
Specifies the offset within the segment indicated by the Seg parameter.
[out] Buffer
Pointer to a memory location that indicates the beginning of the output buffer.
[in] Length
Is the length, in bytes, of the output buffer specified by the Buffer parameter.
Return value
The Int10ReadMemory function returns NO_ERROR upon success. Otherwise it returns an appropriate error code.
Remarks
The video port implements this function, which can be accessed through a pointer in the VIDEO_PORT_INT10_INTERFACE structure.
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) |
IRQL | PASSIVE_LEVEL |