Operates an object properties and allows using events in C++ and Delphi
Methods
MFCallbackSet
Sets callback to events for an object
Syntax
void MFCallbackSet( IMCallback _pCallback, long _llCallbackUserData )
Parameters
_pCallback - callback event
_llCallbackUserData - callback user data
MFCallbackSetFunc
Sets a callback function
Syntax
void MFCallbackSetFunc( long _lpPFOnEvent, long _lpPFOnFrame, long _llCallbackUserData )
Parameters
_lpPFOnEvent - pointer to OnEvent event
_lpPFOnFrame - pointer to OnFrame event
_llCallbackUserData - callback user data
MFClose
Common method for close object - can be used for close any object e.g. instead ReaderClose, DeviceClose, SpltterClose etc.
Syntax
void MFClose()
MFInternalGet
Gets internal component interface - work only for MFLive/MFRenderer IF device_sharing DISABLED (DirectShow/Decklink)
Syntax
void MFInternalGet( string _bsType, out object _ppObject )
Parameters
_bsType - Type of device ("video", ""audio")
_ppObject - output object (a DirectShow filter, for example)
MFStateGet
Return state of specifed object and optionally some extra info (like path to file, device name etc.)
Syntax
void MFStateGet( out eMState _peState, out string _pbsExtraInfo )
Parameters
_peState - state of the object
_pbsExtraInfo - extra information