Share via


IMultiMediaStream::GetEndOfStreamEventHandle

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

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 Values

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

DirectShow applications and DirectShow filters have different include file and link library requirements. See Setting Up the Build Environment for more information.

OS Versions: Windows CE 2.12 and later. Version 2.12 requires DXPAK 1.0 or later.

See Also

IMultiMediaStream Interface

Last updated on Wednesday, April 13, 2005

© 2005 Microsoft Corporation. All rights reserved.