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.

66 lines
1.5 KiB

  1. page ,132
  2. if 0
  3. /*++
  4. Copyright (c) 1991 Microsoft Corporation
  5. Module Name:
  6. int5c.inc
  7. Abstract:
  8. This module contains the int 5c/Netbios equates
  9. Author:
  10. Colin Watson (colinw) 5-Dec-1991
  11. Environment:
  12. Dos mode only
  13. Revision History:
  14. 05-Dec-1991 colinw
  15. Created
  16. --*/
  17. endif
  18. ;
  19. ; Use Irql 14 (normally the hard disk drive) to pretend to be Irql used by the network
  20. ; adapter. Irql 14 is not used for the disk in the emulation system. Utilizing 14 means
  21. ; that there will be no clash of interrupts with user supplied virtual devices.
  22. ;
  23. ifdef NEC_98
  24. NETWORK_INTERRUPT equ 0dh
  25. else
  26. NETWORK_INTERRUPT equ 72h
  27. endif
  28. ;
  29. ; Network Control Block
  30. ;
  31. NCBNAMSZ equ 16
  32. ncb struc
  33. ncb_command db ? ; command code
  34. ncb_retcode db ? ; return code
  35. ncb_lsn db ? ; local session number
  36. ncb_num db ? ; number of our network name
  37. ncb_buffer dd ? ; address of message buffer
  38. ncb_length dw ? ; size of message buffer
  39. ncb_callname db NCBNAMSZ dup (?) ; blank-padded name of remote
  40. ncb_name db NCBNAMSZ dup (?) ; our blank-padded netname
  41. ncb_rto db ? ; rcv timeout/retry count
  42. ncb_sto db ? ; send timeout/sys timeout
  43. ncb_post dd ? ; Async notification handle
  44. ncb_lana_num db ? ; lana (adapter) number
  45. ncb_cmd_cplt db ? ; 0xff => commmand pending
  46. ncb_reserve db 14 dup (?) ; reserved, used by BIOS
  47. ncb ends