Поделиться через


SHGetDesktopFolder (Windows Embedded CE 6.0)

1/6/2010

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

See Also

Reference

Standard Shell Functions
IShellFolder