;       SCCSID = @(#)dos2equ.inc	6.1 91/02/15
;      SCCSID = @(#)dos2equ.inc	6.3 90/01/22
; ****************************************************************************
; *									     *
; *			  IBM/Microsoft Confidential			     *
; *									     *
; *		    Copyright (c) IBM Corporation  1987, 1990		     *
; *		    Copyright (c) Microsoft Corp.  1987, 1990		     *
; *			      All Rights Reserved			     *
; *									     *
; ****************************************************************************
;
; dos 2.0 int 21 function equates
;

;
D2_Exit                 EQU     000h    ; terminate program
D2_ReadKbdAndEcho       EQU     001h    ; read keyboard and echo
D2_DispChar             EQU     002h    ; display character
D2_AuxIn                EQU     003h    ; auxiliary input
D2_AuxOut               EQU     004h    ; auxiliary output
D2_PrntChar             EQU     005h    ; print character
D2_DrctConIO            EQU     006h    ; direct console I/O
D2_DrctConIn            EQU     007h    ; direct console input
D2_ReadKbd              EQU     008h    ; read keyboard
D2_DispStr              EQU     009h    ; display string
D2_BuffKbdIn            EQU     00Ah    ; buffered keyboard input
D2_GetKbdStat           EQU     00Bh    ; check keyboard status
D2_FlushKbdBuff         EQU     00Ch    ; flush buffer, read keyboard
D2_ResetDisk            EQU     00Dh    ; reset disk
D2_SelectDisk           EQU     00Eh    ; select disk
D2_OpenFile             EQU     00Fh    ; open file
D2_CloseFile            EQU     010h    ; close file
D2_SearchFirst          EQU     011h    ; search for first entry
D2_SearchNext           EQU     012h    ; search next entry
D2_DeleteFile           EQU     013h    ; delete file
D2_SeqRead              EQU     014h    ; sequential read
D2_SeqWrite             EQU     015h    ; sequential write
D2_CreateFile           EQU     016h    ; create file
D2_RenameFile           EQU     017h    ; rename file

D2_CurDisk              EQU     019h    ; current disk
D2_SetDTA               EQU     01Ah    ; set disk transfer address

D2_RndmRead             EQU     021h    ; random read
D2_RndmWrt              EQU     022h    ; random write
D2_FileSize             EQU     023h    ; file size
D2_SetRelRec            EQU     024h    ; set relative record
D2_SetVector            EQU     025h    ; set vector
D2_CreateSeg            EQU     026h    ; create new program segment
D2_RndmBlkRead          EQU     027h    ; random block read
D2_RndmBlkWrt           EQU     028h    ; random block write
D2_ParseFN              EQU     029h    ; parse file name
D2_GetDate              EQU     02Ah    ; get date
D2_SetDate              EQU     02Bh    ; set date
D2_GetTime              EQU     02Ch    ; get time
D2_SetTime              EQU     02Dh    ; set time
D2_SetResetVrfy         EQU     02Eh    ; set/reset verify flag
D2_GetDTA               EQU     02Fh    ; get disk transfer address
D2_GetVrsn              EQU     030h    ; get ms-dos version number
D2_TermAndStayRes       EQU     031h    ; keep process

D2_ChkCC                EQU     033h    ; control-c check

D2_GetVector            EQU     035h    ; get interrupt vector
D2_GetDskFreeSpc        EQU     036h    ; get disk free space

D2_GetCountryData       EQU     038h    ; return country dependent information
D2_CreateDir            EQU     039h    ; create sub-directory
D2_RemoveDir            EQU     03Ah    ; remove a directory
D2_ChangeCurDir         EQU     03Bh    ; change current directory
D2_CreateHndl           EQU     03Ch    ; create a file
D2_OpenHndl             EQU     03Dh    ; open a file
D2_CloseHndl            EQU     03Eh    ; close a file handle
D2_ReadForD             EQU     03Fh    ; read from file or device
D2_WriteForD            EQU     040h    ; write to a file or device
D2_DeleteEntry          EQU     041h    ; delete a directory entry
D2_MoveFilePtr          EQU     042h    ; move a file pointer
D2_ChangeMode           EQU     043h    ; change attributes
D2_IOCTL                EQU     044h    ; i/o control for devices
D2_DupFileHndl          EQU     045h    ; duplicate a file handle
D2_ForceDupFileHndl     EQU     046h    ; force a duplicate of a handle
D2_GetCurDir            EQU     047h    ; return text of current directory
D2_AllocMem             EQU     048h    ; allocate memory
D2_FreeMem              EQU     049h    ; free allocated memory
D2_SetBlock             EQU     04Ah    ; modify allocated memory blocks
D2_ExecProgram          EQU     04Bh    ; load and execute a program
D2_EndProc              EQU     04Ch    ; terminate a process
D2_Wait                 EQU     04Dh    ; return return code of child
D2_FindFirst            EQU     04Eh    ; find match file
D2_FindNext             EQU     04Fh    ; step thru dir of matchng files

D2_GetVrfyState         EQU     054h    ; return current setting of verify

D2_RenameEntry          EQU     056h    ; move a directory entry
D2_GetSetFileDT         EQU     057h    ; get/set date/time of file

D2_GetExtendedError     EQU     059h    ; get extended error
D2_CreateUniqueFile     EQU     05Ah    ; create unique file
D2_CreateNewFile        EQU     05Bh    ; create new file
D2_LockUnlockFile       EQU     05Ch    ; lock/unlock file access
D2_GetMachineName       EQU     05E00h  ; get machine name
D2_SetPrinterSetup      EQU     05E02h  ; set printer setup
D2_GetPrinterSetup      EQU     05E03h  ; get printer setup
D2_GetRedirListEntry    EQU     05F02h  ; get redirection list entry
D2_RedirectDevice       EQU     05F03h  ; redirect device
D2_CancelRedirection    EQU     05F04h  ; cancel redirection
D2_GetProgSegPrefixAdd  EQU     062h    ; get program seg prefix address (PSP)
D2_ExtendedOpen         EQU     064h    ; extended open
D2_Generic              EQU     064h    ; generic OS/2 int 21h
D2_GetSetMediaID        EQU     069h    ; get/set media ID
D2_ExtendedOpen2        EQU     06Ch    ; extended open 2
D2_EnumExtAtt           EQU     06Eh    ; enumerate extended attributes
