ISensorCollection interface (sensorsapi.h)
Represents a collection of sensors, such as all the sensors connected to a computer.
Retrieve a pointer to ISensorCollection by calling methods of the ISensorManager interface. In addition to the methods inherited from IUnknown, the ISensorCollection interface exposes the following methods.
The ISensorCollection interface inherits from the IUnknown interface.
The ISensorCollection interface has these methods.
Adds a sensor to the collection.
Empties the sensor collection.
Retrieves the sensor at the specified index in the collection.
Retrieves the count of sensors in the collection.
Removes a sensor from the collection. The sensor is specified by a pointer to the ISensor interface to be removed.
Removes a sensor from the collection. The sensor to be removed is specified by its ID.
|Minimum supported client||Windows 7 [desktop apps only]|
|Minimum supported server||None supported|