ReactOS 0.4.15-dev-8207-gd73a838
reactos_special.cpp
Go to the documentation of this file.
1#include <stdarg.h>
2#include <stddef.h>
3#include <stdio.h>
4#include <string.h>
5#include <ntverp.h>
6
7extern "C" {
8#include <ntddk.h>
9#include <ntstrsafe.h>
10}
11
12#define FX_DYNAMICS_GENERATE_TABLE 1
13
14#include "fx.hpp"
15
16// #include <fxldr.h>
17// #include "fxbugcheck.h"
18
19
20//----------------------------------------- ------------------------------------
21
22extern "C" {
23
24#include "fxdynamics.h"
25
26// #include "FxLibraryCommon.h"
27
28typedef VOID (*WDFFUNC) (VOID);
29
31// DECLSPEC_ALIGN(MAX_NATURAL_ALIGNMENT) UINT8 WdfDriverGlobalsVal[248] = { 0 }; // sizeof(FX_DRIVER_GLOBALS)
32// PWDF_DRIVER_GLOBALS WdfDriverGlobals = &((PFX_DRIVER_GLOBALS)&WdfDriverGlobalsVal)->Public;
36
37#define KMDF_DEFAULT_NAME "Wdf01000"
38
40
45{
46 DbgPrint("ReactOS KMDF: %s non-implemented API called\n");
49}
50
51// called in WdfDriverCreate in fxdriverapi.cpp
52VOID
54{
57
63 WdfBindInfo.FuncTable = (WDFFUNC *)(&WdfVersion.Functions);
67}
68
69void
71{
73}
74
75} // extern "C"
#define VOID
Definition: acefi.h:82
LONG NTSTATUS
Definition: precomp.h:26
PFX_DRIVER_GLOBALS fxDriverGlobals
__inline PFX_DRIVER_GLOBALS GetFxDriverGlobals(__in PWDF_DRIVER_GLOBALS DriverGlobals)
Definition: fxglobals.h:597
struct _WDF_BIND_INFO WDF_BIND_INFO
_Must_inspect_result_ PWDF_DRIVER_GLOBALS FxAllocateDriverGlobals(VOID)
Definition: globals.cpp:1052
#define DbgPrint
Definition: hal.h:12
void __cdecl __debugbreak(void)
Definition: intrin_ppc.h:698
WDFVERSION WdfVersion
VOID(* WDFFUNC)(VOID)
PWDF_DRIVER_GLOBALS WdfDriverGlobals
WDF_BIND_INFO WdfBindInfo
void __cxa_pure_virtual()
VOID RosInitWdf()
PCHAR WdfLdrType
FxLibraryGlobalsType FxLibraryGlobals
Definition: globals.cpp:95
WDFAPI NTSTATUS STDCALL WdfApiNotImplemented()
const WDFFUNC * WdfFunctions_01017
#define KMDF_DEFAULT_NAME
RTL_OSVERSIONINFOEXW OsVersionInfo
Definition: fxglobals.h:770
PWDF_BIND_INFO WdfBindInfo
Definition: fxglobals.h:405
ULONG dwMajorVersion
Definition: rtltypes.h:270
ULONG dwMinorVersion
Definition: rtltypes.h:271
ULONG FuncCount
Definition: fxdynamics.h:593
WDFFUNCTIONS Functions
Definition: fxdynamics.h:594
ULONG Size
Definition: fxldr.h:131
WDF_VERSION Version
Definition: fxldr.h:133
ULONG FuncCount
Definition: fxldr.h:134
WDF_MAJOR_VERSION Major
Definition: fxldr.h:122
WDF_BUILD_NUMBER Build
Definition: fxldr.h:124
WDF_MINOR_VERSION Minor
Definition: fxldr.h:123
char * PCHAR
Definition: typedefs.h:51
#define STATUS_UNSUCCESSFUL
Definition: udferr_usr.h:132
#define STDCALL
Definition: wdf.h:45
#define WDFAPI
Definition: wdftypes.h:53