Alexandre Julliard
341cb1a933
include: Don't include fcntl.h in wine/port.h.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-30 22:36:22 +02:00
Huw Davies
76b31a2ed8
mountmgr: Retrieve the unix-name from the alias.
...
If, at some point, we change that, we can add a Wine-only nsi table
that holds the luid to unix-name mapping.
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-07-07 11:34:08 +02:00
Huw Davies
e5b90e93b2
dhcpcsvc: Pass a luid instead of the adapter name.
...
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-07-07 11:33:53 +02:00
Brendan Shanks
33c8a42547
mountmgr: Avoid unnecessary permission prompts on macOS 10.15 and newer.
...
On macOS 10.15 and newer, trying to open the device node of a removable
drive will trigger an "<app> would like to access files on a removable
volume" permission prompt, even if the user doesn't have permissions
to access the device node (which is almost always the case).
Check the value of access() (recommended by Apple for this purpose)
before opening devices.
Signed-off-by: Brendan Shanks <bshanks@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-10-13 22:37:16 +02:00
Ken Thomases
7e312c346c
mountmgr: Avoid operating on a null CFStringRef, which would crash.
...
Signed-off-by: Ken Thomases <ken@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-09-10 10:24:22 +02:00
Hans Leidekker
4ed26b63ca
mountmgr: Return the disk serial from IOCTL_STORAGE_QUERY_PROPERTY(StorageDeviceProperty).
...
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-05-27 00:14:14 +02:00
Chip Davis
d61e293924
mountmgr: Populate HKLM\HARDWARE\DEVICEMAP\Scsi on Mac OS.
...
Signed-off-by: Chip Davis <cdavis@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-11-25 21:56:36 +01:00
Chip Davis
19549d11a7
mountmgr: Populate HKLM\HARDWARE\DEVICEMAP\Scsi here instead of in kernel32.
...
Signed-off-by: Chip Davis <cdavis@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-11-25 21:56:23 +01:00
Alexandre Julliard
e7040616c8
mountmgr: Don't include sys/time.h before winsock.h.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-11-21 19:01:10 +01:00
Hans Leidekker
b7ab346cf7
mountmgr.sys: Add support for querying DHCP parameters on macOS.
...
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-11-19 23:15:05 +01:00
Alexandre Julliard
2fff57a5e7
mountmgr.sys: Include system headers before Windows headers.
2011-09-06 13:25:35 +02:00
Charles Davis
9a1fb63840
mountmgr: Use the media kind to fill in the device type field on Mac OS.
2011-02-15 17:24:23 +01:00
Alexandre Julliard
19e2d0cd5d
mountmgr: Create volumes for non-removable volumes reported by HAL/Disk Arbitration.
2009-07-21 20:33:17 +02:00
Alexandre Julliard
81cfeaf531
mountmgr: Retrieve the volume uuid through HAL/DiskArbitration when creating a device.
2009-07-20 17:11:47 +02:00
Alexandre Julliard
84396c2e62
mountmgr: Add support for setting the drive UUID instead of having it always hardcoded.
2009-07-20 16:14:23 +02:00
Alexandre Julliard
a2feb0f8e4
mountmgr: Make the device type more specific than what is possible with the standard Win32 drive types.
2008-11-12 11:49:12 +01:00
Alexandre Julliard
b2ebab9f6f
mountmgr: Allow to specify the drive letter explicitly when creating/removing a drive.
2008-10-23 15:44:18 +02:00
Alexandre Julliard
c5e7657d0c
mountmgr: Include some system headers in mountmgr.h.
2008-10-21 15:01:52 +02:00
Alexandre Julliard
a28a387615
mountmgr: Specify the drive type as a DWORD instead of a string.
2008-10-15 20:12:27 +02:00
Maarten Lankhorst
9c02e01dcb
explorer/mountmgr.sys: Move device hotplug code over to mount manager.
2008-04-22 12:37:02 +02:00