Module: wine Branch: master Commit: 9752bf8f0421c3d53f8c49be87083f5b3e7ae40a URL: http://source.winehq.org/git/wine.git/?a=commit;h=9752bf8f0421c3d53f8c49be87...
Author: André Hentschel nerv@dawncrow.de Date: Mon Jul 4 22:06:24 2011 +0200
mountmgr.sys: Better fixme for unsupported ioctls.
---
dlls/mountmgr.sys/device.c | 6 +++++- 1 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/dlls/mountmgr.sys/device.c b/dlls/mountmgr.sys/device.c index 8b91be6..a3aa81c 100644 --- a/dlls/mountmgr.sys/device.c +++ b/dlls/mountmgr.sys/device.c @@ -938,10 +938,14 @@ static NTSTATUS WINAPI harddisk_ioctl( DEVICE_OBJECT *device, IRP *irp ) break; } default: - FIXME( "unsupported ioctl %x\n", irpsp->Parameters.DeviceIoControl.IoControlCode ); + { + ULONG code = irpsp->Parameters.DeviceIoControl.IoControlCode; + FIXME("Unsupported ioctl %x (device=%x access=%x func=%x method=%x)\n", + code, code >> 16, (code >> 14) & 3, (code >> 2) & 0xfff, code & 3); irp->IoStatus.u.Status = STATUS_NOT_SUPPORTED; break; } + }
LeaveCriticalSection( &device_section ); IoCompleteRequest( irp, IO_NO_INCREMENT );