Commit Graph

66 Commits

Author SHA1 Message Date
5dd1083ef0 Do not crash when enumerating optical drives without a drive letter under Win32. 2019-04-21 20:34:30 +01:00
9cbbea94a6 Be able to enumerate devices under win32 when running under .NET Core. 2019-04-21 20:32:18 +01:00
7610f4f779 Code styling. 2019-03-11 19:22:26 +00:00
f2caa8c40f General code refactor and reformat. 2018-12-31 13:17:27 +00:00
6b12cd1a8e Update copyright year. 2018-12-29 17:34:38 +00:00
ade74a57f5 Remove NT device path calculation method as it doesn't work neither is it needed anywhere. 2018-12-01 19:26:30 +00:00
fba0ecfa3a Do not try to split null model on Windows device listing. Fixes #199 2018-09-25 22:36:39 +01:00
cb138490bc Move libraries to .NET Standard, allowing Xamarin.macOS GUI to compile. 2018-08-27 22:03:20 +01:00
68309fc408 Removed spurious debug lines. 2018-07-01 22:51:06 +01:00
a944498106 Removed deprecated Windows XP only code. 2018-06-24 21:41:15 +01:00
88da8fc019 Code cleanup. 2018-06-22 08:08:51 +01:00
dc1884f5d8 Do not assume pointers are 32-bit in several Windows device calls. 2018-06-20 18:52:54 +01:00
536888507f REFACTOR: Final cleanup of DiscImageChef.Devices. 2017-12-23 20:04:36 +00:00
27da8f2227 DOCUMENTATION: Added XML documentation to DiscImageChef.Devices. 2017-12-23 02:32:02 +00:00
01d34e1823 Removed spurious fields on ATA error registers 2017-12-23 02:00:31 +00:00
e87e058a11 REFACTOR: All refactor in DiscImageChef.Devices. 2017-12-22 03:13:43 +00:00
49144eeb01 REFACTOR: All refactor in DiscImageChef.Decoders. 2017-12-22 02:04:18 +00:00
b9ec685b4e REFACTOR: Minor refactors. 2017-12-21 17:14:49 +00:00
f65de10280 REFACTOR: Possible 'System.NullReferenceException'. 2017-12-21 16:59:15 +00:00
bcbda18e4d REFACTOR: Removed unneeded value sets. 2017-12-21 16:07:20 +00:00
dcd053b20d REFACTOR: Remove unneeded code. 2017-12-21 14:30:44 +00:00
35ce7db892 REFACTOR: Unnecessary whitespace removal. 2017-12-21 07:36:47 +00:00
5592f147ac REFACTOR: Loop can be converted into LINQ-expression. 2017-12-21 07:08:26 +00:00
4d886dae25 REFACTOR: Invert 'if' statement to reduce nesting. 2017-12-21 06:06:19 +00:00
9cd1869d1d REFACTOR: Convert 'if' statement to 'switch' statement. 2017-12-21 04:43:29 +00:00
f0e80721ed REFACTOR: Removed reduntant semicolon. 2017-12-21 02:53:52 +00:00
f0d2e7dac9 REFACTOR: Removed reduntant commas. 2017-12-21 02:52:12 +00:00
d51f3f1988 REFACTOR: Replace built-in type with a keyword. 2017-12-21 02:42:18 +00:00
e9443388ee REFACTOR: Use preferred braces style. 2017-12-20 23:07:46 +00:00
Michael D
7cc1b1e0a2 Formatting fixes 2017-12-20 20:43:42 +01:00
Michael D
cfd0b2655f Add workaround to correctly display device serials
Some devices on windows (especially, apparently, SATA devices
behind a bridge chip) report their serial number as a string
of hex bytes instead of ASCII.
This patch tries to detect that and transparently fix it.
2017-12-20 20:10:28 +01:00
Michael D
b030712b38 Fix unsigned vs. signed problem 2017-12-20 18:51:03 +01:00
ff2afc4593 REFACTOR: Use explicit or implicit modified definition. 2017-12-20 17:46:47 +00:00
b0936d51c5 REFACTOR: Remove redundant parentheses. 2017-12-20 17:26:28 +00:00
a4650c61aa REFACTOR: Fixed MOST name inconsistencies. 2017-12-20 17:15:37 +00:00
ef49fdfd45 REFACTOR: Member or type can be made internal. 2017-12-20 02:08:37 +00:00
e6f6ace80b REFACTOR: Reformat code. 2017-12-19 20:33:05 +00:00
77edc7c91c REFACTOR: Sort and removed usings. 2017-12-19 19:33:51 +00:00
1a39168f19 REFACTOR: Updated comments and copyright date. 2017-12-19 03:51:05 +00:00
4cd0ec53e9 Added support for SecureDigital / MultiMediaCard on Windows. 2017-12-06 23:05:59 +00:00
d660ec93d1 Added code to retrieve USB binary descriptors for Windows. 2017-12-06 20:38:10 +00:00
be52156170 Added code to retrieve USB IDs and strings for Windows. 2017-12-06 19:30:03 +00:00
df076b5e0f Added code to retrieve NT device path (will be needed later). 2017-12-06 13:46:35 +00:00
fe1c3e13b4 Added support for ATA commands using Windows 2000/XP undocumented
IOCTL that predates Windows 2003 documented one.
2017-09-10 23:20:59 +01:00
74674c0213 Changed place of datalength initialization. 2017-09-10 18:15:27 +01:00
d5704b579f Data transfer length must be set for commands to work. 2017-09-10 01:00:30 +01:00
95e0d3f596 ATA pass through needs buffer position to be relative to structure so use accordingly. 2017-09-07 16:48:25 +01:00
258c33d61e Windows IOCTL bool is reversed. 2017-09-06 20:46:56 +01:00
3e02dd82ea Added support for "list-devices" command on Windows. 2017-08-22 03:40:43 +01:00
cdc105c72f Implemented ATA commands for Windows. 2017-08-21 04:30:10 +01:00