Question

I would like to write a program that lists all DirectX3D applications running on a Windows System and displaying the resources they use. I know how to enumerate the adapters using the IDXGIFactory interface and the adapter outputs via the IDXGIAdapter interface. I also know how to find out the adapter used by an ID3D11Device using QueryInterface and GetParent. Though, I need the reverse: an enumeration of ID3D11Device which operate on a given adapter. You need to specify an IDXGIAdapter creating an ID3D11Device via D3D11CreateDevice. So there must be a connection. Are there any ideas how to get such an enumeration?

Thanks a lot.

No correct solution

OTHER TIPS

You can try searching processes that have loaded directx dll. finding loaded dll

OR

You can place a global hook on D3D11CreateDevice and whenever some application calls it enlist that application.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top