summaryrefslogtreecommitdiff
path: root/include/delphi/m_database.inc
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2013-03-30 19:21:55 +0000
committerGeorge Hazan <george.hazan@gmail.com>2013-03-30 19:21:55 +0000
commit6c0d5106bb74b20f4f8e52d3acbdee29f70b5543 (patch)
tree0a420eab4fee0744e81d635fc92cd867ef747c2a /include/delphi/m_database.inc
parentbb0f47d3264c38552e0387bce25211672e48ea72 (diff)
delphi headers cleaning
git-svn-id: http://svn.miranda-ng.org/main/trunk@4260 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'include/delphi/m_database.inc')
-rw-r--r--include/delphi/m_database.inc32
1 files changed, 16 insertions, 16 deletions
diff --git a/include/delphi/m_database.inc b/include/delphi/m_database.inc
index 11af089f1a..0cb6eeacb4 100644
--- a/include/delphi/m_database.inc
+++ b/include/delphi/m_database.inc
@@ -303,7 +303,7 @@ const
lParam : Pointer to TDBEVENTINFO initialised with data
affect : Add's an event to the contact's event list, the TDBEVENTINFO
structure should be filled with the event of message -- see notes
- returns: a handle to a DB event (HDBEVENT), or NULL on error
+ returns: a handle to a DB event (HANDLE), or NULL on error
notes : Triggers DB/Event/Added event just before it returns,
Events are sorted chronologically as they are entered,
so you cannot guarantee that the new hEvent is the last event in the chain,
@@ -321,7 +321,7 @@ const
{
wParam : Handle to the contact
- lParam : HDBEVENT handle to delete
+ lParam : HANDLE handle to delete
affects: Removes a single event from the database for the given contact
returns: 0 on success, nonzero on failure
notes : Triggers DB/Event/Deleted just before the event *is* deleted
@@ -331,8 +331,8 @@ const
{
wParam : Handle to DB event
lParam : 0
- returns: Returns the space in bytes requried to store the blob in HDBEVENT
- given by HDBEVENT(wParam) -- or -1 on error
+ returns: Returns the space in bytes requried to store the blob in HANDLE
+ given by HANDLE(wParam) -- or -1 on error
}
MS_DB_EVENT_GETBLOBSIZE:PAnsiChar = 'DB/Event/GetBlobSize';
@@ -398,19 +398,19 @@ const
{
wParam : HCONTACT
- lParam : HDBEVENT
+ lParam : HANDLE
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
- if HDBEVENT is invalid, see notes
+ if HANDLE is invalid, see notes
notes : This iss one of the database write operations that does not trigger
an event, modules should not save flagss states for any length of time.
}
MS_DB_EVENT_MARKREAD:PAnsiChar = 'DB/Event/MarkRead';
{
- wParam : HDBEVENT
+ wParam : HANDLE
lParam : 0
- Affect : Returns a handle to a contact that owns the HDBEVENT,
+ Affect : Returns a handle to a contact that owns the HANDLE,
see notes
Returns: Returns a handle if successful or HDBEEVENT(-1) on failure
notes : This service is very slow, only use wheen you have no other choice
@@ -433,7 +433,7 @@ const
lParam : 0
Affect : Retrieves a handle to the first unreead event in a chain for a HCONTACT
see notes
- Returns: Returns a HDBEVENT handle or NULL(0) if the HCONTACT is invalid
+ Returns: Returns a HANDLE handle or NULL(0) if the HCONTACT 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
@@ -453,19 +453,19 @@ const
MS_DB_EVENT_FINDLAST:PAnsiChar = 'DB/Event/FindLast';
{
- wParam : HDBEVENT
+ wParam : HANDLE
lParam : 0
- Affects: Retrieves a handle to the next event in a chain after HDBEVENT
- Returns: A handle to the next DB event or NULL(0) if HDBEVENT is invalid
+ Affects: Retrieves a handle to the next event in a chain after HANDLE
+ Returns: A handle to the next DB event or NULL(0) if HANDLE is invalid
or the last event in the chain.
}
MS_DB_EVENT_FINDNEXT:PAnsiChar = 'DB/Event/FindNext';
{
- wParam : HDBEVENT
+ wParam : HANDLE
lParam : 0
- Affects: Retrieves a handle to the previous event in a chain before HDBEVENT
- Returns: A handle to the previous HDBEVENT or NULL(0) if HDBEVENT is invalid
+ Affects: Retrieves a handle to the previous event in a chain before HANDLE
+ Returns: A handle to the previous HANDLE or NULL(0) if HANDLE is invalid
or is the first event in the chain
}
MS_DB_EVENT_FINDPREV:PAnsiChar = 'DB/Event/FindPrev';
@@ -628,7 +628,7 @@ const
{
wParam : HCONTACT
- lParam : HDBEVENT
+ lParam : HANDLE
Affect : Called when an event is about to be deleted from the event chain
for a contact, see notes
notes : Returning non zero from your hook will NOT stop the deletion,