Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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-winehq
Commits
c528e9e8
Commit
c528e9e8
authored
Oct 01, 2009
by
Owen Rudge
Committed by
Alexandre Julliard
Oct 01, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mapi32: Add stub of Extended MAPI wrapper for MAPISendMail.
parent
6308f40d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
2 deletions
+16
-2
sendmail.c
dlls/mapi32/sendmail.c
+16
-2
No files found.
dlls/mapi32/sendmail.c
View file @
c528e9e8
...
...
@@ -38,6 +38,19 @@
WINE_DEFAULT_DEBUG_CHANNEL
(
mapi
);
/*
Internal function to send a message via Extended MAPI. Wrapper around the Simple
MAPI function MAPISendMail.
*/
static
ULONG
sendmail_extended_mapi
(
LHANDLE
mapi_session
,
ULONG_PTR
uiparam
,
lpMapiMessage
message
,
FLAGS
flags
,
ULONG
reserved
)
{
TRACE
(
"Using Extended MAPI wrapper for MAPISendMail
\n
"
);
MAPIUninitialize
();
return
MAPI_E_FAILURE
;
}
/**************************************************************************
* MAPISendMail (MAPI32.211)
*
...
...
@@ -80,8 +93,9 @@ ULONG WINAPI MAPISendMail( LHANDLE session, ULONG_PTR uiparam,
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. */
/* Check if we have an Extended MAPI provider - if so, use our wrapper */
if
(
MAPIInitialize
(
NULL
)
==
S_OK
)
return
sendmail_extended_mapi
(
session
,
uiparam
,
message
,
flags
,
reserved
);
/* Fall back on our own implementation */
if
(
!
message
)
return
MAPI_E_FAILURE
;
...
...
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