sync with trunk r46493
[reactos.git] / dll / win32 / batt / batt.c
1 /*
2 * PROJECT: ReactOS system libraries
3 * LICENSE: GPL - See COPYING in the top level directory
4 * FILE: dll\win32\batt\batt.c
5 * PURPOSE: Battery Class installers
6 * PROGRAMMERS: Copyright 2010 Eric Kohl
7 */
8
9
10 #include <windows.h>
11 #include <setupapi.h>
12
13 #define NDEBUG
14 #include <debug.h>
15
16
17 BOOL
18 WINAPI
19 DllMain(HINSTANCE hinstDll,
20 DWORD dwReason,
21 LPVOID reserved)
22 {
23 switch (dwReason)
24 {
25 case DLL_PROCESS_ATTACH:
26 DisableThreadLibraryCalls(hinstDll);
27 break;
28
29 case DLL_PROCESS_DETACH:
30 break;
31 }
32
33 return TRUE;
34 }
35
36
37 DWORD
38 WINAPI
39 BatteryClassCoInstaller(IN DI_FUNCTION InstallFunction,
40 IN HDEVINFO DeviceInfoSet,
41 IN PSP_DEVINFO_DATA DeviceInfoData OPTIONAL)
42 {
43 switch (InstallFunction)
44 {
45 default:
46 DPRINT("Install function %u ignored\n", InstallFunction);
47 return ERROR_DI_DO_DEFAULT;
48 }
49 }
50
51
52 DWORD
53 WINAPI
54 BatteryClassInstall(IN DI_FUNCTION InstallFunction,
55 IN HDEVINFO DeviceInfoSet,
56 IN PSP_DEVINFO_DATA DeviceInfoData OPTIONAL)
57 {
58 switch (InstallFunction)
59 {
60 default:
61 DPRINT("Install function %u ignored\n", InstallFunction);
62 return ERROR_DI_DO_DEFAULT;
63 }
64 }
65
66 /* EOF */