windows-nt/Source/XPSP1/NT/ds/adsi/winnt/cgroups.hxx

62 lines
1.2 KiB
C++
Raw Normal View History

2020-09-26 03:20:57 -05:00
class CWinNTGroupCollection;
class CWinNTGroupCollection : INHERIT_TRACKING,
public CCoreADsObject,
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
CWinNTGroupCollection::CWinNTGroupCollection();
CWinNTGroupCollection::~CWinNTGroupCollection();
static
HRESULT
CWinNTGroupCollection::CreateGroupCollection(
BSTR Parent,
ULONG ParentType,
BSTR DomainName,
BSTR ServerName,
BSTR GroupName,
ULONG GroupType,
REFIID riid,
CWinNTCredentials& Credentials,
void **ppvObj
);
static
HRESULT
CWinNTGroupCollection::AllocateGroupCollectionObject(
CWinNTGroupCollection ** ppGroup
);
protected:
CWinNTCredentials _Credentials;
ULONG _ParentType;
BSTR _DomainName;
BSTR _ServerName;
BSTR _lpServerName;
ULONG _GroupType;
CAggregatorDispMgr FAR * _pDispMgr;
VARIANT _vFilter;
};