diff options
author | José Fonseca <jfonseca@vmware.com> | 2015-01-26 14:47:57 +0000 |
---|---|---|
committer | José Fonseca <jfonseca@vmware.com> | 2015-01-26 14:48:40 +0000 |
commit | ae318af2e5a3d08af93f1e808a9829dacd09eae2 (patch) | |
tree | 7857d0d6bdb94072e142496844690b9788552d5f /inject | |
parent | d1d48f2c0e5a53988b10b1541f5fb37f084b76ca (diff) |
inject: Fix injection of Direct2D wrapper.
Diffstat (limited to 'inject')
-rw-r--r-- | inject/injectee.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/inject/injectee.cpp b/inject/injectee.cpp index 3092ce44..9b44cc6c 100644 --- a/inject/injectee.cpp +++ b/inject/injectee.cpp @@ -947,6 +947,9 @@ DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpReserved) registerModuleHooks("d3d10.dll", g_hHookModule); registerModuleHooks("d3d10_1.dll", g_hHookModule); registerModuleHooks("d3d11.dll", g_hHookModule); + } else if (stricmp(szNewDllBaseName, "d2d1trace.dll") == 0) { + registerModuleHooks("d2d1.dll", g_hHookModule); + registerModuleHooks("dwrite.dll", g_hHookModule); } else { registerModuleHooks(szNewDllBaseName, g_hHookModule); } |