74 lines
1.4 KiB
C++
74 lines
1.4 KiB
C++
|
|
||
|
class CNDSOrganization;
|
||
|
|
||
|
|
||
|
class CNDSOrganization : INHERIT_TRACKING,
|
||
|
public IADsO,
|
||
|
public IADsContainer,
|
||
|
public IDirectoryObject,
|
||
|
public IDirectorySearch,
|
||
|
public IDirectorySchemaMgmt,
|
||
|
public IADsPropertyList
|
||
|
|
||
|
{
|
||
|
public:
|
||
|
|
||
|
/* IUnknown methods */
|
||
|
STDMETHOD(QueryInterface)(THIS_ REFIID riid, LPVOID FAR* ppvObj) ;
|
||
|
|
||
|
DECLARE_STD_REFCOUNTING
|
||
|
|
||
|
DECLARE_IDispatch_METHODS
|
||
|
|
||
|
DECLARE_IADs_METHODS
|
||
|
|
||
|
DECLARE_IDirectoryObject_METHODS
|
||
|
|
||
|
DECLARE_IDirectorySearch_METHODS
|
||
|
|
||
|
DECLARE_IDirectorySchemaMgmt_METHODS
|
||
|
|
||
|
DECLARE_IADsO_METHODS
|
||
|
|
||
|
DECLARE_IADsContainer_METHODS
|
||
|
|
||
|
DECLARE_IADsPropertyList_METHODS
|
||
|
|
||
|
|
||
|
CNDSOrganization::CNDSOrganization();
|
||
|
|
||
|
CNDSOrganization::~CNDSOrganization();
|
||
|
|
||
|
static
|
||
|
HRESULT
|
||
|
CNDSOrganization::CreateOrganization(
|
||
|
IADs *pADs,
|
||
|
REFIID riid,
|
||
|
void **ppvObj
|
||
|
);
|
||
|
|
||
|
static
|
||
|
HRESULT
|
||
|
CNDSOrganization::AllocateOrganizationObject(
|
||
|
IADs * pADs,
|
||
|
CNDSOrganization ** ppOrganization
|
||
|
);
|
||
|
|
||
|
protected:
|
||
|
|
||
|
IADs FAR * _pADs;
|
||
|
|
||
|
IDirectoryObject FAR * _pDSObject;
|
||
|
|
||
|
IDirectorySearch FAR * _pDSSearch;
|
||
|
|
||
|
IDirectorySchemaMgmt FAR * _pDSAttrMgmt;
|
||
|
|
||
|
IADsContainer FAR * _pADsContainer;
|
||
|
|
||
|
IADsPropertyList FAR * _pADsPropList;
|
||
|
|
||
|
CDispatchMgr FAR * _pDispMgr;
|
||
|
};
|
||
|
|