windows-nt/Source/XPSP1/NT/base/mvdm/vdd/hpscan/hpscan16.inc
2020-09-26 16:20:57 +08:00

29 lines
990 B
PHP
Raw Permalink Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

;*************************************************
; Name: HPSCAN16.INC
; Description: Defines for HPSCAN16.ASM
;*************************************************
;**----------- Segment Declarations ------------**
CSEG segment word public 'CODE'
CSEG ends ;header segment
;**-------------- Status Values ----------------**
STAT_OK equ 0000h ;ok
STAT_DONE equ 0100h ;function complete
STAT_GF equ 800Ch ;general failure
RH EQU ES:[BX] ;request header
;**------ Common Request Header Structure ------**
RHC struc ;common to all commands
db ? ;length of request header
db ? ;unit code of device
RHC_CMD db ? ;command code
RHC_STA dw ? ;completion status, 16-bits
dq ? ;reserved for DOS
db ? ;this field varies with command
RHC_OFF dw ? ;offset of data
RHC_SEG dw ? ;segment of data
RHC_CNT dw ? ;byte count (length) of data
RHC ends ;end of common portion