diff options
author | George Hazan <george.hazan@gmail.com> | 2014-02-24 13:18:53 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2014-02-24 13:18:53 +0000 |
commit | 862116c0d40a7304c458f68c4c725e8a95960588 (patch) | |
tree | 502d5281f70842bbc8ada15d5a03673106b3f61f /include | |
parent | 04ea225a48f0fe836361882cb0f78e7b99ee582f (diff) |
valid first parameter's name of ME_DB_CONTACT_SETTINGCHANGED handlers
git-svn-id: http://svn.miranda-ng.org/main/trunk@8255 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'include')
-rw-r--r-- | include/m_database.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/include/m_database.h b/include/m_database.h index 4e30e42885..4099c7ef6e 100644 --- a/include/m_database.h +++ b/include/m_database.h @@ -152,7 +152,7 @@ typedef struct { /* db/contact/enumsettings v0.1.0.1+
Lists all the settings a specific modules has stored in the database for a
specific contact.
-wParam = (WPARAM)(MCONTACT)hContact
+wParam = (MCONTACT)hContact
lParam = (LPARAM)(DBCONTACTENUMSETTINGS*)&dbces
Returns the return value of the last call to pfnEnumProc, or -1 if there are
no settings for that module/contact pair
@@ -183,7 +183,7 @@ and contact/findnext /* DB/Contact/Delete
Deletes the contact hContact from the database and all events and settings
associated with it.
- wParam = (WPARAM)(MCONTACT)hContact
+ wParam = (MCONTACT)hContact
lParam = 0
Returns 0 on success or nonzero if hContact was invalid
Please don't try to delete the user contact (hContact = NULL)
@@ -438,7 +438,7 @@ lParam = (LPARAM)(char*)szModuleName - the module name to be deleted /* DB/Event/Added event
Called when a new event has been added to the event chain for a contact
- wParam = (WPARAM)(MCONTACT)hContact
+ wParam = (MCONTACT)hContact
lParam = (LPARAM)(HANDLE)hDbEvent
hDbEvent is a valid handle to the event. hContact is a valid handle to the
contact to which hDbEvent refers.
@@ -456,7 +456,7 @@ passed to db_event_add. The point of this hook is to stop any unwanted database events, to stop
an event being added, return 1, to allow the event to pass through return
0.
- wParam = (WPARAM)(MCONTACT)hContact
+ wParam = (MCONTACT)hContact
lParam = (LPARAM)&DBEVENTINFO
Any changed made to the said DBEVENTINFO are also passed along to the database,
@@ -466,7 +466,7 @@ therefore it is possible to shape the data, however DO NOT DO THIS. /* DB/Event/Marked/Read event
Called when an event is marked read
-wParam = (WPARAM)(MCONTACT)hContact
+wParam = (MCONTACT)hContact
lParam = (LPARAM)(HANDLE)hDbEvent
hDbEvent is a valid handle to the event.
hContact is a valid handle to the contact to which hDbEvent refers, and will
@@ -476,7 +476,7 @@ remain valid. /* DB/Event/Deleted event
Called when an event is about to be deleted from the event chain for a contact
- wParam = (WPARAM)(MCONTACT)hContact
+ wParam = (MCONTACT)hContact
lParam = (LPARAM)(HANDLE)hDbEvent
hDbEvent is a valid handle to the event which is about to be deleted, but it
won't be once your hook has returned.
@@ -489,7 +489,7 @@ usual, stop other hooks from being called. /* DB/Contact/Added event
Called when a new contact has been added to the database
- wParam = (WPARAM)(MCONTACT)hContact
+ wParam = (MCONTACT)hContact
lParam = 0
hContact is a valid handle to the new contact.
Contacts are initially created without any settings, so if you hook this event
@@ -499,7 +499,7 @@ you will almost certainly also want to hook db/contact/settingchanged as well. /* DB/Contact/Deleted event
Called when an contact is about to be deleted
- wParam = (WPARAM)(MCONTACT)hContact
+ wParam = (MCONTACT)hContact
lParam = 0
hContact is a valid handle to the contact which is about to be deleted, but it
won't be once your hook has returned.
@@ -511,7 +511,7 @@ Deleting a contact invalidates all events in its chain. /* DB/Contact/SettingChanged event
Called when a contact has had one of its settings changed
- wParam = (WPARAM)(MCONTACT)hContact
+ wParam = (MCONTACT)hContact
lParam = (LPARAM)(DBCONTACTWRITESETTING*)&dbcws
hContact is a valid handle to the contact that has changed.
This event will be triggered many times rapidly when a whole bunch of values
|