[PATCH] bthprops.cpl: Add BluetoothFindNextRadio stub.

Cláudio Sampaio patola at gmail.com
Sat Jul 3 17:26:27 CDT 2021


For the record: I tested this patch with proton's wine and GangV: Battle
Royale worked perfectly (it wasn't working before the patch). The bluetooth
code doesn't seem different between proton's wine and wine, so it should
work correctly.

On Sun, Jul 4, 2021 at 12:10 AM Esdras Tarsis <esdrastarsis at gmail.com>
wrote:

> For GangV Battle Royale
>
> Signed-off-by: Esdras Tarsis <esdrastarsis at gmail.com>
> ---
>  dlls/bthprops.cpl/bthprops.cpl.spec |  2 +-
>  dlls/bthprops.cpl/main.c            | 10 ++++++++++
>  dlls/irprops.cpl/irprops.cpl.spec   |  2 +-
>  3 files changed, 12 insertions(+), 2 deletions(-)
>
> diff --git a/dlls/bthprops.cpl/bthprops.cpl.spec
> b/dlls/bthprops.cpl/bthprops.cpl.spec
> index 26d2429c6ba..49b181763ee 100644
> --- a/dlls/bthprops.cpl/bthprops.cpl.spec
> +++ b/dlls/bthprops.cpl/bthprops.cpl.spec
> @@ -27,7 +27,7 @@
>  @ stub BluetoothFindNextProfileDescriptor
>  @ stub BluetoothFindNextProtocolDescriptorStack
>  @ stub BluetoothFindNextProtocolEntry
> -@ stub BluetoothFindNextRadio
> +@ stdcall BluetoothFindNextRadio(ptr ptr)
>  @ stub BluetoothFindNextService
>  @ stub BluetoothFindProfileDescriptorClose
>  @ stub BluetoothFindProtocolDescriptorStackClose
> diff --git a/dlls/bthprops.cpl/main.c b/dlls/bthprops.cpl/main.c
> index 60a781ef840..943c9dcb764 100644
> --- a/dlls/bthprops.cpl/main.c
> +++ b/dlls/bthprops.cpl/main.c
> @@ -70,3 +70,13 @@ BOOL WINAPI
> BluetoothFindDeviceClose(HBLUETOOTH_DEVICE_FIND find)
>      SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
>      return FALSE;
>  }
> +
> +/*********************************************************************
> + *  BluetoothFindNextRadio
> + */
> +BOOL WINAPI BluetoothFindNextRadio(HBLUETOOTH_RADIO_FIND find, HANDLE
> *radio)
> +{
> +    FIXME("(%p, %p): stub!\n", find, radio);
> +    SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
> +    return FALSE;
> +}
> diff --git a/dlls/irprops.cpl/irprops.cpl.spec
> b/dlls/irprops.cpl/irprops.cpl.spec
> index ca24b49dd47..f2fa18aab89 100644
> --- a/dlls/irprops.cpl/irprops.cpl.spec
> +++ b/dlls/irprops.cpl/irprops.cpl.spec
> @@ -23,7 +23,7 @@
>  @ stub BluetoothFindNextProfileDescriptor
>  @ stub BluetoothFindNextProtocolDescriptorStack
>  @ stub BluetoothFindNextProtocolEntry
> -@ stub BluetoothFindNextRadio
> +@ stdcall BluetoothFindNextRadio(ptr ptr)
> bthprops.cpl.BluetoothFindNextRadio
>  @ stub BluetoothFindNextService
>  @ stub BluetoothFindProfileDescriptorClose
>  @ stub BluetoothFindProtocolDescriptorStackClose
> --
> 2.32.0
>
>
>

-- 
Cláudio "Patola" Sampaio
Wrocław, Polska
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.winehq.org/pipermail/wine-devel/attachments/20210704/f3da8fa9/attachment.htm>


More information about the wine-devel mailing list