windows-nt/Source/XPSP1/NT/ds/adsi/ldap/cenumusr.hxx

47 lines
905 B
C++
Raw Normal View History

2020-09-26 03:20:57 -05:00
class FAR CLDAPUserCollectionEnum : public CLDAPEnumVariant
{
public:
CLDAPUserCollectionEnum();
~CLDAPUserCollectionEnum();
static
HRESULT
CLDAPUserCollectionEnum::Create(
BSTR bstrUserName,
CLDAPUserCollectionEnum FAR* FAR* ppenumvariant,
VARIANT varMembers,
CCredentials& Credentials
);
private:
VARIANT _vMembers;
BSTR _bstrUserName;
DWORD _dwIndex;
DWORD _dwSUBound;
DWORD _dwSLBound;
CCredentials _Credentials;
HRESULT
CLDAPUserCollectionEnum::GetUserMemberObject(
IDispatch ** ppDispatch
);
HRESULT
CLDAPUserCollectionEnum::EnumUserMembers(
ULONG cElements,
VARIANT FAR* pvar,
ULONG FAR* pcElementFetched
);
STDMETHOD(Next)(
ULONG cElements,
VARIANT FAR* pvar,
ULONG FAR* pcElementFetched
);
};