For overall development I decided to dig WinAPI in C++.
When working, for example, the Bitmap class there are problems with the types of this plan:

And accordingly all is not compiled.
I understand that I have something in inkluda not added. Now there is only Windows.h and Gdiplus.h.
Tell me, what else is there to add something else that would not have such problems?