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 code | Description |
|---|---|
|
The call succeeded. |
|
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 |
|
|
Library |
|
|
DLL |
|
See also