ReactOS 0.4.15-dev-7842-g558ab78
mapix.h File Reference
#include <mapidefs.h>
#include <mapicode.h>
#include <mapiguid.h>
#include <mapitags.h>
Include dependency graph for mapix.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  tagMAPIINIT_0
 

Macros

#define WINE_FLAGS_DEFINED
 
#define MAPI_LOGON_UI   0x00000001
 
#define MAPI_NEW_SESSION   0x00000002
 
#define MAPI_ALLOW_OTHERS   0x00000008
 
#define MAPI_EXPLICIT_PROFILE   0x00000010
 
#define MAPI_EXTENDED   0x00000020
 
#define MAPI_FORCE_DOWNLOAD   0x00001000
 
#define MAPI_PASSWORD_UI   0x00020000
 
#define MAPI_SERVICE_UI_ALWAYS   0x00002000
 
#define MAPI_NO_MAIL   0x00008000
 
#define MAPI_NT_SERVICE   0x00010000
 
#define MAPI_TIMEOUT_SHORT   0x00100000
 
#define MAPI_SIMPLE_DEFAULT   (MAPI_LOGON_UI|MAPI_ALLOW_OTHERS|MAPI_FORCE_DOWNLOAD)
 
#define MAPI_SIMPLE_EXPLICIT   (MAPI_NEW_SESSION|MAPI_EXPLICIT_PROFILE|MAPI_FORCE_DOWNLOAD)
 
#define MAPI_INIT_VERSION   0U
 
#define MAPIFREEBUFFER_DEFINED
 
#define INTERFACE   IMAPISession
 
#define IMAPISession_QueryInterface(p, a, b)   (p)->lpVtbl->QueryInterface(p,a,b)
 
#define IMAPISession_AddRef(p)   (p)->lpVtbl->AddRef(p)
 
#define IMAPISession_Release(p)   (p)->lpVtbl->Release(p)
 
#define IMAPISession_GetLastError(p, a, b, c)   (p)->lpVtbl->GetLastError(p,a,b,c)
 
#define IMAPISession_GetMsgStoresTable(p, a, b)   (p)->lpVtbl->GetMsgStoresTable(p,a,b)
 
#define IMAPISession_OpenMsgStore(p, a, b, c, d, e, f)   (p)->lpVtbl->OpenMsgStore(p,a,b,c,d,e,f)
 
#define IMAPISession_OpenAddressBook(p, a, b, c, d)   (p)->lpVtbl->OpenAddressBook(p,a,b,c,d)
 
#define IMAPISession_OpenProfileSection(p, a, b, c, d)   (p)->lpVtbl->OpenProfileSection(p,a,b,c,d)
 
#define IMAPISession_GetStatusTable(p, a, b)   (p)->lpVtbl->GetStatusTable(p,a,b)
 
#define IMAPISession_OpenEntry(p, a, b, c, d, e, f)   (p)->lpVtbl->OpenEntry(p,a,b,c,d,e,f)
 
#define IMAPISession_CompareEntryIDs(p, a, b, c, d, e, f)   (p)->lpVtbl->CompareEntryIDs(p,a,b,c,d,e,f)
 
#define IMAPISession_Advise(p, a, b, c, d, e)   (p)->lpVtbl->Advise(p,a,b,c,d,e)
 
#define IMAPISession_Unadvise(p, a)   (p)->lpVtbl->Unadvise(p,a)
 
#define IMAPISession_MessageOptions(p, a, b, c, d)   (p)->lpVtbl->MessageOptions)(p,a,b,c,d)
 
#define IMAPISession_QueryDefaultMessageOpt(p, a, b, c, d)    (p)->lpVtbl->QueryDefaultMessageOpt(p,a,b,c,d)
 
#define IMAPISession_EnumAdrTypes(p, a, b, c)   (p)->lpVtbl->EnumAdrTypes(p,a,b,c)
 
#define IMAPISession_QueryIdentity(p, a, b)   (p)->lpVtbl->QueryIdentity(p,a,b)
 
#define IMAPISession_Logoff(p, a, b, c)   (p)->lpVtbl->Logoff(p,a,b,c)
 
#define IMAPISession_SetDefaultStore(p, a, b, c)   (p)->lpVtbl->SetDefaultStore(p,a,b,c)
 
#define IMAPISession_AdminServices(p, a, b)   (p)->lpVtbl->AdminServices(p,a,b)
 
#define IMAPISession_ShowForm(p, a, b, c, d, e, f, g, h, i, j, k)    (p)->lpVtbl->ShowForm(p,a,b,c,d,e,f,g,h,i,j,k)
 
#define IMAPISession_PrepareForm(p, a, b, c)   (p)->lpVtbl->PrepareForm(p,a,b,c)
 

Typedefs

typedef struct IProfAdmin IProfAdmin
 
typedef IProfAdminLPPROFADMIN
 
typedef struct IMsgServiceAdmin IMsgServiceAdmin
 
typedef IMsgServiceAdminLPSERVICEADMIN
 
typedef struct IMAPISession * LPMAPISESSION
 
typedef ULONG FLAGS
 
typedef struct tagMAPIINIT_0 MAPIINIT_0
 
typedef struct tagMAPIINIT_0LPMAPIINIT_0
 
typedef MAPIINIT_0 MAPIINIT
 
typedef MAPIINIT_0LPMAPIINIT
 
typedef MAPIINITIALIZE * LPMAPIINITIALIZE
 
typedef MAPIUNINITIALIZE * LPMAPIUNINITIALIZE
 
typedef LPMAPISESSION *typedef MAPILOGONEX * LPMAPILOGONEX
 
typedef LPVOID *typedef MAPIALLOCATEBUFFER * LPMAPIALLOCATEBUFFER
 
typedef LPVOID *typedef MAPIALLOCATEMORE * LPMAPIALLOCATEMORE
 
typedef MAPIFREEBUFFER * LPMAPIFREEBUFFER
 
typedef LPPROFADMIN *typedef MAPIADMINPROFILES * LPMAPIADMINPROFILES
 

Functions

typedef HRESULT (WINAPI MAPIINITIALIZE)(void *)
 
typedef void (WINAPI MAPIUNINITIALIZE)(void)
 
typedef HRESULT (STDMETHODCALLTYPE MAPILOGONEX)(ULONG_PTR
 
typedef SCODE (WINAPI MAPIALLOCATEBUFFER)(ULONG
 
typedef ULONG (WINAPI MAPIFREEBUFFER)(LPVOID)
 
 DECLARE_INTERFACE_ (IMAPISession, IUnknown)
 

Variables

MAPIINITIALIZE MAPIInitialize
 
MAPIUNINITIALIZE MAPIUninitialize
 
typedef LPSTR
 
typedef ULONG
 
MAPILOGONEX MAPILogonEx
 
MAPIALLOCATEBUFFER MAPIAllocateBuffer
 
typedef LPVOID
 
MAPIALLOCATEMORE MAPIAllocateMore
 
MAPIFREEBUFFER MAPIFreeBuffer
 
MAPIADMINPROFILES MAPIAdminProfiles
 

Macro Definition Documentation

◆ IMAPISession_AddRef

#define IMAPISession_AddRef (   p)    (p)->lpVtbl->AddRef(p)

Definition at line 157 of file mapix.h.

◆ IMAPISession_AdminServices

#define IMAPISession_AdminServices (   p,
  a,
  b 
)    (p)->lpVtbl->AdminServices(p,a,b)

Definition at line 177 of file mapix.h.

◆ IMAPISession_Advise

#define IMAPISession_Advise (   p,
  a,
  b,
  c,
  d,
  e 
)    (p)->lpVtbl->Advise(p,a,b,c,d,e)

Definition at line 168 of file mapix.h.

◆ IMAPISession_CompareEntryIDs

#define IMAPISession_CompareEntryIDs (   p,
  a,
  b,
  c,
  d,
  e,
  f 
)    (p)->lpVtbl->CompareEntryIDs(p,a,b,c,d,e,f)

Definition at line 167 of file mapix.h.

◆ IMAPISession_EnumAdrTypes

#define IMAPISession_EnumAdrTypes (   p,
  a,
  b,
  c 
)    (p)->lpVtbl->EnumAdrTypes(p,a,b,c)

Definition at line 173 of file mapix.h.

◆ IMAPISession_GetLastError

#define IMAPISession_GetLastError (   p,
  a,
  b,
  c 
)    (p)->lpVtbl->GetLastError(p,a,b,c)

Definition at line 160 of file mapix.h.

◆ IMAPISession_GetMsgStoresTable

#define IMAPISession_GetMsgStoresTable (   p,
  a,
  b 
)    (p)->lpVtbl->GetMsgStoresTable(p,a,b)

Definition at line 161 of file mapix.h.

◆ IMAPISession_GetStatusTable

#define IMAPISession_GetStatusTable (   p,
  a,
  b 
)    (p)->lpVtbl->GetStatusTable(p,a,b)

Definition at line 165 of file mapix.h.

◆ IMAPISession_Logoff

#define IMAPISession_Logoff (   p,
  a,
  b,
  c 
)    (p)->lpVtbl->Logoff(p,a,b,c)

Definition at line 175 of file mapix.h.

◆ IMAPISession_MessageOptions

#define IMAPISession_MessageOptions (   p,
  a,
  b,
  c,
  d 
)    (p)->lpVtbl->MessageOptions)(p,a,b,c,d)

Definition at line 170 of file mapix.h.

◆ IMAPISession_OpenAddressBook

#define IMAPISession_OpenAddressBook (   p,
  a,
  b,
  c,
  d 
)    (p)->lpVtbl->OpenAddressBook(p,a,b,c,d)

Definition at line 163 of file mapix.h.

◆ IMAPISession_OpenEntry

#define IMAPISession_OpenEntry (   p,
  a,
  b,
  c,
  d,
  e,
  f 
)    (p)->lpVtbl->OpenEntry(p,a,b,c,d,e,f)

Definition at line 166 of file mapix.h.

◆ IMAPISession_OpenMsgStore

#define IMAPISession_OpenMsgStore (   p,
  a,
  b,
  c,
  d,
  e,
  f 
)    (p)->lpVtbl->OpenMsgStore(p,a,b,c,d,e,f)

Definition at line 162 of file mapix.h.

◆ IMAPISession_OpenProfileSection

#define IMAPISession_OpenProfileSection (   p,
  a,
  b,
  c,
  d 
)    (p)->lpVtbl->OpenProfileSection(p,a,b,c,d)

Definition at line 164 of file mapix.h.

◆ IMAPISession_PrepareForm

#define IMAPISession_PrepareForm (   p,
  a,
  b,
  c 
)    (p)->lpVtbl->PrepareForm(p,a,b,c)

Definition at line 180 of file mapix.h.

◆ IMAPISession_QueryDefaultMessageOpt

#define IMAPISession_QueryDefaultMessageOpt (   p,
  a,
  b,
  c,
  d 
)     (p)->lpVtbl->QueryDefaultMessageOpt(p,a,b,c,d)

Definition at line 171 of file mapix.h.

◆ IMAPISession_QueryIdentity

#define IMAPISession_QueryIdentity (   p,
  a,
  b 
)    (p)->lpVtbl->QueryIdentity(p,a,b)

Definition at line 174 of file mapix.h.

◆ IMAPISession_QueryInterface

#define IMAPISession_QueryInterface (   p,
  a,
  b 
)    (p)->lpVtbl->QueryInterface(p,a,b)

Definition at line 156 of file mapix.h.

◆ IMAPISession_Release

#define IMAPISession_Release (   p)    (p)->lpVtbl->Release(p)

Definition at line 158 of file mapix.h.

◆ IMAPISession_SetDefaultStore

#define IMAPISession_SetDefaultStore (   p,
  a,
  b,
  c 
)    (p)->lpVtbl->SetDefaultStore(p,a,b,c)

Definition at line 176 of file mapix.h.

◆ IMAPISession_ShowForm

#define IMAPISession_ShowForm (   p,
  a,
  b,
  c,
  d,
  e,
  f,
  g,
  h,
  i,
  j,
  k 
)     (p)->lpVtbl->ShowForm(p,a,b,c,d,e,f,g,h,i,j,k)

Definition at line 178 of file mapix.h.

◆ IMAPISession_Unadvise

#define IMAPISession_Unadvise (   p,
  a 
)    (p)->lpVtbl->Unadvise(p,a)

Definition at line 169 of file mapix.h.

◆ INTERFACE

#define INTERFACE   IMAPISession

Definition at line 116 of file mapix.h.

◆ MAPI_ALLOW_OTHERS

#define MAPI_ALLOW_OTHERS   0x00000008

Definition at line 49 of file mapix.h.

◆ MAPI_EXPLICIT_PROFILE

#define MAPI_EXPLICIT_PROFILE   0x00000010

Definition at line 50 of file mapix.h.

◆ MAPI_EXTENDED

#define MAPI_EXTENDED   0x00000020

Definition at line 52 of file mapix.h.

◆ MAPI_FORCE_DOWNLOAD

#define MAPI_FORCE_DOWNLOAD   0x00001000

Definition at line 55 of file mapix.h.

◆ MAPI_INIT_VERSION

#define MAPI_INIT_VERSION   0U

Definition at line 76 of file mapix.h.

◆ MAPI_LOGON_UI

#define MAPI_LOGON_UI   0x00000001

Definition at line 44 of file mapix.h.

◆ MAPI_NEW_SESSION

#define MAPI_NEW_SESSION   0x00000002

Definition at line 47 of file mapix.h.

◆ MAPI_NO_MAIL

#define MAPI_NO_MAIL   0x00008000

Definition at line 61 of file mapix.h.

◆ MAPI_NT_SERVICE

#define MAPI_NT_SERVICE   0x00010000

Definition at line 62 of file mapix.h.

◆ MAPI_PASSWORD_UI

#define MAPI_PASSWORD_UI   0x00020000

Definition at line 58 of file mapix.h.

◆ MAPI_SERVICE_UI_ALWAYS

#define MAPI_SERVICE_UI_ALWAYS   0x00002000

Definition at line 60 of file mapix.h.

◆ MAPI_SIMPLE_DEFAULT

Definition at line 65 of file mapix.h.

◆ MAPI_SIMPLE_EXPLICIT

Definition at line 66 of file mapix.h.

◆ MAPI_TIMEOUT_SHORT

#define MAPI_TIMEOUT_SHORT   0x00100000

Definition at line 63 of file mapix.h.

◆ MAPIFREEBUFFER_DEFINED

#define MAPIFREEBUFFER_DEFINED

Definition at line 103 of file mapix.h.

◆ WINE_FLAGS_DEFINED

#define WINE_FLAGS_DEFINED

Definition at line 38 of file mapix.h.

Typedef Documentation

◆ FLAGS

typedef ULONG FLAGS

Definition at line 39 of file mapix.h.

◆ IMsgServiceAdmin

Definition at line 33 of file mapix.h.

◆ IProfAdmin

Definition at line 31 of file mapix.h.

◆ LPMAPIADMINPROFILES

typedef LPPROFADMIN* typedef MAPIADMINPROFILES* LPMAPIADMINPROFILES

Definition at line 110 of file mapix.h.

◆ LPMAPIALLOCATEBUFFER

typedef LPVOID* typedef MAPIALLOCATEBUFFER* LPMAPIALLOCATEBUFFER

Definition at line 95 of file mapix.h.

◆ LPMAPIALLOCATEMORE

typedef LPVOID* typedef MAPIALLOCATEMORE* LPMAPIALLOCATEMORE

Definition at line 99 of file mapix.h.

◆ LPMAPIFREEBUFFER

typedef MAPIFREEBUFFER* LPMAPIFREEBUFFER

Definition at line 105 of file mapix.h.

◆ LPMAPIINIT

Definition at line 74 of file mapix.h.

◆ LPMAPIINIT_0

◆ LPMAPIINITIALIZE

typedef MAPIINITIALIZE* LPMAPIINITIALIZE

Definition at line 79 of file mapix.h.

◆ LPMAPILOGONEX

typedef LPMAPISESSION* typedef MAPILOGONEX* LPMAPILOGONEX

Definition at line 91 of file mapix.h.

◆ LPMAPISESSION

typedef struct IMAPISession* LPMAPISESSION

Definition at line 35 of file mapix.h.

◆ LPMAPIUNINITIALIZE

typedef MAPIUNINITIALIZE* LPMAPIUNINITIALIZE

Definition at line 83 of file mapix.h.

◆ LPPROFADMIN

Definition at line 32 of file mapix.h.

◆ LPSERVICEADMIN

Definition at line 34 of file mapix.h.

◆ MAPIINIT

Definition at line 74 of file mapix.h.

◆ MAPIINIT_0

Function Documentation

◆ DECLARE_INTERFACE_()

DECLARE_INTERFACE_ ( IMAPISession  ,
IUnknown   
)

Definition at line 117 of file mapix.h.

118{
119 /*** IUnknown methods ***/
123 /*** IMAPISession methods ***/
124 STDMETHOD(GetLastError)(THIS_ HRESULT hResult, ULONG ulFlags, LPMAPIERROR *lppMAPIError) PURE;
125 STDMETHOD(GetMsgStoresTable)(THIS_ ULONG ulFlags, LPMAPITABLE *lppTable) PURE;
126 STDMETHOD(OpenMsgStore)(THIS_ ULONG_PTR ulUIParam, ULONG cbId,
127 LPENTRYID lpId, LPCIID lpIFace, ULONG ulFlags, LPMDB *lppMDB) PURE;
128 STDMETHOD(OpenAddressBook)(THIS_ ULONG_PTR ulUIParam, LPCIID iid, ULONG ulFlags, LPADRBOOK *lppAdrBook) PURE;
129 STDMETHOD(OpenProfileSection)(THIS_ LPMAPIUID lpUID, LPCIID iid, ULONG ulFlags, LPPROFSECT *lppProf) PURE;
130 STDMETHOD(GetStatusTable)(THIS_ ULONG ulFlags, LPMAPITABLE *lppTable) PURE;
131 STDMETHOD(OpenEntry)(THIS_ ULONG cbId, LPENTRYID lpId, LPCIID iid,
132 ULONG ulFlags, ULONG *lpType, LPUNKNOWN *lppUnk) PURE;
133 STDMETHOD(CompareEntryIDs)(THIS_ ULONG cbLID, LPENTRYID lpLID, ULONG cbRID,
134 LPENTRYID lpRID, ULONG ulFlags, ULONG *lpRes) PURE;
135 STDMETHOD(Advise)(THIS_ ULONG cbId, LPENTRYID lpId, ULONG ulMask,
136 LPMAPIADVISESINK lpSink, ULONG *lpCxn) PURE;
137 STDMETHOD(Unadvise)(THIS_ ULONG ulConnection) PURE;
138 STDMETHOD(MessageOptions)(THIS_ ULONG_PTR ulUIParam, ULONG ulFlags, LPSTR lpszAddr, LPMESSAGE lpMsg) PURE;
139 STDMETHOD(QueryDefaultMessageOpt)(THIS_ LPSTR lpszAddr, ULONG ulFlags,
140 ULONG *lpcVals, LPSPropValue *lppOpts) PURE;
141 STDMETHOD(EnumAdrTypes)(THIS_ ULONG ulFlags, ULONG *lpcTypes, LPSTR **lpppszTypes) PURE;
142 STDMETHOD(QueryIdentity)(THIS_ ULONG *lpcbId, LPENTRYID *lppEntryID) PURE;
143 STDMETHOD(Logoff)(THIS_ ULONG_PTR ulUIParam, ULONG ulFlags, ULONG ulReserved) PURE;
144 STDMETHOD(SetDefaultStore)(THIS_ ULONG ulFlags, ULONG cbId, LPENTRYID lpId) PURE;
145 STDMETHOD(AdminServices)(THIS_ ULONG ulFlags, LPSERVICEADMIN *lppAdmin) PURE;
146 STDMETHOD(ShowForm)(THIS_ ULONG_PTR ulUIParam, LPMDB lpStore,
147 LPMAPIFOLDER lpParent, LPCIID iid, ULONG ulToken,
148 LPMESSAGE lpSent, ULONG ulFlags, ULONG ulStatus,
149 ULONG ulMsgFlags, ULONG ulAccess, LPSTR lpszClass) PURE;
150 STDMETHOD(PrepareForm)(THIS_ LPCIID lpIFace, LPMESSAGE lpMsg, ULONG *lpToken) PURE;
151};
#define PURE
Definition: basetyps.h:64
#define THIS_
Definition: basetyps.h:65
#define THIS
Definition: basetyps.h:66
#define STDMETHOD_(t, m)
Definition: basetyps.h:63
#define STDMETHOD(m)
Definition: basetyps.h:62
_In_ BOOLEAN Release
Definition: cdrom.h:920
REFIID riid
Definition: atlbase.h:39
IAddrBook * LPADRBOOK
Definition: mapidefs.h:84
struct IMAPIAdviseSink * LPMAPIADVISESINK
Definition: mapidefs.h:92
struct IMessage * LPMESSAGE
Definition: mapidefs.h:99
struct IMAPIFolder * LPMAPIFOLDER
Definition: mapidefs.h:94
IProfSect * LPPROFSECT
Definition: mapidefs.h:101
IMsgStore * LPMDB
Definition: mapidefs.h:1001
IMAPITable * LPMAPITABLE
Definition: mapidefs.h:840
IMsgServiceAdmin * LPSERVICEADMIN
Definition: mapix.h:34
static HRESULT QueryInterface(REFIID, void **)
Definition: events.c:2587
static ULONG WINAPI AddRef(IStream *iface)
Definition: clist.c:90
static LPUNKNOWN
Definition: ndr_ole.c:49
#define REFIID
Definition: guiddef.h:118
uint32_t ULONG_PTR
Definition: typedefs.h:65
uint32_t ULONG
Definition: typedefs.h:59
DWORD WINAPI GetLastError(void)
Definition: except.c:1042
_In_ void _In_ PCCERT_CONTEXT _In_opt_ LPFILETIME _In_ DWORD _In_ DWORD _Outptr_opt_ void ** ppvObject
Definition: wincrypt.h:6082
_In_ SURFOBJ _In_ CLIPOBJ _In_opt_ XLATEOBJ _In_ RECTL _In_ RECTL _In_ ULONG _In_ ULONG ulReserved
Definition: winddi.h:4196
char * LPSTR
Definition: xmlstorage.h:182

◆ HRESULT() [1/2]

typedef HRESULT ( STDMETHODCALLTYPE  MAPILOGONEX)

◆ HRESULT() [2/2]

typedef HRESULT ( WINAPI  MAPIINITIALIZE)

◆ SCODE()

typedef SCODE ( WINAPI  MAPIALLOCATEBUFFER)

◆ ULONG()

typedef ULONG ( WINAPI  MAPIFREEBUFFER)

◆ void()

typedef void ( WINAPI  MAPIUNINITIALIZE)

Variable Documentation

◆ LPSTR

typedef LPSTR

Definition at line 89 of file mapix.h.

◆ LPVOID

typedef LPVOID

Definition at line 98 of file mapix.h.

◆ MAPIAdminProfiles

MAPIADMINPROFILES MAPIAdminProfiles

Definition at line 111 of file mapix.h.

◆ MAPIAllocateBuffer

MAPIALLOCATEBUFFER MAPIAllocateBuffer

◆ MAPIAllocateMore

MAPIALLOCATEMORE MAPIAllocateMore

Definition at line 100 of file mapix.h.

◆ MAPIFreeBuffer

MAPIFREEBUFFER MAPIFreeBuffer

Definition at line 106 of file mapix.h.

◆ MAPIInitialize

MAPIINITIALIZE MAPIInitialize

Definition at line 80 of file mapix.h.

Referenced by MAPISendMail(), and MAPISendMailW().

◆ MAPILogonEx

MAPILOGONEX MAPILogonEx

Definition at line 92 of file mapix.h.

Referenced by sendmail_extended_mapi().

◆ MAPIUninitialize

MAPIUNINITIALIZE MAPIUninitialize ( void  )

Definition at line 84 of file mapix.h.

Referenced by sendmail_extended_mapi().

◆ ULONG

typedef ULONG

Definition at line 89 of file mapix.h.