WinMain Issue

Just updated my Visual Studio To 2019 version.
Getting an error message "Inconsistent annotation for WinMain".
What does this mean and what setting in the environment will fix this?
You can either ignore the message -- it should be a warning, not an error.

Or use SAL.

Here's what VS 2019 uses for WinMain with a Desktop application:
int APIENTRY wWinMain(_In_     HINSTANCE hInstance,
                      _In_opt_ HINSTANCE hPrevInstance,
                      _In_     LPWSTR    lpCmdLine,
                      _In_     int       nCmdShow)
Registered users can post here. Sign in or register to post.