summaryrefslogtreecommitdiff
path: root/Zend/zend_config.w32.h
diff options
context:
space:
mode:
authorZeev Suraski <zeev@php.net>2000-06-30 12:55:00 +0000
committerZeev Suraski <zeev@php.net>2000-06-30 12:55:00 +0000
commitb3b67b04b76e995d4cbb9de53328ca99fcbfeca6 (patch)
treedf6820e2844e9c855a13272472d6d2d87856a8d5 /Zend/zend_config.w32.h
parent930b212c2362662bfc9585db15a67edef412fc20 (diff)
downloadphp-git-b3b67b04b76e995d4cbb9de53328ca99fcbfeca6.tar.gz
Add a messagebox style that's safe to use from an ISAPI filter
Diffstat (limited to 'Zend/zend_config.w32.h')
-rw-r--r--Zend/zend_config.w32.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/Zend/zend_config.w32.h b/Zend/zend_config.w32.h
index d8d0f72613..fad196f4d5 100644
--- a/Zend/zend_config.w32.h
+++ b/Zend/zend_config.w32.h
@@ -73,4 +73,15 @@ typedef unsigned int uint;
#define ZEND_DLEXPORT __declspec(dllexport)
+/* 0x00200000L is MB_SERVICE_NOTIFICATION, which is only supported under Windows NT
+ * (and requires _WIN32_WINNT to be defined, which prevents the resulting executable
+ * from running under Windows 9x
+ * Windows 9x should silently ignore it, so it's being used here directly
+ */
+#ifndef MB_SERVICE_NOTIFICATION
+#define MB_SERVICE_NOTIFICATION 0x00200000L
+#endif
+
+#define ZEND_SERVICE_MB_STYLE (MB_TOPMOST|MB_SERVICE_NOTIFICATION)
+
#endif /* _ZEND_CONFIG_W32_H */