The ISensorDriver::OnGetSupportedDataFields method retrieves the list of data fields that the specified sensor can provide.
HRESULT OnGetSupportedDataFields( LPWSTR pwszSensorID, IPortableDeviceKeyCollection **ppSupportedDataFields );
LPWSTR that contains the ID for the sensor from which the client application is requesting the data fields list.
Address of an IPortableDeviceKeyCollection pointer that receives the list of PROPERTYKEY values that represent the supported data fields.
If the operation succeeds, this method returns S_OK. Otherwise, this method returns one of the error codes that are defined in Winerror.h.
Data fields contain sensor-generated data, as opposed to properties, which describe the sensor device. Platform-defined data fields are defined in sensors.h.
All drivers must support SENSOR_DATA_TYPE_TIMESTAMP as a required data field.
IPortableDeviceKeyCollection is documented in Windows Portable Devices.