;       SCCSID = @(#)dos4dd.inc	6.2 91/10/07
;       SCCSID = @(#)dos4dd.inc	6.2 91/10/07


;FUNCTION CODES
DEVINIT        EQU   0              ;INITIALIZATION
DINITHL        EQU   26             ;SIZE OF INIT HEADER
DEVMDCH        EQU   1              ;MEDIA CHECK
DMEDHL         EQU   15             ;SIZE OF MEDIA CHECK HEADER
DEVBPB         EQU   2              ;GET BPB
DEVRDIOCTL     EQU   3              ;IOCTL READ
DBPBHL         EQU   22             ;SIZE OF GET BPB HEADER
DEVRD          EQU   4              ;READ
DRDWRHL        EQU   22             ;SIZE OF RD/WR HEADER
DEVRDND        EQU   5              ;NON DESTRUCTIVE READ NO WAIT (CHARACTER DEVS)
DRDNDHL        EQU   14             ;SIZE OF NON DESTRUCTIVE READ HEADER
DEVIST         EQU   6              ;INPUT STATUS
DSTATHL        EQU   13             ;SIZE OF STATUS HEADER
DEVIFL         EQU   7              ;INPUT FLUSH
DFLSHL         EQU   15             ;SIZE OF FLUSH HEADER
DEVWRT         EQU   8              ;WRITE
DEVWRTV        EQU   9              ;WRITE WITH VERIFY
DEVOST         EQU   10             ;OUTPUT STATUS
DEVOFL         EQU   11             ;OUTPUT FLUSH
DEVWRIOCTL     EQU   12             ;IOCTL WRITE
DEVOPN         EQU   13             ;DEVICE OPEN
DEVCLS         EQU   14             ;DEVICE CLOSE
DOPCLHL        EQU   13             ;SIZE OF OPEN/CLOSE HEADER
DEVRMD         EQU   15             ;REMOVABLE MEDIA
REMHL          EQU   13             ;SIZE OF REMOVABLE MEDIA HEADER
GENIOCTL       EQU   19
;              EQU   23             ;(DOS 5)
;              EQU   24             ;(DOS 5)
IOCTL_QUERY    EQU   25             ;Generic IOCTL request (DOS 5)
; THE NEXT THREE ARE USED IN DOS 4.0
;                    20
;                    21
;                    22
DEVGETOWN      EQU   23             ;GET DEVICE OWNER
DEVSETOWN      EQU   24             ;SET DEVICE OWNER
OWNHL          EQU   13             ;SIZE OF DEVICE OWNER HEADER

DEVOUT         EQU   16             ; OUTPUT UNTIL BUSY.
DEVOUTL        EQU   DEVWRT         ; LENGTH OF OUTPUT UNTIL BUSY


