To Edit Windows Media Header Files
- Create an IWMMetadataEditor object.
- Call Open with the appropriate file name.
- Use QueryInterface to access the IWMHeaderInfo object. Then use that to get and set attributes as needed, using the GetAttributeCount, GetAttributeByIndex, GetAttributeByName, and SetAttribute methods.
- Call Flush to ensure changes to the header are written as output. Otherwise, call Close to close the file without writing any changes as output.
See Also
© 1999 Microsoft Corporation. All rights reserved.