UID | title | description | old-location | tech.root | ms.date | keywords | ms.keywords | req.header | req.include-header | req.target-type | req.target-min-winverclnt | req.target-min-winversvr | req.kmdf-ver | req.umdf-ver | req.ddi-compliance | req.unicode-ansi | req.idl | req.max-support | req.namespace | req.assembly | req.type-library | req.lib | req.dll | req.irql | targetos | req.typenames | f1_keywords | topic_type | api_type | api_location | api_name | |||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
NF:sensorsclassextension.ISensorDriver.OnClientUnsubscribeFromEvents |
ISensorDriver::OnClientUnsubscribeFromEvents (sensorsclassextension.h) |
The ISensorDriver::OnClientUnsubscribeFromEvents method notifies the sensor driver that a client application no longer requests event notifications. |
sensors\isensordriver_onclientunsubscribefromevents.htm |
sensors |
05/03/2018 |
|
ISensorDriver interface [Sensor Devices],OnClientUnsubscribeFromEvents method, ISensorDriver.OnClientUnsubscribeFromEvents, ISensorDriver::OnClientUnsubscribeFromEvents, OnClientUnsubscribeFromEvents, OnClientUnsubscribeFromEvents method [Sensor Devices], OnClientUnsubscribeFromEvents method [Sensor Devices],ISensorDriver interface, sensors.isensordriver_onclientunsubscribefromevents, sensorsclassextension/ISensorDriver::OnClientUnsubscribeFromEvents |
sensorsclassextension.h |
Windows |
SensorsClassExtension.lib |
Windows |
|
|
|
|
|
The ISensorDriver::OnClientUnsubscribeFromEvents method notifies the sensor driver that a client application no longer requests event notifications.
Pointer to an IWDFFile interface that represents the file object for the application requesting cancellation of event notifications.
LPWSTR that contains the ID for the sensor from which the client application is requesting cancellation of event notifications.
If the operation succeeds, this method returns S_OK. Otherwise, this method returns one of the error codes that are defined in Winerror.h.
The sensor class extension calls this method in the following instances:
- An application unsubscribes from events.
- An application closes normally.
- The user revokes permission for an application to access the device that contains the specified sensor.
- The sensor class extension is shutting down.
- The cleanup work from a call to ISensorClassExtension::CleanupFile has completed.
For more information about how to use this method, see Filtering data.
The ClientData structure is defined as follows.