diff options
Diffstat (limited to 'include/newpluginapi.h')
-rw-r--r-- | include/newpluginapi.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/include/newpluginapi.h b/include/newpluginapi.h index d1dcfd8eeb..edf35b99b2 100644 --- a/include/newpluginapi.h +++ b/include/newpluginapi.h @@ -135,6 +135,18 @@ typedef struct { MUUID uuid; // Not required until 0.8.
} PLUGININFOEX;
+//Miranda/System/LoadModule event
+//called when a plugin is being loaded dynamically
+//wParam=PLUGININFOEX*
+//lParam=0
+#define ME_SYSTEM_MODULELOAD "Miranda/System/LoadModule"
+
+//Miranda/System/UnloadModule event
+//called when a plugin is being unloaded dynamically
+//wParam=PLUGININFOEX*
+//lParam=0
+#define ME_SYSTEM_MODULEUNLOAD "Miranda/System/UnloadModule"
+
#ifndef MODULES_H_
typedef int (*MIRANDAHOOK)(WPARAM,LPARAM);
typedef int (*MIRANDAHOOKPARAM)(WPARAM,LPARAM,LPARAM);
|