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.

43 lines
1.2 KiB

  1. #ifndef _MAIN_H
  2. #define _MAIN_H
  3. #include <windows.h>
  4. #include <Windowsx.h>
  5. #include <commctrl.h>
  6. #include <wininet.h>
  7. #include <TCHAR.h>
  8. #include <shlwapi.h>
  9. #include <strsafe.h>
  10. #include <Shlobj.h>
  11. #include <shellapi.h>
  12. #include <aclapi.h>
  13. #include <commdlg.h>
  14. #include "resource.h"
  15. //#define DEBUG 1
  16. //#define _DEBUG 1
  17. void ViewCrashLog();
  18. BOOL LoadMruList();
  19. BOOL AddToMruList(HWND hwnd, TCHAR *NewEntry);
  20. BOOL SaveMruList();
  21. BOOL DisplayUserBucketData(HWND hwnd, int iItem);
  22. void CenterDialogInParent(HWND hwnd);
  23. typedef struct strMRULIST
  24. {
  25. TCHAR szMRU1[MAX_PATH];
  26. TCHAR szMRU2[MAX_PATH];
  27. TCHAR szMRU3[MAX_PATH];
  28. TCHAR szMRU4[MAX_PATH];
  29. } MRU_LIST, *PMRU_LIST;
  30. const TCHAR szHttpPrefix[] = "http://";
  31. // Needed for clipboard support
  32. const char rtfPrologue [] = "{\\rtf1\\ansi\\ansicpg1252\n{\\fonttbl{\\f1\\fnil Arial;}}\n\\plain\n";
  33. const char rtfRowHeader1[] = "\\trowd \\trgaph30\\trleft-30\\trrh247 ";
  34. const char rtfRowHeader2[] = "\\cellx";
  35. const char rtfRowHeader3[] = "\\pard \\intbl ";
  36. const char rtfRowPref [] = "\\ql ";
  37. const char rtfRowSuff [] = "\\cell";
  38. const char rtfRowFooter [] = "\\pard\\intbl\\row\n";
  39. const char rtfEpilogue [] = "}\n";
  40. const char szRTFClipFormat[] = "Rich Text Format";
  41. #endif