37#ifndef WINE_FLAGS_DEFINED
38#define WINE_FLAGS_DEFINED
44#define MAPI_LOGON_UI 0x00000001
46#ifndef MAPI_NEW_SESSION
47#define MAPI_NEW_SESSION 0x00000002
49#define MAPI_ALLOW_OTHERS 0x00000008
50#define MAPI_EXPLICIT_PROFILE 0x00000010
52#define MAPI_EXTENDED 0x00000020
54#ifndef MAPI_FORCE_DOWNLOAD
55#define MAPI_FORCE_DOWNLOAD 0x00001000
57#ifndef MAPI_PASSWORD_UI
58#define MAPI_PASSWORD_UI 0x00020000
60#define MAPI_SERVICE_UI_ALWAYS 0x00002000
61#define MAPI_NO_MAIL 0x00008000
62#define MAPI_NT_SERVICE 0x00010000
63#define MAPI_TIMEOUT_SHORT 0x00100000
65#define MAPI_SIMPLE_DEFAULT (MAPI_LOGON_UI|MAPI_ALLOW_OTHERS|MAPI_FORCE_DOWNLOAD)
66#define MAPI_SIMPLE_EXPLICIT (MAPI_NEW_SESSION|MAPI_EXPLICIT_PROFILE|MAPI_FORCE_DOWNLOAD)
76#define MAPI_INIT_VERSION 0U
86#if defined (UNICODE) || defined (__WINESRC__)
102#ifndef MAPIFREEBUFFER_DEFINED
103#define MAPIFREEBUFFER_DEFINED
116#define INTERFACE IMAPISession
154#if !defined(__cplusplus) || defined(CINTERFACE)
156#define IMAPISession_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
157#define IMAPISession_AddRef(p) (p)->lpVtbl->AddRef(p)
158#define IMAPISession_Release(p) (p)->lpVtbl->Release(p)
160#define IMAPISession_GetLastError(p,a,b,c) (p)->lpVtbl->GetLastError(p,a,b,c)
161#define IMAPISession_GetMsgStoresTable(p,a,b) (p)->lpVtbl->GetMsgStoresTable(p,a,b)
162#define IMAPISession_OpenMsgStore(p,a,b,c,d,e,f) (p)->lpVtbl->OpenMsgStore(p,a,b,c,d,e,f)
163#define IMAPISession_OpenAddressBook(p,a,b,c,d) (p)->lpVtbl->OpenAddressBook(p,a,b,c,d)
164#define IMAPISession_OpenProfileSection(p,a,b,c,d) (p)->lpVtbl->OpenProfileSection(p,a,b,c,d)
165#define IMAPISession_GetStatusTable(p,a,b) (p)->lpVtbl->GetStatusTable(p,a,b)
166#define IMAPISession_OpenEntry(p,a,b,c,d,e,f) (p)->lpVtbl->OpenEntry(p,a,b,c,d,e,f)
167#define IMAPISession_CompareEntryIDs(p,a,b,c,d,e,f) (p)->lpVtbl->CompareEntryIDs(p,a,b,c,d,e,f)
168#define IMAPISession_Advise(p,a,b,c,d,e) (p)->lpVtbl->Advise(p,a,b,c,d,e)
169#define IMAPISession_Unadvise(p,a) (p)->lpVtbl->Unadvise(p,a)
170#define IMAPISession_MessageOptions(p,a,b,c,d) (p)->lpVtbl->MessageOptions)(p,a,b,c,d)
171#define IMAPISession_QueryDefaultMessageOpt(p,a,b,c,d) \
172 (p)->lpVtbl->QueryDefaultMessageOpt(p,a,b,c,d)
173#define IMAPISession_EnumAdrTypes(p,a,b,c) (p)->lpVtbl->EnumAdrTypes(p,a,b,c)
174#define IMAPISession_QueryIdentity(p,a,b) (p)->lpVtbl->QueryIdentity(p,a,b)
175#define IMAPISession_Logoff(p,a,b,c) (p)->lpVtbl->Logoff(p,a,b,c)
176#define IMAPISession_SetDefaultStore(p,a,b,c) (p)->lpVtbl->SetDefaultStore(p,a,b,c)
177#define IMAPISession_AdminServices(p,a,b) (p)->lpVtbl->AdminServices(p,a,b)
178#define IMAPISession_ShowForm(p,a,b,c,d,e,f,g,h,i,j,k) \
179 (p)->lpVtbl->ShowForm(p,a,b,c,d,e,f,g,h,i,j,k)
180#define IMAPISession_PrepareForm(p,a,b,c) (p)->lpVtbl->PrepareForm(p,a,b,c)
#define DECLARE_INTERFACE_(i, b)
#define STDMETHODCALLTYPE
struct IMAPIAdviseSink * LPMAPIADVISESINK
struct IMessage * LPMESSAGE
struct IMAPIFolder * LPMAPIFOLDER
struct IMAPISession * LPMAPISESSION
MAPIUNINITIALIZE * LPMAPIUNINITIALIZE
MAPIALLOCATEBUFFER MAPIAllocateBuffer
IMsgServiceAdmin * LPSERVICEADMIN
struct tagMAPIINIT_0 * LPMAPIINIT_0
MAPIALLOCATEMORE MAPIAllocateMore
MAPIUNINITIALIZE MAPIUninitialize
struct IProfAdmin IProfAdmin
struct IMsgServiceAdmin IMsgServiceAdmin
MAPIFREEBUFFER * LPMAPIFREEBUFFER
MAPIADMINPROFILES MAPIAdminProfiles
MAPIINITIALIZE * LPMAPIINITIALIZE
LPVOID *typedef MAPIALLOCATEMORE * LPMAPIALLOCATEMORE
LPMAPISESSION *typedef MAPILOGONEX * LPMAPILOGONEX
MAPIINITIALIZE MAPIInitialize
struct tagMAPIINIT_0 MAPIINIT_0
LPVOID *typedef MAPIALLOCATEBUFFER * LPMAPIALLOCATEBUFFER
MAPIFREEBUFFER MAPIFreeBuffer
LPPROFADMIN *typedef MAPIADMINPROFILES * LPMAPIADMINPROFILES
static HRESULT QueryInterface(REFIID, void **)
static ULONG WINAPI AddRef(IStream *iface)
DWORD WINAPI GetLastError(void)
_In_ void _In_ PCCERT_CONTEXT _In_opt_ LPFILETIME _In_ DWORD _In_ DWORD _Outptr_opt_ void ** ppvObject
_In_ SURFOBJ _In_ CLIPOBJ _In_opt_ XLATEOBJ _In_ RECTL _In_ RECTL _In_ ULONG _In_ ULONG ulReserved