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.

36 lines
1.3 KiB

  1. #pragma once
  2. // fixcode separate and rename
  3. // engine messages
  4. const UINT AUMSG_INIT = WM_APP;
  5. const UINT AUMSG_DETECT = WM_APP+1;
  6. const UINT AUMSG_DOWNLOAD = WM_APP + 2;
  7. const UINT AUMSG_DOWNLOAD_COMPLETE = WM_APP + 3;
  8. const UINT AUMSG_PRE_INSTALL = WM_APP + 4;
  9. const UINT AUMSG_POST_INSTALL = WM_APP + 5;
  10. const UINT AUMSG_VALIDATE_CATALOG = WM_APP + 17;
  11. const UINT AUMSG_EULA_ACCEPTED = WM_APP + 23;
  12. const UINT AUMSG_LOG_EVENT = WM_APP + 24;
  13. // client messages
  14. const UINT AUMSG_INSTALL_COMPLETE = WM_APP + 6;
  15. const UINT AUMSG_REBOOT_REQUIRED = WM_APP + 7;
  16. const UINT AUMSG_SHOW_WELCOME = WM_APP + 8;
  17. const UINT AUMSG_SHOW_DOWNLOAD = WM_APP + 9;
  18. const UINT AUMSG_SHOW_INSTALL = WM_APP + 10;
  19. const UINT AUMSG_TRAYCALLBACK = WM_APP + 11;
  20. const UINT AUMSG_INSTALL_PROGRESS = WM_APP + 12;
  21. const UINT AUMSG_SELECTION_CHANGED = WM_APP + 13;
  22. const UINT AUMSG_SET_INSTALL_ITEMSNUM = WM_APP+14;
  23. const UINT AUMSG_SHOW_RTF = WM_APP + 15;
  24. const UINT AUMSG_SHOW_INSTALLWARNING = WM_APP + 18;
  25. const UINT AUMSG_ENG_END = AUMSG_LOG_EVENT;
  26. const UINT AUMSG_ENG_START = AUMSG_INIT;
  27. inline BOOL IsValidAUMsg(UINT uMsg)
  28. {
  29. return uMsg >= AUMSG_ENG_START && uMsg <= AUMSG_ENG_END;
  30. }