Commit Graph

54 Commits

Author SHA1 Message Date
Hans Leidekker bf9ae67275 mountmgr: Add ioctl to enumerate host credentials on macOS.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-09-03 17:21:44 +02:00
Hans Leidekker 26daece790 mountmgr: Add ioctl to delete host credentials on macOS.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-09-03 17:21:44 +02:00
Hans Leidekker 7c000ca0f4 mountmgr: Add ioctl to write host credentials on macOS.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-09-03 17:21:44 +02:00
Hans Leidekker 0f7cc8d9dd mountmgr: Add ioctl to read host credentials on macOS.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-09-02 16:30:03 +02:00
Alexandre Julliard bc8d04d6a5 mountmgr: Fix handling of buffer overflows in IOCTL_MOUNTMGR_QUERY_UNIX_DRIVE.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-07-09 15:34:00 +02:00
Alexandre Julliard 3aa4feb578 mountmgr: Use wine_get_dos_file_name() instead of wine_unix_to_nt_file_name().
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-07-08 16:05:30 +02:00
Zebediah Figura 19b8aadf4b mountmgr: Return the serial and label from IOCTL_MOUNTMGR_QUERY_UNIX_DRIVE.
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-04-06 21:21:42 +02:00
Zebediah Figura 54f93b9bb9 mountmgr: Allow querying a Unix device by device ID.
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-04-06 21:21:42 +02:00
Zebediah Figura cf174edfd9 mountmgr: Return the filesystem type from IOCTL_MOUNTMGR_QUERY_UNIX_DRIVE.
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-04-06 21:21:42 +02:00
Alexandre Julliard cf19a7ac4f mountmgr.sys: Use standard dlopen() instead of the libwine wrappers.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-04-06 21:21:42 +02:00
Jacek Caban ce2257b55c mountmgr: Add mac-specific ioctl to lookup symbol files.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-04-03 17:02:28 +02:00
Zebediah Figura 2d0e113db1 mountmgr: Return STATUS_BUFFER_OVERFLOW from query_unix_drive() if the buffer is too small.
STATUS_MORE_ENTRIES is meant for enumeration APIs like NtQueryDirectoryFile();
we are not enumerating anything here.

Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-03-26 09:23:16 +01:00
Zebediah Figura aafe39a812 mountmgr: Fill the mountmgr_unix_drive structure even if the buffer is too small to hold the dynamic strings.
kernel32 actually already assumes this.

Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-03-26 09:23:13 +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
Hans Leidekker a1c159e060 mountmgr.sys: Add support for querying DHCP parameters on Linux.
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 38b1a1afca mountmgr.sys: Use strncmpiW instead of memicmpW for strings without embedded nulls.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-07 11:31:21 -05:00
Alex Henrie c296e7de4d mountmgr: Symlink WoW64 Wine ports key to regular Wine ports key.
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-10-30 21:39:08 +01:00
Alexandre Julliard bbe6c13605 mountmgr: Create the DEVICEMAP registry keys in their respective driver.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-05-03 11:46:50 +02:00
Alex Henrie b1203af6ba mountmgr: Create devices and registry entries for parallel ports.
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-05-02 22:49:44 +02:00
Alex Henrie a6cdfea1c1 mountmgr: Create devices and registry entries for serial ports.
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-05-02 22:49:44 +02:00
Francois Gouget 9cf7398394 mountmgr.sys: Remove unneeded NONAMELESSXXX directives. 2015-03-06 12:54:32 +09:00
Alexandre Julliard 41eb2fd714 mountmgr: Don't access the IRP after it has been completed. 2015-03-04 22:18:04 +09:00
Alexandre Julliard 55f5209631 mountmgr: Rename hal.c to dbus.c. 2011-12-20 11:06:12 +01:00
Bernhard Loos 79b93fff0b mountmgr: Also call IoCompleteRequest in case of an error. 2011-11-08 13:59:08 +01:00
Bernhard Loos a1377319bc mountmgr, ntoskrnl: METHOD_BUFFERED uses irp->AssociatedIrp.SystemBuffer for both input and output. 2011-11-08 13:58:50 +01: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
Damjan Jovanovic 63bc9c484a mountmgr: Frame device service functions with IoGetCurrentIrpStackLocation and IoCompleteRequest. 2010-03-25 16:09:01 +01:00
Charles Davis 5415b62fc2 include: Don't accidentally redefine a member in struct _IRP (LLVM/Clang). 2010-02-25 12:10:07 +01:00
Alexandre Julliard d19e2ada9c mountmgr: Move creation of the DEVICEMAP registry keys to mountmgr. 2009-11-23 13:21:22 +01:00
Alexandre Julliard 134feaab05 mountmgr: Return a copy of the strings in query_dos_device. 2009-07-22 21:02:47 +02:00
Alexandre Julliard 053eccf910 mountmgr: Always set the mount point id as a separate step from the mount point creation. 2009-07-20 21:00:33 +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
Ben Klein 49f1d5f7c8 mountmgr.sys: Add tracking of fixed harddisk devices. 2009-06-05 15:19:57 +02:00
Alexandre Julliard 5606bf4df4 mountmgr.sys: Avoid a compiler warning on older gcc. 2008-12-04 14:32:21 +01: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 8227c03073 mountmgr: Return the drive type even when the buffer is too small. 2008-11-10 16:11:05 +01:00
Alexandre Julliard bc32b857ab mountmgr: Add a Wine-specific ioctl to query the Unix information about a drive. 2008-10-24 14:24:58 +02:00
Alexandre Julliard 8faceff2f9 mountmgr: Add a Wine-specific ioctl to define a drive for a Unix path. 2008-10-24 14:24:53 +02:00
Alexandre Julliard f36690d44a mountmgr: Create devices and symlinks for dynamic drives too. 2008-10-21 15:20:09 +02:00
Alexandre Julliard 7033120f83 mountmgr: Moved the harddisk device driver to device.c. 2008-10-21 15:02:10 +02:00
Alexandre Julliard c5e7657d0c mountmgr: Include some system headers in mountmgr.h. 2008-10-21 15:01:52 +02:00
Alexandre Julliard a304358e7b mountmgr: Store the device name in the mount point structure. 2008-10-17 20:09:50 +02:00
Alexandre Julliard 1680ba67ef mountmgr: Store mount points as a list instead of an array. 2008-10-17 20:09:31 +02:00
Alexandre Julliard a12789e97e mountmgr: Enforce a minimal length for the mount point id. 2008-10-17 19:57:43 +02:00
Alexandre Julliard 7b51cf49fc mountmgr: Return the drive unique id in IOCTL_MOUNTMGR_QUERY_POINTS. 2008-10-15 20:12:49 +02:00
H. Verbeet 5ab440e398 mountmgr: Include the terminating NULL in mount ids.
Some "protection" schemes expect these to be at least 2 bytes long.
2008-08-21 11:38:32 +02:00
Maarten Lankhorst 9c02e01dcb explorer/mountmgr.sys: Move device hotplug code over to mount manager. 2008-04-22 12:37:02 +02:00
Alexandre Julliard 4003457ff3 mountmgr.sys: Fix values returned for IOCTL_STORAGE_GET_DEVICE_NUMBER on emulated disks. 2008-01-16 15:23:10 +01:00
Alexandre Julliard d179665035 mountmgr.sys: Implemented IOCTL_DISK_GET_DRIVE_GEOMETRY and IOCTL_STORAGE_GET_DEVICE_NUMBER. 2008-01-09 13:38:03 +01:00
Alexandre Julliard 838f12539b mountmgr.sys: Implemented the IOCTL_MOUNTMGR_QUERY_POINTS request. 2008-01-04 14:28:47 +01:00