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.

29 lines
1.0 KiB

  1. ; Whenever a module registers a group of callback thunks with win32c.dll,
  2. ; it uses a unique 16-bit Callback Client id to identify the group.
  3. ; We're using fixed numbers for the standard system dll's for convenience.
  4. ; We may add an id allocator to win32c.dll for use by third-party modules.
  5. ;
  6. ; Rules for CBC id's:
  7. ;
  8. ; - CBC id's are 16-bits wide.
  9. ; - The value 0 is reserved. Don't ues as an id.
  10. ; - CBID_MAX is the largest id that win32c.dll supports.
  11. ; - CBID_FREEUSE is the smallest id for use by third party developers.
  12. ; All id's below this value are reserved by MS.
  13. CBCID_KERNEL equ 1
  14. CBCID_GDI equ 2
  15. CBCID_USER equ 3
  16. CBCID_COMMDLG equ 4
  17. CBCID_SHELL equ 5
  18. CBCID_LZ equ 6
  19. CBCID_OLE equ 7
  20. CBCID_ADVAPI equ 8
  21. CBCID_WIN32C equ 9
  22. CBCID_PEN equ 10
  23. CBCID_FREEUSE equ 20 ;Id's less than this reserved for MS
  24. CBCID_MAX equ 29 ;Largest id allowed.