Data type error when converting an old WinAPI C++ code as a new VS 2022 C++ project

Printable View