ICameraUIControl::GetActiveItem method (camerauicontrol.h)

Gets the active captured item.

Syntax

HRESULT GetActiveItem(
  [out] BSTR *pbstrActiveItemPath
);

Parameters

[out] pbstrActiveItemPath

Path to the currently active captured item.

Return value

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

Requirements

Requirement Value
Minimum supported client Windows 8 [desktop apps | UWP apps]
Minimum supported server None supported
Target Platform Windows
Header camerauicontrol.h

See also

ICameraUIControl