Windows Media Format SDK banner art
PreviousNext

To Index Windows Media Files

  1. Create an IWMIndexer object by calling WMCreateIndexer.

  2. 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. 

  3. When the OnStatus call returns the WMT_CLOSED enumeration type, the indexing is finished.

  4. To stop indexing the file, you can call the Cancel method at any time before the indexing is completed.

See Also

PreviousNext


© 1999 Microsoft Corporation. All rights reserved.