|Microsoft DirectX 9.0|
The implementation of this interface is provided as sample code with the DirectShow SDK. It is not a supported DirectShow API.
The IGrabberSample interface configures the Grabber filter, which is provided in the DirectShow SDK as a sample filter.
In addition to the methods inherited from IUnknown, the IGrabberSample interface exposes the following methods.
|GetConnectedMediaType||Retrieves the media type for pin connection on the Grabber filter's input pin.|
|SetAcceptedMediaType||Sets the media type for pin connection on the Grabber filter's input pin.|
|SetCallback||Specifies a callback method that the Grabber filter will call whenever it receives a media sample.|
|SetDeliveryBuffer||Specifies a target memory buffer for media samples received by the Grabber filter.|