summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2013-03-19 20:50:49 +0000
committerGeorge Hazan <george.hazan@gmail.com>2013-03-19 20:50:49 +0000
commitd8348065cbeb4c23f5594e4cabed7094a8e2e430 (patch)
tree55cb282c8450eb02ba918c05233d4370bae0af4b /include
parentb9c6f2f3a368274a21cee17d4e3ffe2f9980ec7d (diff)
- mir_unsubclassWindow introduced for the explicit window unsubclassing;
- fix for subclassing in SRMM event handlers git-svn-id: http://svn.miranda-ng.org/main/trunk@4117 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'include')
-rw-r--r--include/delphi/m_core.inc5
-rw-r--r--include/m_core.h1
2 files changed, 3 insertions, 3 deletions
diff --git a/include/delphi/m_core.inc b/include/delphi/m_core.inc
index fe6c08de9d..7221ec7c59 100644
--- a/include/delphi/m_core.inc
+++ b/include/delphi/m_core.inc
@@ -615,9 +615,8 @@ procedure mir_subclassWindowFull(Wnd:HWND; WndProc, OldWndProc:TWNDPROC); stdcal
external CoreDLL name 'mir_subclassWindowFull';
function mir_callNextSubclass(Wnd:HWND; WndProc:TWNDPROC; uMsg:uint; wParam:WPARAM; lParam:LPARAM ):LRESULT; stdcall;
external CoreDLL name 'mir_callNextSubclass';
-
-procedure KillModuleSubclassing(hInst: HMODULE);
- external CoreDLL name 'KillModuleSubclassing';
+procedure mir_unsubclassWindow(Wnd:HWND; WndProc:TWNDPROC); stdcall;
+ external CoreDLL name 'mir_unsubclassWindow';
///////////////////////////////////////////////////////////////////////////////
diff --git a/include/m_core.h b/include/m_core.h
index 9a969c5326..66841e0f6a 100644
--- a/include/m_core.h
+++ b/include/m_core.h
@@ -590,6 +590,7 @@ __forceinline char* mir_utf8decodeA(const char* src)
MIR_CORE_DLL(void) mir_subclassWindow(HWND hWnd, WNDPROC wndProc);
MIR_CORE_DLL(void) mir_subclassWindowFull(HWND hWnd, WNDPROC wndProc, WNDPROC oldWndProc);
MIR_CORE_DLL(LRESULT) mir_callNextSubclass(HWND hWnd, WNDPROC wndProc, UINT uMsg, WPARAM wParam, LPARAM lParam);
+MIR_CORE_DLL(void) mir_unsubclassWindow(HWND hWnd, WNDPROC wndProc);
MIR_CORE_DLL(void) KillModuleSubclassing(HMODULE hInst);