mirror of
https://github.com/reactos/reactos.git
synced 2024-12-27 09:34:43 +00:00
[MPR][MOUNTMGR][DDK] Remove unused wine-specific code (#6958)
Usage of these in MPR was already inside #ifndef __REACTOS__ block, so, "This Is Fine".
This commit is contained in:
parent
0d36818422
commit
7930bed0a1
3 changed files with 2 additions and 14 deletions
|
@ -30,8 +30,10 @@
|
||||||
#include "npapi.h"
|
#include "npapi.h"
|
||||||
#include "winreg.h"
|
#include "winreg.h"
|
||||||
#include "winuser.h"
|
#include "winuser.h"
|
||||||
|
#ifndef __REACTOS__
|
||||||
#define WINE_MOUNTMGR_EXTENSIONS
|
#define WINE_MOUNTMGR_EXTENSIONS
|
||||||
#include "ddk/mountmgr.h"
|
#include "ddk/mountmgr.h"
|
||||||
|
#endif
|
||||||
#include "wine/debug.h"
|
#include "wine/debug.h"
|
||||||
#include "mprres.h"
|
#include "mprres.h"
|
||||||
#include "wnetpriv.h"
|
#include "wnetpriv.h"
|
||||||
|
|
|
@ -2793,9 +2793,6 @@ MountMgrDeviceControl(IN PDEVICE_OBJECT DeviceObject,
|
||||||
Status = MountMgrSetAutoMount(DeviceExtension, Irp);
|
Status = MountMgrSetAutoMount(DeviceExtension, Irp);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case IOCTL_MOUNTMGR_DEFINE_UNIX_DRIVE:
|
|
||||||
case IOCTL_MOUNTMGR_QUERY_UNIX_DRIVE:
|
|
||||||
DPRINT1("Winism! Rewrite the caller!\n");
|
|
||||||
default:
|
default:
|
||||||
Status = STATUS_INVALID_DEVICE_REQUEST;
|
Status = STATUS_INVALID_DEVICE_REQUEST;
|
||||||
}
|
}
|
||||||
|
|
|
@ -42,17 +42,6 @@ extern "C" {
|
||||||
DEFINE_GUID(MOUNTDEV_MOUNTED_DEVICE_GUID, 0x53F5630D, 0xB6BF, 0x11D0, 0x94, 0xF2, 0x00, 0xA0, 0xC9, 0x1E, 0xFB, 0x8B);
|
DEFINE_GUID(MOUNTDEV_MOUNTED_DEVICE_GUID, 0x53F5630D, 0xB6BF, 0x11D0, 0x94, 0xF2, 0x00, 0xA0, 0xC9, 0x1E, 0xFB, 0x8B);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define IOCTL_MOUNTMGR_DEFINE_UNIX_DRIVE CTL_CODE(MOUNTMGRCONTROLTYPE, 32, METHOD_BUFFERED, FILE_READ_ACCESS | FILE_WRITE_ACCESS)
|
|
||||||
#define IOCTL_MOUNTMGR_QUERY_UNIX_DRIVE CTL_CODE(MOUNTMGRCONTROLTYPE, 33, METHOD_BUFFERED, FILE_READ_ACCESS)
|
|
||||||
|
|
||||||
struct mountmgr_unix_drive {
|
|
||||||
ULONG size;
|
|
||||||
ULONG type;
|
|
||||||
WCHAR letter;
|
|
||||||
USHORT mount_point_offset;
|
|
||||||
USHORT device_offset;
|
|
||||||
};
|
|
||||||
|
|
||||||
#define IOCTL_MOUNTMGR_CREATE_POINT \
|
#define IOCTL_MOUNTMGR_CREATE_POINT \
|
||||||
CTL_CODE(MOUNTMGRCONTROLTYPE, 0, METHOD_BUFFERED, FILE_READ_ACCESS | FILE_WRITE_ACCESS)
|
CTL_CODE(MOUNTMGRCONTROLTYPE, 0, METHOD_BUFFERED, FILE_READ_ACCESS | FILE_WRITE_ACCESS)
|
||||||
#define IOCTL_MOUNTMGR_DELETE_POINTS \
|
#define IOCTL_MOUNTMGR_DELETE_POINTS \
|
||||||
|
|
Loading…
Reference in a new issue