mountmgr: Use Macro instead of hardcoded value

André Hentschel nerv at dawncrow.de
Mon Jan 31 12:44:22 CST 2011


spotted a bit too late to tell it Hans
---
 dlls/mountmgr.sys/device.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dlls/mountmgr.sys/device.c b/dlls/mountmgr.sys/device.c
index e23d741..4080152 100644
--- a/dlls/mountmgr.sys/device.c
+++ b/dlls/mountmgr.sys/device.c
@@ -896,11 +896,11 @@ static NTSTATUS WINAPI harddisk_ioctl( DEVICE_OBJECT *device, IRP *irp )
     case IOCTL_CDROM_READ_TOC:
         irp->IoStatus.u.Status = STATUS_INVALID_DEVICE_REQUEST;
         break;
-    case 0x560000:
+    case IOCTL_VOLUME_GET_VOLUME_DISK_EXTENTS:
     {
         DWORD len = min( 32, irpsp->Parameters.DeviceIoControl.OutputBufferLength );
 
-        FIXME( "returning zero-filled buffer for ioctl 0x560000\n" );
+        FIXME( "returning zero-filled buffer for IOCTL_VOLUME_GET_VOLUME_DISK_EXTENTS\n" );
         memset( irp->MdlAddress->StartVa, 0, len );
         irp->IoStatus.Information = len;
         irp->IoStatus.u.Status = STATUS_SUCCESS;
-- 

Best Regards, André Hentschel



More information about the wine-patches mailing list