Search notes:

VIM: src/os_win32.c

get_exe_name()

Determines the value of the global variable exe_name.

dyn_libintl_init()

This functions seems to try to find the addresses of the DLL functions

get_cmd_argsW

get_cmd_argsW uses the WinAPI function CommandLineToArgvW to fill argc and argv.
It seems that the authors of the VIM source don't trust the values passed with the respective values of the main() function (possibly because the MinGW environment already does some filename globbing).

mch_is_gui_executable

mch_is_gui_executable checks if the subsystem of the executable is console or GUI

See also

src/os_mswin.c

Index