windows-nt/Source/XPSP1/NT/base/mvdm/vdd/hpscan/hpscan16.inc

29 lines
990 B
PHP
Raw Permalink Normal View History

2020-09-26 03:20:57 -05:00
;*************************************************
; 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