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.

135 lines
3.5 KiB

  1. /*++
  2. Copyright (c) 1990-1993 Microsoft Corporation
  3. Module Name:
  4. fdglob.h
  5. Abstract:
  6. Global data
  7. Author:
  8. Ted Miller (tedm) 7-Jan-1992
  9. Revisions:
  10. 11-Nov-93 (bobri) double space and commit support.
  11. --*/
  12. // from fddata.c
  13. extern HANDLE hModule;
  14. extern PBOOLEAN IsDiskRemovable;
  15. extern PCHAR RemovableDiskReservedDriveLetters;
  16. extern PDISKSTATE *Disks;
  17. extern ULONG BootDiskNumber;
  18. extern ULONG BootPartitionNumber;
  19. extern HANDLE hwndFrame,
  20. hwndList;
  21. extern HBITMAP hBitmapSmallDisk;
  22. extern HBITMAP hBitmapRemovableDisk;
  23. extern HDC hDC;
  24. extern HFONT hFontGraph,
  25. hFontGraphBold;
  26. extern HBRUSH Brushes[BRUSH_ARRAY_SIZE];
  27. extern HBRUSH hBrushFreeLogical,
  28. hBrushFreePrimary;
  29. extern HPEN hPenNull,
  30. hPenThinSolid;
  31. extern HCURSOR hcurWait,
  32. hcurNormal;
  33. extern int BrushHatches[BRUSH_ARRAY_SIZE];
  34. extern int BrushColors[BRUSH_ARRAY_SIZE];
  35. extern COLORREF AvailableColors[NUM_AVAILABLE_COLORS];
  36. extern int AvailableHatches[NUM_AVAILABLE_HATCHES];
  37. extern DWORD GraphWidth,
  38. GraphHeight;
  39. extern DWORD BarTopYOffset,
  40. BarBottomYOffset,
  41. BarHeight;
  42. extern DWORD dxDriveLetterStatusArea;
  43. extern DWORD dxBarTextMargin,
  44. dyBarTextLine;
  45. extern DWORD dxSmallDisk,
  46. dySmallDisk,
  47. xSmallDisk,
  48. ySmallDisk;
  49. extern DWORD dxRemovableDisk,
  50. dyRemovableDisk,
  51. xRemovableDisk,
  52. yRemovableDisk;
  53. extern DWORD BarLeftX,BarWidth;
  54. extern PDISKSTATE SingleSel;
  55. extern DWORD SingleSelIndex;
  56. extern TCHAR WinHelpFile[];
  57. extern TCHAR LanmanHelpFile[];
  58. extern PTCHAR HelpFile;
  59. extern unsigned DiskCount;
  60. extern TCHAR szFrame[];
  61. extern LPTSTR DiskN;
  62. extern PWSTR wszUnformatted,
  63. wszNewUnformatted,
  64. wszUnknown;
  65. extern BOOL RegistryChanged;
  66. extern BOOL RestartRequired;
  67. extern BOOL ConfigurationSearchIdleTrigger;
  68. extern BOOL IsLanmanNt;
  69. extern BOOL IsFullDoubleSpace;
  70. // from fdstleg.c
  71. extern HFONT hFontStatus,
  72. hFontLegend;
  73. extern DWORD dyLegend,
  74. wLegendItem;
  75. extern DWORD dyStatus,
  76. dyBorder;
  77. extern TCHAR *LegendLabels[LEGEND_STRING_COUNT];
  78. extern BOOL StatusBar,
  79. Legend;
  80. extern TCHAR StatusTextStat[STATUS_TEXT_SIZE];
  81. extern TCHAR StatusTextSize[STATUS_TEXT_SIZE];
  82. extern WCHAR StatusTextDrlt[3];
  83. extern WCHAR StatusTextType[STATUS_TEXT_SIZE];
  84. extern WCHAR StatusTextVoll[STATUS_TEXT_SIZE];
  85. // from fdlistbx.c
  86. extern DWORD LBCursorListBoxItem,
  87. LBCursorRegion;
  88. // from fdprof.c
  89. extern int ProfileWindowX,
  90. ProfileWindowY,
  91. ProfileWindowW,
  92. ProfileWindowH;
  93. extern BOOL ProfileIsMaximized,
  94. ProfileIsIconic;
  95. // from fddlgs.c
  96. extern DWORD SelectedColor[LEGEND_STRING_COUNT];
  97. extern DWORD SelectedHatch[LEGEND_STRING_COUNT];
  98. // from fdft.c
  99. extern PFT_OBJECT_SET FtObjects;
  100. // For CdRoms
  101. extern ULONG AllowCdRom;