I'm not sure I can help you with the resolution portion, but you do indeed need to hook functions if you want to do it for games like CA, where it blocks trying to draw topmost.
I posted something a few days ago, hopefully it could get you started. I suggest doing a little research though.
https://www.mpgh.net/forum/31-c-c/125...3ddevice9.html