MFFlagCheck Method (IMFFrame)
frame's flag to be checked
result value (0 means false, other values mean true)
Checks a frame's flag
Syntax
Sub MFFlagCheck( _
   ByVal _eFlagCheck As eMFrameFlags, _
   ByRef _pnRes As Integer _
) 
void MFFlagCheck( 
   eMFrameFlags _eFlagCheck,
   out int _pnRes
)
procedure MFFlagCheck( 
    _eFlagCheck: eMFrameFlags;
   Out  _pnRes: Integer
); 
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

IMFFrame Interface
IMFFrame Members