I have written an app that hooks d3d9.dll and intercepts the call to Direct3DCreate9.
I use it for warping the display to fit a projectors screen.
It works fine for apps written for directx, but not for XNA apps.
Xna is built on d3d9 isn't it?
If so, I am lost as to why it is not being warped.
[edit]
I have done some more research, and it looks like if you use LoadLibrary then my hook will not work.
How does pixwin intercept everything?
Information is not knowledge, knowledge is not wisdom, wisdom is not truth, truth is not beauty, beauty is not love, love is not music, music is the best! Wisdom is the domain of the Wis (which is extinct).