MFFlagCheck Method (MFFrameClass)
frame's flag to be checked
result value (0 means false, other values mean true)
Checks a frame's flag
Syntax
Public Overridable Sub MFFlagCheck( _
   ByVal _eFlagCheck As eMFrameFlags, _
   ByRef _pnRes As Integer _
) 
public virtual void MFFlagCheck( 
   eMFrameFlags _eFlagCheck,
   out int _pnRes
)
public procedure MFFlagCheck( 
    _eFlagCheck: eMFrameFlags;
   Out  _pnRes: Integer
); virtual; 
public: virtual void MFFlagCheck( 
   eMFrameFlags _eFlagCheck,
   [PARAMFLAG::Out] int _pnRes
) 

Parameters

_eFlagCheck
frame's flag to be checked
_pnRes
result value (0 means false, other values mean true)
Example

Here is an example of how to check flag for a frame:

MFFrame pFrame = null;
try
{
    m_objLive.SourceFrameConvertedGet(ref m_avProps, -1, out pFrame, "");
}
catch
{}
int flagCheck;
pFrame.MFFlagCheck(eMFrameFlags.eMFF_Break, out flagCheck);
See Also

Reference

MFFrameClass Class
MFFrameClass Members