mirror of https://github.com/tongzx/nt5src
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.
49 lines
1020 B
49 lines
1020 B
|
|
class CNDSGroupCollection;
|
|
|
|
|
|
class CNDSGroupCollection : INHERIT_TRACKING,
|
|
public CCoreADsObject,
|
|
public IADsMembers
|
|
{
|
|
public:
|
|
|
|
/* IUnknown methods */
|
|
STDMETHOD(QueryInterface)(THIS_ REFIID riid, LPVOID FAR* ppvObj) ;
|
|
|
|
DECLARE_STD_REFCOUNTING
|
|
|
|
DECLARE_IDispatch_METHODS
|
|
|
|
DECLARE_IADsMembers_METHODS
|
|
|
|
CNDSGroupCollection::CNDSGroupCollection();
|
|
|
|
CNDSGroupCollection::~CNDSGroupCollection();
|
|
|
|
static
|
|
HRESULT
|
|
CNDSGroupCollection::CreateGroupCollection(
|
|
BSTR bstrADsPath,
|
|
VARIANT varMembers,
|
|
CCredentials& Credentials,
|
|
REFIID riid,
|
|
void **ppvObj
|
|
);
|
|
|
|
static
|
|
HRESULT
|
|
CNDSGroupCollection::AllocateGroupCollectionObject(
|
|
CCredentials& Credentials,
|
|
CNDSGroupCollection ** ppGroup
|
|
);
|
|
|
|
|
|
protected:
|
|
|
|
CDispatchMgr FAR * _pDispMgr;
|
|
VARIANT _vMembers;
|
|
VARIANT _vFilter;
|
|
BSTR _ADsPath;
|
|
CCredentials _Credentials;
|
|
};
|