PI2C_READ - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// video.h

PI2C_READ Pi2cRead;

BOOLEAN Pi2cRead(
  [in]  IN PVOID HwDeviceExtension,
  [in]  IN PI2C_CALLBACKS I2CCallbacks,
  [out] OUT PUCHAR Buffer,
  [in]  IN ULONG Length
)
{...}
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nc-video-pi2c_read)

PI2C_READ callback function

Description

The I2CRead function reads data over the I2C channel.

Parameters

HwDeviceExtension [in]

Pointer to the miniport driver's per-adapter device extension.

I2CCallbacks [in]

Pointer to an I2C_CALLBACKS structure, containing pointers to miniport driver-defined functions that read and write data and clock lines.

Buffer [out]

Pointer to the data to be read.

Length [in]

Specifies the number of bytes to be read.

Return value

I2CRead returns TRUE if the data was successfully read, and FALSE otherwise.

Remarks

The video port implements this function, which can be accessed through a pointer in the VIDEO_PORT_I2C_INTERFACE structure.

See also

VIDEO_PORT_I2C_INTERFACE