Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
2e90bd66
Commit
2e90bd66
authored
Sep 18, 2009
by
Owen Rudge
Committed by
Alexandre Julliard
Sep 18, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mapi32: Pass through MAPISendMail if Simple MAPI provider loaded.
parent
421ab509
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
1 deletion
+11
-1
sendmail.c
dlls/mapi32/sendmail.c
+11
-1
No files found.
dlls/mapi32/sendmail.c
View file @
2e90bd66
...
...
@@ -2,6 +2,7 @@
* MAPISendMail implementation
*
* Copyright 2005 Hans Leidekker
* Copyright 2009 Owen Rudge for CodeWeavers
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
...
...
@@ -33,6 +34,7 @@
#include "shellapi.h"
#include "shlwapi.h"
#include "wine/debug.h"
#include "util.h"
WINE_DEFAULT_DEBUG_CHANNEL
(
mapi
);
...
...
@@ -53,7 +55,7 @@ WINE_DEFAULT_DEBUG_CHANNEL(mapi);
* Failure: MAPI_E_FAILURE
*
* NOTES
* Th
is is a temporary hack.
* Th
e fallback procedure is a temporary hack.
*/
ULONG
WINAPI
MAPISendMail
(
LHANDLE
session
,
ULONG_PTR
uiparam
,
lpMapiMessage
message
,
FLAGS
flags
,
ULONG
reserved
)
...
...
@@ -74,6 +76,14 @@ ULONG WINAPI MAPISendMail( LHANDLE session, ULONG_PTR uiparam,
TRACE
(
"(0x%08x 0x%08lx %p 0x%08x 0x%08x)
\n
"
,
session
,
uiparam
,
message
,
flags
,
reserved
);
/* Check to see if we have a Simple MAPI provider loaded */
if
(
mapiFunctions
.
MAPISendMail
)
return
mapiFunctions
.
MAPISendMail
(
session
,
uiparam
,
message
,
flags
,
reserved
);
/* TODO: Check if we have an Extended MAPI provider, if so, implement
wrapper around that. */
/* Fall back on our own implementation */
if
(
!
message
)
return
MAPI_E_FAILURE
;
for
(
i
=
0
;
i
<
message
->
nRecipCount
;
i
++
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment