win-capture: Add get-graphics-offsets helper

Before, game capture would find addresses to important graphics
functions by creating a graphics context for the desired API inside of
the hook, and then find the function addresses that way.

The big problem with that is that the context could often cause the
hooked application to crash, especially if another hook was active.

This bypasses that entire need by a simple console application that
creates the contexts, finds the hook address offsets and then returns
them via console output.
This commit is contained in:
jp9000
2014-11-10 14:56:57 -08:00
parent afbd376f71
commit f02342ac0c
8 changed files with 379 additions and 0 deletions

View File

@@ -0,0 +1 @@
/* TODO */