ReactOS  0.4.15-dev-1070-ge1a01de
bthci.c File Reference
#include <stdarg.h>
#include <windef.h>
#include <winbase.h>
#include <winreg.h>
#include <winuser.h>
#include <setupapi.h>
#include <debug.h>
Include dependency graph for bthci.c:

Go to the source code of this file.

Macros

#define WIN32_NO_STATUS
 
#define NDEBUG
 

Functions

DWORD WINAPI BluetoothClassInstaller (_In_ DI_FUNCTION InstallFunction, _In_ HDEVINFO DeviceInfoSet, _In_ PSP_DEVINFO_DATA DeviceInfoData OPTIONAL)
 
BOOL WINAPI DllMain (_In_ HINSTANCE hinstDll, _In_ DWORD dwReason, _In_ LPVOID reserved)
 

Macro Definition Documentation

◆ NDEBUG

#define NDEBUG

Definition at line 16 of file bthci.c.

◆ WIN32_NO_STATUS

#define WIN32_NO_STATUS

Definition at line 8 of file bthci.c.

Function Documentation

◆ BluetoothClassInstaller()

DWORD WINAPI BluetoothClassInstaller ( _In_ DI_FUNCTION  InstallFunction,
_In_ HDEVINFO  DeviceInfoSet,
_In_ PSP_DEVINFO_DATA DeviceInfoData  OPTIONAL 
)

Definition at line 22 of file bthci.c.

26 {
27  switch (InstallFunction)
28  {
29  default:
30  DPRINT1("Install function %u\n", InstallFunction);
31  return ERROR_DI_DO_DEFAULT;
32  }
33 }
#define DPRINT1
Definition: precomp.h:8
#define ERROR_DI_DO_DEFAULT
Definition: setupapi.h:305

◆ DllMain()

BOOL WINAPI DllMain ( _In_ HINSTANCE  hinstDll,
_In_ DWORD  dwReason,
_In_ LPVOID  reserved 
)

Definition at line 38 of file bthci.c.

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 }
#define TRUE
Definition: types.h:120
BOOL WINAPI DisableThreadLibraryCalls(IN HMODULE hLibModule)
Definition: loader.c:85
#define DLL_PROCESS_ATTACH
Definition: compat.h:131
DWORD dwReason
Definition: misc.cpp:154
#define DLL_PROCESS_DETACH
Definition: compat.h:130