MFORMATSLib Namespace > MFFrameClass Class : MFGetProcessID Method |
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 )
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);