diff options
author | sje <sje@4f64403b-2f21-0410-a795-97e2b3489a10> | 2007-01-29 04:22:39 +0000 |
---|---|---|
committer | sje <sje@4f64403b-2f21-0410-a795-97e2b3489a10> | 2007-01-29 04:22:39 +0000 |
commit | e072a9d4ca99886d6cb44eb526e25eb6c04101b7 (patch) | |
tree | 647536a4ed15f02a3cdfaa368122ae72558c0b5b | |
parent | f7e590b0e13548d0f3282ec9ab183a17862da385 (diff) |
set memoryManagerInterface.cbSize
git-svn-id: https://server.scottellis.com.au/svn/mim_plugs@84 4f64403b-2f21-0410-a795-97e2b3489a10
-rw-r--r-- | justtabs/justtabs.cpp | 5 | ||||
-rw-r--r-- | justtabs/justtabs.mdsp | 10 |
2 files changed, 9 insertions, 6 deletions
diff --git a/justtabs/justtabs.cpp b/justtabs/justtabs.cpp index 9b7c6a4..918fef2 100644 --- a/justtabs/justtabs.cpp +++ b/justtabs/justtabs.cpp @@ -12,7 +12,7 @@ There is no warranty. HINSTANCE hInst;
PLUGINLINK *pluginLink;
-MM_INTERFACE memoryManagerInterface;
+MM_INTERFACE memoryManagerInterface = {0};
HANDLE hEventClistDblClick, hEventWindow, hEventIconChanged;
@@ -25,7 +25,7 @@ HFONT hFontTabs = 0; PLUGININFO pluginInfo={
sizeof(PLUGININFO),
MODULE,
- PLUGIN_MAKE_VERSION(0,0,2,3),
+ PLUGIN_MAKE_VERSION(0,0,2,4),
"Put SRMM windows into a single frame",
"Scott Ellis",
"mail@scottellis.com.au",
@@ -243,6 +243,7 @@ extern "C" int __declspec(dllexport) Load(PLUGINLINK *link) {
pluginLink = link;
+ memoryManagerInterface.cbSize = sizeof(memoryManagerInterface);
CallService(MS_SYSTEM_GET_MMI, 0, (LPARAM)&memoryManagerInterface);
HookEvent(ME_SYSTEM_MODULESLOADED,MainInit);
diff --git a/justtabs/justtabs.mdsp b/justtabs/justtabs.mdsp index 4ed3d97..02f042c 100644 --- a/justtabs/justtabs.mdsp +++ b/justtabs/justtabs.mdsp @@ -92,8 +92,10 @@ extraResourceOptions= 1=resource.rc
[Other]
[History]
-options.cpp,1924
-..\..\include\m_fontservice.h,0
+win.cpp,15076
..\tipper\tipper.cpp,7257
-win.cpp,15080
-justtabs.cpp,6924
+..\..\include\m_fontservice.h,0
+options.cpp,1924
+win.h,0
+..\..\include\m_system.h,5690
+justtabs.cpp,7931
|