Similar tricks[0] can be used on Win32 applications.
Although, I never got Intellisense working in VS if I declare #using <windows.winmd> in C++/Win32 projects.
A simpler and a lot more interesting alternative (for Win32) is the excellent cppwinrt library[1]
[0] https://software.intel.com/en-us/articles/using-winrt-apis-f...