aboutsummaryrefslogtreecommitdiffhomepage
path: root/samples/talloc/tdll4x.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'samples/talloc/tdll4x.cpp')
-rw-r--r--samples/talloc/tdll4x.cpp17
1 files changed, 17 insertions, 0 deletions
diff --git a/samples/talloc/tdll4x.cpp b/samples/talloc/tdll4x.cpp
new file mode 100644
index 0000000..eb3ab1e
--- /dev/null
+++ b/samples/talloc/tdll4x.cpp
@@ -0,0 +1,17 @@
+//////////////////////////////////////////////////////////////////////////////
+//
+// Detours Test Program (tdll4x.cpp of talloc.exe/tdll4x.dll)
+//
+// Microsoft Research Detours Package
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+//
+
+//////////////////////////////////////////////////////////////////// DLL Stuff
+//
+__declspec(dllexport) unsigned long __stdcall Dll4Function(unsigned long Value)
+{
+ return Value + 1;
+}
+
+///////////////////////////////////////////////////////////////// End of File.