_SVGIO enumeration

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      = 0x00000000,
  SVGIO_SELECTION       = 0x00000001,
  SVGIO_ALLVIEW         = 0x00000002,
  SVGIO_CHECKED         = 0x00000003,
  SVGIO_TYPE_MASK       = 0x0000000F,
  SVGIO_FLAG_VIEWORDER  = 0x80000000
} _SVGIO;

Constants

SVGIO_BACKGROUND

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

0x00000001. Refers to the currently selected items. Used with IID_IDataObject to retrieve a data object that represents the selected items.

SVGIO_ALLVIEW

0x00000002. Used in the same way as SVGIO_SELECTION but refers to all items in the view.

SVGIO_CHECKED

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

0x0000000F. Masks all bits but those corresponding to the _SVGIO flags.

SVGIO_FLAG_VIEWORDER

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

Minimum supported client

Windows XP, Windows 7 [desktop apps only]

Minimum supported server

Windows Server 2008 R2 [desktop apps only]

Header

Shobjidl.h

IDL

Shobjidl.idl

 

 

Show: