So.. I want information on drawing on top of a DirectX game, like how Steam does it. I would consider naively trying to obtain a "device context" of the client area of the game's window, and then try some 2D drawing functions. D: I don't know if that's going to work too well lol.
Enough information to understand what's going on, and what needs to be done is really what I want, thanks.
---
This simple application draws a rectangle on most non-3D programs, but it didn't work with the video games I have tried it on.
#include <windows.h>
#include <iostream>
using namespace std;
int main()
{
auto this_window = GetConsoleWindow();
cout << "ShowWindow:" << ShowWindow(this_window,SW_HIDE) << endl;
Sleep(5000);
auto wnd = GetForegroundWindow();
auto dc = GetDC(wnd);
cout << "Rectangle:" << Rectangle(dc,0,0,200,200) << endl;
cout << "ReleaseDC:" << ReleaseDC(wnd,dc) << endl;
}