IMediaStream::SendEndOfStream

This method forces the current stream to end. If the current stream is not writable, this method does nothing.

HRESULT SendEndOfStream(
  DWORD dwFlags
);

Parameters

  • dwFlags
    [in] Reserved for flag data. Must be zero.

Return Values

Returns S_OK if successful or MS_E_INCOMPATIBLE if the existing sample is not compatible with the current media stream.

Remarks

Applications do not call this internal method.

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

IMediaStream Interface

Last updated on Wednesday, April 13, 2005

© 2005 Microsoft Corporation. All rights reserved.