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.

52 lines
2.1 KiB

  1. ; Callback-type id's for USER callbacks. All callback-type id's are
  2. ; 32-bits long and the upper 16-bits must be set to the module's
  3. ; Callback Client id.
  4. ;
  5. ; WARNING -- WARNING -- WARNING
  6. ;
  7. ; Win32c.dll uses the lower 16 bits of CBID's to index directly into
  8. ; the tables stored in USER.EXE (usrcb16.asm) and USER32.DLL (usrcb32.asm).
  9. ; Those tables *must* match these id's or callbacks will fail miserably.
  10. ; Do everyone a big favor and add new id's only at the end, and never
  11. ; change an existing id.
  12. ;
  13. CBID_WNDPROC equ (0 + (CBCID_USER SHL 16))
  14. CBID_DLGPROC equ (1 + (CBCID_USER SHL 16))
  15. CBID_ENUMMONITORSPROC equ (2 + (CBCID_USER SHL 16))
  16. ; EMPTY
  17. CBID_DDECALLBACK equ (4 + (CBCID_USER SHL 16))
  18. CBID_GRAYSTRINGA equ (5 + (CBCID_USER SHL 16))
  19. CBID_WORDBREAKPROC equ (6 + (CBCID_USER SHL 16))
  20. CBID_TIMER equ (7 + (CBCID_USER SHL 16))
  21. CBID_ENUMWIN equ (8 + (CBCID_USER SHL 16))
  22. ; Start of window hook callbacks: these must form a contiguous group
  23. ; A fake CBID_ to mark the start of the group.
  24. CBID_WH_START equ (9 + (CBCID_USER SHL 16))
  25. CBID_WH_MSGFILTER equ (CBID_WH_START)
  26. CBID_WH_JOURNALRECORD equ (CBID_WH_START+1)
  27. CBID_WH_JOURNALPLAYBACK equ (CBID_WH_START+2)
  28. CBID_WH_KEYBOARD equ (CBID_WH_START+3)
  29. CBID_WH_GETMESSAGE equ (CBID_WH_START+4)
  30. CBID_WH_CALLWNDPROC equ (CBID_WH_START+5)
  31. CBID_WH_CBT equ (CBID_WH_START+6)
  32. CBID_WH_SYSMSGFILTER equ (CBID_WH_START+7)
  33. CBID_WH_MOUSE equ (CBID_WH_START+8)
  34. CBID_WH_HARDWARE equ (CBID_WH_START+9)
  35. CBID_WH_DEBUG equ (CBID_WH_START+10)
  36. CBID_WH_SHELL equ (CBID_WH_START+11)
  37. CBID_WH_FOREGROUNDIDLE equ (CBID_WH_START+12)
  38. CBID_WH_CALLWNDPROCRET equ (CBID_WH_START+13)
  39. ; A fake CBID_ to mark the end of the group.
  40. CBID_WH_END equ (CBID_WH_CALLWNDPROCRET+1)
  41. ; End of window hook callbacks: these must form a contiguous group
  42. CBID_SENDMSGCALLBACK equ (CBID_WH_END)
  43. CBID_DRAWSTATEA equ (CBID_WH_END+1)
  44. CBID_MESSAGEBOXINDIRECTA equ (CBID_WH_END+2)