ISensor::GetSupportedDataFields Method
Retrieves a set of PROPERTYKEYs that represent the data fields the sensor can provide.
Syntax
HRESULT GetSupportedDataFields(
[out] IPortableDeviceKeyCollection **ppDataFields
);
Parameter
- ppDataFields [out]
Address of the IPortableDeviceKeyCollection pointer that receives the list of supported data fields.
Rückgabewert
The method returns an HRESULT. Possible values include, but are not limited to, those in the following table.
Rückgabecode | Beschreibung |
---|---|
S_OK | The method succeeded. |
Beispiele
For an example of how to retrieve the list of supported data fields, see Checking for Supported Sensor Data Fields .
Anforderungen
Mindestens unterstützter Client |
Windows 7 |
Mindestens unterstützter Server |
None supported |
Header |
Sensorsapi.h |
Bibliothek |
Sensorsapi.lib |
DLL |
Sensorsapi.dll |