IShellLibrary::Commit method (shobjidl_core.h)
Commits library updates to an existing Library Description file.
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
IShellLibrary::Commit can only be called to save library updates to an existing file. A call to IShellLibrary::Commit for a library that does not have a backing file will fail.
If the library is saved in the Libraries known folder (FOLDERID_Libraries), the folders in the library are automatically added to the search index.
|Minimum supported client||Windows 7 [desktop apps only]|
|Minimum supported server||Windows Server 2008 R2 [desktop apps only]|
|Header||shobjidl_core.h (include Shobjidl.h)|