Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

ISampleGrabberCB C Interface

128 views
Skip to first unread message

mauzil

unread,
Nov 9, 2011, 3:29:00 PM11/9/11
to
Hi all.
I need to port my dll written in MFC C++ (which interracts with
DirectShow) to C standard to avoid MFC.
I translate all source from C++ to C.
The only trouble I get is about ISampleGrabberCB.

First I have created a struct which implements ISampleGrabberCB
interface, but the ISampleGrabber doesn't throw the callback I set.

Looking inside qedit.h I see IID_ISampleGrabberCB.
So I think to create an IID_ISampleGrabberCB instance and set the
BufferCB e SampleCB member function.
But I don't know how to create an instance of IID_ISampleGrabberCB.

Which is the CLSID that contains the IID_ISampleGrabbeCB?

Thanks to all.
MZ
0 new messages