summaryrefslogtreecommitdiff
path: root/include/delphi/m_sms.inc
diff options
context:
space:
mode:
Diffstat (limited to 'include/delphi/m_sms.inc')
-rw-r--r--include/delphi/m_sms.inc19
1 files changed, 19 insertions, 0 deletions
diff --git a/include/delphi/m_sms.inc b/include/delphi/m_sms.inc
new file mode 100644
index 0000000000..69805b106b
--- /dev/null
+++ b/include/delphi/m_sms.inc
@@ -0,0 +1,19 @@
+{$IFNDEF M_SMS}
+{$DEFINE M_SMS}
+
+const
+ ACKTYPE_SMS = 1001;
+
+ EVENTTYPE_SMS = 2001;
+ EVENTTYPE_SMSCONFIRMATION = 3001;
+
+{
+ Send an SMS
+ wParam=(WPARAM)(const AnsiChar*)szPhoneNumber
+ lParam=(LPARAM)(const AnsiChar*)szMessage
+ Returns a HANDLE to the send on success, or NULL on failure
+ szPhoneNumber should be the full number with international code and preceeded by a +
+}
+ MS_SMS_SEND = '/SendSMS';
+
+{$ENDIF}