IShellView::GetItemObject method

Gets an interface that refers to data presented in the view.

Syntax


HRESULT GetItemObject(
  UINT uItem,
  REFIID riid,
  LPVOID *ppv
);

Parameters

uItem

Type: UINT

The constants that refer to an aspect of the view. This parameter can be any one of the _SVGIO constants.

riid

Type: REFIID

The identifier of the COM interface being requested.

ppv

Type: LPVOID*

The address that receives the interface pointer. If an error occurs, the pointer returned must be NULL.

Return value

Type: HRESULT

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

Remarks

Used by the common dialog boxes to retrieve the selected items from the view.

Requirements

Minimum supported client

Windows XP [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Shobjidl.h

IDL

Shobjidl.idl

DLL

Shell32.dll (version 4.0 or later)

See also

IShellView

 

 

Community Additions

ADD
Show:
© 2014 Microsoft