mapi32: Add stub implementation of MAPISendMailW.
This commit is contained in:
parent
e82e3e7fb6
commit
7031588c76
|
@ -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)
|
||||
|
|
|
@ -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)
|
||||
{
|
||||
|
|
|
@ -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 */
|
||||
|
|
|
@ -41,6 +41,7 @@ typedef struct MAPI_FUNCTIONS {
|
|||
LPMAPIRESOLVENAME MAPIResolveName;
|
||||
LPMAPISAVEMAIL MAPISaveMail;
|
||||
LPMAPISENDMAIL MAPISendMail;
|
||||
LPMAPISENDMAILW MAPISendMailW;
|
||||
LPMAPISENDDOCUMENTS MAPISendDocuments;
|
||||
LPMAPIUNINITIALIZE MAPIUninitialize;
|
||||
|
||||
|
|
Loading…
Reference in New Issue