* 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
This commit is contained in:
Amine Khaldi 2014-01-27 22:55:47 +00:00
parent cf290173f4
commit 6098f6b332
6 changed files with 15 additions and 4 deletions

View file

@ -4,6 +4,7 @@ list(APPEND SOURCE
cmexec.c
cmbpnp.c
cmbwmi.c
guid.c
cmbatt.rc)
add_library(cmbatt SHARED ${SOURCE})

View file

@ -10,6 +10,8 @@
#include "cmbatt.h"
#include <debug.h>
/* GLOBALS ********************************************************************/
ULONG CmBattDebug;

View file

@ -6,13 +6,10 @@
* 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

View file

@ -10,6 +10,8 @@
#include "cmbatt.h"
#include <debug.h>
/* GLOBALS ********************************************************************/
WMIGUIDREGINFO CmBattWmiGuidList[1] =

View file

@ -10,6 +10,9 @@
#include "cmbatt.h"
#include <acpiioct.h>
#include <debug.h>
/* FUNCTIONS ******************************************************************/
NTSTATUS

View file

@ -0,0 +1,6 @@
/* 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 */