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