// video.h
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
)
{...}
View the official Windows Driver Kit DDI referenceNo description available.
The Int10ReadMemory function reads a block of memory in the context of another thread and stores it in an output buffer.
Context [in]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.
Seg [in]Specifies the segment address of the buffer to be read.
Off [in]Specifies the offset within the segment indicated by the Seg parameter.
Buffer [out]Pointer to a memory location that indicates the beginning of the output buffer.
Length [in]Is the length, in bytes, of the output buffer specified by the Buffer parameter.
The Int10ReadMemory function returns NO_ERROR upon success. Otherwise it returns an appropriate error code.
The video port implements this function, which can be accessed through a pointer in the VIDEO_PORT_INT10_INTERFACE structure.