I am following the tutorial at https://docs.microsoft.com/en-us/windows/win32/direct2d/getting-started-with-direct2d#drawing-a-simple-rectangle and I have gotten quite a few errors. here is my vs2019 view:
And I got a (not surprising) 15 errors. This always happens when I follow tutorials on win32. help.