summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/delphi/m_core.inc3
-rw-r--r--include/m_core.h6
2 files changed, 7 insertions, 2 deletions
diff --git a/include/delphi/m_core.inc b/include/delphi/m_core.inc
index 595e02e16c..d52f5425bb 100644
--- a/include/delphi/m_core.inc
+++ b/include/delphi/m_core.inc
@@ -578,6 +578,9 @@ function mir_utf8checkstring(const astr:PAnsiChar):bool;stdcall;
procedure mir_subclassWindow(Wnd: HWND; WndProc: WNDPROC); stdcall;
external CoreDLL name 'mir_subclassWindow';
+function mir_callNextSubclass(Wnd: HWND; WndProc: WNDPROC; uMsg: uint; wParam: WPARAM; lParam: LPARAM ): LRESULT; stdcall;
+ external CoreDLL name 'mir_callNextSubclass';
+
///////////////////////////////////////////////////////////////////////////////
procedure UnloadCoreModule(); stdcall;
diff --git a/include/m_core.h b/include/m_core.h
index c1cb2260c6..6617f192d1 100644
--- a/include/m_core.h
+++ b/include/m_core.h
@@ -583,8 +583,10 @@ __forceinline char* mir_utf8decodeA(const char* src)
///////////////////////////////////////////////////////////////////////////////
// Window subclassing
-MIR_CORE_DLL(void) mir_subclassWindow(HWND hWnd, WNDPROC wndProc);
-MIR_CORE_DLL(void) KillModuleSubclassing(HMODULE hInst);
+MIR_CORE_DLL(void) mir_subclassWindow(HWND hWnd, WNDPROC wndProc);
+MIR_CORE_DLL(LRESULT) mir_callNextSubclass(HWND hWnd, WNDPROC wndProc, UINT uMsg, WPARAM wParam, LPARAM lParam);
+
+MIR_CORE_DLL(void) KillModuleSubclassing(HMODULE hInst);
///////////////////////////////////////////////////////////////////////////////