IMFSensorProfile::AddProfileFilter method (mfidl.h)

Adds a profile filter to the specified media stream.

Syntax

HRESULT AddProfileFilter(
  [in] UINT32  StreamId,
  [in] LPCWSTR wzFilterSetString
);

Parameters

[in] StreamId

The ID of the stream to add to.

[in] wzFilterSetString

The filter to add.

Return value

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Requirements

Requirement Value
Minimum supported client Windows 10, version 1803 [desktop apps only]
Minimum supported server Windows Server [desktop apps only]
Target Platform Windows
Header mfidl.h
Library Mfsensorgroup.lib
DLL Mfsensorgroup.dll

See also

IMFSensorProfile