Contents Index Topic Contents | ||
Previous Topic: IShellView::GetCurrentInfo Next Topic: IShellView::Refresh |
IShellView::GetItemObject
HRESULT GetItemObject( UINT uItem, REFIID riid, LPVOID *ppv );Retrieves an interface that refers to data presented in the view.
- Returns NOERROR if successful, or an OLE-defined error value otherwise.
- uItem
- Constants that refer to an aspect of the view. This parameter can be any of the following values:
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 COM interface being requested.
- ppv
- Address that receives the interface pointer. If an error occurs, the pointer returned must be NULL.
Used by the common dialogs to get the selected items from the view.
See also IShellView
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.