From 225d8eab11c610e6ae52f370c4e4396c3fecedbe Mon Sep 17 00:00:00 2001 From: Aetopia <41850963+Aetopia@users.noreply.github.com> Date: Fri, 3 Jan 2025 14:16:05 +0530 Subject: [PATCH] Rename variables. --- src/WinMain.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/WinMain.c b/src/WinMain.c index c297c79..a5d8e24 100644 --- a/src/WinMain.c +++ b/src/WinMain.c @@ -55,7 +55,7 @@ VOID WinMainCRTStartup() IApplicationActivationManager *pApplicationActivationManager = NULL; CoCreateInstance(&CLSID_ApplicationActivationManager, NULL, CLSCTX_LOCAL_SERVER, &IID_IApplicationActivationManager, (LPVOID *)&pApplicationActivationManager); - CoAllowSetForegroundWindow((IUnknown *)pApplicationActivationManager, NULL); + CoAllowSetForegroundWindow((LPUNKNOWN)pApplicationActivationManager, NULL); DWORD dwProcessId = 0; pApplicationActivationManager->lpVtbl->ActivateApplication(