]> granicus.if.org Git - php/commitdiff
Add a messagebox style that's safe to use from an ISAPI filter
authorZeev Suraski <zeev@php.net>
Fri, 30 Jun 2000 12:55:00 +0000 (12:55 +0000)
committerZeev Suraski <zeev@php.net>
Fri, 30 Jun 2000 12:55:00 +0000 (12:55 +0000)
Zend/zend_config.w32.h

index d8d0f72613dea634a11a59a3b41e544bb1a17e61..fad196f4d5af62fc3ebc87221281a5f66efb076e 100644 (file)
@@ -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 */