Hans Leidekker : mountmgr: Add a stub implementation of ioctl 0x560000.
Alexandre Julliard
julliard at winehq.org
Mon Jan 31 11:26:14 CST 2011
Module: wine
Branch: master
Commit: d49134686190c31d5054b6778ffe7af6d3b51bf8
URL: http://source.winehq.org/git/wine.git/?a=commit;h=d49134686190c31d5054b6778ffe7af6d3b51bf8
Author: Hans Leidekker <hans at codeweavers.com>
Date: Mon Jan 31 11:31:46 2011 +0100
mountmgr: Add a stub implementation of ioctl 0x560000.
---
dlls/mountmgr.sys/device.c | 10 ++++++++++
1 files changed, 10 insertions(+), 0 deletions(-)
diff --git a/dlls/mountmgr.sys/device.c b/dlls/mountmgr.sys/device.c
index 6c182e8..e23d741 100644
--- a/dlls/mountmgr.sys/device.c
+++ b/dlls/mountmgr.sys/device.c
@@ -896,6 +896,16 @@ 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:
+ {
+ DWORD len = min( 32, irpsp->Parameters.DeviceIoControl.OutputBufferLength );
+
+ FIXME( "returning zero-filled buffer for ioctl 0x560000\n" );
+ memset( irp->MdlAddress->StartVa, 0, len );
+ irp->IoStatus.Information = len;
+ irp->IoStatus.u.Status = STATUS_SUCCESS;
+ break;
+ }
default:
FIXME( "unsupported ioctl %x\n", irpsp->Parameters.DeviceIoControl.IoControlCode );
irp->IoStatus.u.Status = STATUS_NOT_SUPPORTED;
More information about the wine-cvs
mailing list