1 /* 2 * PROJECT: ReactOS system libraries 3 * LICENSE: GPL-2.0+ (https://spdx.org/licenses/GPL-2.0+) 4 * PURPOSE: Bluetooth Class installer 5 * COPYRIGHT: Copyright 2018 Eric Kohl (eric.kohl@reactos.org) 6 */ 7 8 #define WIN32_NO_STATUS 9 #include <stdarg.h> 10 #include <windef.h> 11 #include <winbase.h> 12 #include <winreg.h> 13 #include <winuser.h> 14 #include <setupapi.h> 15 16 #define NDEBUG 17 #include <debug.h> 18 19 20 DWORD 21 WINAPI 22 BluetoothClassInstaller( 23 _In_ DI_FUNCTION InstallFunction, 24 _In_ HDEVINFO DeviceInfoSet, 25 _In_ PSP_DEVINFO_DATA DeviceInfoData OPTIONAL) 26 { 27 switch (InstallFunction) 28 { 29 default: 30 DPRINT1("Install function %u\n", InstallFunction); 31 return ERROR_DI_DO_DEFAULT; 32 } 33 } 34 35 36 BOOL 37 WINAPI 38 DllMain( 39 _In_ HINSTANCE hinstDll, 40 _In_ DWORD dwReason, 41 _In_ LPVOID reserved) 42 { 43 switch (dwReason) 44 { 45 case DLL_PROCESS_ATTACH: 46 DisableThreadLibraryCalls(hinstDll); 47 break; 48 49 case DLL_PROCESS_DETACH: 50 break; 51 } 52 53 return TRUE; 54 } 55 56 /* EOF */ 57