Partager via


IMultiMediaStream::GetEndOfStreamEventHandle (Compact 2013)

3/26/2014

This method retrieves the handle for the event triggered when the stream completes playback.

Syntax

HRESULT GetEndOfStreamEventHandle(
  HANDLE* phEOS
);

Parameters

  • phEOS
    [out] Pointer to an event HANDLE returned by the current object when it completes playback.

    If no HANDLE is associated with the object, this value will be NULL.

Return Value

Returns S_OK if successful or E_POINTER if one or more of the required parameters are NULL.

Remarks

The Win32 WaitForSingleObject and WaitForMultipleObjects functions use the retrieved handle to watch for completion of playback.

Requirements

Header

dshow.h

Library

Strmiids.lib

See Also

Reference

IMultiMediaStream Interface