windows-nt/Source/XPSP1/NT/ds/adsi/nds/ctree.hxx

81 lines
1.4 KiB
C++
Raw Normal View History

2020-09-26 03:20:57 -05:00
class CNDSTree;
class CNDSTree : INHERIT_TRACKING,
public CCoreADsObject,
public ISupportErrorInfo,
public IADs,
public IADsContainer
{
public:
/* IUnknown methods */
STDMETHOD(QueryInterface)(THIS_ REFIID riid, LPVOID FAR* ppvObj) ;
DECLARE_STD_REFCOUNTING
DECLARE_IDispatch_METHODS
DECLARE_ISupportErrorInfo_METHODS
DECLARE_IADs_METHODS
DECLARE_IADsContainer_METHODS
CNDSTree::CNDSTree();
CNDSTree::~CNDSTree();
static
HRESULT
CNDSTree::CreateTreeObject(
BSTR bstrADsPath,
CCredentials& Credentials,
DWORD dwObjectState,
REFIID riid,
void **ppvObj
);
static
HRESULT
CNDSTree::CreateTreeObject(
BSTR Parent,
BSTR CommonName,
BSTR ClassName,
CCredentials& Credentials,
DWORD dwObjectState,
REFIID riid,
void **ppvObj
);
static
HRESULT
CNDSTree::AllocateTree(
CCredentials& Credentials,
CNDSTree ** ppTree
);
STDMETHOD(GetInfo)(
BOOL fExplicit
);
HRESULT
CNDSTree::NDSSetObject();
HRESULT
CNDSTree::NDSCreateObject();
protected:
VARIANT _vFilter;
CPropertyCache FAR * _pPropertyCache;
CDispatchMgr FAR * _pDispMgr;
CCredentials _Credentials;
};