diff options
Diffstat (limited to 'ext/detours/samples/tryman/tryman.cpp')
-rw-r--r-- | ext/detours/samples/tryman/tryman.cpp | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/ext/detours/samples/tryman/tryman.cpp b/ext/detours/samples/tryman/tryman.cpp new file mode 100644 index 0000000..19a159b --- /dev/null +++ b/ext/detours/samples/tryman/tryman.cpp @@ -0,0 +1,23 @@ +////////////////////////////////////////////////////////////////////////////// +// +// Detours Test Program (tryman.cpp of tryman.exe) +// +// Microsoft Research Detours Package +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// + +#include <windows.h> + +extern int WINAPI Test3264(int arg); + +int __cdecl main(int argc, char ** argv) +{ + (void)argv; + int ret = 0; + + ret = Test3264(argc); + return ret == 0 ? ret : 0; +} +// +///////////////////////////////////////////////////////////////// End of File. |