Export (0) Print
Expand All
Expand Minimize

MFCreateASFIndexerByteStream function

Creates a byte stream to access the index in an ASF stream.

Syntax


HRESULT MFCreateASFIndexerByteStream(
  _In_   IMFByteStream *pIContentByteStream,
  _In_   QWORD cbIndexStartOffset,
  _Out_  IMFByteStream **pIIndexByteStream
);

Parameters

pIContentByteStream [in]

Pointer to the IMFByteStream interface of a byte stream that contains the ASF stream.

cbIndexStartOffset [in]

Byte offset of the index within the ASF stream. To get this value, call IMFASFIndexer::GetIndexPosition.

pIIndexByteStream [out]

Receives a pointer to the IMFByteStream interface. Use this interface to read from the index or write to the index. The caller must release the interface.

Return value

The function returns an HRESULT. Possible values include, but are not limited to, those in the following table:

Return codeDescription
S_OK

The call succeeded.

MF_E_UNEXPECTED

The offset specified in cbIndexStartOffset is invalid.

 

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Header

Wmcontainer.h

Library

Mf.lib

DLL

Mf.dll

See also

IMFASFIndexer
Media Foundation Functions
ASF Index Object

 

 

Community Additions

ADD
Show:
© 2014 Microsoft