IObjectWithSelection

IID_IObjectWithSelection {1C9CD5BB-98E9-4491-A60F-31AACC72B83C}

The IObjectWithSelection methods are (as ordered in the virtual function table after the IUnknown methods):

Offset Method
0x0C SetSelection
0x10 GetSelection

with prototypes:

HRESULT SetSelection (IShellItemArray *);
HRESULT GetSelection (REFIID, PVOID *);

Availability

The IObjectWithSelection interface is implemented by the ExplorerFrame.dll and SHELL32.DLL version 6.0 from Windows Vista.

Though new for Windows Vista, this interface is not documented by Microsoft in the January 2007 edition of the Software Development Kit (SDK) for Windows Vista.