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
7031588c
Commit
7031588c
authored
Apr 23, 2012
by
Owen Rudge
Committed by
Alexandre Julliard
Apr 24, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mapi32: Add stub implementation of MAPISendMailW.
parent
e82e3e7f
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
31 additions
and
0 deletions
+31
-0
mapi32.spec
dlls/mapi32/mapi32.spec
+1
-0
sendmail.c
dlls/mapi32/sendmail.c
+28
-0
util.c
dlls/mapi32/util.c
+1
-0
util.h
dlls/mapi32/util.h
+1
-0
No files found.
dlls/mapi32/mapi32.spec
View file @
7031588c
...
...
@@ -188,3 +188,4 @@
253 stub FixMAPI@0
254 stdcall FGetComponentPath(str str ptr long long)
255 stdcall FGetComponentPath@20(str str ptr long long) FGetComponentPath
256 stdcall MAPISendMailW(ptr ptr ptr long long)
dlls/mapi32/sendmail.c
View file @
7031588c
...
...
@@ -408,6 +408,34 @@ ULONG WINAPI MAPISendMail( LHANDLE session, ULONG_PTR uiparam,
return
MAPI_E_NOT_SUPPORTED
;
}
/**************************************************************************
* MAPISendMailW (MAPI32.256)
*
* Send a mail.
*
* PARAMS
* session [I] Handle to a MAPI session.
* uiparam [I] Parent window handle.
* message [I] Pointer to a MAPIMessageW structure.
* flags [I] Flags.
* reserved [I] Reserved, pass 0.
*
* RETURNS
* Success: SUCCESS_SUCCESS
* Failure: MAPI_E_FAILURE
*
*/
ULONG
WINAPI
MAPISendMailW
(
LHANDLE
session
,
ULONG_PTR
uiparam
,
lpMapiMessageW
message
,
FLAGS
flags
,
ULONG
reserved
)
{
/* Check to see if we have a Simple MAPI provider loaded */
if
(
mapiFunctions
.
MAPISendMailW
)
return
mapiFunctions
.
MAPISendMailW
(
session
,
uiparam
,
message
,
flags
,
reserved
);
WARN
(
"STUB
\n
"
);
return
MAPI_E_NOT_SUPPORTED
;
}
ULONG
WINAPI
MAPISendDocuments
(
ULONG_PTR
uiparam
,
LPSTR
delim
,
LPSTR
paths
,
LPSTR
filenames
,
ULONG
reserved
)
{
...
...
dlls/mapi32/util.c
View file @
7031588c
...
...
@@ -1075,6 +1075,7 @@ void load_mapi_providers(void)
mapiFunctions
.
MAPISaveMail
=
(
void
*
)
GetProcAddress
(
mapi_provider
,
"MAPISaveMail"
);
mapiFunctions
.
MAPISendDocuments
=
(
void
*
)
GetProcAddress
(
mapi_provider
,
"MAPISendDocuments"
);
mapiFunctions
.
MAPISendMail
=
(
void
*
)
GetProcAddress
(
mapi_provider
,
"MAPISendMail"
);
mapiFunctions
.
MAPISendMailW
=
(
void
*
)
GetProcAddress
(
mapi_provider
,
"MAPISendMailW"
);
}
/* Extended MAPI functions */
...
...
dlls/mapi32/util.h
View file @
7031588c
...
...
@@ -41,6 +41,7 @@ typedef struct MAPI_FUNCTIONS {
LPMAPIRESOLVENAME
MAPIResolveName
;
LPMAPISAVEMAIL
MAPISaveMail
;
LPMAPISENDMAIL
MAPISendMail
;
LPMAPISENDMAILW
MAPISendMailW
;
LPMAPISENDDOCUMENTS
MAPISendDocuments
;
LPMAPIUNINITIALIZE
MAPIUninitialize
;
...
...
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