In .wine/dosdevices I have links
d: -> /some_path
d:: -> /dev/some_device
How can I get the device name (/dev/some_device) in a Wine program for drive (letter) D: ? Is there an API-Call?
Anna.
How to get device for drive letter?
-
- Newbie
- Posts: 1
- Joined: Sat Dec 24, 2016 1:32 pm
-
- Level 4
- Posts: 149
- Joined: Mon Jun 02, 2008 5:03 pm
Re: How to get device for drive letter?
Yes, there is an API, winecfg uses it. See the load_drives function in programs/winecfg/drives.c.