ISampleGrabberCallSinkFactory

Capture Manager SDK

ISampleGrabberCallSinkFactory

ISampleGrabberCallSinkFactory – it creates media sink for grabbing of one sample by direct calling object with interface ISessionCallback by the next methods:

HRESULT createOutputNode( REFGUID aRefMajorType, REFGUID aRefSubType, DWORD aSampleByteSize, REFIID aREFIID, IUnknown** aPtrPtrISampleGrabberCall) - create output node, where aRefMajorType is type of data (MFMediaType_Video, MFMediaType_Audio), aRefSubType is format of data, aSampleByteSize is expected size of data, aREFIID is IID of interface of the sample grabber (ISampleGrabberCall), aPtrPtrISampleGrabberCall is a pointer on created object.