IMFExtendedCameraController::GetExtendedCameraControl method (mfidl.h)

Gets an instance of IMFExtendedCameraControl, which allows an app to get the current capture device's extended property controls.

Syntax

HRESULT GetExtendedCameraControl(
  DWORD                    dwStreamIndex,
  ULONG                    ulPropertyId,
  IMFExtendedCameraControl **ppControl
);

Parameters

dwStreamIndex

A DWORD indicating stream index to use for this property. Specify MF_CAPTURE_ENGINE_MEDIASOURCE to indicate that the extended property is a filter-level property.

ulPropertyId

The ID indicating the index for identifying the property within KSPROPERTYSETID_ExtendedCameraControl.

ppControl

Receives a pointer to the IMFExtendedCameraControl instance that represents the requested control.

Return value

Returns S_OK on success.

Requirements

Requirement Value
Minimum supported client Windows 10 Build 20348
Minimum supported server Windows 10 Build 20348
Header mfidl.h