Επεξεργασία

Κοινή χρήση μέσω


IShellImageStore::IsEntryInStore method (shlobj.h)

Checks to see if the image is in the store.

Syntax

HRESULT IsEntryInStore(
  [in]  PCWSTR   pszName,
  [out] FILETIME *pftTimeStamp
);

Parameters

[in] pszName

Type: PCWSTR

A pointer to a null-terminated string that specifies the path to the file that contains the image.

[out] pftTimeStamp

Type: FILETIME*

A pointer to a FILETIME structure that specifies the time stamp for the image.

Return value

Type: HRESULT

Returns one of the following values.

Return code Description
S_OK
The entry is in the store.
S_FALSE
The entry is not in the store.
E_UNEXPECTED
The store is not open.

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)