Upravit

Sdílet prostřednictvím


EC_STREAM_CONTROL_STARTED

[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 start command has taken effect.

Parameters

pSender

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

dwCookie

(DWORD) User-defined value.

Default Action

None.

Remarks

Filters send this event in response to the IAMStreamControl::StartAt method. This method specifies a reference time for a pin to begin streaming. When streaming does begin, the filter sends this event.

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

The dwCookie parameter is specified by the application in the StartAt 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