diff options
author | George Hazan <george.hazan@gmail.com> | 2013-03-03 12:25:29 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2013-03-03 12:25:29 +0000 |
commit | 1492cd4767bc9c7748455639a8eb4429a2771c34 (patch) | |
tree | 787e7551eaa81832873055b71ef0fd6473a15f0a /include | |
parent | 22f041cb647f9c765004d3295d5a57a7220f55f0 (diff) |
added mechanism of windows subclassing, proof to dynamic plugin unloading
git-svn-id: http://svn.miranda-ng.org/main/trunk@3869 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
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);
|