ISensorDriver 接口(sensorsclassextension.h)

ISensorDriver 接口提供传感器类扩展用于向传感器驱动程序提供请求和通知的回调方法。

遗产

ISensorDriver 接口继承自 IUnknown 接口。 ISensorDriver 也有以下类型的成员:

方法

ISensorDriver 接口具有这些方法。

 
ISensorDriver::OnClientConnect

ISensorDriver::OnClientConnect 方法通知传感器驱动程序客户端应用程序已连接。
ISensorDriver::OnClientDisconnect

ISensorDriver::OnClientDisconnect 方法通知传感器驱动程序客户端应用程序已断开连接。
ISensorDriver::OnClientSubscribeToEvents

ISensorDriver::OnClientSubscribeToEvents 方法通知传感器驱动程序授权客户端应用程序正在请求事件通知。
ISensorDriver::OnClientUnsubscribeFromEvents

ISensorDriver::OnClientUnsubscribeFromEvents 方法通知传感器驱动程序客户端应用程序不再请求事件通知。
ISensorDriver::OnGetDataFields

ISensorDriver::OnGetDataFields 方法检索当前传感器数据。
ISensorDriver::OnGetProperties

ISensorDriver::OnGetProperties 方法从指定的传感器检索指定属性的值。
ISensorDriver::OnGetSupportedDataFields

ISensorDriver::OnGetSupportedDataFields 方法检索指定传感器可以提供的数据字段列表。
ISensorDriver::OnGetSupportedEvents

ISensorDriver::OnGetSupportedEvents 方法检索指定传感器可以引发的事件列表。
ISensorDriver::OnGetSupportedProperties

ISensorDriver::OnGetSupportedProperties 方法检索指定传感器提供的属性列表。
ISensorDriver::OnGetSupportedSensorObjects

ISensorDriver::OnGetSupportedSensorObjects 方法检索驱动程序提供的传感器列表。
ISensorDriver::OnProcessWpdMessage

ISensorDriver::OnProcessWpdMessage 方法处理 ISensorClassExtension::P rocessIoControl 方法不能在内部处理的 Windows 可移植设备(WPD)命令。
ISensorDriver::OnSetProperties

ISensorDriver::OnSetProperties 方法指定指定属性列表的值。

要求

要求 价值
目标平台 窗户
标头 sensorsclassextension.h