windows-nt/Source/XPSP1/NT/ds/adsi/novellnw/cgroup.hxx
2020-09-26 16:20:57 +08:00

88 lines
1.7 KiB
C++

class CNWCOMPATGroup;
class CNWCOMPATGroup : INHERIT_TRACKING,
public CCoreADsObject,
public ISupportErrorInfo,
public IADsGroup,
public IADsPropertyList
{
friend class CNWCOMPATGroupGenInfo;
public:
/* IUnknown methods */
STDMETHOD(QueryInterface)(THIS_ REFIID riid, LPVOID FAR* ppvObj) ;
DECLARE_STD_REFCOUNTING
DECLARE_IDispatch_METHODS
NW_DECLARE_ISupportErrorInfo_METHODS
DECLARE_IADs_METHODS
DECLARE_IADsGroup_METHODS
DECLARE_IADsPropertyList_METHODS
CNWCOMPATGroup::CNWCOMPATGroup();
CNWCOMPATGroup::~CNWCOMPATGroup();
static
HRESULT
CNWCOMPATGroup::CreateGroup(
BSTR Parent,
ULONG ParentType,
BSTR ServerName,
BSTR GroupName,
CCredentials &Credentials,
DWORD dwObjectState,
REFIID riid,
void **ppvObj
);
static
HRESULT
CNWCOMPATGroup::AllocateGroupObject(
CNWCOMPATGroup ** ppGroup
);
STDMETHODIMP
CNWCOMPATGroup::SetInfo(
THIS_ DWORD dwPropertyID
);
STDMETHOD(GetInfo)(
THIS_ BOOL fExplicit,
DWORD dwProperty
) ;
protected:
HRESULT
CNWCOMPATGroup::SetDescription(
NWCONN_HANDLE hConn
);
HRESULT
CNWCOMPATGroup::GetProperty_Description(
NWCONN_HANDLE hConn,
BOOL fExplicit
);
ULONG _ParentType;
BSTR _ServerName;
CNWCOMPATGroupGenInfo *_pGenInfo;
CDispatchMgr FAR *_pDispMgr;
CPropertyCache * _pPropertyCache;
CCredentials _Credentials;
NWCONN_HANDLE _hConn;
};