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.

40 lines
1.5 KiB

  1. #ifndef __0a7afb3c_5d75_4349_b74d_e75b8204abf7__
  2. #define __0a7afb3c_5d75_4349_b74d_e75b8204abf7__
  3. #include <windows.h>
  4. #ifndef WM_APPCOMMAND
  5. #define FAPPCOMMAND_MASK 0xF000
  6. #define GET_APPCOMMAND_LPARAM(lParam) ((short)(HIWORD(lParam) & ~FAPPCOMMAND_MASK))
  7. #define WM_APPCOMMAND 0x0319
  8. #define APPCOMMAND_BROWSER_BACKWARD 1
  9. #define APPCOMMAND_BROWSER_FORWARD 2
  10. #define APPCOMMAND_BROWSER_REFRESH 3
  11. #define APPCOMMAND_BROWSER_STOP 4
  12. #define APPCOMMAND_BROWSER_SEARCH 5
  13. #define APPCOMMAND_BROWSER_FAVORITES 6
  14. #define APPCOMMAND_BROWSER_HOME 7
  15. #define APPCOMMAND_VOLUME_MUTE 8
  16. #define APPCOMMAND_VOLUME_DOWN 9
  17. #define APPCOMMAND_VOLUME_UP 10
  18. #define APPCOMMAND_MEDIA_NEXTTRACK 11
  19. #define APPCOMMAND_MEDIA_PREVIOUSTRACK 12
  20. #define APPCOMMAND_MEDIA_STOP 13
  21. #define APPCOMMAND_MEDIA_PLAY_PAUSE 14
  22. #define APPCOMMAND_LAUNCH_MAIL 15
  23. #define APPCOMMAND_LAUNCH_MEDIA_SELECT 16
  24. #define APPCOMMAND_LAUNCH_APP1 17
  25. #define APPCOMMAND_LAUNCH_APP2 18
  26. #define APPCOMMAND_BASS_DOWN 19
  27. #define APPCOMMAND_BASS_BOOST 20
  28. #define APPCOMMAND_BASS_UP 21
  29. #define APPCOMMAND_TREBLE_DOWN 22
  30. #define APPCOMMAND_TREBLE_UP 23
  31. #endif
  32. namespace ScreenSaverUtil
  33. {
  34. HPALETTE SelectPalette( HDC hDC, HPALETTE hPalette, BOOL bForceBackground );
  35. } // Namespace
  36. #endif //__SSUTIL_H_INCLUDED