ReactOS Fundraising Campaign 2012
 
€ 4,410 / € 30,000

Information | Donate

Home | Info | Community | Development | myReactOS | Contact Us

  1. Home
  2. Community
  3. Development
  4. myReactOS
  5. Fundraiser 2012

  1. Main Page
  2. Alphabetical List
  3. Data Structures
  4. Directories
  5. File List
  6. Data Fields
  7. Globals
  8. Related Pages

ReactOS Development > Doxygen

batt.c
Go to the documentation of this file.
00001 /*
00002  * PROJECT:     ReactOS system libraries
00003  * LICENSE:     GPL - See COPYING in the top level directory
00004  * FILE:        dll\win32\batt\batt.c
00005  * PURPOSE:     Battery Class installers
00006  * PROGRAMMERS: Copyright 2010 Eric Kohl
00007  */
00008 
00009 
00010 #include <windows.h>
00011 #include <setupapi.h>
00012 
00013 #define NDEBUG
00014 #include <debug.h>
00015 
00016 
00017 BOOL
00018 WINAPI
00019 DllMain(HINSTANCE hinstDll,
00020         DWORD dwReason,
00021         LPVOID reserved)
00022 {
00023     switch (dwReason)
00024     {
00025         case DLL_PROCESS_ATTACH:
00026             DisableThreadLibraryCalls(hinstDll);
00027             break;
00028 
00029         case DLL_PROCESS_DETACH:
00030             break;
00031     }
00032 
00033    return TRUE;
00034 }
00035 
00036 
00037 DWORD
00038 WINAPI
00039 BatteryClassCoInstaller(IN DI_FUNCTION InstallFunction,
00040                         IN HDEVINFO DeviceInfoSet,
00041                         IN PSP_DEVINFO_DATA DeviceInfoData OPTIONAL,
00042                         IN OUT PCOINSTALLER_CONTEXT_DATA Context)
00043 {
00044     switch (InstallFunction)
00045     {
00046         default:
00047             DPRINT("Install function %u ignored\n", InstallFunction);
00048             return ERROR_DI_DO_DEFAULT;
00049     }
00050 }
00051 
00052 
00053 DWORD
00054 WINAPI
00055 BatteryClassInstall(IN DI_FUNCTION InstallFunction,
00056                     IN HDEVINFO DeviceInfoSet,
00057                     IN PSP_DEVINFO_DATA DeviceInfoData OPTIONAL)
00058 {
00059     switch (InstallFunction)
00060     {
00061         default:
00062             DPRINT("Install function %u ignored\n", InstallFunction);
00063             return ERROR_DI_DO_DEFAULT;
00064     }
00065 }
00066 
00067 /* EOF */

Generated on Sat May 26 2012 04:21:24 for ReactOS by doxygen 1.7.6.1

ReactOS is a registered trademark or a trademark of ReactOS Foundation in the United States and other countries.