IShellFolderIShellFolder*
*Contents  *Index  *Topic Contents
*Previous Topic: IShellExtInit::Initialize
*Next Topic: IShellFolder::BindToObject

IShellFolder


The IShellFolder interface is used to manage folders.

When to Implement

Implement this interface for objects that extend the shell's namespace. For example, implement this interface to create a separate namespace that requires a rooted Windows Explorer or to install a new namespace directly within the hierarchy of the system namespace. You are most familiar with the contents of your namespace, so you are responsible for implementing everything needed to access your data.

When to Use

Use this interface when you need to display or perform an operation on the contents of the shell's namespace. Objects that support IShellFolder are usually created by other shell folder objects, with the root object (the Desktop shell folder) being returned from the SHGetDesktopFolder function.
IShellFolder Methods Description
BindToObject Retrieves the IShellFolder interface for the specified subfolder.
BindToStorage Returns the storage instance of a subfolder. Not currently implemented.
CompareIDs Determines the relative order of two file objects or folders, given their item identifier lists.
CreateViewObject Creates a view object of the folder itself.
EnumObjects Enumerates the objects in a folder.
GetAttributesOf Retrieves the attributes of the specified file object or subfolder.
GetDisplayNameOf Retrieves the display name of a file object or subfolder.
GetUIObjectOf Creates an OLE interface that can be used to carry out operations on a file object or subfolder.
ParseDisplayName Translates a display name into an item identifier list.
SetNameOf Sets the display name of the specified file object or subfolder and changes its identifier accordingly.


Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.