MFFrameClone Method (MFFactoryClass)
source frame object
result frame
clone's type
pixel's format
Gets a clone of the frame. See eMFrameClone for more information about clone types. If _fccPixelFormat is not eMFCC_Default and not the original, then video will be copied even for reference frames.
Note: If frame is out-of-prcoess, the clone ALSO out-of-process. You should call MFFrameMakeLocal() for such frames.
Syntax
Public Overridable Sub MFFrameClone( _
   ByVal _pMFFrame As Object, _
   ByRef _ppFrameClone As MFFrame, _
   ByVal _eCloneType As eMFrameClone, _
   ByVal _fccPixelFormat As eMFCC _
) 
public virtual void MFFrameClone( 
   object _pMFFrame,
   out MFFrame _ppFrameClone,
   eMFrameClone _eCloneType,
   eMFCC _fccPixelFormat
)
public procedure MFFrameClone( 
    _pMFFrame: TObject;
   Out  _ppFrameClone: MFFrame;
    _eCloneType: eMFrameClone;
    _fccPixelFormat: eMFCC
); virtual; 
public: virtual void MFFrameClone( 
   IUnknown* _pMFFrame,
   [PARAMFLAG::Out] MFFrame* _ppFrameClone,
   eMFrameClone _eCloneType,
   eMFCC _fccPixelFormat
) 

Parameters

_pMFFrame
source frame object
_ppFrameClone
result frame
_eCloneType
clone's type
_fccPixelFormat
pixel's format
See Also

Reference

MFFactoryClass Class
MFFactoryClass Members