MFORMATSDSLib Namespace > IMFFrame Interface : MFGetProcessID Method |
Sub MFGetProcessID( _ ByRef _pdwProcessID As UInteger _ )
void MFGetProcessID( out uint _pdwProcessID )
procedure MFGetProcessID( Out _pdwProcessID: LongWord );
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);