SHGetDesktopFolder (Windows CE 5.0)

Windows CE 5.0
Send Feedback

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 Values

Returns NOERROR if successful, or an OLE-defined error result otherwise.

Requirements

OS Versions: Windows CE .NET 4.2 and later.
Header: Shlobj.h.
Link Library: Ceshell.lib.

See Also

Standard Shell Functions | IShellFolder


Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.


Show: