IScope

IID_IScope {DD8B42D6-8162-44B0-8C27-14713318A0C6}

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

Offset Method
0x0C AddScopeTreeItem
0x10 RemoveScopeTreeItem
0x14 Flatten
0x18 ExpandScopeFromSearchRoots
0x1C IsItemIncluded
0x20 Clone
0x24 GetKnownScopeID

with prototypes:

HRESULT AddScopeTreeItem (IScopeItem *, IScopeItem **, INT *);
HRESULT RemoveScopeTreeItem (IScopeItem *, IScopeItem **, INT *);
HRESULT Flatten (INT, REFIID, PVOID *);
HRESULT ExpandScopeFromSearchRoots (REFIID, PVOID *);
HRESULT IsItemIncluded (IShellItem *, BOOL *);
HRESULT Clone (REFIID, PVOID *);
HRESULT GetKnownScopeID (GUID *);

in which IScopeItem is an undocumented interface.

Availability

The IScope interface is implemented in SHELL32.DLL in the version 6.00 from Windows Vista, and higher.

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.