Interface IMFStreamSink
Namespace: MediaFoundation
Assembly: MediaFoundation.dll
Syntax
[Guid("0A97B3CF-8E7C-4A3D-8F8C-0C843DC247FB")]
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
public interface IMFStreamSink : IMFMediaEventGenerator
Methods
BeginGetEvent(IMFAsyncCallback, Object)
Declaration
HResult BeginGetEvent(IMFAsyncCallback pCallback, object o)
Parameters
IMFAsyncCallback
pCallback
|
System.Object
o
|
Returns
HResult
|
EndGetEvent(IMFAsyncResult, out IMFMediaEvent)
Declaration
HResult EndGetEvent(IMFAsyncResult pResult, out IMFMediaEvent ppEvent)
Parameters
IMFAsyncResult
pResult
|
IMFMediaEvent
ppEvent
|
Returns
HResult
|
Flush()
GetEvent(MFEventFlag, out IMFMediaEvent)
Declaration
HResult GetEvent(MFEventFlag dwFlags, out IMFMediaEvent ppEvent)
Parameters
MFEventFlag
dwFlags
|
IMFMediaEvent
ppEvent
|
Returns
HResult
|
GetIdentifier(out Int32)
Declaration
HResult GetIdentifier(out int pdwIdentifier)
Parameters
System.Int32
pdwIdentifier
|
Returns
HResult
|
GetMediaSink(out IMFMediaSink)
Declaration
HResult GetMediaSink(out IMFMediaSink ppMediaSink)
Parameters
IMFMediaSink
ppMediaSink
|
Returns
HResult
|
GetMediaTypeHandler(out IMFMediaTypeHandler)
Declaration
HResult GetMediaTypeHandler(out IMFMediaTypeHandler ppHandler)
Parameters
IMFMediaTypeHandler
ppHandler
|
Returns
HResult
|
PlaceMarker(MFStreamSinkMarkerType, ConstPropVariant, ConstPropVariant)
Declaration
HResult PlaceMarker(MFStreamSinkMarkerType eMarkerType, ConstPropVariant pvarMarkerValue, ConstPropVariant pvarContextValue)
Parameters
MFStreamSinkMarkerType
eMarkerType
|
ConstPropVariant
pvarMarkerValue
|
ConstPropVariant
pvarContextValue
|
Returns
HResult
|
ProcessSample(IMFSample)
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
|