다음을 통해 공유


IShellView::GetItemObject (Windows CE 5.0)

Send Feedback

This method retrieves an interface that refers to data presented in the view.

Syntax

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

Parameters

  • uItem
    Constants that refer to an aspect of the view. The following table shows the possible values from the SVGIO enumeration that this parameter can be.
    Value Description
    SVGIO_BACKGROUND Refers to the background of the view.
    SVGIO_SELECTION Refers to the currently selected items.
    SVGIO_ALLVIEW Same as SVGIO_SELECTION but refers to all items in the view.
    SVGIO_CHECKED Used in the same way as SVGIO_SELECTION but refers to checked items in views where checked mode is supported.
    SVGIO_TYPE_MASK Masks all bits except those that correspond to the SVGIO flags.
    SVGIO_FLAG_VIEWORDER Return the items in the order that they appear in the view. If this flag is not set, the selected item will be listed first.
  • riid
    Identifier of the Component Object Model (COM) interface being requested.
  • 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

This method is used by the common dialog boxes to retrieve the selected items from the view.

Requirements

OS Versions: Windows CE 5.0 and later.
Header: Shobjidl.h, Shobjidl.idl.
Link Library: Implementation dependent.

See Also

IShellView | Standard Shell Interfaces

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.