summaryrefslogtreecommitdiff
path: root/plugins/Watrack/templates
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Watrack/templates')
-rw-r--r--plugins/Watrack/templates/i_expkey.inc2
-rw-r--r--plugins/Watrack/templates/i_macro.inc4
-rw-r--r--plugins/Watrack/templates/i_tmpl_dlg.inc2
3 files changed, 4 insertions, 4 deletions
diff --git a/plugins/Watrack/templates/i_expkey.inc b/plugins/Watrack/templates/i_expkey.inc
index 960fd1a43e..fd990cda31 100644
--- a/plugins/Watrack/templates/i_expkey.inc
+++ b/plugins/Watrack/templates/i_expkey.inc
@@ -17,7 +17,7 @@ end;
procedure reginshotkey;
var
- hkrec:HOTKEYDESC;
+ hkrec:THOTKEYDESC;
begin
FillChar(hkrec,SizeOf(hkrec),0);
with hkrec do
diff --git a/plugins/Watrack/templates/i_macro.inc b/plugins/Watrack/templates/i_macro.inc
index 68c0be6e33..23d04799a6 100644
--- a/plugins/Watrack/templates/i_macro.inc
+++ b/plugins/Watrack/templates/i_macro.inc
@@ -33,14 +33,14 @@ begin
mFreeMem(vars[i].alias);
end;
-function MacroHelpDlg(Dialog:HWnd;hMessage:UINT;wParam:WPARAM;lParam:LPARAM):integer; stdcall;
+function MacroHelpDlg(Dialog:HWND;hMessage:uint;wParam:WPARAM;lParam:LPARAM):LRESULT; stdcall;
const
Changed:bool=false;
var
i:integer;
itemw:LV_ITEMW;
lvc:LV_COLUMN;
- wnd:hwnd;
+ wnd:HWND;
ws:PWideChar;
s:pAnsiChar;
rc:TRECT;
diff --git a/plugins/Watrack/templates/i_tmpl_dlg.inc b/plugins/Watrack/templates/i_tmpl_dlg.inc
index 185f91d608..c5534131ea 100644
--- a/plugins/Watrack/templates/i_tmpl_dlg.inc
+++ b/plugins/Watrack/templates/i_tmpl_dlg.inc
@@ -1,5 +1,5 @@
{}
-function DlgProcOptions(Dialog:HWnd;hMessage:UINT;wParam:WPARAM;lParam:LPARAM):integer; stdcall;
+function DlgProcOptions(Dialog:HWND;hMessage:uint;wParam:WPARAM;lParam:LPARAM):LRESULT; stdcall;
begin
result:=0;
case hMessage of