home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / os / mswindo / programm / win32 / 2047 < prev    next >
Encoding:
Text File  |  1992-11-18  |  1.1 KB  |  29 lines

  1. Newsgroups: comp.os.ms-windows.programmer.win32
  2. Path: sparky!uunet!microsoft!hexnut!kaushikc
  3. From: kaushikc@microsoft.com (Kaushik Choudhury)
  4. Subject: Re: Opening Tape0 from C
  5. Message-ID: <1992Nov19.033029.23503@microsoft.com>
  6. Date: 19 Nov 92 03:30:29 GMT
  7. Organization: Microsoft Corporation
  8. References: <1992Nov17.194048.20923@unislc.uucp>
  9. Lines: 18
  10.  
  11. In article <1992Nov17.194048.20923@unislc.uucp> edge@unislc.uucp (Brian Edginton) writes:
  12. >
  13. >Has anyone discovered a method of accessing the tape drive
  14. >from anywhere other than the backup program? I have searched
  15. >most of the documentation and tried various combinations of
  16. >\Devices\Tape0, etc. to no avail. There are several functions
  17. >that allow determination of tape type, media type, etc. but
  18. >all require that a fd be used. I would assume that fd is the
  19. >result of an open -- but I cannot discover what I need to 
  20. >open.
  21. >
  22.  
  23. Use "\\.\TAPE0", if you are using CreateFile to get the device handle.
  24. Open it with sharemode = 0. 
  25.  
  26. ----------------------------------------------------------------------------
  27. Std. disclaimers apply.
  28.  
  29.