urlmon: Implement HlinkSimpleNavigateToMoniker.
[wine.git] / dlls / winemapi / main.c
bloba954ab7e0e325b4538e4b2609848e7fedeb28613
1 /*
2 * Wine MAPI provider
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
21 #include <stdarg.h>
23 #include "windef.h"
24 #include "winbase.h"
25 #include "winerror.h"
26 #include "objbase.h"
27 #include "mapidefs.h"
28 #include "mapi.h"
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);
39 return TRUE;
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)
46 FIXME("(stub)\n");
47 return MAPI_E_NOT_SUPPORTED;
50 ULONG WINAPI MAPIDeleteMail(LHANDLE session, ULONG_PTR uiparam, LPSTR msg_id,
51 FLAGS flags, ULONG reserved)
53 FIXME("(stub)\n");
54 return MAPI_E_NOT_SUPPORTED;
57 ULONG WINAPI MAPIDetails(LHANDLE session, ULONG_PTR uiparam, lpMapiRecipDesc recip,
58 FLAGS flags, ULONG reserved)
60 FIXME("(stub)\n");
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)
67 FIXME("(stub)\n");
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);
77 if (session)
78 *session = 1;
80 return SUCCESS_SUCCESS;
83 ULONG WINAPI MAPILogoff(LHANDLE session, ULONG_PTR uiparam, FLAGS flags,
84 ULONG reserved)
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)
95 FIXME("(stub)\n");
96 return MAPI_E_NOT_SUPPORTED;
99 ULONG WINAPI MAPIResolveName(LHANDLE session, ULONG_PTR uiparam, LPSTR name,
100 FLAGS flags, ULONG reserved, lpMapiRecipDesc *recip)
102 FIXME("(stub)\n");
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)
109 FIXME("(stub)\n");
110 return MAPI_E_NOT_SUPPORTED;