summaryrefslogtreecommitdiff
path: root/include/delphi/m_utils.inc
diff options
context:
space:
mode:
authorAlexey Kulakov <panda75@bk.ru>2012-11-21 19:42:22 +0000
committerAlexey Kulakov <panda75@bk.ru>2012-11-21 19:42:22 +0000
commitfe95e19dc7743834b53c82afcf04c233e40db8db (patch)
treef571518f1c40cd4b945e64a675ee2a7a29335f16 /include/delphi/m_utils.inc
parenta8f0df159c82d4e1b7d610f302dbc2a09479c341 (diff)
xstatus api fixes
mradio frame button fix api updates git-svn-id: http://svn.miranda-ng.org/main/trunk@2420 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'include/delphi/m_utils.inc')
-rw-r--r--include/delphi/m_utils.inc14
1 files changed, 12 insertions, 2 deletions
diff --git a/include/delphi/m_utils.inc b/include/delphi/m_utils.inc
index eac9de22bb..3556f4e578 100644
--- a/include/delphi/m_utils.inc
+++ b/include/delphi/m_utils.inc
@@ -69,8 +69,9 @@ type
PCountryListEntry = ^TCountryListEntry;
TCountryListEntry = record
- id : int;
- szName: PAnsiChar;
+ id : int;
+ szName : PAnsiChar;
+ ISOcode: array [0..2] of AnsiChar;
end;
PWINDOWLISTENTRY = ^TWINDOWLISTENTRY;
@@ -128,6 +129,15 @@ const
MS_UTILS_GETCOUNTRYBYNUMBER:PAnsiChar = 'Utils/GetCountryByNumber';
{
+ Gets the name of a country given its ISO code v0.1.2.0+
+ wParam = (char*)ISOcode
+ lParam = 0
+ Returns a pointer to the string containing the country name on success,
+ or NULL on failure
+ }
+ MS_UTILS_GETCOUNTRYBYISOCODE:PAnsiChar = 'Utils/GetCountryByISOCode';
+
+ {
wParam : Pointer to an int to be filled with count -- !TODO! test.
lParam : Pointer to an PCountryListEntry, see notes
Affect : Get the full list of country IDs, see notes