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.

28 lines
1018 B

  1. ;*************************************************
  2. ; Name: HPSCAN16.INC
  3. ; Description: Defines for HPSCAN16.ASM
  4. ;*************************************************
  5. ;**----------- Segment Declarations ------------**
  6. CSEG segment word public 'CODE'
  7. CSEG ends ;header segment
  8. ;**-------------- Status Values ----------------**
  9. STAT_OK equ 0000h ;ok
  10. STAT_DONE equ 0100h ;function complete
  11. STAT_GF equ 800Ch ;general failure
  12. RH EQU ES:[BX] ;request header
  13. ;**------ Common Request Header Structure ------**
  14. RHC struc ;common to all commands
  15. db ? ;length of request header
  16. db ? ;unit code of device
  17. RHC_CMD db ? ;command code
  18. RHC_STA dw ? ;completion status, 16-bits
  19. dq ? ;reserved for DOS
  20. db ? ;this field varies with command
  21. RHC_OFF dw ? ;offset of data
  22. RHC_SEG dw ? ;segment of data
  23. RHC_CNT dw ? ;byte count (length) of data
  24. RHC ends ;end of common portion
  25.