54 lines
1.2 KiB
C++
54 lines
1.2 KiB
C++
|
class CNWCOMPATUserCollection;
|
||
|
|
||
|
class CNWCOMPATUserCollection : 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
|
||
|
|
||
|
NW_DECLARE_ISupportErrorInfo_METHODS
|
||
|
|
||
|
DECLARE_IADsMembers_METHODS
|
||
|
|
||
|
CNWCOMPATUserCollection::CNWCOMPATUserCollection();
|
||
|
|
||
|
CNWCOMPATUserCollection::~CNWCOMPATUserCollection();
|
||
|
|
||
|
static
|
||
|
HRESULT
|
||
|
CNWCOMPATUserCollection::CreateUserCollection(
|
||
|
BSTR Parent,
|
||
|
ULONG ParentType,
|
||
|
BSTR ServerName,
|
||
|
BSTR UserName,
|
||
|
CCredentials &Credentials,
|
||
|
REFIID riid,
|
||
|
void **ppvObj
|
||
|
);
|
||
|
|
||
|
static
|
||
|
HRESULT
|
||
|
CNWCOMPATUserCollection::AllocateUserCollectionObject(
|
||
|
CNWCOMPATUserCollection ** ppUser
|
||
|
);
|
||
|
|
||
|
protected:
|
||
|
|
||
|
ULONG _ParentType;
|
||
|
BSTR _ServerName;
|
||
|
BSTR _lpServerName;
|
||
|
CCredentials _Credentials;
|
||
|
|
||
|
|
||
|
CDispatchMgr FAR * _pDispMgr;
|
||
|
VARIANT _vFilter;
|
||
|
};
|