1
1
Fork 0
mirror of https://github.com/QB64Official/qb64.git synced 2024-07-19 11:05:14 +00:00
qb64/internal/c/mingw32/i686-w64-mingw32/include/wabnot.h
2019-01-01 22:40:38 +11:00

58 lines
1.5 KiB
C

/**
* This file has no copyright assigned and is placed in the Public Domain.
* This file is part of the mingw-w64 runtime package.
* No warranty is given; refer to the file DISCLAIMER.PD 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