mirror of
https://github.com/reactos/reactos.git
synced 2024-11-26 21:13:30 +08: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
@ -30,8 +30,10 @@
|
||||
#include "npapi.h"
|
||||
#include "winreg.h"
|
||||
#include "winuser.h"
|
||||
#ifndef __REACTOS__
|
||||
#define WINE_MOUNTMGR_EXTENSIONS
|
||||
#include "ddk/mountmgr.h"
|
||||
#endif
|
||||
#include "wine/debug.h"
|
||||
#include "mprres.h"
|
||||
#include "wnetpriv.h"
|
||||
|
@ -2793,9 +2793,6 @@ MountMgrDeviceControl(IN PDEVICE_OBJECT DeviceObject,
|
||||
Status = MountMgrSetAutoMount(DeviceExtension, Irp);
|
||||
break;
|
||||
|
||||
case IOCTL_MOUNTMGR_DEFINE_UNIX_DRIVE:
|
||||
case IOCTL_MOUNTMGR_QUERY_UNIX_DRIVE:
|
||||
DPRINT1("Winism! Rewrite the caller!\n");
|
||||
default:
|
||||
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);
|
||||
#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 \
|
||||
CTL_CODE(MOUNTMGRCONTROLTYPE, 0, METHOD_BUFFERED, FILE_READ_ACCESS | FILE_WRITE_ACCESS)
|
||||
#define IOCTL_MOUNTMGR_DELETE_POINTS \
|
||||
|
Loading…
Reference in New Issue
Block a user