IShellView::GetItemObject method (shobjidl_core.h)
Gets an interface that refers to data presented in the view.
Syntax
HRESULT GetItemObject(
UINT uItem,
REFIID riid,
void **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
Requirement | Value |
---|---|
Minimum supported client | Windows XP [desktop apps only] |
Minimum supported server | Windows 2000 Server [desktop apps only] |
Target Platform | Windows |
Header | shobjidl_core.h (include Shobjidl.h) |
DLL | Shell32.dll (version 4.0 or later) |