Platform SDK: Win32 API |
Every Win32®-based application must have an entry-point function. The name commonly given to the entry point is the WinMain function.
As in most Win32-based applications, the WinMain function for the GENERIC application completes the following steps: