Interface IMFASFIndexer
Namespace: MediaFoundation
Assembly: MediaFoundation.dll
Syntax
[Guid("53590F48-DC3B-4297-813F-787761AD7B3E")]
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
public interface IMFASFIndexer
Methods
CommitIndex(IMFASFContentInfo)
Declaration
HResult CommitIndex(IMFASFContentInfo pIContentInfo)
Parameters
IMFASFContentInfo
pIContentInfo
|
Returns
HResult
|
GenerateIndexEntries(IMFSample)
Declaration
HResult GenerateIndexEntries(IMFSample pIASFPacketSample)
Parameters
IMFSample
pIASFPacketSample
|
Returns
HResult
|
GetCompletedIndex(IMFMediaBuffer, Int64)
Declaration
HResult GetCompletedIndex(IMFMediaBuffer pIIndexBuffer, long cbOffsetWithinIndex)
Parameters
IMFMediaBuffer
pIIndexBuffer
|
System.Int64
cbOffsetWithinIndex
|
Returns
HResult
|
GetFlags(out MFAsfIndexerFlags)
Declaration
HResult GetFlags(out MFAsfIndexerFlags pdwFlags)
Parameters
MFAsfIndexerFlags
pdwFlags
|
Returns
HResult
|
GetIndexByteStreamCount(out Int32)
Declaration
HResult GetIndexByteStreamCount(out int pcByteStreams)
Parameters
System.Int32
pcByteStreams
|
Returns
HResult
|
GetIndexPosition(IMFASFContentInfo, out Int64)
Declaration
HResult GetIndexPosition(IMFASFContentInfo pIContentInfo, out long pcbIndexOffset)
Parameters
IMFASFContentInfo
pIContentInfo
|
System.Int64
pcbIndexOffset
|
Returns
HResult
|
GetIndexStatus(ASFIndexIdentifier, out Boolean, IntPtr, ref Int32)
Declaration
HResult GetIndexStatus(ASFIndexIdentifier pIndexIdentifier, out bool pfIsIndexed, IntPtr pbIndexDescriptor, ref int pcbIndexDescriptor)
Parameters
ASFIndexIdentifier
pIndexIdentifier
|
System.Boolean
pfIsIndexed
|
System.IntPtr
pbIndexDescriptor
|
System.Int32
pcbIndexDescriptor
|
Returns
HResult
|
GetIndexWriteSpace(out Int64)
Declaration
HResult GetIndexWriteSpace(out long pcbIndexWriteSpace)
Parameters
System.Int64
pcbIndexWriteSpace
|
Returns
HResult
|
GetSeekPositionForValue(ConstPropVariant, ASFIndexIdentifier, out Int64, IntPtr, out Int32)
Declaration
HResult GetSeekPositionForValue(ConstPropVariant pvarValue, ASFIndexIdentifier pIndexIdentifier, out long pcbOffsetWithinData, IntPtr phnsApproxTime, out int pdwPayloadNumberOfStreamWithinPacket)
Parameters
ConstPropVariant
pvarValue
|
ASFIndexIdentifier
pIndexIdentifier
|
System.Int64
pcbOffsetWithinData
|
System.IntPtr
phnsApproxTime
|
System.Int32
pdwPayloadNumberOfStreamWithinPacket
|
Returns
HResult
|
Initialize(IMFASFContentInfo)
Declaration
HResult Initialize(IMFASFContentInfo pIContentInfo)
Parameters
IMFASFContentInfo
pIContentInfo
|
Returns
HResult
|
SetFlags(MFAsfIndexerFlags)
Declaration
HResult SetFlags(MFAsfIndexerFlags dwFlags)
Parameters
MFAsfIndexerFlags
dwFlags
|
Returns
HResult
|
SetIndexByteStreams(IMFByteStream[], Int32)
Declaration
HResult SetIndexByteStreams(IMFByteStream[] ppIByteStreams, int cByteStreams)
Parameters
IMFByteStream[]
ppIByteStreams
|
System.Int32
cByteStreams
|
Returns
HResult
|
SetIndexStatus(IntPtr, Int32, Boolean)
Declaration
HResult SetIndexStatus(IntPtr pbIndexDescriptor, int cbIndexDescriptor, bool fGenerateIndex)
Parameters
System.IntPtr
pbIndexDescriptor
|
System.Int32
cbIndexDescriptor
|
System.Boolean
fGenerateIndex
|
Returns
HResult
|