Programming Tips - MSVC++: WinMain has no annotations (says analysis)

Date: 2022nov29 Language: C/C++ Q. MSVC++: WinMain has no annotations (says analysis) A. Its pointing out you have no SAL annotations like _In_ For _tWinMain use:
int WINAPI _tWinMain( _In_ HINSTANCE hInstance, _In_opt_ HINSTANCE hPrevInstance, _In_ LPTSTR lpCmdLine, _In_ int nShowCmd) { ... }
For wWinMain use:
int WINAPI wWinMain( _In_ HINSTANCE hInstance, _In_opt_ HINSTANCE hPrevInstance, _In_ LPWSTR lpCmdLine, _In_ int nShowCmd) { ... }
More Info https://www.google.com/search?q=SAL+annotations