Search notes:

VIM: src/os_w32exe.c

wWinMain()

wWinMain is the entry point for VIM in an Windows (with GUI? feature FEAT_GUI) environment.
WinMain eventually calls VimMain(), found in src/main

See also

src/os_mswin.c
src/os_w32dll.c

Index