summaryrefslogtreecommitdiff
path: root/plugins/ExternalAPI/delphi/m_autoreplacer.inc
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/ExternalAPI/delphi/m_autoreplacer.inc')
-rw-r--r--plugins/ExternalAPI/delphi/m_autoreplacer.inc39
1 files changed, 0 insertions, 39 deletions
diff --git a/plugins/ExternalAPI/delphi/m_autoreplacer.inc b/plugins/ExternalAPI/delphi/m_autoreplacer.inc
deleted file mode 100644
index bc1d528463..0000000000
--- a/plugins/ExternalAPI/delphi/m_autoreplacer.inc
+++ /dev/null
@@ -1,39 +0,0 @@
-{
- AutoReplacer plugin
- by Angelo Luiz Tartari
-}
-
-{$IFNDEF M_AUTOREPLACER}
-{$DEFINE M_AUTOREPLACER}
-
-const
-
-{
- Adds a window handle to AutoReplacer.
- This handle must belong to any window based on a editbox (editbox, richtext, TMemo, TEdit, TMaskEdit, etc.).
- After adding a handle, AutoReplacer will automatically work on this window.
- wParam = 0
- lParam = (LPARAM)(HWND)hwnd
- Returns: 0 on success, -1 if hwnd is invalid, 1 on error.
-}
- MS_AUTOREPLACER_ADDWINHANDLE = 'AutoReplacer/AddWinHandle';
-
-{
- Removes a window handle from AutoReplacer's list.
- wParam = 0
- lParam = (LPARAM)(HWND)hwnd
- Returns: 0 on success, -1 if hwnd is invalid, 1 if hwnd wasn't found.
-}
- MS_AUTOREPLACER_REMWINHANDLE = 'AutoReplacer/RemWinHandle';
-
- function autoreplacer_AddWinHandle(hwnd: HWND): integer;
- begin
- Result := CallService(MS_AUTOREPLACER_ADDWINHANDLE, 0, LPARAM(hwnd));
- end;
-
- function autoreplacer_RemWinHandle(hwnd: HWND): integer;
- begin
- Result := CallService(MS_AUTOREPLACER_REMWINHANDLE, 0, LPARAM(hwnd));
- end;
-
-{$ENDIF} \ No newline at end of file