tomtetlaw -1 Posting Pro

I'm trying to use DirectX 10 with the C interface and it was going fine untill I did this:

IDXGISwapChain_GetBuffer(r_swapchain, 0, __uuidof(ID3D10Texture2D), LPVOID(void**) &back)

The problem is that the __uuidof operator is only valid in c++, what should I pass in there instead of the __uuid ?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.