summaryrefslogtreecommitdiff
path: root/include/delphi/m_message.inc
diff options
context:
space:
mode:
Diffstat (limited to 'include/delphi/m_message.inc')
-rw-r--r--include/delphi/m_message.inc14
1 files changed, 3 insertions, 11 deletions
diff --git a/include/delphi/m_message.inc b/include/delphi/m_message.inc
index 249f5e1462..764287720a 100644
--- a/include/delphi/m_message.inc
+++ b/include/delphi/m_message.inc
@@ -69,22 +69,14 @@ const
MSG_WINDOW_STATE_ICONIC = $00000008;
type
- PMessageWindowOutputData = ^TMessageWindowOutputData;
- TMessageWindowOutputData = record
+ PMessageWindowData = ^TMessageWindowData;
+ TMessageWindowData = record
hwndWindow: HWND; // top level window for the contact or NULL if no window exists
uState : int; // see window states
local : pointer; // used to store pointer to custom data
end;
- PMessageWindowData = PMessageWindowOutputData;
- TMessageWindowData = TMessageWindowOutputData;
-const
-{ wparam=(MessageWindowInputData*)
- lparam=(MessageWindowOutputData*)
- returns 0 on success and returns non-zero (1) on error or if no window data
- exists for that hcontact
-}
- MS_MSG_GETWINDOWDATA:PAnsiChar = 'MessageAPI/GetWindowData';
+function Srmm_GetWindowData(hContact:TMCONTACT; pResult:PMessageWindowData) : int; stdcall; external AppDll;
type
PStatusTextData = ^TStatusTextData;