Source code of Windows XP (NT5)
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.
 
 
 
 
 
 

60 lines
1.0 KiB

class FAR CNWCOMPATUserCollectionEnum : public CNWCOMPATEnumVariant
{
public:
CNWCOMPATUserCollectionEnum();
~CNWCOMPATUserCollectionEnum();
static
HRESULT
CNWCOMPATUserCollectionEnum::Create(
CNWCOMPATUserCollectionEnum FAR* FAR* ppenumvariant,
BSTR Parent,
ULONG ParentType,
BSTR ADsPath,
BSTR ServerName,
BSTR GroupName,
VARIANT var
);
private:
BSTR _Parent;
BSTR _ADsPath;
BSTR _ServerName;
BSTR _UserName;
BSTR _lpServerName;
HANDLE _hUser;
ULONG _ParentType;
ObjectTypeList FAR *_pObjList;
HRESULT
CNWCOMPATUserCollectionEnum::GetUserMemberObject(
IDispatch ** ppDispatch
);
HRESULT
CNWCOMPATUserCollectionEnum::EnumGroupMembers(
ULONG cElements,
VARIANT FAR* pvar,
ULONG FAR* pcElementFetched
);
STDMETHOD(Next)(ULONG cElements,
VARIANT FAR* pvar,
ULONG FAR* pcElementFetched);
};