mountmgr.sys: {add,remove}_volume are only used if HAVE_DISKARBITRATION_DISKARBITRATION_H is set.
Francois Gouget
fgouget at free.fr
Sun Aug 30 13:20:07 CDT 2009
---
dlls/mountmgr.sys/device.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/dlls/mountmgr.sys/device.c b/dlls/mountmgr.sys/device.c
index d17f878..44a4102 100644
--- a/dlls/mountmgr.sys/device.c
+++ b/dlls/mountmgr.sys/device.c
@@ -655,6 +655,7 @@ static void create_drive_devices(void)
RtlFreeHeap( GetProcessHeap(), 0, path );
}
+#ifdef HAVE_DISKARBITRATION_DISKARBITRATION_H
/* create a new disk volume */
NTSTATUS add_volume( const char *udi, const char *device, const char *mount_point,
enum device_type type, const GUID *guid )
@@ -697,6 +698,7 @@ NTSTATUS remove_volume( const char *udi )
LeaveCriticalSection( &device_section );
return status;
}
+#endif
/* create a new dos drive */
--
1.6.3.3
More information about the wine-patches
mailing list