PINT10_WRITE_MEMORY callback function (video.h)

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] IN PVOID Context,
  [in] IN USHORT Seg,
  [in] IN USHORT Off,
  [in] IN 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 written.

[in] Off

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

[in] Buffer

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

[in] 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

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

See also

VIDEO_PORT_INT10_INTERFACE