Interface IMFMediaSource
Namespace: MediaFoundation
Assembly: MediaFoundation.dll
Syntax
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
[Guid("279A808D-AEC7-40C8-9C6B-A6B492C78A66")]
public interface IMFMediaSource : IMFMediaEventGenerator
Methods
BeginGetEvent(IMFAsyncCallback, Object)
Declaration
HResult BeginGetEvent(IMFAsyncCallback pCallback, object o)
Parameters
IMFAsyncCallback
pCallback
|
System.Object
o
|
Returns
HResult
|
CreatePresentationDescriptor(out IMFPresentationDescriptor)
Declaration
HResult CreatePresentationDescriptor(out IMFPresentationDescriptor ppPresentationDescriptor)
Parameters
IMFPresentationDescriptor
ppPresentationDescriptor
|
Returns
HResult
|
EndGetEvent(IMFAsyncResult, out IMFMediaEvent)
Declaration
HResult EndGetEvent(IMFAsyncResult pResult, out IMFMediaEvent ppEvent)
Parameters
IMFAsyncResult
pResult
|
IMFMediaEvent
ppEvent
|
Returns
HResult
|
GetCharacteristics(out MFMediaSourceCharacteristics)
Declaration
HResult GetCharacteristics(out MFMediaSourceCharacteristics pdwCharacteristics)
Parameters
MFMediaSourceCharacteristics
pdwCharacteristics
|
Returns
HResult
|
GetEvent(MFEventFlag, out IMFMediaEvent)
Declaration
HResult GetEvent(MFEventFlag dwFlags, out IMFMediaEvent ppEvent)
Parameters
MFEventFlag
dwFlags
|
IMFMediaEvent
ppEvent
|
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
|
Shutdown()
Start(IMFPresentationDescriptor, Guid, ConstPropVariant)
Declaration
HResult Start(IMFPresentationDescriptor pPresentationDescriptor, Guid pguidTimeFormat, ConstPropVariant pvarStartPosition)
Parameters
IMFPresentationDescriptor
pPresentationDescriptor
|
System.Guid
pguidTimeFormat
|
ConstPropVariant
pvarStartPosition
|
Returns
HResult
|