HRESULT GrabberCB::SampleCB(double SampleTime, IMediaSample *pSample)
{
//how to copy the pSample to memory for late use?
}
In fact I need to first store it to memory,and late share it with other applications via pipe.
I'm pretty new to this, anyone knows?