Compartilhar via


CBaseRenderer::Stop

 
Microsoft DirectShow 9.0

CBaseRenderer::Stop

The Stop method stops the filter.

Syntax

  HRESULT Stop(void);

Return Value

Returns S_OK.

Remarks

This method overrides the CBaseFilter::Stop method. It performs the following actions:

  • Calls CBaseFilter::Stop.
  • Decommits the allocator. (See IMemAllocator::Decommit.)
  • Cancels any scheduled rendering and releases the streaming thread.
  • Waits for any pending Receive call to complete.

Requirements

**  Header:** Declared in Renbase.h; include Streams.h.

**  Library:** Use Strmbase.lib (retail builds) or Strmbasd.lib (debug builds).

See Also