From: Austin English Subject: bthprops.cpl: add BluetoothFindFirstDevice stub Message-Id: Date: Thu, 19 May 2016 23:08:37 -0500 For https://bugs.winehq.org/show_bug.cgi?id=40660 -- -Austin From c83f3950bdae1626c488afb45579c83e3765fd50 Mon Sep 17 00:00:00 2001 From: Austin English Date: Thu, 19 May 2016 23:07:52 -0500 Subject: [PATCH] bthprops.cpl: add BluetoothFindFirstDevice stub Signed-off-by: Austin English --- dlls/bthprops.cpl/bthprops.cpl.spec | 2 +- dlls/bthprops.cpl/main.c | 11 +++++++++++ dlls/irprops.cpl/irprops.cpl.spec | 2 +- 3 files changed, 13 insertions(+), 2 deletions(-) diff --git a/dlls/bthprops.cpl/bthprops.cpl.spec b/dlls/bthprops.cpl/bthprops.cpl.spec index 3842a36..ed80b0e 100644 --- a/dlls/bthprops.cpl/bthprops.cpl.spec +++ b/dlls/bthprops.cpl/bthprops.cpl.spec @@ -14,7 +14,7 @@ @ stub BluetoothFindDeviceClose @ stub BluetoothFindFirstBrowseGroup @ stub BluetoothFindFirstClassId -@ stub BluetoothFindFirstDevice +@ stdcall BluetoothFindFirstDevice(ptr ptr) @ stub BluetoothFindFirstProfileDescriptor @ stub BluetoothFindFirstProtocolDescriptorStack @ stub BluetoothFindFirstProtocolEntry diff --git a/dlls/bthprops.cpl/main.c b/dlls/bthprops.cpl/main.c index b261328..445f7c0 100644 --- a/dlls/bthprops.cpl/main.c +++ b/dlls/bthprops.cpl/main.c @@ -32,6 +32,17 @@ WINE_DEFAULT_DEBUG_CHANNEL(bthpropscpl); /********************************************************************* + * BluetoothFindFirstDevice + */ +HBLUETOOTH_DEVICE_FIND WINAPI BluetoothFindFirstDevice(BLUETOOTH_DEVICE_SEARCH_PARAMS *pbtsp, + BLUETOOTH_DEVICE_INFO *pbtdi) +{ + FIXME("(%p %p): stub!\n", pbtsp, pbtdi); + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return NULL; +} + +/********************************************************************* * BluetoothFindFirstRadio */ HBLUETOOTH_RADIO_FIND WINAPI BluetoothFindFirstRadio(BLUETOOTH_FIND_RADIO_PARAMS *params, HANDLE *radio) diff --git a/dlls/irprops.cpl/irprops.cpl.spec b/dlls/irprops.cpl/irprops.cpl.spec index 083ccf4..d628315 100644 --- a/dlls/irprops.cpl/irprops.cpl.spec +++ b/dlls/irprops.cpl/irprops.cpl.spec @@ -11,7 +11,7 @@ @ stub BluetoothFindDeviceClose @ stub BluetoothFindFirstBrowseGroup @ stub BluetoothFindFirstClassId -@ stub BluetoothFindFirstDevice +@ stdcall BluetoothFindFirstDevice(ptr ptr) bthprops.cpl.BluetoothFindFirstDevice @ stub BluetoothFindFirstProfileDescriptor @ stub BluetoothFindFirstProtocolDescriptorStack @ stub BluetoothFindFirstProtocolEntry -- 2.8.1