IMFCameraControlMonitor::Stop method (mfidl.h)

Stops the camera control monitor.

Syntax

HRESULT Stop();

Return value

An HRESULT including the following:

Value Description
S_OK Success
MF_E_INVALIDREQUEST The camera control monitor has already been stopped or has been shut down.

Remarks

Stopping the camera control monitor pauses control change notifications through IMFCameraControlNotify::OnChange. While the monitor is stopped, clients can add and remove control subscriptions with calls to AddControlSubscription and RemoveControlSubscription.

To see a code example that implements this method, see IMFCameraControlNotify.

Requirements

Requirement Value
Minimum supported client Windows 11 Build 22621
Minimum supported server Windows 11 Build 22621
Header mfidl.h
Library mfsensorgroup.lib
DLL mfsensorgroup.dll