From 1e5c5180a7677228c9d357e34122fee71f2150df Mon Sep 17 00:00:00 2001
From: Biswapriyo Nath <[email protected]>
Date: Sat, 2 Sep 2023 06:06:38 +0000
Subject: [PATCH 1/3] headers: Replace BOOL with WINBOOL in bluetoothapis.h

Signed-off-by: Biswapriyo Nath <[email protected]>
---
 mingw-w64-headers/include/bluetoothapis.h | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/mingw-w64-headers/include/bluetoothapis.h 
b/mingw-w64-headers/include/bluetoothapis.h
index b6a1185..5beaee9 100644
--- a/mingw-w64-headers/include/bluetoothapis.h
+++ b/mingw-w64-headers/include/bluetoothapis.h
@@ -109,7 +109,7 @@ typedef struct _BLUETOOTH_AUTHENTICATION_CALLBACK_PARAMS {
 #define BLUETOOTH_MAX_SERVICE_NAME_SIZE 256
 #define BLUETOOTH_DEVICE_NAME_SIZE 256
 typedef struct _BLUETOOTH_LOCAL_SERVICE_INFO {
-  BOOL              Enabled;
+  WINBOOL           Enabled;
   BLUETOOTH_ADDRESS btAddr;
   WCHAR             szName[BLUETOOTH_MAX_SERVICE_NAME_SIZE];
   WCHAR             szDeviceString[BLUETOOTH_DEVICE_NAME_SIZE];
@@ -157,12 +157,12 @@ typedef struct _BLUETOOTH_SELECT_DEVICE_PARAMS {
   BLUETOOTH_COD_PAIRS    *prgClassOfDevices;
   LPWSTR                 pszInfo;
   HWND                   hwndParent;
-  BOOL                   fForceAuthentication;
-  BOOL                   fShowAuthenticated;
-  BOOL                   fShowRemembered;
-  BOOL                   fShowUnknown;
-  BOOL                   fAddNewDeviceWizard;
-  BOOL                   fSkipServicesPage;
+  WINBOOL                fForceAuthentication;
+  WINBOOL                fShowAuthenticated;
+  WINBOOL                fShowRemembered;
+  WINBOOL                fShowUnknown;
+  WINBOOL                fAddNewDeviceWizard;
+  WINBOOL                fSkipServicesPage;
   PFN_DEVICE_CALLBACK    pfnDeviceCallback;
   LPVOID                 pvParam;
   DWORD                  cNumDevices;
-- 
2.42.0

_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to