MFClone Method (MFFrameClass)
result (cloned) frame
clone's type
pixel's format
Gets a clone of the frame. See eMFrameClone for more information about clone types.
Syntax
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
) 

Parameters

_ppCloneFrame
result (cloned) frame
_eCloneType
clone's type
_fccPixelFormat
pixel's format
Example

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);
See Also

Reference

MFFrameClass Class
MFFrameClass Members