Interface IMFMediaSession
Namespace: MediaFoundation
Assembly: MediaFoundation.dll
Syntax
[Guid("90377834-21D0-4DEE-8214-BA2E3E6C1127")]
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
public interface IMFMediaSession : IMFMediaEventGenerator
Methods
BeginGetEvent(IMFAsyncCallback, Object)
Declaration
HResult BeginGetEvent(IMFAsyncCallback pCallback, object o)
Parameters
IMFAsyncCallback
pCallback
|
System.Object
o
|
Returns
HResult
|
ClearTopologies()
Close()
EndGetEvent(IMFAsyncResult, out IMFMediaEvent)
Declaration
HResult EndGetEvent(IMFAsyncResult pResult, out IMFMediaEvent ppEvent)
Parameters
IMFAsyncResult
pResult
|
IMFMediaEvent
ppEvent
|
Returns
HResult
|
GetClock(out IMFClock)
GetEvent(MFEventFlag, out IMFMediaEvent)
Declaration
HResult GetEvent(MFEventFlag dwFlags, out IMFMediaEvent ppEvent)
Parameters
MFEventFlag
dwFlags
|
IMFMediaEvent
ppEvent
|
Returns
HResult
|
GetFullTopology(MFSessionGetFullTopologyFlags, Int64, out IMFTopology)
Declaration
HResult GetFullTopology(MFSessionGetFullTopologyFlags dwGetFullTopologyFlags, long TopoId, out IMFTopology ppFullTopology)
Parameters
MFSessionGetFullTopologyFlags
dwGetFullTopologyFlags
|
System.Int64
TopoId
|
IMFTopology
ppFullTopology
|
Returns
HResult
|
GetSessionCapabilities(out MFSessionCapabilities)
Declaration
HResult GetSessionCapabilities(out MFSessionCapabilities pdwCaps)
Parameters
MFSessionCapabilities
pdwCaps
|
Returns
HResult
|
Pause()
QueueEvent(MediaEventType, Guid, HResult, ConstPropVariant)
Declaration
HResult QueueEvent(MediaEventType met, Guid guidExtendedType, HResult hrStatus, ConstPropVariant pvValue)
Parameters
MediaEventType
met
|
System.Guid
guidExtendedType
|
HResult
hrStatus
|
ConstPropVariant
pvValue
|
Returns
HResult
|
SetTopology(MFSessionSetTopologyFlags, IMFTopology)
Declaration
HResult SetTopology(MFSessionSetTopologyFlags dwSetTopologyFlags, IMFTopology pTopology)
Parameters
MFSessionSetTopologyFlags
dwSetTopologyFlags
|
IMFTopology
pTopology
|
Returns
HResult
|
Shutdown()
Start(Guid, ConstPropVariant)
Declaration
HResult Start(Guid pguidTimeFormat, ConstPropVariant pvarStartPosition)
Parameters
System.Guid
pguidTimeFormat
|
ConstPropVariant
pvarStartPosition
|
Returns
HResult
|