OnFrameSafe Method (IMEventsFrame)
channel IDchannel ID
frame objectframe object (cast to IMFFrame interface to work with it)
Safe analog for OnFrame method. In this case memory usage is optimized.
Note: Release all the objects before exit OnFrame event body.Raises on each frame processed
Syntax
<DispIdAttribute(1)>
Sub OnFrameSafe( _
   ByVal bsChannelID As String, _
   ByVal pMFrame As Object _
) 
[DispId(1)]
void OnFrameSafe( 
   string bsChannelID,
   object pMFrame
)
procedure OnFrameSafe( 
    bsChannelID: String;
    pMFrame: TObject
); 
[DispId(1)]
void OnFrameSafe( 
   BSTR* bsChannelID,
   IUnknown* pMFrame
) 

Parameters

bsChannelID
channel IDchannel ID
pMFrame
frame objectframe object (cast to IMFFrame interface to work with it)
See Also

Reference

IMEventsFrame Interface
IMEventsFrame Members