SHGetDesktopFolder
Other versions of this page are also available for the following:
8/28/2008
This function retrieves the IShellFolder interface for the desktop folder, which is the root of the shell's namespace.
Syntax
HRESULT SHGetDesktopFolder(
IShellFolder** ppshf
);
Parameters
- ppshf
Address that receives an IShellFolder interface pointer for the desktop folder. The calling application is responsible for eventually freeing the interface by calling its Release method.
Return Value
Returns NOERROR if successful, or an OLE-defined error result otherwise.
Requirements
Header | shlobj.h |
Library | ceshell.lib |
Windows Embedded CE | Windows CE .NET 4.2 and later |