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.

41 lines
1.2 KiB

  1. // EnumExch.h: Definition of the CEnumExch class
  2. //
  3. //////////////////////////////////////////////////////////////////////
  4. #if !defined(AFX_ENUMEXCH_H__3EA6884B_3C71_4E6B_90C2_154BD2BB553F__INCLUDED_)
  5. #define AFX_ENUMEXCH_H__3EA6884B_3C71_4E6B_90C2_154BD2BB553F__INCLUDED_
  6. #if _MSC_VER > 1000
  7. #pragma once
  8. #endif // _MSC_VER > 1000
  9. #include "resource.h" // main symbols
  10. #include "ExLdap.h"
  11. /////////////////////////////////////////////////////////////////////////////
  12. // CEnumExch
  13. class CEnumExch :
  14. public IEnumExch,
  15. public CComObjectRoot,
  16. public CComCoClass<CEnumExch,&CLSID_EnumExch>
  17. {
  18. public:
  19. CEnumExch() {}
  20. BEGIN_COM_MAP(CEnumExch)
  21. COM_INTERFACE_ENTRY(IEnumExch)
  22. END_COM_MAP()
  23. //DECLARE_NOT_AGGREGATABLE(CEnumExch)
  24. // Remove the comment from the line above if you don't want your object to
  25. // support aggregation.
  26. DECLARE_REGISTRY_RESOURCEID(IDR_EnumExch)
  27. // IEnumExch
  28. public:
  29. STDMETHOD(DoQuery)(BSTR query, ULONG scope,BSTR basepoint,/*[in,out]*/ IUnknown ** pVarSet);
  30. STDMETHOD(OpenServer)(BSTR exchangeServer,BSTR credentials,BSTR password);
  31. private:
  32. CLdapEnum m_e;
  33. };
  34. #endif // !defined(AFX_ENUMEXCH_H__3EA6884B_3C71_4E6B_90C2_154BD2BB553F__INCLUDED_)