ISensorDriver::OnGetSupportedSensorObjects method (sensorsclassextension.h)
The ISensorDriver::OnGetSupportedSensorObjects method retrieves the list of sensors that the driver provides.
Syntax
HRESULT OnGetSupportedSensorObjects(
IPortableDeviceValuesCollection **ppSensorObjectCollection
);
Parameters
ppSensorObjectCollection
Address of an IPortableDeviceValuesCollection pointer that receives the list of sensors.
Return value
If the operation succeeds, this method returns S_OK. Otherwise, this method returns one of the error codes that are defined in Winerror.h.
Requirements
Requirement | Value |
---|---|
Target Platform | Windows |
Header | sensorsclassextension.h |
Library | SensorsClassExtension.lib |
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for