IMFSensorActivitiesReport::GetActivityReportByDeviceName method (mfidl.h)
Retrieves an IMFSensorActivityReport based on the specified device name.
Syntax
HRESULT GetActivityReportByDeviceName(
LPCWSTR SymbolicName,
[out] IMFSensorActivityReport **sensorActivityReport
);
Parameters
SymbolicName
The symbolic name of the sensor for which the IMFSensorActivityReport is retrieved.
[out] sensorActivityReport
A pointer to the IMFSensorActivityReport associated with the sensor with the specified symbolic name.
Return value
The method returns an HRESULT. Possible values include, but are not limited to, those in the following table.
Return code | Description |
---|---|
|
The method succeeded. |
|
The symbolicName parameter is null. |
|
The sensorActivityReport parameter is null. |
|
The system is out of memory. |
|
The Index parameter is not less than value returned by GetCount. |
|
No sensor with the specified symbolic name was found. |
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 10, version 1703 [desktop apps only] |
Minimum supported server | None supported |
Target Platform | Windows |
Header | mfidl.h |
Library | Mfplat.lib; Mfplat.dll |