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
bae9e56e
Commit
bae9e56e
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: Implement the rest of the Simple MAPI functions.
parent
2e90bd66
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
82 additions
and
8 deletions
+82
-8
mapi32.spec
dlls/mapi32/mapi32.spec
+8
-8
mapi32_main.c
dlls/mapi32/mapi32_main.c
+65
-0
sendmail.c
dlls/mapi32/sendmail.c
+9
-0
No files found.
dlls/mapi32/mapi32.spec
View file @
bae9e56e
...
@@ -145,17 +145,17 @@
...
@@ -145,17 +145,17 @@
205 stub FDecodeID@12
205 stub FDecodeID@12
206 stub CchOfEncoding@4
206 stub CchOfEncoding@4
207 stdcall CbOfEncoded@4(ptr) CbOfEncoded
207 stdcall CbOfEncoded@4(ptr) CbOfEncoded
208 st
ub MAPISendDocuments
208 st
dcall MAPISendDocuments(ptr ptr ptr ptr long)
209 stdcall MAPILogon(long ptr ptr long long ptr)
209 stdcall MAPILogon(long ptr ptr long long ptr)
210 stdcall MAPILogoff(long long long long)
210 stdcall MAPILogoff(long long long long)
211 stdcall MAPISendMail(long long ptr long long)
211 stdcall MAPISendMail(long long ptr long long)
212 st
ub MAPISaveMail
212 st
dcall MAPISaveMail(ptr ptr ptr long long ptr)
213 st
ub MAPIReadMail
213 st
dcall MAPIReadMail(ptr ptr ptr long long ptr)
214 st
ub MAPIFindNext
214 st
dcall MAPIFindNext(ptr ptr ptr ptr long long ptr)
215 st
ub MAPIDeleteMail
215 st
dcall MAPIDeleteMail(ptr ptr ptr long long)
217 st
ub MAPIAddress
217 st
dcall MAPIAddress(ptr ptr ptr long ptr long long ptr long ptr ptr)
218 st
ub MAPIDetails
218 st
dcall MAPIDetails(ptr ptr ptr long long)
219 st
ub MAPIResolveName
219 st
dcall MAPIResolveName(ptr ptr ptr long long ptr)
220 stub BMAPISendMail
220 stub BMAPISendMail
221 stub BMAPISaveMail
221 stub BMAPISaveMail
222 stub BMAPIReadMail
222 stub BMAPIReadMail
...
...
dlls/mapi32/mapi32_main.c
View file @
bae9e56e
...
@@ -184,3 +184,68 @@ HRESULT WINAPI MAPIAdminProfiles(ULONG ulFlags, LPPROFADMIN *lppProfAdmin)
...
@@ -184,3 +184,68 @@ HRESULT WINAPI MAPIAdminProfiles(ULONG ulFlags, LPPROFADMIN *lppProfAdmin)
*
lppProfAdmin
=
NULL
;
*
lppProfAdmin
=
NULL
;
return
E_FAIL
;
return
E_FAIL
;
}
}
ULONG
WINAPI
MAPIAddress
(
LHANDLE
session
,
ULONG_PTR
uiparam
,
LPSTR
caption
,
ULONG
editfields
,
LPSTR
labels
,
ULONG
nRecips
,
lpMapiRecipDesc
lpRecips
,
FLAGS
flags
,
ULONG
reserved
,
LPULONG
newRecips
,
lpMapiRecipDesc
*
lppNewRecips
)
{
if
(
mapiFunctions
.
MAPIAddress
)
return
mapiFunctions
.
MAPIAddress
(
session
,
uiparam
,
caption
,
editfields
,
labels
,
nRecips
,
lpRecips
,
flags
,
reserved
,
newRecips
,
lppNewRecips
);
return
MAPI_E_NOT_SUPPORTED
;
}
ULONG
WINAPI
MAPIDeleteMail
(
LHANDLE
session
,
ULONG_PTR
uiparam
,
LPSTR
msg_id
,
FLAGS
flags
,
ULONG
reserved
)
{
if
(
mapiFunctions
.
MAPIDeleteMail
)
return
mapiFunctions
.
MAPIDeleteMail
(
session
,
uiparam
,
msg_id
,
flags
,
reserved
);
return
MAPI_E_NOT_SUPPORTED
;
}
ULONG
WINAPI
MAPIDetails
(
LHANDLE
session
,
ULONG_PTR
uiparam
,
lpMapiRecipDesc
recip
,
FLAGS
flags
,
ULONG
reserved
)
{
if
(
mapiFunctions
.
MAPIDetails
)
return
mapiFunctions
.
MAPIDetails
(
session
,
uiparam
,
recip
,
flags
,
reserved
);
return
MAPI_E_NOT_SUPPORTED
;
}
ULONG
WINAPI
MAPIFindNext
(
LHANDLE
session
,
ULONG_PTR
uiparam
,
LPSTR
msg_type
,
LPSTR
seed_msg_id
,
FLAGS
flags
,
ULONG
reserved
,
LPSTR
msg_id
)
{
if
(
mapiFunctions
.
MAPIFindNext
)
return
mapiFunctions
.
MAPIFindNext
(
session
,
uiparam
,
msg_type
,
seed_msg_id
,
flags
,
reserved
,
msg_id
);
return
MAPI_E_NOT_SUPPORTED
;
}
ULONG
WINAPI
MAPIReadMail
(
LHANDLE
session
,
ULONG_PTR
uiparam
,
LPSTR
msg_id
,
FLAGS
flags
,
ULONG
reserved
,
lpMapiMessage
msg
)
{
if
(
mapiFunctions
.
MAPIReadMail
)
return
mapiFunctions
.
MAPIReadMail
(
session
,
uiparam
,
msg_id
,
flags
,
reserved
,
msg
);
return
MAPI_E_NOT_SUPPORTED
;
}
ULONG
WINAPI
MAPIResolveName
(
LHANDLE
session
,
ULONG_PTR
uiparam
,
LPSTR
name
,
FLAGS
flags
,
ULONG
reserved
,
lpMapiRecipDesc
*
recip
)
{
if
(
mapiFunctions
.
MAPIResolveName
)
return
mapiFunctions
.
MAPIResolveName
(
session
,
uiparam
,
name
,
flags
,
reserved
,
recip
);
return
MAPI_E_NOT_SUPPORTED
;
}
ULONG
WINAPI
MAPISaveMail
(
LHANDLE
session
,
ULONG_PTR
uiparam
,
lpMapiMessage
msg
,
FLAGS
flags
,
ULONG
reserved
,
LPSTR
msg_id
)
{
if
(
mapiFunctions
.
MAPISaveMail
)
return
mapiFunctions
.
MAPISaveMail
(
session
,
uiparam
,
msg
,
flags
,
reserved
,
msg_id
);
return
MAPI_E_NOT_SUPPORTED
;
}
dlls/mapi32/sendmail.c
View file @
bae9e56e
...
@@ -211,3 +211,12 @@ exit:
...
@@ -211,3 +211,12 @@ exit:
return
ret
;
return
ret
;
}
}
ULONG
WINAPI
MAPISendDocuments
(
ULONG_PTR
uiparam
,
LPSTR
delim
,
LPSTR
paths
,
LPSTR
filenames
,
ULONG
reserved
)
{
if
(
mapiFunctions
.
MAPISendDocuments
)
return
mapiFunctions
.
MAPISendDocuments
(
uiparam
,
delim
,
paths
,
filenames
,
reserved
);
return
MAPI_E_NOT_SUPPORTED
;
}
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