diff fuhtark_test/include/winapi/wabnot.h @ 1500:91c8c3b7cbf0

add: futhark tests for generating vulkan api
author sam <sam@basx.dev>
date Wed, 26 Nov 2025 21:36:48 +0700
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/fuhtark_test/include/winapi/wabnot.h	Wed Nov 26 21:36:48 2025 +0700
@@ -0,0 +1,57 @@
+/**
+ * This file has no copyright assigned and is placed in the Public Domain.
+ * This file is part of the w64 mingw-runtime package.
+ * No warranty is given; refer to the file DISCLAIMER within this package.
+ */
+#if !defined(MAPISPI_H) && !defined(WABSPI_H)
+#define WABSPI_H
+
+#ifndef BEGIN_INTERFACE
+#define BEGIN_INTERFACE
+#endif
+
+#ifndef MAPI_DIM
+#define MAPI_DIM 1
+#endif
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+  typedef struct {
+    ULONG cb;
+    BYTE ab[MAPI_DIM];
+  } NOTIFKEY,*LPNOTIFKEY;
+
+#define CbNewNOTIFKEY(_cb) (offsetof(NOTIFKEY,ab) + (_cb))
+#define CbNOTIFKEY(_lpkey) (offsetof(NOTIFKEY,ab) + (_lpkey)->cb)
+#define SizedNOTIFKEY(_cb,_name) struct _NOTIFKEY_ ## _name { ULONG cb; BYTE ab[_cb]; } _name
+
+#define NOTIFY_SYNC ((ULONG) 0x40000000)
+
+#define NOTIFY_CANCELED ((ULONG) 0x80000000)
+
+#define CALLBACK_DISCONTINUE ((ULONG) 0x80000000)
+
+#define NOTIFY_NEWMAIL ((ULONG) 0x00000001)
+#define NOTIFY_READYTOSEND ((ULONG) 0x00000002)
+#define NOTIFY_SENTDEFERRED ((ULONG) 0x00000004)
+#define NOTIFY_CRITSEC ((ULONG) 0x00001000)
+#define NOTIFY_NONCRIT ((ULONG) 0x00002000)
+#define NOTIFY_CONFIG_CHANGE ((ULONG) 0x00004000)
+#define NOTIFY_CRITICAL_ERROR ((ULONG) 0x10000000)
+#define NOTIFY_NEWMAIL_RECEIVED ((ULONG) 0x20000000)
+
+#define STATUSROW_UPDATE ((ULONG) 0x10000000)
+
+#define STGSTRM_RESET ((ULONG) 0x00000000)
+#define STGSTRM_CURRENT ((ULONG) 0x10000000)
+#define STGSTRM_MODIFY ((ULONG) 0x00000002)
+#define STGSTRM_CREATE ((ULONG) 0x00001000)
+
+#define MAPI_NON_READ ((ULONG) 0x00000001)
+
+#ifdef __cplusplus
+}
+#endif
+#endif