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.

81 lines
2.6 KiB

  1. // {
  2. //*** UEME_* -- events
  3. // DESCRIPTION
  4. // UEME_UI*
  5. // UEME_RUN*
  6. // UEME_DONE*
  7. // UEME_ERROR*
  8. // UEME_DB*
  9. // NOTES
  10. // since rulc.exe must process this, it can *only* contain #defines.
  11. // UI (menu, shortcut, etc.)
  12. #define UEME_UIMENU 1 // did a UI menu, wP=grp lParam=IDM_*
  13. #define UEME_UIHOTKEY 2 // did a UI hotkey, lParam=GHID_*
  14. #define UEME_UISCUT 3 // did a UI shortcut, lParam=???
  15. #define UEME_UIQCUT 4 // did a UI qlink/isfband, lParam=???
  16. #define UEME_UITOOLBAR 5 // did a UI toolbar button, wP=lParam=???
  17. #if 0 // 980825 uncomment in uemevt.h, uemedat.h if build breaks (tmp hack)
  18. #define UEME_UIASSOC 6 // did a semi-UI association, wP=-1 lP=-1
  19. #endif
  20. // run (spawn, invoke, etc.)
  21. #define UEME_RUNWMCMD 12 // ran a WM_COMMAND, lParam=UEMC_*
  22. #define _UEME_RUNPIDL1 10 // (obsolete) ran a pidl, wP=csidl, lParam=pidl
  23. #define UEME_RUNPIDL 18 // ran a pidl, wP=isf lP=pidlItem
  24. #define UEME_RUNINVOKE 11 // ran an Ixxx::Invoke, lParam=???
  25. #define UEME_RUNOLECMD 13 // ran an IOleCT::Exec wP=nCmdID lP=pguidCmdGrp
  26. #define UEME_RUNPATHA 14 // ran a path, lParam=path
  27. #define UEME_RUNPATHW 15 // ran a path, lParam=path
  28. #define UEME_RUNCPLA 16 // ran a cpl path, wP=index lP=path
  29. #define UEME_RUNCPLW 17 // ran a cpl path, wP=index lP=path
  30. #ifdef UNICODE
  31. #define UEME_RUNPATH UEME_RUNPATHW
  32. #define UEME_RUNCPL UEME_RUNCPLW
  33. #else
  34. #define UEME_RUNPATH UEME_RUNPATHA
  35. #define UEME_RUNCPL UEME_RUNCPLA
  36. #endif
  37. // exit status
  38. #define UEME_DONECANCEL 32 // cancel
  39. #define UEME_DONEOK 30 // (NYI) ok (==0)
  40. #define UEME_DONEFAIL 31 // (NYI) fail (!=0)
  41. // error
  42. // NOTES
  43. // for now lParam=szMsg, that's just temporary but not sure what we need yet
  44. #define UEME_ERRORA 20 // error (generic), lParam=szMsg
  45. #define UEME_ERRORW 21 // error (generic), lParam=szMsg
  46. #ifdef UNICODE
  47. #define UEME_ERROR UEME_ERRORW
  48. #else
  49. #define UEME_ERROR UEME_ERRORA
  50. #endif
  51. // control
  52. #define UEME_CTLSESSION 40 // do UASetSession
  53. // instrumented browser
  54. #define UEME_INSTRBROWSER 50
  55. // debug
  56. #define UEME_DBTRACEA 90 // just a midpoint trace..., lParam=szMsg
  57. #define UEME_DBTRACEW 91 // just a midpoint trace..., lParam=szMsg
  58. #ifdef UNICODE
  59. #define UEME_DBTRACE UEME_DBTRACEW
  60. #else
  61. #define UEME_DBTRACE UEME_DBTRACEA
  62. #endif
  63. #define UEME_DBSLEEP 92 // sleep, lParam=mSec (per Sleep API)
  64. // all events below here (msg < UEME_USER) are reserved
  65. // private messages start here (at UEME_USER + 0)
  66. // NOTE:FEATURE: NYI we don't support private messages for now
  67. #define UEME_USER 256
  68. // }