Search notes:

Windows CRT: wincrt0

Apparently, this compilation unit is responsible of calling WinMain() after performing C Run-Time initialization.
It defines the macro _WINMAIN_ and then #includes crt0.c:
#define _WINMAIN_
#include "crt0.c"

See also

Some CRT sources

Index