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.

39 lines
1.1 KiB

  1. //
  2. // the lowest sort order number goes at the top left of the desktop
  3. //
  4. #include "views.h"
  5. // array indexes into g_asDesktopReqItems
  6. #define CDESKTOP_REGITEM_DRIVES 0
  7. #define CDESKTOP_REGITEM_NETWORK 1
  8. #define CDESKTOP_REGITEM_INTERNET 2
  9. EXTERN_C REQREGITEM g_asDesktopReqItems[];
  10. //
  11. // CAUTION: _CompareIDsOriginal() function in RegFldr.cpp has code that assumes that all
  12. // the "old" sort order values were <= 0x40. So, when it comes across a bOrder <= 0x40,
  13. // it calls _GetOrder() function to get the "new" bOrder value. The following values have
  14. // been bumped up to be above 0x40 sothat for all "new" values, we don't have to make that call.
  15. //
  16. #define SORT_ORDER_MYDOCS 0x48 // coded in shell\ext\mydocs2\selfreg.inf
  17. #define SORT_ORDER_DRIVES 0x50
  18. #define SORT_ORDER_NETWORK 0x58
  19. #define SORT_ORDER_RECYCLEBIN 0x60 // coded in shell32\selfreg.inx
  20. #define SORT_ORDER_INETROOT 0x68
  21. enum enumTSPerfFlag
  22. {
  23. TSPerFlag_NoADWallpaper = 0,
  24. TSPerFlag_NoWallpaper,
  25. TSPerFlag_NoVisualStyles,
  26. TSPerFlag_NoWindowDrag,
  27. TSPerFlag_NoAnimation,
  28. };
  29. BOOL IsTSPerfFlagEnabled(enumTSPerfFlag eTSFlag);