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.

39 lines
395 B

  1. TITLE w32sys - Win32S support
  2. .xlist
  3. include kernel.inc
  4. include tdb.inc
  5. .list
  6. DataBegin
  7. externW curTDB
  8. DataEnd
  9. sBegin CODE
  10. assumes CS,CODE
  11. assumes ds,nothing
  12. assumes es,nothing
  13. public GetW32SysInfo
  14. cProc GetW32SysInfo,<PUBLIC,FAR>
  15. cBegin nogen
  16. if PMODE32
  17. SetKernelDS ES
  18. mov dx, es
  19. lea ax, curTDB
  20. endif
  21. ret
  22. assumes es,nothing
  23. cEnd nogen
  24. sEnd CODE
  25. end