[COMPBATT]

* 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
This commit is contained in:
Amine Khaldi 2014-01-27 23:11:48 +00:00
parent 6098f6b332
commit c7c833a296
5 changed files with 14 additions and 4 deletions

View file

@ -3,6 +3,7 @@ list(APPEND SOURCE
compbatt.c
compmisc.c
comppnp.c
guid.c
compbatt.rc)
add_library(compbatt SHARED ${SOURCE})

View file

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

View file

@ -6,11 +6,8 @@
* 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

View file

@ -10,6 +10,8 @@
#include "compbatt.h"
#include <wdmguid.h>
/* FUNCTIONS ******************************************************************/
NTSTATUS

View file

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