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.

92 lines
2.6 KiB

  1. #if _MSC_VER > 1000
  2. #pragma once
  3. #endif
  4. #ifndef __IMNGLOBL_H
  5. #define __IMNGLOBL_H
  6. ////////////////////////////////////////////////////////////////////////////
  7. //
  8. // F O R W A R D S
  9. //
  10. #ifdef __cplusplus
  11. class CFontCache;
  12. #endif
  13. interface ISpoolerEngine;
  14. interface IImnAccountManager;
  15. class CSubManager;
  16. interface IMimeAllocator;
  17. class CConnectionManager;
  18. ////////////////////////////////////////////////////////////////////////////
  19. //
  20. // E N U M S , D E F I N E S and such
  21. //
  22. /* Identifiers for the section selected for search criteria Combo Box. The
  23. number of different selections is defined by NumInOfTypeCB which is the
  24. number of items in the combo box labelled "Of Type:". The apparently random
  25. location of this enum is due to merging the tabs code with findwnd.cpp. Note
  26. that this enum is critical; the ordering here is used throughout the
  27. properties set up - see findwnd.cpp. */
  28. typedef enum {Contact = 0, Message, Task, Appointment, NumInOfTypeCB} OFTYPE;
  29. ////////////////////////////////////////////////////////////////////////////
  30. //
  31. // M A C R O S
  32. //
  33. //#define DllAddRef() _DllAddRef(__FILE__, __LINE__);
  34. //#define DllRelease() _DllRelease(__FILE__, __LINE__);
  35. ////////////////////////////////////////////////////////////////////////////
  36. //
  37. // I N L I N E S
  38. //
  39. ////////////////////////////////////////////////////////////////////////////
  40. //
  41. // P R O T O T Y P E S
  42. //
  43. //int _DllAddRef(LPTSTR szFile, int nLine);
  44. //int _DllRelease(LPTSTR szFile, int nLine);
  45. // AddRef and Release for SDI windows. They use DllAddRef depeding on
  46. // platform as explorer causes ExitProcess in some instances
  47. //ULONG SDIAddRef();
  48. //ULONG SDIRelease();
  49. ////////////////////////////////////////////////////////////////////////////
  50. //
  51. // E X T E R N S
  52. //
  53. #ifndef WIN16
  54. extern HINSTANCE g_hRichEditDll; // athena.cpp
  55. #endif
  56. extern BOOL g_fRunDll;
  57. extern HWND g_hwndInit;
  58. extern HWND g_hwndDlgFocus;
  59. extern UINT g_msgMSWheel;
  60. extern HINSTANCE g_hSicilyDll;
  61. extern HINSTANCE g_hInst;
  62. extern HINSTANCE g_hLocRes;
  63. extern IMimeAllocator *g_pMoleAlloc;
  64. extern IImnAccountManager2 *g_pAcctMan;
  65. // bobn: brianv says we have to take this out...
  66. //extern DWORD g_dwBrowserFlags;
  67. extern DWORD g_dwNoteThreadID,
  68. g_dwBrowserThreadID;
  69. extern DWORD g_dwAthenaMode;
  70. ////////////////////////////////////////////////////////////////////////////
  71. //
  72. // Flags for g_dwAthenaMode
  73. //
  74. #endif // include once