summaryrefslogtreecommitdiff
path: root/miranda-wine/include/m_fuse.h
diff options
context:
space:
mode:
authorwatcherhd <watcherhd@e753b5eb-9565-29b2-b5c5-2cc6f99dfbcb>2011-04-21 14:14:52 +0000
committerwatcherhd <watcherhd@e753b5eb-9565-29b2-b5c5-2cc6f99dfbcb>2011-04-21 14:14:52 +0000
commitcb4a46e7fbe62d788e66ed6121c717a2d22a4d7c (patch)
tree30df260fdc5a1b5a7049c2f8cac8b7ef17513d6d /miranda-wine/include/m_fuse.h
parent19b6f534d2e784a1e120bf52c4aa07004798f473 (diff)
svn.miranda.im is moving to a new home!
git-svn-id: http://miranda-plugins.googlecode.com/svn/trunk@7 e753b5eb-9565-29b2-b5c5-2cc6f99dfbcb
Diffstat (limited to 'miranda-wine/include/m_fuse.h')
-rw-r--r--miranda-wine/include/m_fuse.h32
1 files changed, 32 insertions, 0 deletions
diff --git a/miranda-wine/include/m_fuse.h b/miranda-wine/include/m_fuse.h
new file mode 100644
index 0000000..71ac3fe
--- /dev/null
+++ b/miranda-wine/include/m_fuse.h
@@ -0,0 +1,32 @@
+#ifdef _ALPHA_FUSE_
+#ifndef _M_FUSE_
+#define _M_FUSE_
+
+#define CALLSERVICE_NOTFOUND ((int)0x80000000)
+#define MAXMODULELABELLENGTH 64
+typedef int (*MIRANDAHOOK)(WPARAM,LPARAM);
+typedef int (*MIRANDASERVICE)(WPARAM,LPARAM);
+
+#define FUSE_INIT 0 // core started, Param=**FUSE_LINK
+#define FUSE_DEINIT 1 // core stopped
+#define FUSE_DEFMOD 3 // LoadDefaultModules() return code, Param=*int
+#define FUSE_DEATH 4 // DestroyingModularEngine() just got called
+
+typedef struct {
+ int cbSize;
+ HANDLE (*CreateHookableEvent)(const char *);
+ int (*DestroyHookableEvent)(HANDLE);
+ int (*NotifyEventHooks)(HANDLE,WPARAM,LPARAM);
+ HANDLE (*HookEvent)(const char *,MIRANDAHOOK);
+ HANDLE (*HookEventMessage)(const char *,HWND,UINT);
+ int (*UnhookEvent)(HANDLE);
+ HANDLE (*CreateServiceFunction)(const char *,MIRANDASERVICE);
+ HANDLE (*CreateTransientServiceFunction)(const char *,MIRANDASERVICE);
+ int (*DestroyServiceFunction)(HANDLE);
+ int (*CallService)(const char *,WPARAM,LPARAM);
+ int (*ServiceExists)(const char *); //v0.1.0.1+
+ int (*CallServiceSync)(const char*,WPARAM,LPARAM); //v0.1.2.2+
+} FUSE_LINK;
+
+#endif
+#endif \ No newline at end of file