I'm trying to set up the direct2d with direct3d device as Windows developer center tells me to. How to create a Direct2D device context for rendering
At first I have to create a Direct3D Device. Done! The next step is to get IDXGIDevice with QueryInterface() called on ID3D11Device. And that's a problem. I need to specify the IID for IDXGIDevice interface, but the symbol _IID_IDXGIDevice is unresolved. As I'm targeting the pure C, the __uuidof is not the option.
So, what should I do?