mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 18:06:04 +00:00
[WDF] Fix KMDF so it can compile with ReactOS SDK
Not all files are included, but these are necessary to compile cdrom driver. So far it can only be statically linked with drivers, a proper implementation requires wdfldr helper driver
This commit is contained in:
parent
8a978a179f
commit
1f377076d7
258 changed files with 4047 additions and 2387 deletions
|
@ -46,6 +46,11 @@ Revision History:
|
|||
#define _FXGLOBALS_H
|
||||
|
||||
#include "wdfglobals.h"
|
||||
#include <debug.h>
|
||||
|
||||
// REACTOS
|
||||
#define ROSWDFNOTIMPLEMENTED (DbgPrint("(%s:%d) ReactOS KMDF: %s not implemented\n", __RELFILE__, __LINE__, __FUNCTION__))
|
||||
// REACTOS
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
|
@ -68,7 +73,7 @@ typedef enum FxTrackPowerOption : UCHAR {
|
|||
FxTrackPowerRefs,
|
||||
FxTrackPowerRefsAndStack,
|
||||
FxTrackPowerMaxValue
|
||||
};
|
||||
} FxTrackPowerOption;
|
||||
|
||||
typedef enum FxVerifierDownlevelOption {
|
||||
NotOkForDownLevel = 0,
|
||||
|
@ -847,13 +852,15 @@ struct FxLibraryGlobalsType {
|
|||
// tracing of WDF operations. The size member of this structure
|
||||
// allows versioning across multiple OS versions.
|
||||
//
|
||||
PWMI_WDF_NOTIFY_ROUTINES PerfTraceRoutines;
|
||||
//PWMI_WDF_NOTIFY_ROUTINES PerfTraceRoutines; __REACTOS__
|
||||
PVOID PerfTraceRoutines;
|
||||
|
||||
//
|
||||
// PerfTraceRoutines points here if the SystemTraceProvider failed
|
||||
// to provide trace routines.
|
||||
//
|
||||
WMI_WDF_NOTIFY_ROUTINES DummyPerfTraceRoutines;
|
||||
//WMI_WDF_NOTIFY_ROUTINES DummyPerfTraceRoutines; __REACTOS__
|
||||
PVOID DummyPerfTraceRoutines;
|
||||
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue