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.

32 lines
976 B

  1. #include "stdafx.h"
  2. #include "afxcview.h"
  3. #include "wab.h"
  4. class CWAB
  5. {
  6. public:
  7. CWAB();
  8. ~CWAB();
  9. BOOL CreatePhoneListFileFromWAB(LPTSTR szFileName);
  10. BOOL CreateEmailListFileFromWAB(LPTSTR szFileName);
  11. BOOL CreateBirthdayFileFromWAB(LPTSTR szFileName);
  12. BOOL CreateDetailsFileFromWAB(CListCtrl * pListView, LPTSTR szFileName);
  13. HRESULT LoadWABContents(CListCtrl * pListView);
  14. void ClearWABLVContents(CListCtrl * pListView);
  15. void SetDetailsOn(BOOL bOn);
  16. void ShowSelectedItemDetails(HWND hWndParent, CListCtrl * pListView);
  17. BOOL GetSelectedItemBirthday(CListCtrl * pListView, SYSTEMTIME * lpst);
  18. void SetSelectedItemBirthday(CListCtrl * pListView, SYSTEMTIME st);
  19. private:
  20. BOOL m_bInitialized;
  21. HINSTANCE m_hinstWAB;
  22. LPWABOPEN m_lpfnWABOpen;
  23. LPADRBOOK m_lpAdrBook;
  24. LPWABOBJECT m_lpWABObject;
  25. BOOL m_bDetailsOn;
  26. void FreeProws(LPSRowSet prows);
  27. };