MFGetProcessID Method (MFFrameClass)
process ID
Gets frame's process ID
Syntax
Public Overridable Sub MFGetProcessID( _
   ByRef _pdwProcessID As UInteger _
) 
public virtual void MFGetProcessID( 
   out uint _pdwProcessID
)
public procedure MFGetProcessID( 
   Out  _pdwProcessID: LongWord
); virtual; 
public: virtual 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

MFFrameClass Class
MFFrameClass Members