Upravit

Sdílet prostřednictvím


EC_STREAM_CONTROL_STOPPED

[The feature associated with this page, DirectShow, is a legacy feature. It has been superseded by MediaPlayer, IMFMediaEngine, and Audio/Video Capture in Media Foundation. Those features have been optimized for Windows 10 and Windows 11. Microsoft strongly recommends that new code use MediaPlayer, IMFMediaEngine and Audio/Video Capture in Media Foundation instead of DirectShow, when possible. Microsoft suggests that existing code that uses the legacy APIs be rewritten to use the new APIs if possible.]

A stream-control stop command has taken effect.

Parameters

pSender

(IUnknown*) Pointer to the IPin interface of the pin that stopped the stream.

dwCookie

(DWORD) User-defined value.

Default Action

None.

Remarks

Filters send this event in response to the IAMStreamControl::StopAt method. The StopAt method specifies a reference time for a pin to stop streaming. When streaming does halt, the filter sends this event.

The pSender parameter specifies the pin that executes the stop command. Depending on the implementation, it might not be the pin that received the StopAt call.

The dwCookie parameter is specified by the application in the StopAt method. This parameter enables the application to track multiple calls to the method.

Requirements

Requirement Value
Header
Dshow.h

See also

Event Notification Codes

Event Notification in DirectShow