summaryrefslogtreecommitdiff
path: root/include/delphi/m_helpers.inc
diff options
context:
space:
mode:
Diffstat (limited to 'include/delphi/m_helpers.inc')
-rw-r--r--include/delphi/m_helpers.inc13
1 files changed, 13 insertions, 0 deletions
diff --git a/include/delphi/m_helpers.inc b/include/delphi/m_helpers.inc
index c46ad2bb5f..bc1668598b 100644
--- a/include/delphi/m_helpers.inc
+++ b/include/delphi/m_helpers.inc
@@ -73,6 +73,9 @@ procedure EffectRegisterW(pEffectID:pEffectIDW);
function TopToolbar_AddButton(pButton:PTTBButton):THANDLE;
+function Options_Open(ood:POPENOPTIONSDIALOG):int_ptr;
+function Options_OpenPage(ood:POPENOPTIONSDIALOG):HWND;
+
{$ELSE}
function ProtoServiceExists(const proto,service: PAnsiChar): int;
@@ -496,4 +499,14 @@ begin
result:=CallService(MS_TTB_ADDBUTTON, WPARAM(pButton), hLangpack);
end;
+function Options_Open(ood:POPENOPTIONSDIALOG):int_ptr;
+begin
+ result:=CallService(MS_OPT_OPENOPTIONS, hLangpack, LPARAM(ood));
+end;
+
+function Options_OpenPage(ood:POPENOPTIONSDIALOG):HWND;
+begin
+ result:=CallService(MS_OPT_OPENOPTIONSPAGE, hLangpack, LPARAM(ood));
+end;
+
{$ENDIF}