* 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=61854
cmexec.c
cmbpnp.c
cmbwmi.c
+ guid.c
cmbatt.rc)
add_library(cmbatt SHARED ${SOURCE})
#include "cmbatt.h"
+#include <debug.h>
+
/* GLOBALS ********************************************************************/
ULONG CmBattDebug;
* PROGRAMMERS: ReactOS Portable Systems Group
*/
-#include <ntddk.h>
-#include <initguid.h>
+#include <wdm.h>
#include <batclass.h>
-#include <acpiioct.h>
#include <wmilib.h>
#include <wdmguid.h>
-#include <debug.h>
#define IOCTL_BATTERY_QUERY_UNIQUE_ID \
CTL_CODE(FILE_DEVICE_BATTERY, 0x101, METHOD_BUFFERED, FILE_READ_ACCESS) // 0x294404
#include "cmbatt.h"
+#include <debug.h>
+
/* GLOBALS ********************************************************************/
WMIGUIDREGINFO CmBattWmiGuidList[1] =
#include "cmbatt.h"
+#include <acpiioct.h>
+#include <debug.h>
+
/* FUNCTIONS ******************************************************************/
NTSTATUS
--- /dev/null
+/* DO NOT USE THE PRECOMPILED HEADER FOR THIS FILE! */
+
+#include <initguid.h>
+#include <wdmguid.h>
+
+/* NO CODE HERE, THIS IS JUST REQUIRED FOR THE GUID DEFINITIONS */