Sure, the language is C++. But you are using the Win32 API, which isn't part of the C++ standard.
The C++ forum is for questions about the actual language and not 3rd party APIs.
Generally, any C++...