TAPE 5/5: add implementation of kernel tape functions #3

Hans Leidekker hans at it.vu.nl
Thu Jan 26 14:43:29 CST 2006


Now using RtlNtStatusToDosError instead of the custom mapping.

----

Now mapping NT status codes to Win32 error codes and setting last
error.

----

There's one missing piece after this patch, which is the association
of an NT device name with an appropriate Unix device file. Until
Wine learns how to autodetect these you need to do it by hand.

For example, to associate NT tape device \\.\TAPE0 with your Linux
SCSI tape device /dev/st0 you need to create this symbolic link:

  $ ln -s /dev/st0 ~/.wine/dosdevices/tape0
  $ ls -l ~/.wine/dosdevices/
  lrwxrwxrwx  1 hans hans 10 2006-01-07 22:58 c: -> ../drive_c
  lrwxrwxrwx  1 hans hans  8 2006-01-25 22:22 tape0 -> /dev/st0
  lrwxrwxrwx  1 hans hans  1 2006-01-07 22:58 z: -> /

 -Hans

Changelog
  Implement CreateTapePartition, EraseTape, GetTapeParameters,
  GetTapePosition, GetTapeStatus, PrepareTape, SetTapeParameters,
  SetTapePosition and WriteTapemark.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tape_05.diff
Type: text/x-diff
Size: 13014 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20060126/daffd59f/tape_05.diff


More information about the wine-patches mailing list