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