detours 0.2.0

Detours is a software package for monitoring and instrumenting API calls on Windows.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
//
//
//
#include <windows.h>

int WINAPI Echo(PCSTR pszMsg)
{
    int sum = 0;
    while (*pszMsg) {
        sum = sum + *pszMsg++;
    }
    return sum;
}

int main()
{
    return 0;
}