IMFASFIndexer::SetIndexByteStreams method (wmcontainer.h)
Adds byte streams to be indexed.
Syntax
HRESULT SetIndexByteStreams(
[in] IMFByteStream **ppIByteStreams,
[in] DWORD cByteStreams
);
Parameters
[in] ppIByteStreams
An array of IMFByteStream interface pointers. To get the byte stream, call MFCreateASFIndexerByteStream.
[in] cByteStreams
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 code | Description |
---|---|
|
The method succeeded. |
|
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
Requirement | Value |
---|---|
Minimum supported client | Windows Vista [desktop apps only] |
Minimum supported server | Windows Server 2008 [desktop apps only] |
Target Platform | Windows |
Header | wmcontainer.h |
Library | Mfuuid.lib |