summaryrefslogtreecommitdiff
path: root/plugins/HistoryPlusPlus/hpp_events.pas
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2013-03-30 20:10:26 +0000
committerGeorge Hazan <george.hazan@gmail.com>2013-03-30 20:10:26 +0000
commit2bbb9971bf1711850504d93828f571e27147abc7 (patch)
tree58d7b09d4a5f89f3990fff0ddd98c562e37b122c /plugins/HistoryPlusPlus/hpp_events.pas
parent53bb473ba5f24175ac124098dac69df6ca3570a3 (diff)
MS_DB_EVENT_* services' calls removed from pascal sources
git-svn-id: http://svn.miranda-ng.org/main/trunk@4262 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/HistoryPlusPlus/hpp_events.pas')
-rw-r--r--plugins/HistoryPlusPlus/hpp_events.pas8
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/HistoryPlusPlus/hpp_events.pas b/plugins/HistoryPlusPlus/hpp_events.pas
index 66d9e7228c..7c7ff4da53 100644
--- a/plugins/HistoryPlusPlus/hpp_events.pas
+++ b/plugins/HistoryPlusPlus/hpp_events.pas
@@ -255,7 +255,7 @@ begin
ZeroMemory(@RecentEventInfo, SizeOf(RecentEventInfo));
RecentEventInfo.cbSize := SizeOf(RecentEventInfo);
RecentEventInfo.cbBlob := 0;
- CallService(MS_DB_EVENT_GET, hDBEvent, LPARAM(@RecentEventInfo));
+ db_event_get(hDBEvent, @RecentEventInfo);
RecentEvent := hDBEvent;
end;
Result := RecentEventInfo.timestamp;
@@ -270,7 +270,7 @@ begin
ZeroMemory(@RecentEventInfo, SizeOf(RecentEventInfo));
RecentEventInfo.cbSize := SizeOf(RecentEventInfo);
RecentEventInfo.cbBlob := 0;
- CallService(MS_DB_EVENT_GET, hDBEvent, LPARAM(@RecentEventInfo));
+ db_event_get(hDBEvent, @RecentEventInfo);
RecentEvent := hDBEvent;
end;
Result := GetMessageType(RecentEventInfo,EventIndex);
@@ -432,7 +432,7 @@ var
begin
ZeroMemory(@Result, SizeOf(Result));
Result.cbSize := SizeOf(Result);
- BlobSize := CallService(MS_DB_EVENT_GETBLOBSIZE, hDBEvent, 0);
+ BlobSize := db_event_getBlobSize(hDBEvent);
if BlobSize > 0 then
begin
EventBuffer.Allocate(BlobSize);
@@ -441,7 +441,7 @@ begin
else
BlobSize := 0;
Result.cbBlob := BlobSize;
- if CallService(MS_DB_EVENT_GET, hDBEvent, LPARAM(@Result)) = 0 then
+ if db_event_get(hDBEvent, @Result) = 0 then
Result.cbBlob := BlobSize
else
Result.cbBlob := 0;