You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
58 lines
1.3 KiB
58 lines
1.3 KiB
class CLDAPGroupCollection;
|
|
|
|
class CLDAPGroupCollection : INHERIT_TRACKING,
|
|
public ISupportErrorInfo,
|
|
public IADsMembers
|
|
{
|
|
public:
|
|
|
|
/* IUnknown methods */
|
|
STDMETHOD(QueryInterface)(THIS_ REFIID riid, LPVOID FAR* ppvObj) ;
|
|
|
|
DECLARE_STD_REFCOUNTING
|
|
|
|
DECLARE_IDispatch_METHODS
|
|
|
|
DECLARE_ISupportErrorInfo_METHODS
|
|
|
|
DECLARE_IADsMembers_METHODS
|
|
|
|
CLDAPGroupCollection::CLDAPGroupCollection();
|
|
|
|
CLDAPGroupCollection::~CLDAPGroupCollection();
|
|
|
|
static
|
|
HRESULT
|
|
CLDAPGroupCollection::CreateGroupCollection(
|
|
BSTR Parent,
|
|
BSTR ADsPath,
|
|
BSTR GroupName,
|
|
VARIANT *pvMembers,
|
|
CCredentials& Credentials,
|
|
IADs *pIADs,
|
|
REFIID riid,
|
|
BOOL fRangeRetrieval,
|
|
void **ppvObj
|
|
);
|
|
|
|
static
|
|
HRESULT
|
|
CLDAPGroupCollection::AllocateGroupCollectionObject(
|
|
CCredentials& Credentials,
|
|
CLDAPGroupCollection ** ppGroup
|
|
);
|
|
|
|
protected:
|
|
|
|
BSTR _Parent;
|
|
BSTR _ADsPath;
|
|
BSTR _GroupName;
|
|
VARIANT _vMembers;
|
|
|
|
CDispatchMgr FAR * _pDispMgr;
|
|
VARIANT _vFilter;
|
|
|
|
CCredentials _Credentials;
|
|
IDirectoryObject FAR *_pIDirObj;
|
|
BOOL _fRangeRetrieval;
|
|
};
|