IShellImageStore::Close method (shlobj.h)

Closes the image cache.

Syntax

HRESULT Close(
  [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 during the call to the IShellImageStore::Open method.

Return value

Type: HRESULT

Returns S_FALSE if the store is not open or if the store cannot be saved. Returns the result of IShellImageStore::Commit otherwise.

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)