IMFSensorProcessActivity::GetProcessId method (mfidl.h)

Gets the ID of the process with which the activity is associated.

Syntax

HRESULT GetProcessId(
  [out] ULONG *pPID
);

Parameters

[out] pPID

Receives the process ID.

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 pPID parameter is null.

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

See also

IMFSensorProcessActivity