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