ISensorDriver::OnGetSupportedProperties method (sensorsclassextension.h)
The ISensorDriver::OnGetSupportedProperties method retrieves the list of properties that the specified sensor provides.
HRESULT OnGetSupportedProperties( LPWSTR pwszSensorID, IPortableDeviceKeyCollection **ppSupportedProperties );
LPWSTR that contains the ID for the sensor from which the client application is requesting the properties list.
Address of an IPortableDeviceKeyCollection pointer that receives the list of PROPERTYKEY values that represent the supported properties.
If the operation succeeds, this method returns S_OK. Otherwise, this method returns one of the error codes that are defined in Winerror.h.
Properties describe the sensor device, as opposed to data fields, which contain sensor-generated data. Platform-defined properties are defined in sensors.h.
IPortableDeviceKeyCollection is documented in Windows Portable Devices.