IMFSensorActivityReport::GetProcessActivity method (mfidl.h)

Gets an IMFSensorProcessActivity object representing the current process activity of a sensor.

Syntax

HRESULT GetProcessActivity(
  [in] ULONG                    Index,
  [in] IMFSensorProcessActivity **ppProcessActivity
);

Parameters

[in] Index

The index of the IMFSensorProcessActivity to retrieve. This value must be less than the value returned by GetProcessCount.

[in] ppProcessActivity

A pointer to the IMFSensorProcessActivity associated with the specified index.

Return value

The method returns an HRESULT. Possible values include, but are not limited to, those in the following table.

Return code Description
S_OK
The method succeeded.
E_POINTER
The ppProcessActivity parameter is null.

Requirements

   
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

See also

IMFSensorActivityReport