From ade2cc778cc20febb34e0ec85daf178bac5317af Mon Sep 17 00:00:00 2001 From: lybxlpsv Date: Wed, 16 Oct 2019 00:01:11 +0700 Subject: [PATCH] [TLAC] Add dllexport to change current window handle --- source-code/source/plugins/TLAC/framework.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/source-code/source/plugins/TLAC/framework.cpp b/source-code/source/plugins/TLAC/framework.cpp index 7d629c2..f06b15c 100644 --- a/source-code/source/plugins/TLAC/framework.cpp +++ b/source-code/source/plugins/TLAC/framework.cpp @@ -37,4 +37,9 @@ namespace TLAC return windowRect; } + + extern "C" __declspec(dllexport) void ChangeDivaWindowHandle(HWND hwnd) { + framework::DivaWindowHandle = hwnd; + return; + } }