summaryrefslogtreecommitdiff
path: root/popup/src/effects.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'popup/src/effects.cpp')
-rw-r--r--popup/src/effects.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/popup/src/effects.cpp b/popup/src/effects.cpp
index f19fd93..64ac46b 100644
--- a/popup/src/effects.cpp
+++ b/popup/src/effects.cpp
@@ -33,6 +33,7 @@ Last change by : $Author: Merlin_de $
#include "headers.h"
class MyTestEffect;
+HANDLE hSquareFad;
class MyTestEffect: public IPopupPlusEffect
{
@@ -88,6 +89,6 @@ static INT_PTR svcCreateEffect_MyTestEffect(WPARAM, LPARAM) { return (INT_PTR)(n
void PopupEfectsInitialize()
{
- CreateServiceFunction(MS_POPUP_CREATEVFX "Square fading", svcCreateEffect_MyTestEffect);
+ hSquareFad = CreateServiceFunction(MS_POPUP_CREATEVFX "Square fading", svcCreateEffect_MyTestEffect);
CallService(MS_POPUP_REGISTERVFX, 0, (LPARAM)"Square fading");
}