IShellImageStore::Commit method (shlobj.h)

Writes the contents specified by pdwLoc to storage.

Syntax

HRESULT Commit(
  [in] DWORD const *pdwLock
);

Parameters

[in] pdwLock

Type: const DWORD*

A pointer to a variable of type DWORD that specifies the address that receives the lock.

Return value

Type: HRESULT

Returns S_OK if successful, or an error value, including the following:

Return code Description
S_OK
Content was saved successfully.
S_FALSE
Saving was unsuccessful. The storage is not open or is open without write access.

Remarks

Note  IShellImageStore is supported through Windows XP. It is not supported in later operating systems.
 

Requirements

Requirement Value
Minimum supported client Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Target Platform Windows
Header shlobj.h
DLL Shell32.dll (version 5.0 or later)