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.
46 lines
951 B
46 lines
951 B
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
|
|
);
|
|
};
|