Interface IMFSampleGrabberSinkCallback
Namespace: MediaFoundation
Assembly: MediaFoundation.dll
Syntax
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
[Guid("8C7B80BF-EE42-4B59-B1DF-55668E1BDCA8")]
public interface IMFSampleGrabberSinkCallback : IMFClockStateSink
Methods
OnClockPause(Int64)
Declaration
HResult OnClockPause(long hnsSystemTime)
Parameters
System.Int64
hnsSystemTime
|
Returns
HResult
|
OnClockRestart(Int64)
Declaration
HResult OnClockRestart(long hnsSystemTime)
Parameters
System.Int64
hnsSystemTime
|
Returns
HResult
|
OnClockSetRate(Int64, Single)
Declaration
HResult OnClockSetRate(long hnsSystemTime, float flRate)
Parameters
System.Int64
hnsSystemTime
|
System.Single
flRate
|
Returns
HResult
|
OnClockStart(Int64, Int64)
Declaration
HResult OnClockStart(long hnsSystemTime, long llClockStartOffset)
Parameters
System.Int64
hnsSystemTime
|
System.Int64
llClockStartOffset
|
Returns
HResult
|
OnClockStop(Int64)
Declaration
HResult OnClockStop(long hnsSystemTime)
Parameters
System.Int64
hnsSystemTime
|
Returns
HResult
|
OnProcessSample(Guid, Int32, Int64, Int64, IntPtr, Int32)
Declaration
HResult OnProcessSample(Guid guidMajorMediaType, int dwSampleFlags, long llSampleTime, long llSampleDuration, IntPtr pSampleBuffer, int dwSampleSize)
Parameters
System.Guid
guidMajorMediaType
|
System.Int32
dwSampleFlags
|
System.Int64
llSampleTime
|
System.Int64
llSampleDuration
|
System.IntPtr
pSampleBuffer
|
System.Int32
dwSampleSize
|
Returns
HResult
|
OnSetPresentationClock(IMFPresentationClock)
Declaration
HResult OnSetPresentationClock(IMFPresentationClock pPresentationClock)
Parameters
IMFPresentationClock
pPresentationClock
|
Returns
HResult
|