次の方法で共有


ISampleGrabberCB Interface

 
Microsoft DirectShow 9.0

ISampleGrabberCB Interface

The ISampleGrabberCB interface provides callback methods for the ISampleGrabber::SetCallback method. If your application calls that method, it must implement this interface. For more information, see ISampleGrabber.

In addition to the methods inherited from IUnknown, the ISampleGrabber interface exposes the following methods.

Method Description
BufferCB Callback method that receives a pointer to the sample buffer.
SampleCB Callback method that receives a pointer to the media sample.

Requirements

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

Library: Use strmiids.lib.