From 0269e9306300f5ca12d5120a5a0f3051adfc4302 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Mon, 24 Feb 2014 19:46:11 +0000 Subject: old/unused types removed from Pascal sources git-svn-id: http://svn.miranda-ng.org/main/trunk@8267 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- .../Chess4Net/MI/MirandaINC/m_addcontact.inc | 2 +- .../Chess4Net/MI/MirandaINC/m_awaymsg.inc | 2 +- .../Chess4Net/MI/MirandaINC/m_clist.inc | 30 +++++++++--------- .../!NotAdopted/Chess4Net/MI/MirandaINC/m_clui.inc | 14 ++++----- .../Chess4Net/MI/MirandaINC/m_database.inc | 36 +++++++++++----------- .../Chess4Net/MI/MirandaINC/m_email.inc | 2 +- .../!NotAdopted/Chess4Net/MI/MirandaINC/m_file.inc | 8 ++--- .../Chess4Net/MI/MirandaINC/m_history.inc | 4 +-- .../Chess4Net/MI/MirandaINC/m_ignore.inc | 10 +++--- .../Chess4Net/MI/MirandaINC/m_message.inc | 2 +- .../Chess4Net/MI/MirandaINC/m_popup.inc | 4 +-- .../Chess4Net/MI/MirandaINC/m_protocols.inc | 4 +-- .../Chess4Net/MI/MirandaINC/m_protomod.inc | 4 +-- .../Chess4Net/MI/MirandaINC/m_protosvc.inc | 10 +++--- .../!NotAdopted/Chess4Net/MI/MirandaINC/m_url.inc | 2 +- .../Chess4Net/MI/MirandaINC/m_userinfo.inc | 6 ++-- .../Chess4Net/MI/MirandaINC/m_utils.inc | 2 +- 17 files changed, 71 insertions(+), 71 deletions(-) (limited to 'plugins/!NotAdopted/Chess4Net') diff --git a/plugins/!NotAdopted/Chess4Net/MI/MirandaINC/m_addcontact.inc b/plugins/!NotAdopted/Chess4Net/MI/MirandaINC/m_addcontact.inc index 6bf08e8208..ad54b3b6d8 100644 --- a/plugins/!NotAdopted/Chess4Net/MI/MirandaINC/m_addcontact.inc +++ b/plugins/!NotAdopted/Chess4Net/MI/MirandaINC/m_addcontact.inc @@ -36,7 +36,7 @@ type PADDCONTACTSTRUCT = ^TADDCONTACTSTRUCT; TADDCONTACTSTRUCT = record handleType: Integer; - handle: THandle; // HDBEVENT, HCONTACT, SearchResult + handle: THandle; // HDBEVENT, MCONTACT, SearchResult szProto: PChar; // used by search result only psr: Pointer; // @PROTOSEARCHRESULT end; diff --git a/plugins/!NotAdopted/Chess4Net/MI/MirandaINC/m_awaymsg.inc b/plugins/!NotAdopted/Chess4Net/MI/MirandaINC/m_awaymsg.inc index 44be914423..c14b024b04 100644 --- a/plugins/!NotAdopted/Chess4Net/MI/MirandaINC/m_awaymsg.inc +++ b/plugins/!NotAdopted/Chess4Net/MI/MirandaINC/m_awaymsg.inc @@ -28,7 +28,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. const { - wParam : HCONTACT + wParam : MCONTACT lParam : 0 Affect : Show the away/na/etc message for a contact Returns: 0 on success, non zero on failure, see notes diff --git a/plugins/!NotAdopted/Chess4Net/MI/MirandaINC/m_clist.inc b/plugins/!NotAdopted/Chess4Net/MI/MirandaINC/m_clist.inc index 20a3fb0e29..ecf3e52bc7 100644 --- a/plugins/!NotAdopted/Chess4Net/MI/MirandaINC/m_clist.inc +++ b/plugins/!NotAdopted/Chess4Net/MI/MirandaINC/m_clist.inc @@ -232,7 +232,7 @@ const MS_CLIST_MODIFYMENUITEM = 'CList/ModifyMenuItem'; { - wParam : HCONTACT + wParam : MCONTACT lParam : 0 Affect : the context menu for a contact is about to be built, see notes Notes : modules should use this to change menu items that are specific @@ -257,17 +257,17 @@ const MS_CLIST_SETDOUBLECLICKACTION = 'CList/SetDoubleClickAction'; { - wParam : HCONTACT + wParam : MCONTACT lParam : Affect : Register with this event to be notified of a double click on the CList - against a HCONTACT, you will not be notified if there is a pending CList event + against a MCONTACT, you will not be notified if there is a pending CList event that the double click clears, (i.e. flashing icon is presented to be clicked) Version: 0.3.0.0 } ME_CLIST_DOUBLECLICKED = 'CList/DoubleClicked'; { - wParam : HCONTACT + wParam : MCONTACT lParam : flags Affect : Gets the string that the contact list will use to represent a contact Returns: Always a pointer @@ -303,7 +303,7 @@ const MS_CLIST_ADDEVENT = 'CList/AddEvent'; { - wParam : HCONTACT + wParam : MCONTACT lParam : HDBEVENT Affect : Remove an event from the contact list queue Returns: 0 on success, [non zero] on failure @@ -311,15 +311,15 @@ const MS_CLIST_REMOVEEVENT = 'Clist/RemoveEvent'; { - wParam : HCONTACT + wParam : MCONTACT lParam : iEvent Affect : Get the details of an event in the queue, see notes Returns: A CLISTEVENT* or NULL(0) on failure Notes : Returns the iEvent'1st/2nd/3rd/nth elemented queried, e.g. iEvent=0 will get the event that will be returned if the - user double clicks on that HCONTACT + user double clicks on that MCONTACT - - Use HCONTACT=NULL, iEvent=0 for example to get the event + Use MCONTACT=NULL, iEvent=0 for example to get the event the user will get if they double click on the tray. Version: v0.1.2.1+ } @@ -348,7 +348,7 @@ const MS_CLIST_MENUDRAWITEM = 'CList/MenuDrawItem'; { - wParam : HCONTACT + wParam : MCONTACT lParam : 0 Affect : Built the context menu for a specific contact Returns: A HMENU handle identifying the menu, thhis should be DestroyMenu()ed @@ -366,7 +366,7 @@ const MS_CLIST_GETICONSIMAGELIST = 'CList/GetIconsImageList'; { - wParam : HCONTACT + wParam : MCONTACT lParam : 0 Affect : Get the icon that should be associated with a contact Returns: an index into the contact list imagelist, if the icon @@ -377,7 +377,7 @@ const MS_CLIST_GETCONTACTICON = 'CList/GetContactIcon'; { - wParam : HCONTACT + wParam : MCONTACT lParam : ICON_ID Affect : The icon of a contact in the contact list has changed, ICON_ID is an index to what image has changed @@ -405,7 +405,7 @@ const { wParam : MAKEWPARAM(LOWORD(wParam of WM_COMMAND),flags) - lParam : HCONTACT + lParam : MCONTACT Affect : Process a mennu selection from a menu, see notes Returns: True if it processed the command, False otherwise notes : hContact is the currently selected contact, it is not used @@ -599,7 +599,7 @@ const MS_CLIST_SETHIDEOFFLINE = 'CList/SetHideOffline'; { - wParam : HCONTACT + wParam : MCONTACT lParam : 0 Affect : Do the message processing associated with the double clicking a contact Returns: 0 on success, [non zero] on failure @@ -608,7 +608,7 @@ const MS_CLIST_CONTACTDOUBLECLICKED = 'CList/ContactDoubleClicked'; { - wParam : HCONTACT + wParam : MCONTACT lParam : Pointer to an array of pchar's containing files/dirs Affect : Do the processing when some files are droppeed on a contact, see notes Returns: 0 on success, [non zero] on failure @@ -618,7 +618,7 @@ const MS_CLIST_CONTACTFILESDROPPED = 'CList/ContactFilesDropped'; { - wParam : HCONTACT + wParam : MCONTACT lParam : HGROUP Affect : Change the group a contact belongs to, see notes Returns: 0 on success, [non zero] on failure diff --git a/plugins/!NotAdopted/Chess4Net/MI/MirandaINC/m_clui.inc b/plugins/!NotAdopted/Chess4Net/MI/MirandaINC/m_clui.inc index c62b40e458..5faec66f6a 100644 --- a/plugins/!NotAdopted/Chess4Net/MI/MirandaINC/m_clui.inc +++ b/plugins/!NotAdopted/Chess4Net/MI/MirandaINC/m_clui.inc @@ -68,7 +68,7 @@ const MS_CLUI_GROUPADDED = 'CLUI/GroupCreated'; { - wParam : HCONTACT + wParam : MCONTACT lParam : ICON_ID Affect : Change the icon for a contact, see notes Returns: 0 on success, [non zero] on failure @@ -77,7 +77,7 @@ const MS_CLUI_CONTACTSETICON = 'CLUI/ContactSetIcon'; { - wParam : HCONTACT + wParam : MCONTACT lParam : 0 Affect : Remove a contact from the list, see notes Returns: 0 on success, [non zereo] on failure @@ -88,7 +88,7 @@ const MS_CLUI_CONTACTDELETED = 'CLUI/ContactDeleted'; { - wParam : HCONTACT + wParam : MCONTACT lParam : ICON_ID Affect : Add a contact to the list, see note returns: 0 on success, [non zero] on failure @@ -113,7 +113,7 @@ const MS_CLUI_CONTACTADDED = 'CLUI/ContactAdded'; { - wParam : HCONTACT + wParam : MCONTACT lParam : 0 Affect : Reename a contact in the lists, see notes Returns: 0 on success, [non zero] on failure @@ -184,7 +184,7 @@ const MS_CLUI_GETCAPS = 'CLUI/GetCaps'; { - wParam : HCONTACT + wParam : MCONTACT lParam : MAKELPARAM(screenX, screenY) Affect : A contact is being dragged outside the main window Return : return [non zero] to show the drag cursor as "accepting" the drag @@ -194,7 +194,7 @@ const ME_CLUI_CONTACTDRAGGING = 'CLUI/ContactDragging'; { - wParam : HCONTACT + wParam : MCONTACT lParam : MAKELPARAM(screenX, screenY) Affect : a contact has just been dropped outside the main window, see notes Notes : return non zero to stop other hooks processing this event. @@ -203,7 +203,7 @@ const ME_CLUI_CONTACTDROPPED = 'CLUI/ContactDropped'; { - wParam : HCONTACT + wParam : MCONTACT lParam : 0 Affect : A contact that *was* being dragged outside the main window has gone back to the main window diff --git a/plugins/!NotAdopted/Chess4Net/MI/MirandaINC/m_database.inc b/plugins/!NotAdopted/Chess4Net/MI/MirandaINC/m_database.inc index 678977979c..e559ad0780 100644 --- a/plugins/!NotAdopted/Chess4Net/MI/MirandaINC/m_database.inc +++ b/plugins/!NotAdopted/Chess4Net/MI/MirandaINC/m_database.inc @@ -37,7 +37,7 @@ const type - HCONTACT = Integer; + MCONTACT = Integer; HDBEVENT = Integer; PDBVARIANT = ^TDBVARIANT; @@ -383,7 +383,7 @@ const MS_DB_EVENT_GET = 'DB/Event/Get'; { - wParam : HCONTACT + wParam : MCONTACT lParam : HDBEVENT affect : Changes the flag for an event to mark it as read Returns: Returns the entire flag DWORD for the event after the change, or -1 @@ -405,21 +405,21 @@ const MS_DB_EVENT_GETCONTACT = 'DB/Event/GetContact'; { - wParam : HCONTACT + wParam : MCONTACT lParam : 0 Affect : Retrieves a handlee to the first event in the chain - for a HCONTACT - returns: Returns a handle, or NULL(0) if HCONTACT is invalid or has + for a MCONTACT + returns: Returns a handle, or NULL(0) if MCONTACT is invalid or has no events, events in a chain are sorted chronologically automatically } MS_DB_EVENT_FINDFIRST = 'DB/Event/FindFirst'; { - wParam : HCONTACT + wParam : MCONTACT lParam : 0 - Affect : Retrieves a handle to the first unreead event in a chain for a HCONTACT + Affect : Retrieves a handle to the first unreead event in a chain for a MCONTACT see notes - Returns: Returns a HDBEVENT handle or NULL(0) if the HCONTACT is invalid + Returns: Returns a HDBEVENT handle or NULL(0) if the MCONTACT is invalid or all it's events have beeen read. Notes : Events in a chain are sorted chronologically automatically, but this does not necessarily mean that all events after @@ -431,10 +431,10 @@ const MS_DB_EVENT_FINDFIRSTUNREAD = 'DB/Event/FindFirstUnread'; { - wParam : HCONTACT + wParam : MCONTACT lParam : 0; - Affects: Retrieves a handle to the lasts event in the chain for a HCONTACT - Returns: Returns a handle or NULL(0) if HCONTACT is invalid or has no events + Affects: Retrieves a handle to the lasts event in the chain for a MCONTACT + Returns: Returns a handle or NULL(0) if MCONTACT is invalid or has no events } MS_DB_EVENT_FINDLAST = 'DB/Event/FindLast'; @@ -577,10 +577,10 @@ const { - wParam : HCONTACT + wParam : MCONTACT lParam : HDBCONTACT Affect : Called when a new event has been added to the event chain - for a contact, HCONTACT contains the contact who added the event, + for a contact, MCONTACT contains the contact who added the event, HDBCONTACT a handle to what was added. see notes notes : since events are sorted chronologically, you can not guarantee @@ -606,7 +606,7 @@ const ME_DB_EVENT_FILTER_ADD = 'DB/Event/FilterAdd'; { - wParam : HCONTACT + wParam : MCONTACT lParam : HDBEVENT Affect : Called when an event is about to be deleted from the event chain for a contact, see notes @@ -618,15 +618,15 @@ const { - wParam : HCONTACT + wParam : MCONTACT lParam : 0 Affect : Called when a new contact has been added to the database, - HCONTACT contains a handle to the new contact. + MCONTACT contains a handle to the new contact. } ME_DB_CONTACT_ADDED = 'DB/Contact/Added'; { - wParam : HCONTACT + wParam : MCONTACT lParam : 0 Affect : Called when a contact is about to be deleted Returns: Returning nonzero from your hook will not stop the deletion @@ -635,7 +635,7 @@ const ME_DB_CONTACT_DELETED = 'DB/Contact/Deleted'; { - wParam : HCONTACT + wParam : MCONTACT lParam : Pointer to a TDBCONTACTWRITESETTING Affect : Calleed when a contact has one of it's settings changed hContact is a valid handle to the contact that has changed, diff --git a/plugins/!NotAdopted/Chess4Net/MI/MirandaINC/m_email.inc b/plugins/!NotAdopted/Chess4Net/MI/MirandaINC/m_email.inc index 71859ed208..f26847e53c 100644 --- a/plugins/!NotAdopted/Chess4Net/MI/MirandaINC/m_email.inc +++ b/plugins/!NotAdopted/Chess4Net/MI/MirandaINC/m_email.inc @@ -27,7 +27,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. const { - wParam : HCONTACT + wParam : MCONTACT lParam : 0 Affects: Send an e-mail to the specified contact, see notes Returns: Returns 0 on success or nonzero on failure diff --git a/plugins/!NotAdopted/Chess4Net/MI/MirandaINC/m_file.inc b/plugins/!NotAdopted/Chess4Net/MI/MirandaINC/m_file.inc index e1e388fcdc..536f1d47f4 100644 --- a/plugins/!NotAdopted/Chess4Net/MI/MirandaINC/m_file.inc +++ b/plugins/!NotAdopted/Chess4Net/MI/MirandaINC/m_file.inc @@ -28,7 +28,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. const { - wParam : HCONTACT + wParam : MCONTACT lParam : 0 Affects: Brings up the send file dialog for a contact, see notes Returns: 0 on success [non zero] on failure @@ -37,7 +37,7 @@ const MS_FILE_SENDFILE = 'SRFile/SendCommand'; { - wParam : HCONTACT + wParam : MCONTACT lParam : pointer to an array of PChar's the first nil item terminates the list -- see notes Affects: Brings up the send file dialog with specifieed files already chosen @@ -50,13 +50,13 @@ const MS_FILE_SENDSPECIFICFILES = 'SRFile/SendSpecificFiles'; { - wParam : HCONTACT + wParam : MCONTACT lParam : Pointer to a buffer Affects: returns the received files folder for a contact, the buffer should be at least MAX_PATH long (defined with WinAPI), the returned path may not exist -- see notes Returns: Returns 0 on success [non zero] on failure - notes : If HCONTACT is NULL(0) the path returned is the path + notes : If MCONTACT is NULL(0) the path returned is the path without the postfix contact name. Version: v0.1.2.2+ } diff --git a/plugins/!NotAdopted/Chess4Net/MI/MirandaINC/m_history.inc b/plugins/!NotAdopted/Chess4Net/MI/MirandaINC/m_history.inc index af019ee255..0cb817ace5 100644 --- a/plugins/!NotAdopted/Chess4Net/MI/MirandaINC/m_history.inc +++ b/plugins/!NotAdopted/Chess4Net/MI/MirandaINC/m_history.inc @@ -27,10 +27,10 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. const { - wParam : HCONTACT + wParam : MCONTACT lParam : 0 Affects: Show's the history dialog box for a contact, see notes - Notes : HCONTACT can be NULL(0) to show system messages + Notes : MCONTACT can be NULL(0) to show system messages } MS_HISTORY_SHOWCONTACTHISTORY = 'History/ShowContactHistory'; diff --git a/plugins/!NotAdopted/Chess4Net/MI/MirandaINC/m_ignore.inc b/plugins/!NotAdopted/Chess4Net/MI/MirandaINC/m_ignore.inc index 4dd83c4cee..9ddcde2759 100644 --- a/plugins/!NotAdopted/Chess4Net/MI/MirandaINC/m_ignore.inc +++ b/plugins/!NotAdopted/Chess4Net/MI/MirandaINC/m_ignore.inc @@ -38,11 +38,11 @@ const IGNOREEVENT_YOUWEREADDED=6; // 0.3.3a+ { - wParam : HCONTACT + wParam : MCONTACT lParam : IGNOREEVENT_* Affects: Determines if a message type to a contact should be ignored, see notes Returns: 0 if the message type MUST be shown [non zero] if it MUST be ignored - Notes : HCONTACT can be NULL(0) to see what to do with a contact + Notes : MCONTACT can be NULL(0) to see what to do with a contact that isn't on the list (or is unknown in some way) don't use the IGNOREEVENT_ALL type! Version: v0.1.0.1+ @@ -50,7 +50,7 @@ const MS_IGNORE_ISIGNORED = 'Ignore/IsIgnored'; { - wParam : HCONTACT + wParam : MCONTACT lParam : IGNOREEVENT_* constant Affects: Ignore future messages from a contact, see notes Returns: 0 on success, [nonzero] on failure @@ -62,11 +62,11 @@ const MS_IGNORE_IGNORE = 'Ignore/Ignore'; { - wParam : HCONTACT + wParam : MCONTACT lParam : IGNOREEVENT_* Affects: Receive future messages from a contact -- of the given type, see notes Returns: 0 on success, non zero on failure - Notes : Use NULL(0) for HCONTACT to retrieve the setting for an unknown contact + Notes : Use NULL(0) for MCONTACT to retrieve the setting for an unknown contact Version: v0.1.0.1+ } MS_IGNORE_UNIGNORE = 'Ignore/Unignore'; diff --git a/plugins/!NotAdopted/Chess4Net/MI/MirandaINC/m_message.inc b/plugins/!NotAdopted/Chess4Net/MI/MirandaINC/m_message.inc index dec113bb53..777c1c4a0f 100644 --- a/plugins/!NotAdopted/Chess4Net/MI/MirandaINC/m_message.inc +++ b/plugins/!NotAdopted/Chess4Net/MI/MirandaINC/m_message.inc @@ -28,7 +28,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. const { - wParam : HCONTACT + wParam : MCONTACT lParam : Pointer to a null terminated string Affects: brings up the send message dialog for a contact, see notes Returns: 0 on success, non zero on failure diff --git a/plugins/!NotAdopted/Chess4Net/MI/MirandaINC/m_popup.inc b/plugins/!NotAdopted/Chess4Net/MI/MirandaINC/m_popup.inc index 4d7632f25f..a91ef4df0c 100644 --- a/plugins/!NotAdopted/Chess4Net/MI/MirandaINC/m_popup.inc +++ b/plugins/!NotAdopted/Chess4Net/MI/MirandaINC/m_popup.inc @@ -38,7 +38,7 @@ type PPOPUPDATA = ^TPOPUPDATA; TPOPUPDATA = record - lchContact: HCONTACT; + lchContact: MCONTACT; lchIcon: THandle; lpszContactName: array[0..MAX_CONTACTNAME-1] of Char; lpszText: array[0..MAX_SECONDLINE-1] of Char; @@ -54,7 +54,7 @@ type PPOPUPDATA = ^TPOPUPDATA; TPOPUPDATA = record - lchContact: HCONTACT; + lchContact: MCONTACT; lchIcon: THandle; lpszContactName: array[0..MAX_CONTACTNAME-1] of Char; lpszText: array[0..MAX_SECONDLINE-1] of Char; diff --git a/plugins/!NotAdopted/Chess4Net/MI/MirandaINC/m_protocols.inc b/plugins/!NotAdopted/Chess4Net/MI/MirandaINC/m_protocols.inc index f198d40a8b..4d8012c180 100644 --- a/plugins/!NotAdopted/Chess4Net/MI/MirandaINC/m_protocols.inc +++ b/plugins/!NotAdopted/Chess4Net/MI/MirandaINC/m_protocols.inc @@ -156,7 +156,7 @@ const MS_PROTO_ISPROTOCOLLOADED = 'Proto/IsProtocolLoaded'; { - wParam : HCONTACT + wParam : MCONTACT lParam : Pointer to a null terminated string containing a name Affect : Determine whether the given contact has the given protocol in it's chain. @@ -165,7 +165,7 @@ const MS_PROTO_ISPROTOONCONTACT = 'Proto/IsProtoOnContact'; { - wParam : HCONTACT + wParam : MCONTACT lParam : 0 Affect : Gets the network-level protocol associated with a contact Returns: a PChar pointing to the ASCIIZ name of the protocol or NULL(0) diff --git a/plugins/!NotAdopted/Chess4Net/MI/MirandaINC/m_protomod.inc b/plugins/!NotAdopted/Chess4Net/MI/MirandaINC/m_protomod.inc index 312e0de687..f304b61a39 100644 --- a/plugins/!NotAdopted/Chess4Net/MI/MirandaINC/m_protomod.inc +++ b/plugins/!NotAdopted/Chess4Net/MI/MirandaINC/m_protomod.inc @@ -47,7 +47,7 @@ const MS_PROTO_REGISTERMODULE = 'Proto/RegisterModule'; { - wParam : HCONTACT + wParam : MCONTACT lParam : protocol_name_string Affect : Add the given protocol module to the chain for a contact, see notes Returns: 0 success, [non zero] on failure @@ -57,7 +57,7 @@ const MS_PROTO_ADDTOCONTACT = 'Proto/AddToContact'; { - wParam : HCONTACT + wParam : MCONTACT lParam : protocol_name_string Affect : Remove the given protocol name from the chain for the given contact Returns: 0 on success, [non zero] on failure diff --git a/plugins/!NotAdopted/Chess4Net/MI/MirandaINC/m_protosvc.inc b/plugins/!NotAdopted/Chess4Net/MI/MirandaINC/m_protosvc.inc index 0b52f04600..daac49ea99 100644 --- a/plugins/!NotAdopted/Chess4Net/MI/MirandaINC/m_protosvc.inc +++ b/plugins/!NotAdopted/Chess4Net/MI/MirandaINC/m_protosvc.inc @@ -396,12 +396,12 @@ const wParam : flags lParam : Pointer to a TPROTOSEARCHRESULT structure Affect : Adds a search result to the contact list, see notes - Returns: A handle to the new contact (HCONTACT) or NULL(0) on failure + Returns: A handle to the new contact (MCONTACT) or NULL(0) on failure Notes : The pointer MUST be a result returned by a search function since there maybe extra protocol-spec data required by the protocol. - the protocol module should not allow duplicate contains to be added, - but if such a request *is* received it should return a HCONTACT + but if such a request *is* received it should return a MCONTACT to the original user, - If flags is PALF_TEMPORARY set, the contact should be added @@ -414,7 +414,7 @@ const wParam : MAKEWPARAM(flags, iContact) lParam : HDBEVENT Affects: Add a contact to the contact list given an auth/added/contacts events, see notes - Returns: A HCONTACT or NULL(0) on failure + Returns: A MCONTACT or NULL(0) on failure Notes : HDBEVENT must be either EVENTTYPE_AUTHREQ or EVENTTYPE_ADDED flags are the same as PS_ADDTOLIST, - @@ -501,7 +501,7 @@ const flags which may have SGIF_MINIMAL set to only get "basic" information, such as nickname, email address. - PCCSDATA(lParam)^.hContact has the HCONTACT handle to get user + PCCSDATA(lParam)^.hContact has the MCONTACT handle to get user information for. Will update all the information in the database and then @@ -582,7 +582,7 @@ const CCSDATA: Yes wParam : 0 lParam : 0 - Affect : Send a request to retrieve HCONTACT's mode message, see notes + Affect : Send a request to retrieve MCONTACT's mode message, see notes Returns: a hProcess which will be ack'd later, NULL(0) on failure Notes : the reply will come in a form of an ack : diff --git a/plugins/!NotAdopted/Chess4Net/MI/MirandaINC/m_url.inc b/plugins/!NotAdopted/Chess4Net/MI/MirandaINC/m_url.inc index c991d2a68c..393dcacff2 100644 --- a/plugins/!NotAdopted/Chess4Net/MI/MirandaINC/m_url.inc +++ b/plugins/!NotAdopted/Chess4Net/MI/MirandaINC/m_url.inc @@ -28,7 +28,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. const { - wParam : HCONTACT + wParam : MCONTACT lParam : 0 Affects: bring up the send URL dialogbox for a user Returns: 0 on success, nonzero on failure, see notes diff --git a/plugins/!NotAdopted/Chess4Net/MI/MirandaINC/m_userinfo.inc b/plugins/!NotAdopted/Chess4Net/MI/MirandaINC/m_userinfo.inc index 4ea8a90563..1013d26e2f 100644 --- a/plugins/!NotAdopted/Chess4Net/MI/MirandaINC/m_userinfo.inc +++ b/plugins/!NotAdopted/Chess4Net/MI/MirandaINC/m_userinfo.inc @@ -28,7 +28,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. const { - wParam : HCONTACT + wParam : MCONTACT lParam : 0 Affects: Show the user details dialog box for a contact, see notes Notes : I think this can be used to display "My User Details"... if NULL(0) is used @@ -37,7 +37,7 @@ const { wParam : 0 - lParam : HCONTACT + lParam : MCONTACT Affects: The details dialog box was opened for a contact maybe NULL(0) showing the user details -- see notes Notes : The module should do whatever initialisation they need and @@ -58,7 +58,7 @@ const lParam : pointer to an initialised OPTIONSDIALOGPAGE (see m_options.inc) Affects: Adds a page to the details dialog, see notes Notes : this service should only be called within the ME_USERINFO_INITIALISE - event -- when the pages get (WM_INITDIALOG lParam=HCONTACT) strings + event -- when the pages get (WM_INITDIALOG lParam=MCONTACT) strings in the passed dialog structure can be freed soon as the service returns icons must be kept around (not a problem if you're loading from resource). - diff --git a/plugins/!NotAdopted/Chess4Net/MI/MirandaINC/m_utils.inc b/plugins/!NotAdopted/Chess4Net/MI/MirandaINC/m_utils.inc index b0cabfff44..ff092421f4 100644 --- a/plugins/!NotAdopted/Chess4Net/MI/MirandaINC/m_utils.inc +++ b/plugins/!NotAdopted/Chess4Net/MI/MirandaINC/m_utils.inc @@ -187,7 +187,7 @@ const { wParam : Handle to the window list to look in - lParam : Handle to a HCONTACT to find in the window list + lParam : Handle to a MCONTACT to find in the window list Affect : Find a window handle given the hContact Returns: The found window handle or NULL(0) on failure Version: v0.1.0.1+ -- cgit v1.2.3