https://git.reactos.org/?p=reactos.git;a=commitdiff;h=2a6aa7770efef022ced875baf7fe083cde9c53a6

commit 2a6aa7770efef022ced875baf7fe083cde9c53a6
Author:     Abdulganiev Rafael <40519766+a-raf...@users.noreply.github.com>
AuthorDate: Sat Sep 22 01:42:27 2018 +0400
Commit:     Robert Naumann <gonzo...@gmail.com>
CommitDate: Fri Sep 21 23:42:27 2018 +0200

    [BTHCI] Add a bluetooth icon (#871)
    
    [BTHCI] Add a bluetooth icon
---
 dll/win32/bthci/bthci.rc                |   4 ++--
 dll/win32/bthci/resource.h              |   3 +++
 dll/win32/bthci/resources/bluetooth.ico | Bin 0 -> 25214 bytes
 media/inf/bth.inf                       |   2 +-
 4 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/dll/win32/bthci/bthci.rc b/dll/win32/bthci/bthci.rc
index eaef1c4d08..d4a0d84c1d 100644
--- a/dll/win32/bthci/bthci.rc
+++ b/dll/win32/bthci/bthci.rc
@@ -1,7 +1,7 @@
 #include <windef.h>
 #include <winuser.h>
 
-//#include "resource.h"
+#include "resource.h"
 
 LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL
 
@@ -13,7 +13,7 @@ LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL
 #include <reactos/version.rc>
 #include <reactos/manifest_dll.rc>
 
-//IDI_BLUETOOTH ICON "resources/bluetooth.ico"
+IDI_BLUETOOTH ICON "resources/bluetooth.ico"
 
 /* UTF-8 */
 #pragma code_page(65001)
diff --git a/dll/win32/bthci/resource.h b/dll/win32/bthci/resource.h
new file mode 100644
index 0000000000..9601e59294
--- /dev/null
+++ b/dll/win32/bthci/resource.h
@@ -0,0 +1,3 @@
+#pragma once
+
+#define IDI_BLUETOOTH          201
diff --git a/dll/win32/bthci/resources/bluetooth.ico 
b/dll/win32/bthci/resources/bluetooth.ico
new file mode 100644
index 0000000000..c42f6dbad0
Binary files /dev/null and b/dll/win32/bthci/resources/bluetooth.ico differ
diff --git a/media/inf/bth.inf b/media/inf/bth.inf
index 35f9be39cd..03d9712ed4 100644
--- a/media/inf/bth.inf
+++ b/media/inf/bth.inf
@@ -18,7 +18,7 @@ CopyFiles=BluetoothClass.NT.Files
 HKR, , , 0, %BluetoothClassName%
 HKR, , NoInstallClass, 0, 1
 HKR, , Installer32, , "bthci.dll,BluetoothClassInstaller"
-;HKR, , Icon, 0, "201"
+HKR, , Icon, 0, "201"
 
 [BluetoothClass.NT.Files]
 bthci.dll

Reply via email to