Austin English : bluetoothapis: Add stub dll.
Alexandre Julliard
julliard at wine.codeweavers.com
Wed Nov 11 08:36:43 CST 2015
Module: wine
Branch: master
Commit: b533632c0337c05260e189a08d7547913c04711f
URL: http://source.winehq.org/git/wine.git/?a=commit;h=b533632c0337c05260e189a08d7547913c04711f
Author: Austin English <austinenglish at gmail.com>
Date: Tue Nov 10 12:02:40 2015 -0600
bluetoothapis: Add stub dll.
Signed-off-by: Austin English <austinenglish at gmail.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
configure | 2 +
configure.ac | 1 +
dlls/bluetoothapis/Makefile.in | 4 ++
dlls/bluetoothapis/bluetoothapis.spec | 96 +++++++++++++++++++++++++++++++++++
dlls/bluetoothapis/main.c | 40 +++++++++++++++
5 files changed, 143 insertions(+)
diff --git a/configure b/configure
index 7161077..af5d7cf 100755
--- a/configure
+++ b/configure
@@ -963,6 +963,7 @@ enable_avicap32
enable_avifil32
enable_avrt
enable_bcrypt
+enable_bluetoothapis
enable_browseui
enable_bthprops_cpl
enable_cabinet
@@ -17465,6 +17466,7 @@ wine_fn_config_dll avifile.dll16 enable_win16
wine_fn_config_dll avrt enable_avrt implib
wine_fn_config_dll bcrypt enable_bcrypt
wine_fn_config_test dlls/bcrypt/tests bcrypt_test
+wine_fn_config_dll bluetoothapis enable_bluetoothapis
wine_fn_config_dll browseui enable_browseui clean,po
wine_fn_config_test dlls/browseui/tests browseui_test
wine_fn_config_dll bthprops.cpl enable_bthprops_cpl
diff --git a/configure.ac b/configure.ac
index 84420a9..74800a5 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2820,6 +2820,7 @@ WINE_CONFIG_DLL(avifile.dll16,enable_win16)
WINE_CONFIG_DLL(avrt,,[implib])
WINE_CONFIG_DLL(bcrypt)
WINE_CONFIG_TEST(dlls/bcrypt/tests)
+WINE_CONFIG_DLL(bluetoothapis)
WINE_CONFIG_DLL(browseui,,[clean,po])
WINE_CONFIG_TEST(dlls/browseui/tests)
WINE_CONFIG_DLL(bthprops.cpl)
diff --git a/dlls/bluetoothapis/Makefile.in b/dlls/bluetoothapis/Makefile.in
new file mode 100644
index 0000000..5050cff
--- /dev/null
+++ b/dlls/bluetoothapis/Makefile.in
@@ -0,0 +1,4 @@
+MODULE = bluetoothapis.dll
+
+C_SRCS = \
+ main.c
diff --git a/dlls/bluetoothapis/bluetoothapis.spec b/dlls/bluetoothapis/bluetoothapis.spec
new file mode 100644
index 0000000..fc24cb3
--- /dev/null
+++ b/dlls/bluetoothapis/bluetoothapis.spec
@@ -0,0 +1,96 @@
+@ stub BluetoothAddressToString
+@ stub BluetoothDisconnectDevice
+@ stub BluetoothEnableDiscovery
+@ stub BluetoothEnableIncomingConnections
+@ stub BluetoothEnumerateInstalledServices
+@ stub BluetoothEnumerateInstalledServicesEx
+@ stub BluetoothEnumerateLocalServices
+@ stub BluetoothFindBrowseGroupClose
+@ stub BluetoothFindClassIdClose
+@ stub BluetoothFindDeviceClose
+@ stub BluetoothFindFirstBrowseGroup
+@ stub BluetoothFindFirstClassId
+@ stub BluetoothFindFirstDevice
+@ stub BluetoothFindFirstProfileDescriptor
+@ stub BluetoothFindFirstProtocolDescriptorStack
+@ stub BluetoothFindFirstProtocolEntry
+@ stub BluetoothFindFirstRadio
+@ stub BluetoothFindFirstService
+@ stub BluetoothFindFirstServiceEx
+@ stub BluetoothFindNextBrowseGroup
+@ stub BluetoothFindNextClassId
+@ stub BluetoothFindNextDevice
+@ stub BluetoothFindNextProfileDescriptor
+@ stub BluetoothFindNextProtocolDescriptorStack
+@ stub BluetoothFindNextProtocolEntry
+@ stub BluetoothFindNextRadio
+@ stub BluetoothFindNextService
+@ stub BluetoothFindProfileDescriptorClose
+@ stub BluetoothFindProtocolDescriptorStackClose
+@ stub BluetoothFindProtocolEntryClose
+@ stub BluetoothFindRadioClose
+@ stub BluetoothFindServiceClose
+@ stub BluetoothGATTAbortReliableWrite
+@ stub BluetoothGATTBeginReliableWrite
+@ stub BluetoothGATTEndReliableWrite
+@ stub BluetoothGATTGetCharacteristicValue
+@ stub BluetoothGATTGetCharacteristics
+@ stub BluetoothGATTGetDescriptorValue
+@ stub BluetoothGATTGetDescriptors
+@ stub BluetoothGATTGetIncludedServices
+@ stub BluetoothGATTGetServices
+@ stub BluetoothGATTRegisterEvent
+@ stub BluetoothGATTSetCharacteristicValue
+@ stub BluetoothGATTSetDescriptorValue
+@ stub BluetoothGATTUnregisterEvent
+@ stub BluetoothGetDeviceInfo
+@ stub BluetoothGetLocalServiceInfo
+@ stub BluetoothGetRadioInfo
+@ stub BluetoothGetServicePnpInstance
+@ stub BluetoothIsConnectable
+@ stub BluetoothIsDiscoverable
+@ stub BluetoothIsVersionAvailable
+@ stub BluetoothRegisterForAuthentication
+@ stub BluetoothRegisterForAuthenticationEx
+@ stub BluetoothRemoveDevice
+@ stub BluetoothSdpEnumAttributes
+@ stub BluetoothSdpGetAttributeValue
+@ stub BluetoothSdpGetContainerElementData
+@ stub BluetoothSdpGetElementData
+@ stub BluetoothSdpGetString
+@ stub BluetoothSendAuthenticationResponse
+@ stub BluetoothSendAuthenticationResponseEx
+@ stub BluetoothSetLocalServiceInfo
+@ stub BluetoothSetServiceState
+@ stub BluetoothSetServiceStateEx
+@ stub BluetoothUnregisterAuthentication
+@ stub BluetoothUpdateDeviceRecord
+@ stub BthpCheckForUnsupportedGuid
+@ stub BthpCleanupBRDeviceNode
+@ stub BthpCleanupDeviceLocalServices
+@ stub BthpCleanupDeviceRemoteServices
+@ stub BthpCleanupLEDeviceNodes
+@ stub BthpEnableAllServices
+@ stub BthpEnableConnectableAndDiscoverable
+@ stub BthpEnableRadioSoftware
+@ stub BthpFindPnpInfo
+@ stub BthpGATTCloseSession
+@ stub BthpInnerRecord
+@ stub BthpIsBluetoothServiceRunning
+@ stub BthpIsConnectableByDefault
+@ stub BthpIsDiscoverable
+@ stub BthpIsDiscoverableByDefault
+@ stub BthpIsRadioSoftwareEnabled
+@ stub BthpIsTopOfServiceGroup
+@ stub BthpMapStatusToErr
+@ stub BthpNextRecord
+@ stub BthpRegisterForAuthentication
+@ stub BthpSetServiceState
+@ stub BthpSetServiceStateEx
+@ stub BthpTranspose16Bits
+@ stub BthpTranspose32Bits
+@ stub BthpTransposeAndExtendBytes
+@ stub DllCanUnloadNow
+@ stub FindNextOpenVCOMPort
+@ stub InstallIncomingComPort
+@ stub ShouldForceAuthentication
diff --git a/dlls/bluetoothapis/main.c b/dlls/bluetoothapis/main.c
new file mode 100644
index 0000000..2ff8f67
--- /dev/null
+++ b/dlls/bluetoothapis/main.c
@@ -0,0 +1,40 @@
+/*
+ * Bluetooth APIs
+ *
+ * Copyright 2015 Austin English
+ *
+ * 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
+ */
+
+#include "config.h"
+
+#include <stdarg.h>
+
+#include "windef.h"
+#include "winbase.h"
+
+BOOL WINAPI DllMain(HINSTANCE instance, DWORD reason, void *reserved)
+{
+ switch (reason)
+ {
+ case DLL_WINE_PREATTACH:
+ return FALSE; /* prefer native version */
+ case DLL_PROCESS_ATTACH:
+ DisableThreadLibraryCalls(instance);
+ break;
+ }
+
+ return TRUE;
+}
More information about the wine-cvs
mailing list