aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2017-04-27 17:44:54 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2017-04-27 17:44:54 +0300
commit952970cc2a18a603e0bdccdc1f907b73da7eb4f4 (patch)
treef530b23fd873bbb87f6eed280322044b88b8cb51 /src
parent*.bat: usage message updates (diff)
downloadwindows7-drivers-952970cc2a18a603e0bdccdc1f907b73da7eb4f4.tar.gz
windows7-drivers-952970cc2a18a603e0bdccdc1f907b73da7eb4f4.zip
test -> simple
Diffstat (limited to 'src')
-rw-r--r--src/simple/device.c (renamed from src/test/device.c)8
-rw-r--r--src/simple/device.h (renamed from src/test/device.h)0
-rw-r--r--src/simple/main.c (renamed from src/test/main.c)4
-rw-r--r--src/simple/makefile (renamed from src/test/makefile)0
-rw-r--r--src/simple/sources (renamed from src/test/sources)2
-rw-r--r--src/simple/vs12/.gitignore (renamed from src/test/vs12/.gitignore)0
-rw-r--r--src/simple/vs12/simple.vs12.sln (renamed from src/test/vs12/test.vs12.sln)2
-rw-r--r--src/simple/vs12/simple.vs12.vcxproj (renamed from src/test/vs12/test.vs12.vcxproj)2
8 files changed, 9 insertions, 9 deletions
diff --git a/src/test/device.c b/src/simple/device.c
index 7b871a3..859ba67 100644
--- a/src/test/device.c
+++ b/src/simple/device.c
@@ -136,12 +136,12 @@ Device;
static DeviceInfo devices_info[NUMOF_DEVICES] =
{
{
- L"\\Device\\test_device1",
- L"\\DosDevices\\test_device1",
+ L"\\Device\\simple_device1",
+ L"\\DosDevices\\simple_device1",
},
{
- L"\\Device\\test_device2",
- L"\\DosDevices\\test_device2",
+ L"\\Device\\simple_device2",
+ L"\\DosDevices\\simple_device2",
},
};
diff --git a/src/test/device.h b/src/simple/device.h
index 4f117e9..4f117e9 100644
--- a/src/test/device.h
+++ b/src/simple/device.h
diff --git a/src/test/main.c b/src/simple/main.c
index b3d2b58..5148727 100644
--- a/src/test/main.c
+++ b/src/simple/main.c
@@ -13,7 +13,7 @@ static void on_driver_unload(DRIVER_OBJECT *driver_object)
{
UNREFERENCED_PARAMETER(driver_object);
- DbgPrint("Unloading test driver...\n");
+ DbgPrint("simple: unloading...\n");
destroy_devices();
}
@@ -23,7 +23,7 @@ NTSTATUS DriverEntry(
{
UNREFERENCED_PARAMETER(registry_path);
- DbgPrint("Loading test driver...\n");
+ DbgPrint("simple: loading...\n");
driver_object->DriverUnload = on_driver_unload;
return set_up_devices(driver_object);
}
diff --git a/src/test/makefile b/src/simple/makefile
index 5acbbd2..5acbbd2 100644
--- a/src/test/makefile
+++ b/src/simple/makefile
diff --git a/src/test/sources b/src/simple/sources
index 245a1a7..1a5ce00 100644
--- a/src/test/sources
+++ b/src/simple/sources
@@ -1,3 +1,3 @@
TARGETTYPE = DRIVER
-TARGETNAME = test
+TARGETNAME = simple
SOURCES = device.c main.c
diff --git a/src/test/vs12/.gitignore b/src/simple/vs12/.gitignore
index cd42ee3..cd42ee3 100644
--- a/src/test/vs12/.gitignore
+++ b/src/simple/vs12/.gitignore
diff --git a/src/test/vs12/test.vs12.sln b/src/simple/vs12/simple.vs12.sln
index d42e421..2b1ad11 100644
--- a/src/test/vs12/test.vs12.sln
+++ b/src/simple/vs12/simple.vs12.sln
@@ -3,7 +3,7 @@ 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}") = "test.vs12", "test.vs12.vcxproj", "{8251FD47-D3D6-4A5D-8DFD-84669E075DAF}"
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "simple.vs12", "simple.vs12.vcxproj", "{8251FD47-D3D6-4A5D-8DFD-84669E075DAF}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
diff --git a/src/test/vs12/test.vs12.vcxproj b/src/simple/vs12/simple.vs12.vcxproj
index 6793bdf..5fee57f 100644
--- a/src/test/vs12/test.vs12.vcxproj
+++ b/src/simple/vs12/simple.vs12.vcxproj
@@ -57,7 +57,7 @@
<MinimumVisualStudioVersion>11.0</MinimumVisualStudioVersion>
<Configuration Condition="'$(Configuration)' == ''">Win8.1 Debug</Configuration>
<Platform Condition="'$(Platform)' == ''">Win32</Platform>
- <RootNamespace>test_vs12</RootNamespace>
+ <RootNamespace>simple_vs12</RootNamespace>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Win8.1 Debug|Win32'" Label="Configuration">