Compartilhar via


SHGetDesktopFolder (Compact 2013)

3/28/2014

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

See Also

Reference

Shell Functions