4 * Copyright 2009 Owen Rudge for CodeWeavers
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Lesser General Public
8 * License as published by the Free Software Foundation; either
9 * version 2.1 of the License, or (at your option) any later version.
11 * This library is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Lesser General Public License for more details.
16 * You should have received a copy of the GNU Lesser General Public
17 * License along with this library; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
29 #include "wine/debug.h"
31 WINE_DEFAULT_DEBUG_CHANNEL(winemapi
);
33 /***********************************************************************
34 * DllMain (MAPI32.init)
36 BOOL WINAPI
DllMain(HINSTANCE hinstDLL
, DWORD fdwReason
, LPVOID fImpLoad
)
38 TRACE("(%p,%d,%p)\n", hinstDLL
, fdwReason
, fImpLoad
);
42 ULONG WINAPI
MAPIAddress(LHANDLE session
, ULONG_PTR uiparam
, LPSTR caption
,
43 ULONG editfields
, LPSTR labels
, ULONG nRecips
, lpMapiRecipDesc lpRecips
,
44 FLAGS flags
, ULONG reserved
, LPULONG newRecips
, lpMapiRecipDesc
* lppNewRecips
)
47 return MAPI_E_NOT_SUPPORTED
;
50 ULONG WINAPI
MAPIDeleteMail(LHANDLE session
, ULONG_PTR uiparam
, LPSTR msg_id
,
51 FLAGS flags
, ULONG reserved
)
54 return MAPI_E_NOT_SUPPORTED
;
57 ULONG WINAPI
MAPIDetails(LHANDLE session
, ULONG_PTR uiparam
, lpMapiRecipDesc recip
,
58 FLAGS flags
, ULONG reserved
)
61 return MAPI_E_NOT_SUPPORTED
;
64 ULONG WINAPI
MAPIFindNext(LHANDLE session
, ULONG_PTR uiparam
, LPSTR msg_type
,
65 LPSTR seed_msg_id
, FLAGS flags
, ULONG reserved
, LPSTR msg_id
)
68 return MAPI_E_NOT_SUPPORTED
;
71 ULONG WINAPI
MAPILogon(ULONG_PTR uiparam
, LPSTR profile
, LPSTR password
,
72 FLAGS flags
, ULONG reserved
, LPLHANDLE session
)
74 TRACE("(0x%08lx %s %p 0x%08x 0x%08x %p)\n", uiparam
,
75 debugstr_a(profile
), password
, flags
, reserved
, session
);
80 return SUCCESS_SUCCESS
;
83 ULONG WINAPI
MAPILogoff(LHANDLE session
, ULONG_PTR uiparam
, FLAGS flags
,
86 TRACE("(0x%08lx 0x%08lx 0x%08x 0x%08x)\n", session
,
87 uiparam
, flags
, reserved
);
89 return SUCCESS_SUCCESS
;
92 ULONG WINAPI
MAPIReadMail(LHANDLE session
, ULONG_PTR uiparam
, LPSTR msg_id
,
93 FLAGS flags
, ULONG reserved
, lpMapiMessage msg
)
96 return MAPI_E_NOT_SUPPORTED
;
99 ULONG WINAPI
MAPIResolveName(LHANDLE session
, ULONG_PTR uiparam
, LPSTR name
,
100 FLAGS flags
, ULONG reserved
, lpMapiRecipDesc
*recip
)
103 return MAPI_E_NOT_SUPPORTED
;
106 ULONG WINAPI
MAPISaveMail(LHANDLE session
, ULONG_PTR uiparam
, lpMapiMessage msg
,
107 FLAGS flags
, ULONG reserved
, LPSTR msg_id
)
110 return MAPI_E_NOT_SUPPORTED
;