共用方式為


IMSVidPlaybackEvent::EndOfMedia

 
Microsoft DirectShow 9.0

IMSVidPlaybackEvent::EndOfMedia

This topic applies to Windows XP or later.

The EndOfMedia method is called when playback reaches the end of the source media.

Syntax

  HRESULT EndOfMedia(
  IMSVidPlayback*  lpd
);

Parameters

lpd

[in]  Specifies a pointer to the IMSVidPlayback interface of the playback device.

Return Values

Return S_OK or an error code.

Remarks

The dispatch identifier (dispid) of this method is eventidEndOfMedia.

Requirements

  Header: Dshow.h.

  Library: Quartz.dll.

See Also