IShellFolder2 interface

Extends the capabilities of IShellFolder. Its methods provide a variety of information about the contents of a Shell folder.

Methods

The IShellFolder2 interface has these methods.

Method Description
IShellFolder2::EnumSearches Requests a pointer to an interface that allows a client to enumerate the available search objects.
IShellFolder2::GetDefaultColumn Gets the default sorting and display columns.
IShellFolder2::GetDefaultColumnState Gets the default state for a specified column.
IShellFolder2::GetDefaultSearchGUID Returns the globally unique identifier (GUID) of the default search object for the folder.
IShellFolder2::GetDetailsEx Gets detailed information, identified by a property set identifier (FMTID) and a property identifier (PID), on an item in a Shell folder.
IShellFolder2::GetDetailsOf Gets detailed information, identified by a column index, on an item in a Shell folder.
IShellFolder2::MapColumnToSCID Converts a column to the appropriate property set ID (FMTID) and property ID (PID).

Remarks

This interface also provides the methods of the IShellFolder interface, from which it inherits.

When to Implement

Implement IShellFolder2 if your namespace extension provides services to clients beyond those in IShellFolder.

When to Use

Call IShellFolder2 when you need detailed information on items contained by a Shell folder. This interface supersedes IShellDetails.

Requirements

   
Minimum supported client Windows 2000 Professional, Windows XP [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Target Platform Windows
Header shobjidl_core.h (include Shobjidl.h)