IMFSensorGroup::CreateMediaSource method (mfidl.h)

Creates an IMFMediaSource that virtualizes the sensor group. The term "device" in this context could refer to a physical device or a software media source. The source can represent a sensor group that actually contains multiple sensor devices, or it could contain only a single device, but still behaves as a sensor group.

Syntax

HRESULT CreateMediaSource(
  IMFMediaSource **ppSource
);

Parameters

ppSource

Receives a pointer to the created media source.

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.

Requirements

   
Minimum supported client Windows 10, version 1607 [desktop apps only]
Minimum supported server None supported
Target Platform Windows
Header mfidl.h
Library Mfplat.lib; Mfplat.dll

See also

IMFSensorGroup