IShellImageStore::Commit method (shlobj.h)
Writes the contents specified by pdwLoc to storage.
HRESULT Commit( [in] DWORD const *pdwLock );
Type: const DWORD*
A pointer to a variable of type DWORD that specifies the address that receives the lock.
Returns S_OK if successful, or an error value, including the following:
||Content was saved successfully.|
||Saving was unsuccessful. The storage is not open or is open without write access.|
|Minimum supported client||Windows 2000 Professional [desktop apps only]|
|Minimum supported server||Windows 2000 Server [desktop apps only]|
|DLL||Shell32.dll (version 5.0 or later)|