IShellImageStore::Commit method

Writes the contents specified by pdwLoc to storage.

Syntax


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

Parameters

pdwLoc [in]

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 codeDescription
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

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Shlobj.h

DLL

Shell32.dll (version 5.0 or later)

 

 

Community Additions

ADD
Show:
© 2014 Microsoft