INSCTree interface

This interface allows manipulation of a tree control object that works over the shell namespace.

Members

The INSCTree interface inherits from the IUnknown interface. INSCTree also has these types of members:

  • Methods

Methods

The INSCTree interface has these methods.

Method Description
CreateTree

Creates the control.

Initialize

Loads data into the tree control.

Reserved1

Reserved for future use.

Reserved2

Reserved for future use.

Reserved3

Reserved for future use.

Reserved4

Reserved for future use.

Reserved5

Reserved for future use.

Reserved6

Reserved for future use.

Reserved7

Reserved for future use.

Reserved8

Reserved for future use.

SetNscMode

Sets the current mode, a value from the nscTreeMode enumeration.

 

Remarks

This interface is not declared in a public header. Applications must define it themselves. The following Interface Definition Language (IDL) fragment describes this interface, including its IID.

typedef enum tagnscTreeMode
{
    MODE_NORMAL           = 0x0000,
    MODE_CONTROL          = 0x0001,
    MODE_HISTORY          = 0x0002,
    MODE_FAVORITES        = 0x0004,
    MODE_CUSTOM           = 0x0008,
    MODE_FEEDS            = 0x0010
} nscTreeMode;

[
    uuid(43A8F463-4222-11d2-B641-006097DF5BD4),
    helpstring("Namespace tree control interface"),
    local,
]
interface INSCTree : IUnknown
{
    HRESULT CreateTree([in] HWND hwndParent, [in] DWORD dwStyles, [out] HWND *phwnd);
    HRESULT Initialize([in] PCIDLIST_ABSOLUTE pidlRoot, [in] DWORD grfFlags, [in] DWORD dwFlags);
    HRESULT SetNscMode([in] UINT nMode);
    HRESULT Reserved1([in] REFIID riid, [out, iid_is(riid)] void **ppv, [out] PITEMID_CHILD *ppidl);
    HRESULT Reserved2([out] UINT * pnMode);
    HRESULT Reserved3([out] PIDLIST_ABSOLUTE * ppidl, [in] int nItem);
    HRESULT Reserved4([in, out, size_is(cchName)] LPWSTR pszName, [in] DWORD cchName);
    BOOL    Reserved5();
    HRESULT Reserved6();
    HRESULT Reserved7([in] PCIDLIST_ABSOLUTE pidl, [in] BOOL fCreate, [in] BOOL fReinsert, [in] int nItem);
    HRESULT Reserved8([in] BOOL fShow);
};

Requirements

Minimum supported client

Windows XP with SP3

Minimum supported server

Windows Server 2003

Header

User-defined

DLL

Ienamespacecontrol.dll