Commit Graph

8 Commits

Author SHA1 Message Date
Tau
45e2416702 Simplify DLL hook mechanism
This change deletes the GetProcAddress hook and exports symbols
corresponding to the hooked functions from each hook DLL instead;
we stop at redirecting LoadLibrary/GetModuleHandle calls to the
hook DLL. This simplified approach has less hidden magic going on
behind the scenes and is more readily composable (i.e. a hook DLL
can export redirect symbols for more than one dynamically-loaded
DLL).
2021-06-13 11:27:00 -04:00
bd1e893b7a platform/amvideo.c: remove left-over brace from debug messages 2020-05-21 00:58:24 +00:00
Tau
f76ddf2103 platform/amvideo.c: Trim debug log
We don't really need to dump all those hex memory addresses.
2019-11-03 19:54:41 -05:00
Tau
05e4dda8e6 Add missing <assert.h> includes
Fixes non-PCH build.
2019-09-01 11:48:14 -04:00
Tau
86bd7443cc platform/amvideo.c: Stub monitor_setting_X reg val 2019-08-30 18:46:19 -04:00
Tau
5722061cbf platform: Wire up configuration 2019-05-18 00:00:57 -04:00
Tau
e935c22206 platform/amvideo.c: Add registry hooks 2019-05-18 00:00:57 -04:00
Tau
3e91ac2393 platform/amvideo.c: Add virtual amvideo.dll hook 2019-05-14 18:03:25 -04:00