aboutsummaryrefslogtreecommitdiffhomepage
path: root/samples/echo/echonul.cpp
blob: c05777dfb4bd88daefe7c3b008d68a607d22d883 (plain)
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;
}