UID | title | description | helpviewer_keywords | old-location | tech.root | ms.assetid | ms.date | ms.keywords | req.header | req.include-header | req.target-type | req.target-min-winverclnt | req.target-min-winversvr | req.kmdf-ver | req.umdf-ver | req.ddi-compliance | req.unicode-ansi | req.idl | req.max-support | req.namespace | req.assembly | req.type-library | req.lib | req.dll | req.irql | targetos | req.typenames | req.redist | ms.custom | f1_keywords | dev_langs | topic_type | api_type | api_location | api_name | ||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
NF:wmcontainer.IMFASFIndexer.GenerateIndexEntries |
IMFASFIndexer::GenerateIndexEntries (wmcontainer.h) |
Accepts an ASF packet for the file and creates index entries for them. |
|
mf\imfasfindexer_generateindexentries.htm |
mf |
febc5335-a8e8-4ae9-afb2-17f09b750477 |
12/05/2018 |
GenerateIndexEntries, GenerateIndexEntries method [Media Foundation], GenerateIndexEntries method [Media Foundation],IMFASFIndexer interface, IMFASFIndexer interface [Media Foundation],GenerateIndexEntries method, IMFASFIndexer.GenerateIndexEntries, IMFASFIndexer::GenerateIndexEntries, febc5335-a8e8-4ae9-afb2-17f09b750477, mf.imfasfindexer_generateindexentries, wmcontainer/IMFASFIndexer::GenerateIndexEntries |
wmcontainer.h |
Windows |
Windows Vista [desktop apps only] |
Windows Server 2008 [desktop apps only] |
Mfuuid.lib |
Windows |
19H1 |
|
|
|
|
|
|
Accepts an ASF packet for the file and creates index entries for them.
Pointer to the IMFSample interface of a media sample that contains the ASF packet.
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 argument passed in is NULL. |
|
The indexer is not initialized. |
The ASF indexer creates indexes for a file internally. You can get the completed index for all data packets sent to the indexer by committing the index with IMFASFIndexer::CommitIndex and then calling IMFASFIndexer::GetCompletedIndex to write the index entries into a media buffer. To determine the size of the index so you can allocate a buffer large enough to hold the index, call IMFASFIndexer::GetIndexWriteSpace.
When this method creates index entries, they are immediately available for use by IMFASFIndexer::GetSeekPositionForValue.
The media sample specified in pIASFPacketSample must hold a buffer that contains a single ASF packet. Get the sample from the ASF multiplexer by calling the IMFASFMultiplexer::GetNextPacket method.
You cannot use this method while reading an index, only when writing an index.