diff options
-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); } |