ReactOS  0.4.15-dev-3187-ge372f2b
reactos_special.cpp File Reference
#include <stdarg.h>
#include <stddef.h>
#include <stdio.h>
#include <string.h>
#include <ntverp.h>
#include <ntddk.h>
#include <ntstrsafe.h>
#include "fx.hpp"
#include "fxdynamics.h"
Include dependency graph for reactos_special.cpp:

Go to the source code of this file.

Macros

#define FX_DYNAMICS_GENERATE_TABLE   1
 
#define KMDF_DEFAULT_NAME   "Wdf01000"
 

Typedefs

typedef VOID(* WDFFUNC) (VOID)
 

Functions

WDFAPI NTSTATUS STDCALL WdfApiNotImplemented ()
 
VOID RosInitWdf ()
 
void __cxa_pure_virtual ()
 

Variables

const WDFFUNCWdfFunctions_01017 = (WDFFUNC *)(&WdfVersion.Functions)
 
WDF_BIND_INFO WdfBindInfo = {0}
 
PWDF_DRIVER_GLOBALS WdfDriverGlobals
 
FxLibraryGlobalsType FxLibraryGlobals
 
PCHAR WdfLdrType = KMDF_DEFAULT_NAME
 

Macro Definition Documentation

◆ FX_DYNAMICS_GENERATE_TABLE

#define FX_DYNAMICS_GENERATE_TABLE   1

Definition at line 12 of file reactos_special.cpp.

◆ KMDF_DEFAULT_NAME

#define KMDF_DEFAULT_NAME   "Wdf01000"

Definition at line 37 of file reactos_special.cpp.

Typedef Documentation

◆ WDFFUNC

typedef VOID(* WDFFUNC) (VOID)

Definition at line 28 of file reactos_special.cpp.

Function Documentation

◆ __cxa_pure_virtual()

void __cxa_pure_virtual ( )

Definition at line 70 of file reactos_special.cpp.

71 {
72  __debugbreak();
73 }
void __cdecl __debugbreak(void)
Definition: intrin_ppc.h:698

◆ RosInitWdf()

RosInitWdf ( )

Definition at line 53 of file reactos_special.cpp.

54 {
57 
58  WdfBindInfo.Size = sizeof(WDF_BIND_INFO);
61  WdfBindInfo.Version.Build = 7600;
63  WdfBindInfo.FuncTable = (WDFFUNC *)(&WdfVersion.Functions);
67 }
struct _WDF_BIND_INFO WDF_BIND_INFO
ULONG Size
Definition: fxldr.h:131
ULONG dwMinorVersion
Definition: rtltypes.h:271
ULONG FuncCount
Definition: fxldr.h:134
RTL_OSVERSIONINFOEXW OsVersionInfo
Definition: fxglobals.h:770
VOID(* WDFFUNC)(VOID)
ULONG dwMajorVersion
Definition: rtltypes.h:270
WDF_VERSION Version
Definition: fxldr.h:133
WDFFUNCTIONS Functions
Definition: fxdynamics.h:594
WDF_BUILD_NUMBER Build
Definition: fxldr.h:124
PWDF_BIND_INFO WdfBindInfo
Definition: fxglobals.h:405
WDF_MAJOR_VERSION Major
Definition: fxldr.h:122
FxLibraryGlobalsType FxLibraryGlobals
Definition: globals.cpp:95
_Must_inspect_result_ PWDF_DRIVER_GLOBALS FxAllocateDriverGlobals(VOID)
Definition: globals.cpp:1052
PWDF_DRIVER_GLOBALS WdfDriverGlobals
PFX_DRIVER_GLOBALS fxDriverGlobals
WDF_BIND_INFO WdfBindInfo
__inline PFX_DRIVER_GLOBALS GetFxDriverGlobals(__in PWDF_DRIVER_GLOBALS DriverGlobals)
Definition: fxglobals.h:597
WDFVERSION WdfVersion
ULONG FuncCount
Definition: fxdynamics.h:593
WDF_MINOR_VERSION Minor
Definition: fxldr.h:123

◆ WdfApiNotImplemented()

WDFAPI NTSTATUS STDCALL WdfApiNotImplemented ( )

Definition at line 44 of file reactos_special.cpp.

45 {
46  DbgPrint("ReactOS KMDF: %s non-implemented API called\n");
47  __debugbreak();
48  return STATUS_UNSUCCESSFUL;
49 }
#define DbgPrint
Definition: hal.h:12
void __cdecl __debugbreak(void)
Definition: intrin_ppc.h:698
#define STATUS_UNSUCCESSFUL
Definition: udferr_usr.h:132

Variable Documentation

◆ FxLibraryGlobals

◆ WdfBindInfo

WDF_BIND_INFO WdfBindInfo = {0}

Definition at line 33 of file reactos_special.cpp.

Referenced by RosInitWdf().

◆ WdfDriverGlobals

◆ WdfFunctions_01017

const WDFFUNC* WdfFunctions_01017 = (WDFFUNC *)(&WdfVersion.Functions)

Definition at line 30 of file reactos_special.cpp.

◆ WdfLdrType

PCHAR WdfLdrType = KMDF_DEFAULT_NAME

Definition at line 39 of file reactos_special.cpp.