Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!usc!zaphod.mps.ohio-state.edu!rpi!batcomputer!cornell!vax5.cit.cornell.edu!hd7x From: hd7x@vax5.cit.cornell.edu (Sanjay Aiyagari) Newsgroups: comp.os.msdos.programmer Subject: Re: File/device handles Message-ID: <1990Dec9.044112.1469@vax5.cit.cornell.edu> Date: 9 Dec 90 08:41:11 GMT References: <1990Dec8.050109.24482@wpi.WPI.EDU> Distribution: comp Lines: 13 In article <1990Dec8.050109.24482@wpi.WPI.EDU>, jhall@wpi.WPI.EDU (John Clinton Hall) writes: > >Where can I get a list of MD-DOS device handles, such as those used by INT >21/40 (write to file or device handle)? I have searched my manuals, but to no >avail. DOS uses file handles 0-4 for special devices (I believe it is standard input, standard output, standard error, auxiliary device, and standard printer). Other than that, you get the file handle when you issue a create or open function call, and this is what you use when you call function 40h to write to a file. Sanjay Aiyagari (hd7x@vax5.cit.cornell.edu)