MFGetProcessID Method (IMFFrame)
process ID
Gets frame's process ID
Syntax
Sub MFGetProcessID( _
   ByRef _pdwProcessID As UInteger _
) 
void MFGetProcessID( 
   out uint _pdwProcessID
)
procedure MFGetProcessID( 
   Out  _pdwProcessID: LongWord
); 
void MFGetProcessID( 
   [PARAMFLAG::Out] uint _pdwProcessID
) 

Parameters

_pdwProcessID
process ID
Example

Here is an example of how to get process ID that is used for decoding the frame:

MFFrame pFrame = null;
try
{
    m_objLive.SourceFrameConvertedGet(ref m_avProps, -1, out pFrame, "");
}
catch
{
}
uint processID;
pFrame.MFGetProcessID(out processID);
See Also

Reference

IMFFrame Interface
IMFFrame Members