IShellFolderViewDual::get_FocusedItem method (shldisp.h)

Gets the FolderItem object that represents the item that has input focus.

Syntax

HRESULT get_FocusedItem(
  [out] FolderItem **ppid
);

Parameters

[out] ppid

Type: FolderItem**

The FolderItem object with input focus.

Return value

Type: HRESULT

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Requirements

Requirement Value
Minimum supported client Windows XP [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Target Platform Windows
Header shldisp.h

See also

IShellFolderViewDual

IShellFolderViewDual2

IShellFolderViewDual3