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.

60 lines
2.0 KiB

  1. /***************************************************************************
  2. *
  3. * TSPERF.H
  4. *
  5. * Defines performance flags sent up from the client that are used to control
  6. * which server features (typically shell) are disabled to enhance performance
  7. * for slow links
  8. *
  9. * Copyright Microsoft Corporation, 2000
  10. *
  11. ****************************************************************************/
  12. #ifndef _INC_TSPERFH
  13. #define _INC_TSPERFH
  14. #ifdef __cplusplus
  15. extern "C" {
  16. #endif
  17. //
  18. // Protocol independent codes must fit in a DWORD for the termsrv
  19. // RPC interface
  20. //
  21. //
  22. // !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
  23. // NOTE (only applies to RDP): If you make a change here update mstsax.idl's
  24. // enum values to reflect these.
  25. // !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
  26. //
  27. //
  28. // Define the disable feature codes
  29. //
  30. #define TS_PERF_DISABLE_NOTHING 0x00000000
  31. #define TS_PERF_DISABLE_WALLPAPER 0x00000001
  32. #define TS_PERF_DISABLE_FULLWINDOWDRAG 0x00000002
  33. #define TS_PERF_DISABLE_MENUANIMATIONS 0x00000004
  34. #define TS_PERF_DISABLE_THEMING 0x00000008
  35. #define TS_PERF_ENABLE_ENHANCED_GRAPHICS 0x00000010
  36. #define TS_PERF_DISABLE_CURSOR_SHADOW 0x00000020
  37. #define TS_PERF_DISABLE_CURSORSETTINGS 0x00000040
  38. //
  39. // This bit is set internally for non-experience-aware clients (win2k, ica, etc).
  40. // Hence, is reserved
  41. //
  42. #define TS_PERF_DEFAULT_NONPERFCLIENT_SETTING 0x40000000
  43. //
  44. // The high order bit is reserved (the client uses it internally)
  45. //
  46. #define TS_PERF_RESERVED1 0x80000000
  47. #define TS_GDIPLUS_NOTIFYMSG_STR TEXT("TS_GDIPLUS_NOTIFYMSG")
  48. #ifdef __cplusplus
  49. }
  50. #endif
  51. #endif /* !_INC_TSPERFH */