summaryrefslogtreecommitdiff
path: root/meta2/m_metacontacts.h
diff options
context:
space:
mode:
Diffstat (limited to 'meta2/m_metacontacts.h')
-rw-r--r--meta2/m_metacontacts.h12
1 files changed, 11 insertions, 1 deletions
diff --git a/meta2/m_metacontacts.h b/meta2/m_metacontacts.h
index 9f348bd..925b998 100644
--- a/meta2/m_metacontacts.h
+++ b/meta2/m_metacontacts.h
@@ -23,6 +23,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#ifndef M_METACONTACTS_H__
#define M_METACONTACTS_H__ 1
+// UUID for the MetaContact API
#ifndef MIID_METACONTACTS
#define MIID_METACONTACTS {0xc0325019, 0xc1a7, 0x40f5, { 0x83, 0x65, 0x4f, 0x46, 0xbe, 0x21, 0x86, 0x3e}}
#endif
@@ -51,10 +52,18 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
//returns a handle to the 'most online' contact
#define MS_MC_GETMOSTONLINECONTACT "MetaContacts/GetMostOnline"
+//gets the handle for the 'active' messaging contact (the one new messages will be sent to,
+//taking into account temporary conversation settings and 'force state' below)
+//wParam=(HANDLE)hMetaContact
+//lParam=0
+//returns a handle to the 'most online' contact
+//added with meta2 (2007/10/4)
+#define MS_MC_GETACTIVECONTACT "MetaContacts/GetActiveContact"
+
//gets the number of subcontacts for a metacontact
//wParam=(HANDLE)hMetaContact
//lParam=0
-//returns a DWORD representing the number of subcontacts for the given metacontact
+//returns an int representing the number of subcontacts for the given metacontact, or -1 on failure
#define MS_MC_GETNUMCONTACTS "MetaContacts/GetNumContacts"
//gets the handle of a subcontact, using the subcontact's number
@@ -140,6 +149,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
// wParam=(HANDLE)hContact
// lParam=0
// convert a given contact into a metacontact
+// returns a HANDLE to the newly created metacontact
#define MS_MC_CONVERTTOMETA "MetaContacts/ConvertToMetacontact"
// added 0.9.5.0 (22/3/05)