diff options
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/HistoryPlusPlus/hpp_external.pas | 16 | ||||
-rw-r--r-- | plugins/HistoryPlusPlus/hpp_services.pas | 10 |
2 files changed, 13 insertions, 13 deletions
diff --git a/plugins/HistoryPlusPlus/hpp_external.pas b/plugins/HistoryPlusPlus/hpp_external.pas index 475bd20426..97224d6355 100644 --- a/plugins/HistoryPlusPlus/hpp_external.pas +++ b/plugins/HistoryPlusPlus/hpp_external.pas @@ -69,7 +69,7 @@ var hExtWindowIE, hExtEventIE, hExtNavigateIE, hExtOptChangedIE: THandle;
hExtWindow, hExtEvent, hExtNavigate, hExtOptChanged: THandle;
-function _ExtWindow(wParam:WPARAM; lParam: LPARAM; GridMode: TExGridMode): int_ptr;
+function _ExtWindow(wParam:WPARAM; lParam: LPARAM; GridMode: TExGridMode): uint_ptr;
var
par: PIEVIEWWINDOW;
ExtGrid: TExternalGrid;
@@ -133,17 +133,17 @@ begin //end;
end;
-function ExtWindowNative(wParam:WPARAM; lParam: LPARAM): int_ptr; cdecl;
+function ExtWindowNative(wParam:WPARAM; lParam: LPARAM): uint_ptr; cdecl;
begin
Result := _ExtWindow(wParam,lParam,gmNative);
end;
-function ExtWindowIEView(wParam:WPARAM; lParam: LPARAM): int_ptr; cdecl;
+function ExtWindowIEView(wParam:WPARAM; lParam: LPARAM): uint_ptr; cdecl;
begin
Result := _ExtWindow(wParam,lParam,gmIEView);
end;
-function _ExtEvent(wParam:WPARAM; lParam: LPARAM; GridMode: TExGridMode): int_ptr; cdecl;
+function _ExtEvent(wParam:WPARAM; lParam: LPARAM; GridMode: TExGridMode): uint_ptr; cdecl;
var
event: PIEVIEWEVENT;
customEvent: PIEVIEWEVENTDATA;
@@ -216,7 +216,7 @@ begin ExtGrid.EndUpdate;
end;
IEE_GET_SELECTION: begin
- Result := int_ptr(ExtGrid.GetSelection(boolean(event.dwFlags and IEEF_NO_UNICODE)));
+ Result := uint_ptr(ExtGrid.GetSelection(boolean(event.dwFlags and IEEF_NO_UNICODE)));
end;
IEE_SAVE_DOCUMENT: begin
ExtGrid.SaveSelected;
@@ -226,17 +226,17 @@ begin //end;
end;
-function ExtEventNative(wParam:WPARAM; lParam: LPARAM): int_ptr; cdecl;
+function ExtEventNative(wParam:WPARAM; lParam: LPARAM): uint_ptr; cdecl;
begin
Result := _ExtEvent(wParam,lParam,gmNative);
end;
-function ExtEventIEView(wParam:WPARAM; lParam: LPARAM): int_ptr; cdecl;
+function ExtEventIEView(wParam:WPARAM; lParam: LPARAM): uint_ptr; cdecl;
begin
Result := _ExtEvent(wParam,lParam,gmIEView);
end;
-function ExtNavigate(wParam:WPARAM; lParam: LPARAM): int_ptr; cdecl;
+function ExtNavigate(wParam:WPARAM; lParam: LPARAM): uint_ptr; cdecl;
begin
Result := 0;
//try
diff --git a/plugins/HistoryPlusPlus/hpp_services.pas b/plugins/HistoryPlusPlus/hpp_services.pas index be6d56e007..6b2d2310d7 100644 --- a/plugins/HistoryPlusPlus/hpp_services.pas +++ b/plugins/HistoryPlusPlus/hpp_services.pas @@ -157,7 +157,7 @@ end; // MS_HISTORY_SHOWCONTACTHISTORY service
// show history called by miranda
-function HppShowHistory(wParam { hContact } : WPARAM; lParam { 0 } : LPARAM): int_ptr; cdecl;
+function HppShowHistory(wParam { hContact } : WPARAM; lParam { 0 } : LPARAM): uint_ptr; cdecl;
begin
OpenContactHistory(wParam);
Result := 0;
@@ -165,14 +165,14 @@ end; // MS_HPP_GETVERSION service
// See m_historypp.inc for details
-function HppGetVersion(wParam { 0 } : WPARAM; lParam { 0 } : LPARAM): int_ptr; cdecl;
+function HppGetVersion(wParam { 0 } : WPARAM; lParam { 0 } : LPARAM): uint_ptr; cdecl;
begin
Result := hppVersion;
end;
// MS_HPP_SHOWGLOBALSEARCH service
// See m_historypp.inc for details
-function HppShowGlobalSearch(wParam { 0 } : WPARAM; lParam { 0 } : LPARAM): int_ptr; cdecl;
+function HppShowGlobalSearch(wParam { 0 } : WPARAM; lParam { 0 } : LPARAM): uint_ptr; cdecl;
begin
if not Assigned(fmGlobalSearch) then
begin
@@ -187,7 +187,7 @@ end; // MS_HPP_OPENHISTORYEVENT service
// See m_historypp.inc for details
-function HppOpenHistoryEvent(wParam { POpenEventParams } : WPARAM; lParam: LPARAM): int_ptr; cdecl;
+function HppOpenHistoryEvent(wParam { POpenEventParams } : WPARAM; lParam: LPARAM): uint_ptr; cdecl;
var
wHistory: THistoryFrm;
hDbEvent: THandle;
@@ -219,7 +219,7 @@ end; // MS_HPP_EMPTYHISTORY service
// See m_historypp.inc for details
-function HppEmptyHistory(wParam { hContact } : WPARAM; lParam { 0 } : LPARAM): int_ptr; cdecl;
+function HppEmptyHistory(wParam { hContact } : WPARAM; lParam { 0 } : LPARAM): uint_ptr; cdecl;
var
wHistory: THistoryFrm;
begin
|