Leaked source code of windows server 2003
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.

38 lines
777 B

  1. // File: wab.h
  2. #ifndef _WAB_H_
  3. #define _WAB_H_
  4. #include "wabutil.h"
  5. #include <lst.h>
  6. #include "calv.h"
  7. class CWAB : public CWABUTIL, public CALV
  8. {
  9. protected:
  10. static CWAB * m_spThis;
  11. public:
  12. static CWAB * GetInstance() {return m_spThis;}
  13. public:
  14. CWAB();
  15. ~CWAB();
  16. HRESULT ShowNmEntires(HWND hwnd);
  17. // CALV methods
  18. VOID ShowItems(HWND hwnd);
  19. VOID CmdProperties(void);
  20. RAI * GetAddrInfo(void);
  21. private:
  22. HRESULT _GetLPSTRProps( lst<LPSTR>& rLst, ULONG* paPropTags, LPMAPIPROP pMapiProp, int nProps );
  23. };
  24. // Utility routines
  25. HRESULT CreateWabEntry(LPTSTR pszDisplay, LPTSTR pszFirst, LPTSTR pszLast,
  26. LPTSTR pcszEmail, LPTSTR pszLocation, LPTSTR pszPhoneNumber, LPTSTR pcszComments,
  27. LPTSTR pcszServer);
  28. #endif /* _WAB_H_ */