bluetoothapis: Add stub dll.
Signed-off-by: Austin English <austinenglish@gmail.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
d8a39d40d8
commit
b533632c03
|
@ -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
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -0,0 +1,4 @@
|
|||
MODULE = bluetoothapis.dll
|
||||
|
||||
C_SRCS = \
|
||||
main.c
|
|
@ -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
|
|
@ -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;
|
||||
}
|
Loading…
Reference in New Issue