Click to Rate and Give Feedback
MSDN
MSDN Library
Windows Driver Kit
Reference
 VIDEO_PORT_I2C_INTERFACE

  Switch on low bandwidth view
Windows Driver Kit: Display Devices
VIDEO_PORT_I2C_INTERFACE

The VIDEO_PORT_I2C_INTERFACE structure describes the I2C service routines provided by the video port driver.

typedef struct _VIDEO_PORT_I2C_INTERFACE {
  USHORT  Size;
  USHORT  Version;
  PVOID  Context;
  PINTERFACE_REFERENCE  InterfaceReference;
  PINTERFACE_DEREFERENCE  InterfaceDereference;
  PI2C_START  I2CStart;
  PI2C_STOP  I2CStop;
  PI2C_WRITE  I2CWrite;
  PI2C_READ  I2CRead;
} VIDEO_PORT_I2C_INTERFACE, *PVIDEO_PORT_I2C_INTERFACE;

Members

Size
Specifies the size in bytes of this structure.
Version
Specifies the version of the interface to be returned by the miniport driver. The current interface version is defined in video.h, and has the form VIDEO_PORT_I2C_INTERFACE_N.
Context
Pointer to a miniport driver-defined context for the interface.
InterfaceReference
Pointer to the video port driver-implemented reference routine for this interface.
InterfaceDereference
Pointer to the video port driver-implemented dereference routine for this interface.
I2CStart
Pointer to the video port driver's I2CStart routine.
I2CStop
Pointer to the video port driver's I2CStop routine.
I2CWrite
Pointer to the video port driver's I2CWrite routine.
I2CRead
Pointer to the video port driver's I2CRead routine.

Comments

PnP video miniport drivers that can use I2C should fill in the Size and Version members of this structure, and then call VideoPortQueryServices, which initializes the remaining members of this structure.

Requirements

Headers: Declared in video.h. Include video.h.

See Also

VideoPortQueryServices, INTERFACE


Send feedback on this topic
Built on May 20, 2009
Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker