From ac1d912fb02503c8592fef26ee85d9ac93888421 Mon Sep 17 00:00:00 2001 From: Alexandre Julliard Date: Wed, 22 Aug 2007 12:01:21 +0200 Subject: [PATCH] ntdll: Flesh out the stub for IOCTL_STORAGE_GET_DEVICE_NUMBER. --- dlls/ntdll/cdrom.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/dlls/ntdll/cdrom.c b/dlls/ntdll/cdrom.c index c6e6cd333e8..5dc7a9272a6 100644 --- a/dlls/ntdll/cdrom.c +++ b/dlls/ntdll/cdrom.c @@ -678,7 +678,11 @@ static NTSTATUS CDROM_GetControl(int dev, CDROM_AUDIO_CONTROL* cac) */ static NTSTATUS CDROM_GetDeviceNumber(int dev, STORAGE_DEVICE_NUMBER* devnum) { - return STATUS_NOT_SUPPORTED; + FIXME( "stub\n" ); + devnum->DeviceType = FILE_DEVICE_DISK; + devnum->DeviceNumber = 1; + devnum->PartitionNumber = 1; + return STATUS_SUCCESS; } /******************************************************************