mirror of
https://github.com/reactos/reactos.git
synced 2025-03-10 18:24:02 +00:00
[CLASSPNP]
* Use classp.h as a PCH. svn path=/trunk/; revision=52939
This commit is contained in:
parent
2906323048
commit
b6c7fc249e
6 changed files with 6 additions and 21 deletions
|
@ -38,9 +38,8 @@ list(APPEND SOURCE
|
||||||
${CMAKE_CURRENT_BINARY_DIR}/class.def)
|
${CMAKE_CURRENT_BINARY_DIR}/class.def)
|
||||||
|
|
||||||
add_library(classpnp SHARED ${SOURCE})
|
add_library(classpnp SHARED ${SOURCE})
|
||||||
|
add_pch(classpnp classp.h)
|
||||||
target_link_libraries(classpnp ${PSEH_LIB} libcntpr)
|
target_link_libraries(classpnp ${PSEH_LIB} libcntpr)
|
||||||
|
|
||||||
set_module_type(classpnp kernelmodedriver)
|
set_module_type(classpnp kernelmodedriver)
|
||||||
add_importlibs(classpnp hal ntoskrnl)
|
add_importlibs(classpnp hal ntoskrnl)
|
||||||
|
|
||||||
add_cd_file(TARGET classpnp DESTINATION reactos/system32/drivers NO_CAB FOR all)
|
add_cd_file(TARGET classpnp DESTINATION reactos/system32/drivers NO_CAB FOR all)
|
||||||
|
|
|
@ -25,7 +25,6 @@ Revision History:
|
||||||
|
|
||||||
--*/
|
--*/
|
||||||
|
|
||||||
|
|
||||||
#include <stddef.h>
|
#include <stddef.h>
|
||||||
#include <stdarg.h>
|
#include <stdarg.h>
|
||||||
#include <ntddk.h>
|
#include <ntddk.h>
|
||||||
|
@ -42,6 +41,8 @@ Revision History:
|
||||||
#include <ioevent.h>
|
#include <ioevent.h>
|
||||||
#include <pseh/pseh2.h>
|
#include <pseh/pseh2.h>
|
||||||
|
|
||||||
|
#include "wmistr.h"
|
||||||
|
|
||||||
extern CLASSPNP_SCAN_FOR_SPECIAL_INFO ClassBadItems[];
|
extern CLASSPNP_SCAN_FOR_SPECIAL_INFO ClassBadItems[];
|
||||||
|
|
||||||
extern GUID ClassGuidQueryRegInfoEx;
|
extern GUID ClassGuidQueryRegInfoEx;
|
||||||
|
|
|
@ -34,4 +34,5 @@
|
||||||
<file>obsolete.c</file>
|
<file>obsolete.c</file>
|
||||||
<file>debug.c</file>
|
<file>debug.c</file>
|
||||||
<file>class.rc</file>
|
<file>class.rc</file>
|
||||||
|
<pch>classp.h</pch>
|
||||||
</module>
|
</module>
|
||||||
|
|
|
@ -21,17 +21,7 @@ Revision History:
|
||||||
|
|
||||||
--*/
|
--*/
|
||||||
|
|
||||||
#include "stddef.h"
|
#include "classp.h"
|
||||||
#include "ntddk.h"
|
|
||||||
#include "scsi.h"
|
|
||||||
|
|
||||||
#include "classpnp.h"
|
|
||||||
|
|
||||||
#include "mountdev.h"
|
|
||||||
|
|
||||||
#include <stdarg.h>
|
|
||||||
|
|
||||||
#include "wmistr.h"
|
|
||||||
|
|
||||||
NTSTATUS
|
NTSTATUS
|
||||||
ClassSystemControl(
|
ClassSystemControl(
|
||||||
|
|
|
@ -23,8 +23,7 @@ Revision History:
|
||||||
|
|
||||||
--*/
|
--*/
|
||||||
|
|
||||||
#include <ntddk.h>
|
#include "classp.h"
|
||||||
#include <classpnp.h>
|
|
||||||
|
|
||||||
#define DICTIONARY_SIGNATURE 'dsig'
|
#define DICTIONARY_SIGNATURE 'dsig'
|
||||||
|
|
||||||
|
|
|
@ -21,13 +21,8 @@ Revision History:
|
||||||
|
|
||||||
--*/
|
--*/
|
||||||
|
|
||||||
#include "stddef.h"
|
|
||||||
#include "ntddk.h"
|
|
||||||
#include "scsi.h"
|
|
||||||
#include "classp.h"
|
#include "classp.h"
|
||||||
|
|
||||||
#include <stdarg.h>
|
|
||||||
|
|
||||||
#define CLASS_TAG_POWER 'WLcS'
|
#define CLASS_TAG_POWER 'WLcS'
|
||||||
|
|
||||||
NTSTATUS
|
NTSTATUS
|
||||||
|
|
Loading…
Reference in a new issue