|
|
|
|
|
|
|
|
|
Quick Info
Windows NT
| Yes
| Win95
| Yes
| Win32s
| No
| Import Library
| -
| Header File
| shlobj.h
| Unicode
| No
| Platform Notes
| None
|
|
|
IShellView::GetItemObject
[Now Supported on Windows NT]
Returns an interface that refers to data presented in the view.
HRESULT GetItemObject(
UINT uItem,
| // Specifies background object constants
| REFIIDriid,
| // Identifies the interface to return
| LPVOID *ppv
| // Address that receives the interface pointer
| );
|
|
Parameters
uItem
Specifies constants that refer to an aspect of the view. It can be any of the
following values.
Value
| Meaning
| SVGIO_BACKGROUND
| Refers to the background of the view. It is used with IID_IContextMenu to get
a context menu for the view background.
| SVGIO_SELECTION
| Refers to the currently selected items. IID_IDataObject uses this constant to
get a data object that represents the selected items.
| SVGIO_ALLVIEW
| Same as SVGIO_SELECTION but refers to all items in the view.
|
riid
Identifier of the interface to return.
ppv
Address that receives the interface pointer. If an error occurs, the pointer
returned must be NULL.
Return Values
Returns NOERROR if successful or an OLE-defined error value otherwise.
Remarks
Used by the common dialogs to get the selected items from the view.
See Also
IShellView
Related Links
Software for Delphi and C++ Builder developers
Software for Visual Studio .NET developers
Software for Visual Basic 6 developers
Delphi Tips&Tricks
MegaDetailed.NET
TMS Scripter Studio Pro components for Delphi/C++Builder
More Online Helps
Win32 Multimedia Programmer's Reference (mmedia.hlp)
OLE Programmer's Reference (ole.hlp)
Microsoft Windows Pen API Programmer's Reference (penapi.hlp)
Microsoft Windows Sockets 2 Reference (sock2.hlp)
Microsoft Windows Telephony API (TAPI) Programmer's Reference (tapi.hlp)
Unix Manual Pages
|