2006-10-03 14:54:16 +02:00
|
|
|
/*
|
|
|
|
* Devices support using the MacOS Disk Arbitration library.
|
|
|
|
*
|
|
|
|
* Copyright 2006 Alexandre Julliard
|
|
|
|
*
|
|
|
|
* This library is free software; you can redistribute it and/or
|
|
|
|
* modify it under the terms of the GNU Lesser General Public
|
|
|
|
* License as published by the Free Software Foundation; either
|
|
|
|
* version 2.1 of the License, or (at your option) any later version.
|
|
|
|
*
|
|
|
|
* This library is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
|
|
* Lesser General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU Lesser General Public
|
|
|
|
* License along with this library; if not, write to the Free Software
|
|
|
|
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
|
|
|
*/
|
|
|
|
|
2021-11-26 16:50:41 +01:00
|
|
|
#if 0
|
|
|
|
#pragma makedep unix
|
|
|
|
#endif
|
|
|
|
|
2006-10-03 14:54:16 +02:00
|
|
|
#include "config.h"
|
|
|
|
|
|
|
|
#include <assert.h>
|
|
|
|
#include <errno.h>
|
2021-10-30 22:36:22 +02:00
|
|
|
#include <fcntl.h>
|
2006-10-03 14:54:16 +02:00
|
|
|
#include <stdarg.h>
|
|
|
|
#include <stdio.h>
|
2020-10-06 22:36:28 +02:00
|
|
|
#include <unistd.h>
|
2019-11-25 18:40:35 +01:00
|
|
|
#ifdef HAVE_SYS_IOCTL_H
|
|
|
|
# include <sys/ioctl.h>
|
|
|
|
#endif
|
2011-09-06 12:11:41 +02:00
|
|
|
#ifdef HAVE_DISKARBITRATION_DISKARBITRATION_H
|
|
|
|
#include <DiskArbitration/DiskArbitration.h>
|
|
|
|
#endif
|
2019-11-19 14:44:59 +01:00
|
|
|
#if defined(HAVE_SYSTEMCONFIGURATION_SCDYNAMICSTORECOPYDHCPINFO_H) && defined(HAVE_SYSTEMCONFIGURATION_SCNETWORKCONFIGURATION_H)
|
|
|
|
#include <SystemConfiguration/SCDynamicStoreCopyDHCPInfo.h>
|
|
|
|
#include <SystemConfiguration/SCNetworkConfiguration.h>
|
|
|
|
#endif
|
2006-10-03 14:54:16 +02:00
|
|
|
|
2008-03-04 07:58:32 +01:00
|
|
|
#include "mountmgr.h"
|
2019-11-19 14:44:59 +01:00
|
|
|
#define USE_WS_PREFIX
|
|
|
|
#include "winsock2.h"
|
|
|
|
#include "ws2ipdef.h"
|
|
|
|
#include "dhcpcsdk.h"
|
2021-11-26 16:50:41 +01:00
|
|
|
#include "unixlib.h"
|
|
|
|
|
2008-10-21 15:01:52 +02:00
|
|
|
#include "wine/debug.h"
|
2006-10-03 14:54:16 +02:00
|
|
|
|
2008-03-04 07:58:32 +01:00
|
|
|
WINE_DEFAULT_DEBUG_CHANNEL(mountmgr);
|
2006-10-03 14:54:16 +02:00
|
|
|
|
2006-11-05 21:03:46 +01:00
|
|
|
#ifdef HAVE_DISKARBITRATION_DISKARBITRATION_H
|
2006-10-03 14:54:16 +02:00
|
|
|
|
2019-11-25 18:40:35 +01:00
|
|
|
typedef struct
|
|
|
|
{
|
|
|
|
uint64_t bus;
|
|
|
|
uint64_t port;
|
|
|
|
uint64_t target;
|
|
|
|
uint64_t lun;
|
|
|
|
} dk_scsi_identify_t;
|
|
|
|
|
|
|
|
#define DKIOCSCSIIDENTIFY _IOR('d', 254, dk_scsi_identify_t)
|
|
|
|
|
2006-10-03 14:54:16 +02:00
|
|
|
static void appeared_callback( DADiskRef disk, void *context )
|
|
|
|
{
|
|
|
|
CFDictionaryRef dict = DADiskCopyDescription( disk );
|
|
|
|
const void *ref;
|
|
|
|
char device[64];
|
|
|
|
char mount_point[PATH_MAX];
|
2019-11-25 18:40:35 +01:00
|
|
|
size_t model_len = 0;
|
2009-07-20 16:11:17 +02:00
|
|
|
GUID guid, *guid_ptr = NULL;
|
2008-11-12 10:47:49 +01:00
|
|
|
enum device_type type = DEVICE_UNKNOWN;
|
2021-11-25 12:29:00 +01:00
|
|
|
struct scsi_info scsi_info = { 0 };
|
|
|
|
BOOL removable = FALSE;
|
2019-11-25 18:40:35 +01:00
|
|
|
int fd;
|
2006-10-03 14:54:16 +02:00
|
|
|
|
|
|
|
if (!dict) return;
|
|
|
|
|
2009-07-20 16:11:17 +02:00
|
|
|
if ((ref = CFDictionaryGetValue( dict, CFSTR("DAVolumeUUID") )))
|
|
|
|
{
|
|
|
|
CFUUIDBytes bytes = CFUUIDGetUUIDBytes( ref );
|
|
|
|
memcpy( &guid, &bytes, sizeof(guid) );
|
|
|
|
guid_ptr = &guid;
|
|
|
|
}
|
|
|
|
|
2006-10-03 14:54:16 +02:00
|
|
|
/* get device name */
|
2007-02-07 17:11:52 +01:00
|
|
|
if (!(ref = CFDictionaryGetValue( dict, CFSTR("DAMediaBSDName") ))) goto done;
|
2006-10-03 14:54:16 +02:00
|
|
|
strcpy( device, "/dev/r" );
|
|
|
|
CFStringGetCString( ref, device + 6, sizeof(device) - 6, kCFStringEncodingASCII );
|
|
|
|
|
|
|
|
if ((ref = CFDictionaryGetValue( dict, CFSTR("DAVolumePath") )))
|
|
|
|
CFURLGetFileSystemRepresentation( ref, true, (UInt8 *)mount_point, sizeof(mount_point) );
|
|
|
|
else
|
|
|
|
mount_point[0] = 0;
|
|
|
|
|
2011-02-08 23:12:54 +01:00
|
|
|
if ((ref = CFDictionaryGetValue( dict, CFSTR("DAMediaKind") )))
|
2006-10-03 14:54:16 +02:00
|
|
|
{
|
2011-02-08 23:12:54 +01:00
|
|
|
if (!CFStringCompare( ref, CFSTR("IOCDMedia"), 0 ))
|
2019-11-25 18:40:35 +01:00
|
|
|
{
|
2008-11-12 10:47:49 +01:00
|
|
|
type = DEVICE_CDROM;
|
2021-11-25 12:29:00 +01:00
|
|
|
scsi_info.type = 5;
|
2019-11-25 18:40:35 +01:00
|
|
|
}
|
2011-02-08 23:12:54 +01:00
|
|
|
if (!CFStringCompare( ref, CFSTR("IODVDMedia"), 0 ) ||
|
|
|
|
!CFStringCompare( ref, CFSTR("IOBDMedia"), 0 ))
|
2019-11-25 18:40:35 +01:00
|
|
|
{
|
2011-02-08 23:12:54 +01:00
|
|
|
type = DEVICE_DVD;
|
2021-11-25 12:29:00 +01:00
|
|
|
scsi_info.type = 5;
|
2019-11-25 18:40:35 +01:00
|
|
|
}
|
2011-02-08 23:12:54 +01:00
|
|
|
if (!CFStringCompare( ref, CFSTR("IOMedia"), 0 ))
|
|
|
|
type = DEVICE_HARDDISK;
|
2006-10-03 14:54:16 +02:00
|
|
|
}
|
|
|
|
|
2019-11-25 18:40:35 +01:00
|
|
|
if ((ref = CFDictionaryGetValue( dict, CFSTR("DADeviceVendor") )))
|
|
|
|
{
|
|
|
|
CFIndex i;
|
|
|
|
|
2021-11-25 12:29:00 +01:00
|
|
|
CFStringGetCString( ref, scsi_info.model, sizeof(scsi_info.model), kCFStringEncodingASCII );
|
2019-11-25 18:40:35 +01:00
|
|
|
model_len += CFStringGetLength( ref );
|
|
|
|
/* Pad to 8 characters */
|
|
|
|
for (i = 0; i < (CFIndex)8 - CFStringGetLength( ref ); ++i)
|
2021-11-25 12:29:00 +01:00
|
|
|
scsi_info.model[model_len++] = ' ';
|
2019-11-25 18:40:35 +01:00
|
|
|
}
|
|
|
|
if ((ref = CFDictionaryGetValue( dict, CFSTR("DADeviceModel") )))
|
|
|
|
{
|
|
|
|
CFIndex i;
|
|
|
|
|
2021-11-25 12:29:00 +01:00
|
|
|
CFStringGetCString( ref, scsi_info.model+model_len, sizeof(scsi_info.model)-model_len, kCFStringEncodingASCII );
|
2019-11-25 18:40:35 +01:00
|
|
|
model_len += CFStringGetLength( ref );
|
|
|
|
/* Pad to 16 characters */
|
|
|
|
for (i = 0; i < (CFIndex)16 - CFStringGetLength( ref ); ++i)
|
2021-11-25 12:29:00 +01:00
|
|
|
scsi_info.model[model_len++] = ' ';
|
2019-11-25 18:40:35 +01:00
|
|
|
}
|
|
|
|
if ((ref = CFDictionaryGetValue( dict, CFSTR("DADeviceRevision") )))
|
|
|
|
{
|
|
|
|
CFIndex i;
|
|
|
|
|
2021-11-25 12:29:00 +01:00
|
|
|
CFStringGetCString( ref, scsi_info.model+model_len, sizeof(scsi_info.model)-model_len, kCFStringEncodingASCII );
|
2019-11-25 18:40:35 +01:00
|
|
|
model_len += CFStringGetLength( ref );
|
|
|
|
/* Pad to 4 characters */
|
|
|
|
for (i = 0; i < (CFIndex)4 - CFStringGetLength( ref ); ++i)
|
2021-11-25 12:29:00 +01:00
|
|
|
scsi_info.model[model_len++] = ' ';
|
2019-11-25 18:40:35 +01:00
|
|
|
}
|
|
|
|
|
2009-07-20 16:11:17 +02:00
|
|
|
TRACE( "got mount notification for '%s' on '%s' uuid %s\n",
|
|
|
|
device, mount_point, wine_dbgstr_guid(guid_ptr) );
|
2006-10-03 14:54:16 +02:00
|
|
|
|
2021-11-25 12:29:00 +01:00
|
|
|
if ((ref = CFDictionaryGetValue( dict, CFSTR("DAMediaRemovable") )))
|
|
|
|
removable = CFBooleanGetValue( ref );
|
2009-07-21 20:33:17 +02:00
|
|
|
|
2020-10-06 22:36:28 +02:00
|
|
|
if (!access( device, R_OK ) &&
|
|
|
|
(fd = open( device, O_RDONLY )) >= 0)
|
2019-11-25 18:40:35 +01:00
|
|
|
{
|
|
|
|
dk_scsi_identify_t dsi;
|
|
|
|
|
|
|
|
if (ioctl( fd, DKIOCSCSIIDENTIFY, &dsi ) >= 0)
|
|
|
|
{
|
2021-11-25 12:29:00 +01:00
|
|
|
scsi_info.addr.PortNumber = dsi.bus;
|
|
|
|
scsi_info.addr.PathId = dsi.port;
|
|
|
|
scsi_info.addr.TargetId = dsi.target;
|
|
|
|
scsi_info.addr.Lun = dsi.lun;
|
|
|
|
scsi_info.init_id = 255; /* FIXME */
|
|
|
|
strcpy( scsi_info.driver, "WINE SCSI" ); /* FIXME */
|
2019-11-25 18:40:35 +01:00
|
|
|
}
|
|
|
|
close( fd );
|
|
|
|
}
|
|
|
|
|
2021-11-25 12:29:00 +01:00
|
|
|
if (removable)
|
2021-11-26 16:50:41 +01:00
|
|
|
queue_device_op( ADD_DOS_DEVICE, device, device, mount_point, type, guid_ptr, NULL, &scsi_info );
|
2021-11-25 12:29:00 +01:00
|
|
|
else
|
2021-11-26 16:50:41 +01:00
|
|
|
if (guid_ptr) queue_device_op( ADD_VOLUME, device, device, mount_point, DEVICE_HARDDISK_VOL, guid_ptr, NULL, &scsi_info );
|
2021-11-25 12:29:00 +01:00
|
|
|
|
2007-02-07 17:11:52 +01:00
|
|
|
done:
|
2006-10-03 14:54:16 +02:00
|
|
|
CFRelease( dict );
|
|
|
|
}
|
|
|
|
|
|
|
|
static void changed_callback( DADiskRef disk, CFArrayRef keys, void *context )
|
|
|
|
{
|
|
|
|
appeared_callback( disk, context );
|
|
|
|
}
|
|
|
|
|
|
|
|
static void disappeared_callback( DADiskRef disk, void *context )
|
|
|
|
{
|
|
|
|
CFDictionaryRef dict = DADiskCopyDescription( disk );
|
|
|
|
const void *ref;
|
|
|
|
char device[100];
|
|
|
|
|
|
|
|
if (!dict) return;
|
|
|
|
|
|
|
|
/* get device name */
|
2007-02-07 17:11:52 +01:00
|
|
|
if (!(ref = CFDictionaryGetValue( dict, CFSTR("DAMediaBSDName") ))) goto done;
|
2006-10-03 14:54:16 +02:00
|
|
|
strcpy( device, "/dev/r" );
|
|
|
|
CFStringGetCString( ref, device + 6, sizeof(device) - 6, kCFStringEncodingASCII );
|
|
|
|
|
2008-03-04 07:58:32 +01:00
|
|
|
TRACE( "got unmount notification for '%s'\n", device );
|
2006-10-03 14:54:16 +02:00
|
|
|
|
2021-11-26 16:50:41 +01:00
|
|
|
queue_device_op( REMOVE_DEVICE, device, NULL, NULL, 0, NULL, NULL, NULL );
|
2009-07-21 20:33:17 +02:00
|
|
|
|
2007-02-07 17:11:52 +01:00
|
|
|
done:
|
2006-10-03 14:54:16 +02:00
|
|
|
CFRelease( dict );
|
|
|
|
}
|
|
|
|
|
2021-11-26 16:50:41 +01:00
|
|
|
void run_diskarbitration_loop(void)
|
2006-10-03 14:54:16 +02:00
|
|
|
{
|
|
|
|
DASessionRef session = DASessionCreate( NULL );
|
|
|
|
|
2021-11-26 16:50:41 +01:00
|
|
|
if (!session) return;
|
2006-10-03 14:54:16 +02:00
|
|
|
|
|
|
|
DASessionScheduleWithRunLoop( session, CFRunLoopGetCurrent(), kCFRunLoopDefaultMode );
|
|
|
|
DARegisterDiskAppearedCallback( session, kDADiskDescriptionMatchVolumeMountable,
|
|
|
|
appeared_callback, NULL );
|
|
|
|
DARegisterDiskDisappearedCallback( session, kDADiskDescriptionMatchVolumeMountable,
|
|
|
|
disappeared_callback, NULL );
|
|
|
|
DARegisterDiskDescriptionChangedCallback( session, kDADiskDescriptionMatchVolumeMountable,
|
|
|
|
kDADiskDescriptionWatchVolumePath, changed_callback, NULL );
|
|
|
|
CFRunLoopRun();
|
|
|
|
DASessionUnscheduleFromRunLoop( session, CFRunLoopGetCurrent(), kCFRunLoopDefaultMode );
|
|
|
|
CFRelease( session );
|
|
|
|
}
|
|
|
|
|
2006-11-05 21:03:46 +01:00
|
|
|
#else /* HAVE_DISKARBITRATION_DISKARBITRATION_H */
|
2006-10-03 14:54:16 +02:00
|
|
|
|
2021-11-26 16:50:41 +01:00
|
|
|
void run_diskarbitration_loop(void)
|
2006-10-03 14:54:16 +02:00
|
|
|
{
|
2008-03-04 07:58:32 +01:00
|
|
|
TRACE( "Skipping, Disk Arbitration support not compiled in\n" );
|
2006-10-03 14:54:16 +02:00
|
|
|
}
|
|
|
|
|
2006-11-05 21:03:46 +01:00
|
|
|
#endif /* HAVE_DISKARBITRATION_DISKARBITRATION_H */
|
2019-11-19 14:44:59 +01:00
|
|
|
|
|
|
|
#if defined(HAVE_SYSTEMCONFIGURATION_SCDYNAMICSTORECOPYDHCPINFO_H) && defined(HAVE_SYSTEMCONFIGURATION_SCNETWORKCONFIGURATION_H)
|
|
|
|
|
|
|
|
static UInt8 map_option( ULONG option )
|
|
|
|
{
|
|
|
|
switch (option)
|
|
|
|
{
|
|
|
|
case OPTION_SUBNET_MASK: return 1;
|
|
|
|
case OPTION_ROUTER_ADDRESS: return 3;
|
|
|
|
case OPTION_HOST_NAME: return 12;
|
|
|
|
case OPTION_DOMAIN_NAME: return 15;
|
|
|
|
case OPTION_BROADCAST_ADDRESS: return 28;
|
|
|
|
case OPTION_MSFT_IE_PROXY: return 252;
|
|
|
|
default:
|
|
|
|
FIXME( "unhandled option %u\n", option );
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-11-25 11:07:37 +01:00
|
|
|
static CFStringRef find_service_id( const char *unix_name )
|
2019-11-19 14:44:59 +01:00
|
|
|
{
|
|
|
|
SCPreferencesRef prefs;
|
|
|
|
SCNetworkSetRef set = NULL;
|
|
|
|
CFArrayRef services = NULL;
|
|
|
|
CFStringRef id, ret = NULL;
|
|
|
|
CFIndex i;
|
|
|
|
|
|
|
|
if (!(prefs = SCPreferencesCreate( NULL, CFSTR("mountmgr.sys"), NULL ))) return NULL;
|
|
|
|
if (!(set = SCNetworkSetCopyCurrent( prefs ))) goto done;
|
|
|
|
if (!(services = SCNetworkSetCopyServices( set ))) goto done;
|
|
|
|
|
|
|
|
for (i = 0; i < CFArrayGetCount( services ); i++)
|
|
|
|
{
|
|
|
|
SCNetworkServiceRef service;
|
2021-11-25 11:07:37 +01:00
|
|
|
char buf[16];
|
2019-11-19 14:44:59 +01:00
|
|
|
CFStringRef name;
|
|
|
|
|
|
|
|
service = CFArrayGetValueAtIndex( services, i );
|
|
|
|
name = SCNetworkInterfaceGetBSDName( SCNetworkServiceGetInterface(service) );
|
2021-11-25 11:07:37 +01:00
|
|
|
if (name && CFStringGetCString( name, buf, sizeof(buf), kCFStringEncodingUTF8 ))
|
2019-11-19 14:44:59 +01:00
|
|
|
{
|
2021-11-25 11:07:37 +01:00
|
|
|
if (!strcmp( buf, unix_name ) && (id = SCNetworkServiceGetServiceID( service )))
|
2019-11-19 14:44:59 +01:00
|
|
|
{
|
|
|
|
ret = CFStringCreateCopy( NULL, id );
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
done:
|
|
|
|
if (services) CFRelease( services );
|
|
|
|
if (set) CFRelease( set );
|
|
|
|
CFRelease( prefs );
|
|
|
|
return ret;
|
|
|
|
}
|
|
|
|
|
2021-11-26 16:50:41 +01:00
|
|
|
NTSTATUS dhcp_request( void *args )
|
2019-11-19 14:44:59 +01:00
|
|
|
{
|
2021-11-26 16:50:41 +01:00
|
|
|
const struct dhcp_request_params *params = args;
|
|
|
|
CFStringRef service_id = find_service_id( params->unix_name );
|
2019-11-19 14:44:59 +01:00
|
|
|
CFDictionaryRef dict;
|
|
|
|
CFDataRef value;
|
|
|
|
DWORD ret = 0;
|
|
|
|
CFIndex len;
|
|
|
|
|
2021-11-26 16:50:41 +01:00
|
|
|
params->req->offset = 0;
|
|
|
|
params->req->size = 0;
|
2019-11-19 14:44:59 +01:00
|
|
|
|
|
|
|
if (!service_id) return 0;
|
|
|
|
if (!(dict = SCDynamicStoreCopyDHCPInfo( NULL, service_id )))
|
|
|
|
{
|
|
|
|
CFRelease( service_id );
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
CFRelease( service_id );
|
2021-11-26 16:50:41 +01:00
|
|
|
if (!(value = DHCPInfoGetOptionData( dict, map_option(params->req->id) )))
|
2019-11-19 14:44:59 +01:00
|
|
|
{
|
|
|
|
CFRelease( dict );
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
len = CFDataGetLength( value );
|
|
|
|
|
2021-11-26 16:50:41 +01:00
|
|
|
switch (params->req->id)
|
2019-11-19 14:44:59 +01:00
|
|
|
{
|
|
|
|
case OPTION_SUBNET_MASK:
|
|
|
|
case OPTION_ROUTER_ADDRESS:
|
|
|
|
case OPTION_BROADCAST_ADDRESS:
|
|
|
|
{
|
2021-11-26 16:50:41 +01:00
|
|
|
DWORD *ptr = (DWORD *)(params->buffer + params->offset);
|
|
|
|
if (len == sizeof(*ptr) && params->size >= sizeof(*ptr))
|
2019-11-19 14:44:59 +01:00
|
|
|
{
|
|
|
|
CFDataGetBytes( value, CFRangeMake(0, len), (UInt8 *)ptr );
|
2021-11-26 16:50:41 +01:00
|
|
|
params->req->offset = params->offset;
|
|
|
|
params->req->size = sizeof(*ptr);
|
2019-11-19 14:44:59 +01:00
|
|
|
TRACE( "returning %08x\n", *ptr );
|
|
|
|
}
|
|
|
|
ret = sizeof(*ptr);
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
case OPTION_HOST_NAME:
|
|
|
|
case OPTION_DOMAIN_NAME:
|
|
|
|
case OPTION_MSFT_IE_PROXY:
|
|
|
|
{
|
2021-11-26 16:50:41 +01:00
|
|
|
char *ptr = params->buffer + params->offset;
|
|
|
|
if (params->size >= len)
|
2019-11-19 14:44:59 +01:00
|
|
|
{
|
|
|
|
CFDataGetBytes( value, CFRangeMake(0, len), (UInt8 *)ptr );
|
2021-11-26 16:50:41 +01:00
|
|
|
params->req->offset = params->offset;
|
|
|
|
params->req->size = len;
|
2019-11-19 14:44:59 +01:00
|
|
|
TRACE( "returning %s\n", debugstr_an(ptr, len) );
|
|
|
|
}
|
|
|
|
ret = len;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
default:
|
2021-11-26 16:50:41 +01:00
|
|
|
FIXME( "option %u not supported\n", params->req->id );
|
2019-11-19 14:44:59 +01:00
|
|
|
break;
|
|
|
|
}
|
|
|
|
|
|
|
|
CFRelease( dict );
|
2021-11-26 16:50:41 +01:00
|
|
|
*params->ret_size = ret;
|
|
|
|
return STATUS_SUCCESS;
|
2019-11-19 14:44:59 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
#elif !defined(SONAME_LIBDBUS_1)
|
|
|
|
|
2021-11-26 16:50:41 +01:00
|
|
|
NTSTATUS dhcp_request( void *args )
|
2019-11-19 14:44:59 +01:00
|
|
|
{
|
2021-11-26 16:50:41 +01:00
|
|
|
return STATUS_NOT_SUPPORTED;
|
2019-11-19 14:44:59 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
#endif
|