ISampleGrabber::SetBufferSamples

 
Microsoft DirectShow 9.0

ISampleGrabber::SetBufferSamples

The SetBufferSamples method specifies whether to copy sample data into a buffer as it goes through the filter.

Syntax

  HRESULT SetBufferSamples(
  BOOL BufferThem
);

Parameters

BufferThem

Boolean value specifying whether to buffer sample data. If TRUE, the filter copies sample data into an internal buffer.

Return Value

Returns S_OK.

Requirements

Header: Include Qedit.h. This header file is not compatible with Microsoft® Direct3D® headers later than version 7.

Library: Use strmiids.lib.

See Also