// video.h
PINT10_WRITE_MEMORY Pint10WriteMemory;
VP_STATUS Pint10WriteMemory(
[in] IN PVOID Context,
[in] IN USHORT Seg,
[in] IN USHORT Off,
[in] IN PVOID Buffer,
[in] IN ULONG Length
)
{...}
View the official Windows Driver Kit DDI referenceNo description available.
The Int10WriteMemory function writes the contents of an input buffer to memory in the context of another thread.
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 written.
Off [in]Specifies the offset within the segment indicated by the Seg parameter.
Buffer [in]Pointer to the memory location that marks the beginning of the input buffer.
Length [in]Is the length, in bytes, of the input buffer specified by the Buffer parameter.
The Int10WriteMemory 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.