Microsoft DirectX 8.1 (C++)

IMultiMediaStream::GetEndOfStreamEventHandle

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 Microsoft® Win32® WaitForSingleObject and WaitForMultipleObjects functions use the retrieved handle to watch for completion of playback.

See Also