reactos/drivers
Hermès Bélusca-Maïto dac991c056
[PARTMGR] Implement support for IOCTL_STORAGE_GET_DEVICE_NUMBER (#7591)
CORE-13525

Now, sending the IOCTL_STORAGE_GET_DEVICE_NUMBER to a disk partition
correctly returns a non-zero STORAGE_DEVICE_NUMBER::PartitionNumber
value. This is used by the BTRFS filesystem driver and other modules.

When the STORAGE_DEVICE_NUMBER DeviceType member equals FILE_DEVICE_DISK,
the DeviceNumber and PartitionNumber correspond respectively to the
X and Y values in the \Device\Harddisk<X>\Partition<Y> device name.

References:
https://learn.microsoft.com/en-us/windows/win32/api/winioctl/ni-winioctl-ioctl_storage_get_device_number
https://learn.microsoft.com/en-us/windows-hardware/drivers/ddi/ntddstor/ni-ntddstor-ioctl_storage_get_device_number
https://learn.microsoft.com/en-us/windows-hardware/drivers/ddi/ntddstor/ns-ntddstor-_storage_device_number
2025-01-06 21:26:43 +01:00
..
base [KDVM] Fix definition of RtlEqualMemory() (#6988) 2024-06-10 22:29:22 +02:00
battery [BATTC] Signal the wait battery tag event when notifying Battery Class 2024-12-17 14:23:33 +01:00
bluetooth [REACTOS] Add missing line breaks at end of file 2024-10-06 10:47:11 +03:00
bus [CMBATT] Fix two comments 2025-01-05 21:43:06 +01:00
crypto
filesystems [FS_REC] Rename Ext2 recognizer to Ext recognizer (#7497) 2024-11-18 21:27:16 +01:00
filters [REACTOS] Add missing line breaks at end of file 2024-10-06 10:47:11 +03:00
hid
input [DRIVERS] Fix misusages of the RTL_REGISTRY_OPTIONAL flag. 2024-12-14 19:12:11 +01:00
ksfilter [REACTOS] Use the ISO C and C++ conformant names: _wcsicmp, _stricmp 2024-10-20 14:12:25 +03:00
multimedia [BDASUP][KMIXER][MMIXER][STREAM] Replace meaningless YDEBUG (#5818) 2023-10-31 12:04:24 +00:00
network [CMAKE][LWIP] Fix build with newer CMake versions 2024-11-10 11:46:47 +02:00
parallel
processor [DRIVERS][INF] Update Romanian (ro-RO) translation (#6088) 2023-12-09 20:19:54 +01:00
sac [REACTOS] Use the ISO C and C++ conformant names: _wcsicmp, _stricmp 2024-10-20 14:12:25 +03:00
serial
setup
storage [PARTMGR] Implement support for IOCTL_STORAGE_GET_DEVICE_NUMBER (#7591) 2025-01-06 21:26:43 +01:00
usb [REACTOS] Add missing line breaks at end of file 2024-10-06 10:47:11 +03:00
wdm [REACTOS] Add missing line breaks at end of file 2024-10-06 10:47:11 +03:00
wmi
CMakeLists.txt