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.
87 lines
1.7 KiB
87 lines
1.7 KiB
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;
|
|
};
|