* Sync up to trunk head (r65074).
[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 #define WIN32_NO_STATUS
11 #include <stdarg.h>
12 #include <windef.h>
13 #include <winbase.h>
14 #include <winreg.h>
15 #include <winuser.h>
16 #include <setupapi.h>
17
18 #define NDEBUG
19 #include <debug.h>
20
21
22 BOOL
23 WINAPI
24 DllMain(HINSTANCE hinstDll,
25 DWORD dwReason,
26 LPVOID reserved)
27 {
28 switch (dwReason)
29 {
30 case DLL_PROCESS_ATTACH:
31 DisableThreadLibraryCalls(hinstDll);
32 break;
33
34 case DLL_PROCESS_DETACH:
35 break;
36 }
37
38 return TRUE;
39 }
40
41
42 DWORD
43 WINAPI
44 BatteryClassCoInstaller(IN DI_FUNCTION InstallFunction,
45 IN HDEVINFO DeviceInfoSet,
46 IN PSP_DEVINFO_DATA DeviceInfoData OPTIONAL,
47 IN OUT PCOINSTALLER_CONTEXT_DATA Context)
48 {
49 switch (InstallFunction)
50 {
51 default:
52 DPRINT("Install function %u ignored\n", InstallFunction);
53 return ERROR_DI_DO_DEFAULT;
54 }
55 }
56
57
58 DWORD
59 WINAPI
60 BatteryClassInstall(IN DI_FUNCTION InstallFunction,
61 IN HDEVINFO DeviceInfoSet,
62 IN PSP_DEVINFO_DATA DeviceInfoData OPTIONAL)
63 {
64 switch (InstallFunction)
65 {
66 default:
67 DPRINT("Install function %u ignored\n", InstallFunction);
68 return ERROR_DI_DO_DEFAULT;
69 }
70 }
71
72 /* EOF */