/*++ Copyright (c) 1990 Microsoft Corporation Module Name: proj.h Abstract: Battery Class Installer header Author: Scott Brenden Environment: Notes: Revision History: --*/ #include #include #include #include #include #include // PnP setup/installer services #include #include "powrprof.h" // // Debug stuff // #if DBG > 0 && !defined(DEBUG) #define DEBUG #endif #if DBG > 0 && !defined(FULL_DEBUG) #define FULL_DEBUG #endif // // Trace flags // #define TF_WARNING 0x00000001 #define TF_ERROR 0x00000002 #define TF_GENERAL 0x00000004 // Standard messages #define TF_FUNC 0x00000008 // Trace function calls // // Calling declarations // #define PUBLIC FAR PASCAL #define CPUBLIC FAR CDECL #define PRIVATE NEAR PASCAL #ifdef DEBUG extern DWORD BattDebugPrintLevel; #define TRACE_MSG(_FLAG,_RESTOFVARARG) if (BattDebugPrintLevel & _FLAG) DbgPrint _RESTOFVARARG #else // !defined(DEBUG) #define TRACE_MSG #endif // // Prototypes // DWORD PRIVATE InstallCompositeBattery ( IN HDEVINFO DevInfoHandle, IN PSP_DEVINFO_DATA DevInfoData, OPTIONAL IN OUT PSP_DEVINSTALL_PARAMS DevInstallParams );