IOFBGetI2CInterfaceCount
Returns a count of I2C interfaces available associated with an IOFramebuffer instance.
Declaration
IOReturn IOFBGetI2CInterfaceCount(io_service_t framebuffer, IOItemCount *count);Parameters
- framebuffer:
The io_service_t of an IOFramebuffer instance. CoreGraphics will provide this for a CGDisplay with the CGDisplayIOServicePort() call.
- count:
Interface count is returned.
Return Value
An IOReturn code.
Discussion
Returns a count of I2C interfaces available associated with an IOFramebuffer instance.