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.

71 lines
1.7 KiB

  1. //
  2. // init.h: Declares data, defines and struct types for DLL entry point
  3. // module.
  4. //
  5. //
  6. #ifndef __INIT_H__
  7. #define __INIT_H__
  8. ///////////////////////////////////////////////////// INCLUDES
  9. ///////////////////////////////////////////////////// DEFINES
  10. ///////////////////////////////////////////////////// MACROS
  11. #define CX_IMG 16
  12. #define CY_IMG 16
  13. // Indexes into our image list
  14. //
  15. #define IMAGE_FOLDER 0 // folder
  16. #define IMAGE_OFOLDER 1 // open folder
  17. #define MyGetTwinResult() (g_tr)
  18. #define MySetTwinResult(tr) (g_tr = (tr))
  19. ///////////////////////////////////////////////////// TYPEDEFS
  20. ///////////////////////////////////////////////////// EXPORTED DATA
  21. extern HINSTANCE g_hinst;
  22. extern TWINRESULT g_tr;
  23. extern HANDLE g_hMutexDelay;
  24. extern int g_cxIconSpacing;
  25. extern int g_cyIconSpacing;
  26. extern int g_cxBorder;
  27. extern int g_cyBorder;
  28. extern int g_cxIcon;
  29. extern int g_cyIcon;
  30. extern int g_cxIconMargin;
  31. extern int g_cyIconMargin;
  32. extern int g_cxLabelMargin;
  33. extern int g_cyLabelSpace;
  34. extern int g_cxMargin;
  35. extern COLORREF g_clrHighlightText;
  36. extern COLORREF g_clrHighlight;
  37. extern COLORREF g_clrWindowText;
  38. extern COLORREF g_clrWindow;
  39. extern HBRUSH g_hbrHighlight;
  40. extern HBRUSH g_hbrWindow;
  41. extern TCHAR g_szDBName[];
  42. extern TCHAR g_szDBNameShort[];
  43. extern int g_cProcesses;
  44. extern UINT g_cfBriefObj;
  45. extern UINT g_uBreakFlags; // Controls when to int 3
  46. extern UINT g_uTraceFlags; // Controls what trace messages are spewed
  47. extern UINT g_uDumpFlags; // Controls what structs get dumped
  48. ///////////////////////////////////////////////////// PUBLIC PROTOTYPES
  49. #endif // __INIT_H__