Share via


IMSVidPlaybackEvent::EndOfMedia method (segment.h)

[The feature associated with this page, Microsoft TV Technologies, is a legacy feature. Microsoft strongly recommends that new code does not use this feature.]

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(
  [in] IMSVidPlayback *lpd
);

Parameters

[in] lpd

Specifies a pointer to the IMSVidPlayback interface of the playback device.

Return value

Return S_OK or an error code.

Remarks

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

Requirements

Requirement Value
Target Platform Windows
Header segment.h (include Msvidctl.h)

See also

IMSVidPlaybackEvent Interface