diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/delphi/m_core.inc | 5 | ||||
-rw-r--r-- | include/m_core.h | 6 |
2 files changed, 11 insertions, 0 deletions
diff --git a/include/delphi/m_core.inc b/include/delphi/m_core.inc index 283926357a..595e02e16c 100644 --- a/include/delphi/m_core.inc +++ b/include/delphi/m_core.inc @@ -575,6 +575,11 @@ function mir_utf8checkstring(const astr:PAnsiChar):bool;stdcall; ///////////////////////////////////////////////////////////////////////////////
+procedure mir_subclassWindow(Wnd: HWND; WndProc: WNDPROC); stdcall;
+ external CoreDLL name 'mir_subclassWindow';
+
+///////////////////////////////////////////////////////////////////////////////
+
procedure UnloadCoreModule(); stdcall;
external CoreDLL name 'UnloadCoreModule';
diff --git a/include/m_core.h b/include/m_core.h index 62ce2a594c..c1cb2260c6 100644 --- a/include/m_core.h +++ b/include/m_core.h @@ -581,6 +581,12 @@ __forceinline char* mir_utf8decodeA(const char* src) #endif
///////////////////////////////////////////////////////////////////////////////
+// Window subclassing
+
+MIR_CORE_DLL(void) mir_subclassWindow(HWND hWnd, WNDPROC wndProc);
+MIR_CORE_DLL(void) KillModuleSubclassing(HMODULE hInst);
+
+///////////////////////////////////////////////////////////////////////////////
MIR_CORE_DLL(void) UnloadCoreModule(void);
|