PI2C_STOP callback function (video.h)
The I2CStop function ends I2C communication.
Syntax
PI2C_STOP Pi2cStop;
BOOLEAN Pi2cStop(
[in] IN PVOID HwDeviceExtension,
[in] IN PI2C_CALLBACKS I2CCallbacks
)
{...}
Parameters
[in] HwDeviceExtension
Pointer to the miniport driver's per-adapter device extension.
[in] I2CCallbacks
Pointer to an I2C_CALLBACKS structure, containing pointers to miniport driver-defined functions that read and write data and clock lines.
Return value
I2CStop returns TRUE if I²C communication was successfully stopped, and FALSE otherwise.
Remarks
The video port implements this function, which can be accessed through a pointer in the VIDEO_PORT_I2C_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 |