summaryrefslogtreecommitdiff
path: root/include/delphi/m_clistint.inc
diff options
context:
space:
mode:
Diffstat (limited to 'include/delphi/m_clistint.inc')
-rw-r--r--include/delphi/m_clistint.inc11
1 files changed, 7 insertions, 4 deletions
diff --git a/include/delphi/m_clistint.inc b/include/delphi/m_clistint.inc
index 33e2ab5d7e..108163db8b 100644
--- a/include/delphi/m_clistint.inc
+++ b/include/delphi/m_clistint.inc
@@ -273,6 +273,10 @@ const
* CLIST_INTERFACE structure definition
************************************************************************** }
+const
+ GCDNF_NOMYHANDLE = 1; // will never return the user's custom name
+ GCDNF_NOCACHE = 4; // will not use the cache
+
type
PClcProtoStatus = ^TClcProtoStatus;
TClcProtoStatus = record
@@ -396,7 +400,7 @@ type
(* clistmod.c *)
pfnIconFromStatusMode : function (szProto:PAnsiChar; status:int; hContact:TMCONTACT):int; cdecl;
pfnShowHide : function (_para1:WPARAM; _para2:LPARAM):int; cdecl;
- pfnGetStatusModeDescription : function (mode:int; flags:int):TChar; cdecl;
+ pfnGetStatusModeDescription : function (mode:int; flags:int) : PWideChar; cdecl;
(* clistsettings.c *)
pfnGetCacheEntry : function (hContact:TMCONTACT):PClcCacheEntry; cdecl;
@@ -404,12 +408,11 @@ type
pfnCheckCacheItem : procedure (_para1:PClcCacheEntry); cdecl;
pfnFreeCacheItem : procedure (_para1:PClcCacheEntry); cdecl;
- pfnGetContactDisplayName : function (hContact:TMCONTACT; mode:int):TChar; cdecl;
+ pfnGetContactDisplayName : function (hContact:TMCONTACT; mode:int):PWideChar; cdecl;
pfnInvalidateDisplayNameCacheEntry : procedure (hContact:TMCONTACT); cdecl;
(* clisttray.c *)
- pfnTrayIconUpdateWithImageList : procedure (iImage:int; szNewTip:TChar;
- szPreferredProto:PAnsiChar); cdecl;
+ pfnTrayIconUpdateWithImageList : procedure (iImage:int; szNewTip:TChar; szPreferredProto:PAnsiChar); cdecl;
pfnTrayIconUpdateBase : procedure (szChangedProto:PAnsiChar); cdecl;
pfnTrayIconSetToBase : procedure (szPreferredProto:PAnsiChar); cdecl;
pfnTrayIconIconsChanged : procedure ; cdecl;