MFAllGet Method (IMFFrame)
frame's properties
Gets all frame's properties
Syntax
Sub MFAllGet( _
   ByRef _pFrameInfo As MF_FRAME_INFO _
) 
void MFAllGet( 
   out MF_FRAME_INFO _pFrameInfo
)
procedure MFAllGet( 
   Out  _pFrameInfo: MF_FRAME_INFO
); 
void MFAllGet( 
   [PARAMFLAG::Out] MF_FRAME_INFO _pFrameInfo
) 

Parameters

_pFrameInfo
frame's properties
Example

Here is an example of how to get all the information from a frame:

                
m_objMFReader = new MFReaderClass();
m_objMFReader.ReaderOpen(sourceFileName, "");
m_avProps = new M_AV_PROPS(); // set video format for conversion
m_avProps.vidProps.eVideoFormat = eMVideoFormat.eMVF_HD1080_5994i;
MFFrame pFrame = null;
// Get next frame or frame by position
if (m_objMFReader != null)
    m_objMFReader.SourceFrameConvertedGetByTime(ref m_avProps, -1, -1, out pFrame, "");
MF_FRAME_INFO frameInfo;
pFrame.MFAllGet(out frameInfo);
See Also

Reference

IMFFrame Interface
IMFFrame Members