Click to Rate and Give Feedback
MSDN
MSDN Library
User Interface
Windows Shell
Shell Reference
Shell Interfaces
IShellItem

  Switch on low bandwidth view
IShellItem Interface

Exposes methods that retrieve information about a Shell item.

IShellItem Members

BindToHandler Binds to a handler for an item as specified by the handler ID value (BHID).
Compare Compares two IShellItem objects.
GetAttributes Gets a requested set of attributes of the IShellItem object.
GetDisplayName Gets the display name of the IShellItem object.
GetParent Gets the parent of an IShellItem object.

Interface Information

Minimum DLL Versionshell32.dll version 6.0 or later
Custom ImplementationNo
Inherits fromIUnknown
Headershobjidl.h
Minimum operating systems Windows XP Service Pack 1 (SP1)
Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
the system provides the implementation of IShellItem via CLSID_ShellItem      Chris_Guzak   |   Edit   |   Show History
applications or shell data sources do not create objects that impement IShellitem; instead the system provides this.

this object can be created using SHCreateItemFromIDList() and SHCreateItemFromParsingName() or CoCreate of CLSID_ShellItem.
Tags What's this?: Add a tag
Flag as ContentBug
CLSID_ShellItem implements marshal by value      Chris_Guzak   |   Edit   |   Show History

A shell item represents an absolute IDList in the bound state; that is it holds the data source instance object and child IDlist as members to perform its work.

Shellitem also implements marshal by value to enable the efficient use of these objects as interchange currency between COM apartments.
Tags What's this?: Add a tag
Flag as ContentBug
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker