MFORMATSLib Namespace > MFFrameClass Class : MFClone Method |
Public Overridable Sub MFClone( _ ByRef _ppCloneFrame As MFFrame, _ ByVal _eCloneType As eMFrameClone, _ ByVal _fccPixelFormat As eMFCC _ )
public virtual void MFClone( out MFFrame _ppCloneFrame, eMFrameClone _eCloneType, eMFCC _fccPixelFormat )
public procedure MFClone( Out _ppCloneFrame: MFFrame; _eCloneType: eMFrameClone; _fccPixelFormat: eMFCC ); virtual;
public: virtual void MFClone( [PARAMFLAG::Out] MFFrame* _ppCloneFrame, eMFrameClone _eCloneType, eMFCC _fccPixelFormat )
Here is an example of how to make a full clone of a frame:
MFFrame pFrame; m_objLive.SourceFrameConvertedGet(ref m_avProps, -1, out pFrame, ""); MFFrame clonedFrame; pFrame.MFClone(out clonedFrame, eMFrameClone.eMFC_Full, eMFCC.eMFCC_Default);