#include #include #include "../../../include/newpluginapi.h" HINSTANCE hInstance; PLUGINLINK *pluginLink; PLUGININFOEX pluginInfo = { sizeof(PLUGININFOEX), "Crashy", PLUGIN_MAKE_VERSION(0,0,0,1), "Crashes miranda 0.8 :)", "none", "none", "GPL", "none", 1, //unicode aware 0, {0x5fe47261, 0x7f38, 0x45f4, {0x8f, 0xac, 0xb8, 0x3e, 0x47, 0x4a, 0x13, 0x50}}, }; //not used extern "C" __declspec(dllexport) PLUGININFOEX *MirandaPluginInfoEx(DWORD mirandaVersion) { return NULL; } static const MUUID interfaces[] = {{0x5fe47261, 0x7f38, 0x45f4, {0x8f, 0xac, 0xb8, 0x3e, 0x47, 0x4a, 0x13, 0x50}}, MIID_LAST}; extern "C" __declspec(dllexport) const MUUID *MirandaPluginInterfaces() { return interfaces; } extern "C" int __declspec(dllexport) Load(PLUGINLINK *link) { return 0; } extern "C" int __declspec(dllexport) Unload() { return 0; } bool WINAPI DllMain(HINSTANCE hinstDLL,DWORD fdwReason,LPVOID lpvReserved) { hInstance = hinstDLL; if (fdwReason == DLL_PROCESS_ATTACH) { DisableThreadLibraryCalls(hinstDLL); } return TRUE; }