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.

39 lines
951 B

  1. SG_EXIT = 20H
  2. TASKREG STRUC
  3. TASKDX DW ?
  4. TASKBX DW ?
  5. TASKES DW ?
  6. TASKCX DW ?
  7. TASKAX DW ?
  8. TASKDI DW ?
  9. TASKSI DW ?
  10. TASKDS DW ?
  11. TASKBP DW ?
  12. TASKREG ENDS
  13. ; Exit codes in upper byte
  14. Exit_terminate EQU 0
  15. Exit_abort EQU 0
  16. Exit_Ctrl_C EQU 1
  17. Exit_Hard_Error EQU 2
  18. Exit_Keep_process EQU 3
  19. user_FG equ word ptr [bp+6]
  20. user_FL equ byte ptr [bp+6]
  21. user_CS equ word ptr [bp+4]
  22. user_IP equ word ptr [bp+2]
  23. user_BP equ word ptr [bp]
  24. user_DS equ word ptr [bp-2]
  25. user_DX equ word ptr [bp-4]
  26. user_DSDX equ dword ptr [bp-4]
  27. user_ES equ word ptr [bp-6]
  28. user_BX equ word ptr [bp-8]
  29. user_ESBX equ dword ptr [bp-8]
  30. user_AX equ word ptr [bp-10]
  31. user_AL equ byte ptr [bp-10]
  32. user_CX equ word ptr [bp-12]
  33. user_SI equ word ptr [bp-14]
  34. user_DI equ word ptr [bp-16]