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.

97 lines
1.7 KiB

  1. //
  2. // Precompiled header stuff
  3. //
  4. #define OEMRESOURCE
  5. #define STRICT 1
  6. #include <windows.h>
  7. //
  8. // CRT headers
  9. //
  10. #include <ctype.h>
  11. #include <mbctype.h>
  12. #include <string.h>
  13. #include <math.h>
  14. #include <memory.h>
  15. #include <commdlg.h>
  16. #include <shellapi.h> // Includes drag drop interface
  17. #include <imm.h>
  18. //
  19. // NM headers
  20. //
  21. #define MULTI_LEVEL_ZONES
  22. #include <mlzdbg.h>
  23. #include <confreg.h>
  24. #include <oprahcom.h>
  25. #include <indeopal.h>
  26. #include <help_ids.h>
  27. #include <endsesn.h>
  28. #include <nmhelp.h>
  29. // macro for setting "match to palette colors" bits in a COLORREF
  30. #define SET_PALETTERGB( c ) (0x02000000 | (0x00ffffff & c))
  31. //
  32. // AS headers
  33. //
  34. #include <acpi.h>
  35. #ifdef _DEBUG
  36. extern HDBGZONE ghZoneWb;
  37. // UPDATE g_rgZonesWb IF THESE CHANGE
  38. enum
  39. {
  40. ZONE_WB_DEBUG = BASE_ZONE_INDEX,
  41. ZONE_WB_MSG,
  42. ZONE_WB_TIMER,
  43. ZONE_WB_EVENT,
  44. ZONE_WB_MAX
  45. };
  46. #define TRACE_DEBUG( s ) MLZ_TraceZoneEnabled(ZONE_WB_DEBUG) ? (MLZ_TraceOut s) : 0
  47. #define TRACE_MSG( s ) MLZ_TraceZoneEnabled(ZONE_WB_MSG) ? (MLZ_TraceOut s) : 0
  48. #define TRACE_TIMER( s ) MLZ_TraceZoneEnabled(ZONE_WB_TIMER) ? (MLZ_TraceOut s) : 0
  49. #define TRACE_EVENT( s ) MLZ_TraceZoneEnabled(ZONE_WB_EVENT) ? (MLZ_TraceOut s) : 0
  50. #else
  51. #define MLZ_EntryOut(zone, func)
  52. #define TRACE_DEBUG( a )
  53. #define TRACE_MSG( a )
  54. #define TRACE_TIMER( a )
  55. #define TRACE_EVENT( a )
  56. #endif
  57. #include "resource.h"
  58. #include <oblist.h>
  59. #include "wboblist.hpp"
  60. #include "ccl32.hpp"
  61. #include "page.hpp"
  62. #include "user.hpp"
  63. #include "cgrp.hpp"
  64. #include "wgrp.hpp"
  65. #include "agrp.hpp"
  66. #include "psdlg.hpp"
  67. #include "tool.hpp"
  68. #include "grobj.hpp"
  69. #include "twnd.hpp"
  70. #include "txted.hpp"
  71. #include "draw.hpp"
  72. #include "grptr.hpp"
  73. #include "mwnd.hpp"
  74. #include "globals.h"
  75.