summaryrefslogtreecommitdiff
path: root/include/delphi/m_system.inc
diff options
context:
space:
mode:
Diffstat (limited to 'include/delphi/m_system.inc')
-rw-r--r--include/delphi/m_system.inc9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/delphi/m_system.inc b/include/delphi/m_system.inc
index 8347495e03..45f1fc818e 100644
--- a/include/delphi/m_system.inc
+++ b/include/delphi/m_system.inc
@@ -82,6 +82,15 @@ const
}
MS_SYSTEM_GETVERSION:PAnsiChar = 'Miranda/System/GetVersion';
+ {
+ gets the version number of Miranda encoded as four WORDs v0.92.2+
+ wParam = 0
+ lParam = WORD[4]*
+ returns the version number, encoded as one version per word, therefore
+ version 1.2.3.3210 is 0x0001, 0x0002, 0x0003, 0x0C8a
+ }
+ MS_SYSTEM_GETFILEVERSION:PAnsiChar = 'Miranda/System/GetFileVersion';
+
{ gets the version of Miranda encoded as text v0.1.0.1+
wParam=cch
lParam=(LPARAM)(AnsiChar*)pszVersion