IShellFolderViewDual::get_FocusedItem method

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

Syntax


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

Parameters

ppid [out]

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

Minimum supported client

Windows XP [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

Shldisp.h

IDL

Shldisp.idl

See also

IShellFolderViewDual
IShellFolderViewDual2
IShellFolderViewDual3

 

 

Show: