summaryrefslogtreecommitdiff
path: root/attache/MiniDump.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'attache/MiniDump.cpp')
-rw-r--r--attache/MiniDump.cpp16
1 files changed, 12 insertions, 4 deletions
diff --git a/attache/MiniDump.cpp b/attache/MiniDump.cpp
index e565c10..cae9993 100644
--- a/attache/MiniDump.cpp
+++ b/attache/MiniDump.cpp
@@ -24,8 +24,8 @@ extern "C" BOOL APIENTRY DllMain( HMODULE hModule, DWORD ul_reason_for_call, LPV
return TRUE;
}
-PLUGININFO pluginInfo={
- sizeof(PLUGININFO),
+PLUGININFOEX pluginInfo={
+ sizeof(PLUGININFOEX),
__PLUGIN_NAME,
PLUGIN_MAKE_VERSION(__MAJOR_VERSION, __MINOR_VERSION, __RELEASE_NUM, __BUILD_NUM),
__DESC,
@@ -34,14 +34,22 @@ PLUGININFO pluginInfo={
__COPYRIGHT,
__AUTHORWEB,
0, //not transient
- 0 //doesn't replace anything built-in
+ 0, //doesn't replace anything built-in
+ { 0xe3ab632a, 0x693c, 0x41c2, { 0xa7, 0x55, 0xaa, 0xb7, 0xde, 0x4f, 0x1f, 0x7f } } // {E3AB632A-693C-41c2-A755-AAB7DE4F1F7F}
};
-extern "C" MINIDUMP_API PLUGININFO* MirandaPluginInfo(DWORD mirandaVersion)
+extern "C" MINIDUMP_API PLUGININFOEX* MirandaPluginInfoEx(DWORD mirandaVersion)
{
return &pluginInfo;
}
+static const MUUID interfaces[] = {MIID_ATTACHE, MIID_LAST};
+extern "C" __declspec(dllexport) const MUUID* MirandaPluginInterfaces(void)
+{
+ return interfaces;
+}
+
+
void InitNetlib() {
NETLIBUSER nl_user = {0};
nl_user.cbSize = sizeof(nl_user);