summaryrefslogtreecommitdiffstats
path: root/mailnews/mapi/mapihook/build/msgMapi.idl
diff options
context:
space:
mode:
authorMatt A. Tobin <email@mattatobin.com>2019-11-10 23:38:54 -0500
committerMatt A. Tobin <email@mattatobin.com>2019-11-10 23:38:54 -0500
commit1d5ec356b3d5ec98177a76eaf2d32e728fd1a742 (patch)
tree72b64fcf27ba114ee022ec02e436827e9d7c85c7 /mailnews/mapi/mapihook/build/msgMapi.idl
parent22973db5032189f97bf8ad190981d71c890bf151 (diff)
downloadUXP-1d5ec356b3d5ec98177a76eaf2d32e728fd1a742.tar
UXP-1d5ec356b3d5ec98177a76eaf2d32e728fd1a742.tar.gz
UXP-1d5ec356b3d5ec98177a76eaf2d32e728fd1a742.tar.lz
UXP-1d5ec356b3d5ec98177a76eaf2d32e728fd1a742.tar.xz
UXP-1d5ec356b3d5ec98177a76eaf2d32e728fd1a742.zip
Bug 393302 - Correct memory handling in MAPISendMail() and CMapiImp::SendMail() to fix "Send to > Mail Recipient" crash.
Tag #1273
Diffstat (limited to 'mailnews/mapi/mapihook/build/msgMapi.idl')
-rw-r--r--mailnews/mapi/mapihook/build/msgMapi.idl6
1 files changed, 2 insertions, 4 deletions
diff --git a/mailnews/mapi/mapihook/build/msgMapi.idl b/mailnews/mapi/mapihook/build/msgMapi.idl
index 3ca3fd493..e669b5452 100644
--- a/mailnews/mapi/mapihook/build/msgMapi.idl
+++ b/mailnews/mapi/mapihook/build/msgMapi.idl
@@ -14,8 +14,8 @@ typedef struct
unsigned long ulReserved;
unsigned long flFlags; /* Flags */
unsigned long nPosition_NotUsed; /* character in text to be replaced by attachment */
- LPTSTR lpszPathName; /* Full path name including file name */
- LPTSTR lpszFileName; /* Real (original) file name */
+ LPSTR lpszPathName; /* Full path name including file name */
+ LPSTR lpszFileName; /* Real (original) file name */
unsigned char * lpFileType_NotUsed ;
} nsMapiFileDesc, * lpnsMapiFileDesc;
@@ -64,8 +64,6 @@ interface nsIMapi : IUnknown
HRESULT IsValidSession([in] unsigned long aSession);
HRESULT SendMail([in] unsigned long aSession, [in, unique] lpnsMapiMessage aMessage,
- [in] short aRecipCount, [in, size_is(aRecipCount)] lpnsMapiRecipDesc aRecips,
- [in] short aFileCount, [in, size_is(aFileCount)] lpnsMapiFileDesc aFiles,
[in] unsigned long aFlags, [in] unsigned long aReserved) ;
HRESULT SendDocuments( [in] unsigned long aSession,