why C program dont nee ExitProcess

The function mainCRTStartup in libc.lib calls main then ExitProcess, so there is no need to explicitly call ExitProcess from your C code. There are other useful entry point functions in the C Runtime Library you can use in your programs. For example, WinMainCRTStartup calls WinMain then ExitProcess.

你可能感兴趣的:(why C program dont nee ExitProcess)