_SVGIO enumeration (shobjidl_core.h)

Used with the IFolderView::Items, IFolderView::ItemCount, and IShellView::GetItemObject methods to restrict or control the items in their collections.

Syntax

typedef enum _SVGIO {
  SVGIO_BACKGROUND = 0,
  SVGIO_SELECTION = 0x1,
  SVGIO_ALLVIEW = 0x2,
  SVGIO_CHECKED = 0x3,
  SVGIO_TYPE_MASK = 0xf,
  SVGIO_FLAG_VIEWORDER = 0x80000000
} ;

Constants

 
SVGIO_BACKGROUND
Value: 0
0x00000000. Refers to the background of the view. It is used with IID_IContextMenu to get a shortcut menu for the view background and with IID_IDispatch to get a dispatch interface that represents the ShellFolderView object for the view.
SVGIO_SELECTION
Value: 0x1
0x00000001. Refers to the currently selected items. Used with IID_IDataObject to retrieve a data object that represents the selected items.
SVGIO_ALLVIEW
Value: 0x2
0x00000002. Used in the same way as SVGIO_SELECTION but refers to all items in the view.
SVGIO_CHECKED
Value: 0x3
0x00000003. Used in the same way as SVGIO_SELECTION but refers to checked items in views where checked mode is supported. For more details on checked mode, see FOLDERFLAGS.
SVGIO_TYPE_MASK
Value: 0xf
0x0000000F. Masks all bits but those corresponding to the _SVGIO flags.
SVGIO_FLAG_VIEWORDER
Value: 0x80000000
0x80000000. Returns the items in the order they appear in the view. If this flag is not set, the selected item will be listed first.

Remarks

The SVGIO type used to refer to members of the _SVGIO enumeration is defined in Shobjidl.h as shown here.

typedef int SVGIO;

Requirements

Requirement Value
Minimum supported client Windows XP, Windows 7 [desktop apps only]
Minimum supported server Windows Server 2008 R2 [desktop apps only]
Header shobjidl_core.h (include Shobjidl.h)