To Index Windows Media Files
- Create an IWMIndexer object by calling WMCreateIndexer.
- Call StartIndexing, specifying the name of the file to be indexed as well as a user-specified callback for indicating the indexing progress and notifying you when the indexing has been completed.
- When the OnStatus call returns the WMT_CLOSED enumeration type, the indexing is finished.
- To stop indexing the file, you can call the Cancel method at any time before the indexing is completed.
See Also
© 1999 Microsoft Corporation. All rights reserved.