Standard Shell Functions

Other versions of this page are also available for the following:

Windows Mobile Not SupportedWindows Embedded CE Supported

8/28/2008

The following table shows the standard shell functions, with a description of the purpose of each.

Programming element Description

BrowseCallbackProc

This function specifies an application-defined callback function used with the SHBrowseForFolder function.

CPlApplet

This function is a library-defined callback function that serves as the entry point for a Control Panel application.

SHAddToRecentDocs

This function adds a document to the shell's list of recently used documents or clears all documents from the list.

SHBindToParent

This function takes the fully qualified pointer to an item identifier list (PIDL) of a namespace object and returns a specified interface pointer on the parent object.

SHBrowseForFolder

This function displays a dialog box that allows a user to select a folder.

SHCreateShortcut

This function creates a shortcut.

SHCreateShortcutEx

This function automatically creates a uniquely named shortcut in a specified directory.

Shell_NotifyIcon

This function sends a message to the system to add, modify, or delete an icon from the taskbar status area.

ShellExecuteEx

This function performs an action on a file. The file can be an executable file or a document.

SHFileOperation

This function can be used to copy, move, rename, or delete a file system object.

SHGetDesktopFolder

Retrieves the IShellFolder interface for the desktop folder, which is the root of the shell's namespace.

SHGetDocumentsFolder

This function retrieves the path to the documents directory for the volume specified in the pszVolume parameter.

SHGetFileInfo

This function retrieves information about an object in the file system, such as a file, a folder, a directory, or a drive root.

SHGetMalloc

This function retrieves a pointer to the shell's IMalloc interface.

SHGetPathFromIDList

This function converts an item identifier list to a file system path.

SHGetShortcutTarget

This function retrieves the shortcut's target path.

SHGetSpecialFolderLocation

This function retrieves the location of a special folder, such as My Handheld PC, Recycle Bin, Desktop, Printers, Fonts, or various file system directories.

SHGetSpecialFolderPath

This function retrieves the path of a special folder, identified by its CSIDL.

SHLoadDIBitmap

This function loads a bitmap from the specified file.

SHShowOutOfMemory

This function displays a system-defined dialog box notifying the user that memory is full.

StrRetToBuf

This function takes a STRRET structure returned by IShellFolder::GetDisplayNameOf, converts it to a string, and places the result in a buffer.

See Also

Reference

Standard Shell Reference