summaryrefslogtreecommitdiff
path: root/include/delphi
diff options
context:
space:
mode:
Diffstat (limited to 'include/delphi')
-rw-r--r--include/delphi/m_core.inc5
-rw-r--r--include/delphi/m_protoint.inc1
2 files changed, 6 insertions, 0 deletions
diff --git a/include/delphi/m_core.inc b/include/delphi/m_core.inc
index 8d770fe9b9..6e89a196e2 100644
--- a/include/delphi/m_core.inc
+++ b/include/delphi/m_core.inc
@@ -437,6 +437,11 @@ function ProtoServiceExists(const szModule, szName:PAnsiChar):int; stdcall;
function ProtoCallService(const szModule, szName:PAnsiChar; wParam:WPARAM; lParam:LPARAM):int_ptr; stdcall;
external CoreDLL name 'ProtoServiceExists';
+procedure ProtoWindowAdd(pThis:pointer; wnd:HWND); stdcall;
+ external CoreDLL name 'ProtoWindowAdd';
+
+procedure ProtoWindowRemove(pThis:pointer; wnd:HWND); stdcall;
+ external CoreDLL name 'ProtoWindowRemove';
// Call it in the very beginning of your proto's constructor
procedure ProtoConstructor(pThis:pointer{PPROTO_INTERFACE}; const pszModuleName:PAnsiChar;
diff --git a/include/delphi/m_protoint.inc b/include/delphi/m_protoint.inc
index 1c1fce8af1..716c52f85b 100644
--- a/include/delphi/m_protoint.inc
+++ b/include/delphi/m_protoint.inc
@@ -51,6 +51,7 @@ type
szModuleName :PAnsiChar;
hProtoIcon :THANDLE;
hNetlibUser :THANDLE;
+ hWindowList :THANDLE;
//////////////////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////////////////////
// Virtual functions