次の方法で共有


CSourceStream::FillBuffer (Compact 2013)

3/26/2014

Fills the stream buffer during the creation of a media sample that the current pin provides.

Syntax

virtual HRESULT FillBuffer(
  IMediaSample* pSample
) PURE;

Parameters

Return Value

Returns an HRESULT value.

Remarks

The CSourceStream::ThreadProc member function calls the CSourceStream::FillBuffer member function. The derived class must supply an implementation of this member function.

Requirements

Header

dshow.h,
Streams.h

Library

ole32.lib,
Ole32auth.lib,
Strmbase.lib,
Strmiids.lib,
uuid.lib

See Also

Reference

CSourceStream Class