Export (0) Print
Expand All

IMFASFIndexer::SetIndexByteStreams method

Adds byte streams to be indexed.

Syntax


HRESULT SetIndexByteStreams(
  [in]  IMFByteStream **ppIByteStreams,
  [in]  DWORD cByteStreams
);

Parameters

ppIByteStreams [in]

An array of IMFByteStream interface pointers. To get the byte stream, call MFCreateASFIndexerByteStream.

cByteStreams [in]

The number of pointers in the ppIByteStreams array.

Return value

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

Return codeDescription
S_OK

The method succeeded.

MF_E_ALREADY_INITIALIZED

The indexer object has already been initialized and it has packets which have been indexed.

 

Remarks

For a reading scenario, only one byte stream should be used by the indexer object. For an index generating scenario, it depends how many index objects are needed to be generated.

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Header

Wmcontainer.h

Library

Mfuuid.lib

See also

IMFASFIndexer
ASF Index Object

 

 

Community Additions

ADD
Show:
© 2014 Microsoft