summaryrefslogtreecommitdiff
path: root/include/m_system.h
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2012-08-14 14:55:43 +0000
committerGeorge Hazan <george.hazan@gmail.com>2012-08-14 14:55:43 +0000
commit88fdd523bdf7cd891dbbac4b1ae7fb2ff597cea3 (patch)
tree9401068579f21f8336e56189de0e3065c2789ff6 /include/m_system.h
parentf4a0cae037bc54f6e14aee7366ee9c635ac7df81 (diff)
MS_SYSTEM_GETFILEVERSION added
git-svn-id: http://svn.miranda-ng.org/main/trunk@1454 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'include/m_system.h')
-rw-r--r--include/m_system.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/m_system.h b/include/m_system.h
index 847aecc5f0..e179b58a8a 100644
--- a/include/m_system.h
+++ b/include/m_system.h
@@ -88,6 +88,13 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
//version 1.2.3.10 is 0x0102030a
#define MS_SYSTEM_GETVERSION "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
+#define MS_SYSTEM_GETFILEVERSION "Miranda/System/GetFileVersion"
+
//gets the version of Miranda encoded as text v0.1.0.1+
//wParam = cch
//lParam = (LPARAM)(char*)pszVersion