From 96d0a52924ddb810faa68d5140547f6f483b1510 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Wed, 26 Apr 2017 19:44:42 +0300 Subject: add minimal --- src/minimal/main.c | 12 ++ src/minimal/makefile | 1 + src/minimal/sources | 3 + src/minimal/vs12/.gitignore | 2 + src/minimal/vs12/minimal.vs12.sln | 64 ++++++++ src/minimal/vs12/minimal.vs12.vcxproj | 285 ++++++++++++++++++++++++++++++++++ 6 files changed, 367 insertions(+) create mode 100644 src/minimal/main.c create mode 100644 src/minimal/makefile create mode 100644 src/minimal/sources create mode 100644 src/minimal/vs12/.gitignore create mode 100644 src/minimal/vs12/minimal.vs12.sln create mode 100644 src/minimal/vs12/minimal.vs12.vcxproj (limited to 'src/minimal') diff --git a/src/minimal/main.c b/src/minimal/main.c new file mode 100644 index 0000000..6983929 --- /dev/null +++ b/src/minimal/main.c @@ -0,0 +1,12 @@ +#include + +static void on_driver_unload(DRIVER_OBJECT *driver_object) +{ } + +NTSTATUS DriverEntry( + DRIVER_OBJECT *driver_object, + UNICODE_STRING *registry_path) +{ + driver_object->DriverUnload = on_driver_unload; + return STATUS_SUCCESS; +} diff --git a/src/minimal/makefile b/src/minimal/makefile new file mode 100644 index 0000000..5acbbd2 --- /dev/null +++ b/src/minimal/makefile @@ -0,0 +1 @@ +!INCLUDE $(NTMAKEENV)\makefile.def diff --git a/src/minimal/sources b/src/minimal/sources new file mode 100644 index 0000000..b6e92c3 --- /dev/null +++ b/src/minimal/sources @@ -0,0 +1,3 @@ +TARGETTYPE = DRIVER +TARGETNAME = minimal +SOURCES = main.c diff --git a/src/minimal/vs12/.gitignore b/src/minimal/vs12/.gitignore new file mode 100644 index 0000000..cd42ee3 --- /dev/null +++ b/src/minimal/vs12/.gitignore @@ -0,0 +1,2 @@ +bin/ +obj/ diff --git a/src/minimal/vs12/minimal.vs12.sln b/src/minimal/vs12/minimal.vs12.sln new file mode 100644 index 0000000..ad150d0 --- /dev/null +++ b/src/minimal/vs12/minimal.vs12.sln @@ -0,0 +1,64 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio 2013 +VisualStudioVersion = 12.0.40629.0 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "minimal.vs12", "minimal.vs12.vcxproj", "{4339268C-B8A8-422D-803B-5CF49DFA593B}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Win7 Debug|Win32 = Win7 Debug|Win32 + Win7 Debug|x64 = Win7 Debug|x64 + Win7 Release|Win32 = Win7 Release|Win32 + Win7 Release|x64 = Win7 Release|x64 + Win8 Debug|Win32 = Win8 Debug|Win32 + Win8 Debug|x64 = Win8 Debug|x64 + Win8 Release|Win32 = Win8 Release|Win32 + Win8 Release|x64 = Win8 Release|x64 + Win8.1 Debug|Win32 = Win8.1 Debug|Win32 + Win8.1 Debug|x64 = Win8.1 Debug|x64 + Win8.1 Release|Win32 = Win8.1 Release|Win32 + Win8.1 Release|x64 = Win8.1 Release|x64 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {4339268C-B8A8-422D-803B-5CF49DFA593B}.Win7 Debug|Win32.ActiveCfg = Win7 Debug|Win32 + {4339268C-B8A8-422D-803B-5CF49DFA593B}.Win7 Debug|Win32.Build.0 = Win7 Debug|Win32 + {4339268C-B8A8-422D-803B-5CF49DFA593B}.Win7 Debug|Win32.Deploy.0 = Win7 Debug|Win32 + {4339268C-B8A8-422D-803B-5CF49DFA593B}.Win7 Debug|x64.ActiveCfg = Win7 Debug|x64 + {4339268C-B8A8-422D-803B-5CF49DFA593B}.Win7 Debug|x64.Build.0 = Win7 Debug|x64 + {4339268C-B8A8-422D-803B-5CF49DFA593B}.Win7 Debug|x64.Deploy.0 = Win7 Debug|x64 + {4339268C-B8A8-422D-803B-5CF49DFA593B}.Win7 Release|Win32.ActiveCfg = Win7 Release|Win32 + {4339268C-B8A8-422D-803B-5CF49DFA593B}.Win7 Release|Win32.Build.0 = Win7 Release|Win32 + {4339268C-B8A8-422D-803B-5CF49DFA593B}.Win7 Release|Win32.Deploy.0 = Win7 Release|Win32 + {4339268C-B8A8-422D-803B-5CF49DFA593B}.Win7 Release|x64.ActiveCfg = Win7 Release|x64 + {4339268C-B8A8-422D-803B-5CF49DFA593B}.Win7 Release|x64.Build.0 = Win7 Release|x64 + {4339268C-B8A8-422D-803B-5CF49DFA593B}.Win7 Release|x64.Deploy.0 = Win7 Release|x64 + {4339268C-B8A8-422D-803B-5CF49DFA593B}.Win8 Debug|Win32.ActiveCfg = Win8 Debug|Win32 + {4339268C-B8A8-422D-803B-5CF49DFA593B}.Win8 Debug|Win32.Build.0 = Win8 Debug|Win32 + {4339268C-B8A8-422D-803B-5CF49DFA593B}.Win8 Debug|Win32.Deploy.0 = Win8 Debug|Win32 + {4339268C-B8A8-422D-803B-5CF49DFA593B}.Win8 Debug|x64.ActiveCfg = Win8 Debug|x64 + {4339268C-B8A8-422D-803B-5CF49DFA593B}.Win8 Debug|x64.Build.0 = Win8 Debug|x64 + {4339268C-B8A8-422D-803B-5CF49DFA593B}.Win8 Debug|x64.Deploy.0 = Win8 Debug|x64 + {4339268C-B8A8-422D-803B-5CF49DFA593B}.Win8 Release|Win32.ActiveCfg = Win8 Release|Win32 + {4339268C-B8A8-422D-803B-5CF49DFA593B}.Win8 Release|Win32.Build.0 = Win8 Release|Win32 + {4339268C-B8A8-422D-803B-5CF49DFA593B}.Win8 Release|Win32.Deploy.0 = Win8 Release|Win32 + {4339268C-B8A8-422D-803B-5CF49DFA593B}.Win8 Release|x64.ActiveCfg = Win8 Release|x64 + {4339268C-B8A8-422D-803B-5CF49DFA593B}.Win8 Release|x64.Build.0 = Win8 Release|x64 + {4339268C-B8A8-422D-803B-5CF49DFA593B}.Win8 Release|x64.Deploy.0 = Win8 Release|x64 + {4339268C-B8A8-422D-803B-5CF49DFA593B}.Win8.1 Debug|Win32.ActiveCfg = Win8.1 Debug|Win32 + {4339268C-B8A8-422D-803B-5CF49DFA593B}.Win8.1 Debug|Win32.Build.0 = Win8.1 Debug|Win32 + {4339268C-B8A8-422D-803B-5CF49DFA593B}.Win8.1 Debug|Win32.Deploy.0 = Win8.1 Debug|Win32 + {4339268C-B8A8-422D-803B-5CF49DFA593B}.Win8.1 Debug|x64.ActiveCfg = Win8.1 Debug|x64 + {4339268C-B8A8-422D-803B-5CF49DFA593B}.Win8.1 Debug|x64.Build.0 = Win8.1 Debug|x64 + {4339268C-B8A8-422D-803B-5CF49DFA593B}.Win8.1 Debug|x64.Deploy.0 = Win8.1 Debug|x64 + {4339268C-B8A8-422D-803B-5CF49DFA593B}.Win8.1 Release|Win32.ActiveCfg = Win8.1 Release|Win32 + {4339268C-B8A8-422D-803B-5CF49DFA593B}.Win8.1 Release|Win32.Build.0 = Win8.1 Release|Win32 + {4339268C-B8A8-422D-803B-5CF49DFA593B}.Win8.1 Release|Win32.Deploy.0 = Win8.1 Release|Win32 + {4339268C-B8A8-422D-803B-5CF49DFA593B}.Win8.1 Release|x64.ActiveCfg = Win8.1 Release|x64 + {4339268C-B8A8-422D-803B-5CF49DFA593B}.Win8.1 Release|x64.Build.0 = Win8.1 Release|x64 + {4339268C-B8A8-422D-803B-5CF49DFA593B}.Win8.1 Release|x64.Deploy.0 = Win8.1 Release|x64 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/src/minimal/vs12/minimal.vs12.vcxproj b/src/minimal/vs12/minimal.vs12.vcxproj new file mode 100644 index 0000000..b50d993 --- /dev/null +++ b/src/minimal/vs12/minimal.vs12.vcxproj @@ -0,0 +1,285 @@ + + + + + Win8.1 Debug + Win32 + + + Win8.1 Release + Win32 + + + Win8 Debug + Win32 + + + Win8 Release + Win32 + + + Win7 Debug + Win32 + + + Win7 Release + Win32 + + + Win8.1 Debug + x64 + + + Win8.1 Release + x64 + + + Win8 Debug + x64 + + + Win8 Release + x64 + + + Win7 Debug + x64 + + + Win7 Release + x64 + + + + {4339268C-B8A8-422D-803B-5CF49DFA593B} + {dd38f7fc-d7bd-488b-9242-7d8754cde80d} + v4.5 + 11.0 + Win8.1 Debug + Win32 + minimal_vs12 + + + + WindowsV6.3 + true + WindowsKernelModeDriver8.1 + Driver + WDM + + + WindowsV6.3 + false + WindowsKernelModeDriver8.1 + Driver + WDM + + + Windows8 + true + WindowsKernelModeDriver8.1 + Driver + WDM + + + Windows8 + false + WindowsKernelModeDriver8.1 + Driver + WDM + + + Windows7 + true + WindowsKernelModeDriver8.1 + Driver + WDM + + + Windows7 + false + WindowsKernelModeDriver8.1 + Driver + WDM + + + WindowsV6.3 + true + WindowsKernelModeDriver8.1 + Driver + WDM + + + WindowsV6.3 + false + WindowsKernelModeDriver8.1 + Driver + WDM + + + Windows8 + true + WindowsKernelModeDriver8.1 + Driver + WDM + + + Windows8 + false + WindowsKernelModeDriver8.1 + Driver + WDM + + + Windows7 + true + WindowsKernelModeDriver8.1 + Driver + WDM + + + Windows7 + false + WindowsKernelModeDriver8.1 + Driver + WDM + + + + + + + + + + + DbgengKernelDebugger + bin\$(TargetVersion)\$(PlatformShortName)\debug\ + obj\$(TargetVersion)\$(PlatformShortName)\debug\ + + + DbgengKernelDebugger + bin\$(TargetVersion)\$(PlatformShortName)\release\ + obj\$(TargetVersion)\$(PlatformShortName)\release\ + + + DbgengKernelDebugger + bin\$(TargetVersion)\$(PlatformShortName)\debug\ + obj\$(TargetVersion)\$(PlatformShortName)\debug\ + + + DbgengKernelDebugger + bin\$(TargetVersion)\$(PlatformShortName)\release\ + obj\$(TargetVersion)\$(PlatformShortName)\release\ + + + DbgengKernelDebugger + bin\$(TargetVersion)\$(PlatformShortName)\debug\ + obj\$(TargetVersion)\$(PlatformShortName)\debug\ + + + DbgengKernelDebugger + bin\$(TargetVersion)\$(PlatformShortName)\release\ + obj\$(TargetVersion)\$(PlatformShortName)\release\ + + + DbgengKernelDebugger + bin\$(TargetVersion)\$(PlatformShortName)\debug\ + obj\$(TargetVersion)\$(PlatformShortName)\debug\ + + + DbgengKernelDebugger + bin\$(TargetVersion)\$(PlatformShortName)\release\ + obj\$(TargetVersion)\$(PlatformShortName)\release\ + + + DbgengKernelDebugger + bin\$(TargetVersion)\$(PlatformShortName)\debug\ + obj\$(TargetVersion)\$(PlatformShortName)\debug\ + + + DbgengKernelDebugger + bin\$(TargetVersion)\$(PlatformShortName)\release\ + obj\$(TargetVersion)\$(PlatformShortName)\release\ + + + DbgengKernelDebugger + bin\$(TargetVersion)\$(PlatformShortName)\debug\ + obj\$(TargetVersion)\$(PlatformShortName)\debug\ + + + DbgengKernelDebugger + bin\$(TargetVersion)\$(PlatformShortName)\release\ + obj\$(TargetVersion)\$(PlatformShortName)\release\ + + + + 4100;%(DisableSpecificWarnings) + + + + + 4100;%(DisableSpecificWarnings) + + + + + 4100;%(DisableSpecificWarnings) + + + + + 4100;%(DisableSpecificWarnings) + + + + + 4100;%(DisableSpecificWarnings) + + + + + 4100;%(DisableSpecificWarnings) + + + + + 4100;%(DisableSpecificWarnings) + + + + + 4100;%(DisableSpecificWarnings) + + + + + 4100;%(DisableSpecificWarnings) + + + + + 4100;%(DisableSpecificWarnings) + + + + + 4100;%(DisableSpecificWarnings) + + + + + 4100;%(DisableSpecificWarnings) + + + + + + + + + + + + + \ No newline at end of file -- cgit v1.2.3