Share via


ITocParser::Commit Method

The Commit method stores the current state of the TOC Parser object in its associated media file.

Syntax

HRESULT Commit();

Parameters

This method has no parameters.

Return Value

The method returns an HRESULT. Possible values include, but are not limited to, those in the following table.

Return code Description
S_OK

The method succeeded.

 

Remarks

You can associate a TOC Parser object with a media file by calling ITocParser::Init. As you add, modify, or remove tables of contents from the TOC Parser object, those chages are made only to the TOC Parser object in memory, not to the media file. To store your changes in the media file, you must call ITocParser::Commit.

Requirements

Minimum supported client

Windows Vista

Minimum supported server

Windows Server 2008

Header

Wmcodecdsp.h

DLL

Wmvdspa.dll

See Also

ITocParser

 

 

Send comments about this topic to Microsoft

Build date: 4/7/2010