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.
62 lines
1.1 KiB
62 lines
1.1 KiB
class FAR CNWCOMPATGroupCollectionEnum : public CNWCOMPATEnumVariant
|
|
{
|
|
public:
|
|
CNWCOMPATGroupCollectionEnum();
|
|
~CNWCOMPATGroupCollectionEnum();
|
|
|
|
static
|
|
HRESULT
|
|
CNWCOMPATGroupCollectionEnum::Create(
|
|
CNWCOMPATGroupCollectionEnum FAR* FAR* ppenumvariant,
|
|
BSTR Parent,
|
|
ULONG ParentType,
|
|
BSTR ADsPath,
|
|
BSTR ServerName,
|
|
BSTR GroupName,
|
|
CCredentials &Credentials,
|
|
VARIANT var
|
|
);
|
|
|
|
private:
|
|
BSTR _Parent;
|
|
BSTR _ADsPath;
|
|
BSTR _ServerName;
|
|
BSTR _GroupName;
|
|
BSTR _lpServerName;
|
|
HANDLE _hGroup;
|
|
ULONG _ParentType;
|
|
CCredentials _Credentials;
|
|
|
|
ObjectTypeList FAR *_pObjList;
|
|
|
|
HRESULT
|
|
CNWCOMPATGroupCollectionEnum::GetUserMemberObject(
|
|
IDispatch ** ppDispatch
|
|
);
|
|
|
|
HRESULT
|
|
CNWCOMPATGroupCollectionEnum::EnumGroupMembers(
|
|
ULONG cElements,
|
|
VARIANT FAR* pvar,
|
|
ULONG FAR* pcElementFetched
|
|
);
|
|
|
|
STDMETHOD(Next)(ULONG cElements,
|
|
VARIANT FAR* pvar,
|
|
ULONG FAR* pcElementFetched);
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|