Just a warning, that the very latest edition of this book is a complete rewrite for WinRT and Windows 8. It’s still a great book, but you’ll probably want the previous edition to learn how to code traditional Win32 programs.
With a caveat, even though most of us have stop caring about WinRT stuff, that is still how some APIs in Windows 11 are now being made available, with the difference of still being WinRT, without the UWP infrastructure around it.