* Do not include debug.h from within the main header.
* Improve the GUIDs situation.
* Remove one time inclusions from the main header and put them back where they belong.
* Improve header inclusions.
CORE-7716
svn path=/trunk/; revision=61855
compbatt.c
compmisc.c
comppnp.c
+ guid.c
compbatt.rc)
add_library(compbatt SHARED ${SOURCE})
#include "compbatt.h"
+#include <debug.h>
+
/* GLOBALS ********************************************************************/
ULONG CompBattDebug;
* PROGRAMMERS: ReactOS Portable Systems Group
*/
-#include <ntddk.h>
-#include <initguid.h>
+#include <wdm.h>
#include <batclass.h>
-#include <debug.h>
-#include <wdmguid.h>
#define COMPBATT_BATTERY_INFORMATION_PRESENT 0x04
#define COMPBATT_TAG_ASSIGNED 0x80
#include "compbatt.h"
+#include <wdmguid.h>
+
/* FUNCTIONS ******************************************************************/
NTSTATUS
--- /dev/null
+/* DO NOT USE THE PRECOMPILED HEADER FOR THIS FILE! */
+
+#include <wdm.h>
+#include <initguid.h>
+#include <wdmguid.h>
+#include <batclass.h>
+
+/* NO CODE HERE, THIS IS JUST REQUIRED FOR THE GUID DEFINITIONS */