PINT10_WRITE_MEMORY callback function

The Int10WriteMemory function writes the contents of an input buffer to memory in the context of another thread.

Syntax

PINT10_WRITE_MEMORY Pint10WriteMemory;

VP_STATUS Pint10WriteMemory(
  IN PVOID Context,
  IN USHORT Seg,
  IN USHORT Off,
  IN PVOID Buffer,
  IN ULONG Length
)
{...}

Parameters

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.

Seg

Specifies the segment address of the buffer to be written.

Off

Specifies the offset within the segment indicated by the Seg parameter.

Buffer

Pointer to the memory location that marks the beginning of the input buffer.

Length

Is the length, in bytes, of the input buffer specified by the Buffer parameter.

Return Value

The Int10WriteMemory 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

   
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

See Also

VIDEO_PORT_INT10_INTERFACE