[CLASSPNP]

* Use classp.h as a PCH.

svn path=/trunk/; revision=52939
This commit is contained in:
Amine Khaldi 2011-07-27 19:37:34 +00:00
parent 2906323048
commit b6c7fc249e
6 changed files with 6 additions and 21 deletions

View file

@ -38,9 +38,8 @@ list(APPEND SOURCE
${CMAKE_CURRENT_BINARY_DIR}/class.def)
add_library(classpnp SHARED ${SOURCE})
add_pch(classpnp classp.h)
target_link_libraries(classpnp ${PSEH_LIB} libcntpr)
set_module_type(classpnp kernelmodedriver)
add_importlibs(classpnp hal ntoskrnl)
add_cd_file(TARGET classpnp DESTINATION reactos/system32/drivers NO_CAB FOR all)

View file

@ -25,7 +25,6 @@ Revision History:
--*/
#include <stddef.h>
#include <stdarg.h>
#include <ntddk.h>
@ -42,6 +41,8 @@ Revision History:
#include <ioevent.h>
#include <pseh/pseh2.h>
#include "wmistr.h"
extern CLASSPNP_SCAN_FOR_SPECIAL_INFO ClassBadItems[];
extern GUID ClassGuidQueryRegInfoEx;

View file

@ -34,4 +34,5 @@
<file>obsolete.c</file>
<file>debug.c</file>
<file>class.rc</file>
<pch>classp.h</pch>
</module>

View file

@ -21,17 +21,7 @@ Revision History:
--*/
#include "stddef.h"
#include "ntddk.h"
#include "scsi.h"
#include "classpnp.h"
#include "mountdev.h"
#include <stdarg.h>
#include "wmistr.h"
#include "classp.h"
NTSTATUS
ClassSystemControl(

View file

@ -23,8 +23,7 @@ Revision History:
--*/
#include <ntddk.h>
#include <classpnp.h>
#include "classp.h"
#define DICTIONARY_SIGNATURE 'dsig'

View file

@ -21,13 +21,8 @@ Revision History:
--*/
#include "stddef.h"
#include "ntddk.h"
#include "scsi.h"
#include "classp.h"
#include <stdarg.h>
#define CLASS_TAG_POWER 'WLcS'
NTSTATUS