Closed
Bug 594224
Opened 14 years ago
Closed 14 years ago
All argument parameters of nsIMapi need "unique" directive
Categories
(MailNews Core :: Simple MAPI, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
Thunderbird 3.3a1
People
(Reporter: hiro, Assigned: hiro)
References
Details
Attachments
(2 files)
3.34 KB,
text/x-c++src
|
Details | |
3.07 KB,
patch
|
Bienvenu
:
review+
neil
:
superreview+
|
Details | Diff | Splinter Review |
All argument parameters of nsIMapi need "unique" directive because "pointer_default(unique)" does not affect those arguments. See http://msdn.microsoft.com/en-us/library/ms690150%28VS.85%29.aspx The document says: The pointer_default attribute specifies the default pointer type (unique, ref, or ptr) for all pointers except for those included in parameter lists. If no default type is specified, MIDL assumes that single pointers are unique. However, when you have multiple levels of pointers, you must explicitly specify a default pointer type, even if you want the default type to be unique.
Assignee | ||
Comment 1•14 years ago
|
||
Attachment #472872 -
Flags: review?(bienvenu)
Assignee | ||
Comment 2•14 years ago
|
||
This fix will fix bug 565041 and bug 558374.
Assignee | ||
Comment 3•14 years ago
|
||
Ooops, sorry. bug 565041 is actually not related to this issue.
Updated•14 years ago
|
Assignee: nobody → ikezoe
Comment 4•14 years ago
|
||
(In reply to comment #1) > Created attachment 472872 [details] [diff] [review] > Fix Does this work on windows XP ? You are changing idl , without changing UUID ?
Assignee | ||
Comment 5•14 years ago
|
||
Yes, it works on Windows XP. I think changing attribute type does not need changing UUID, but I am not %100 sure so I have no objection to change UUID.
Comment 6•14 years ago
|
||
(In reply to comment #5) > Yes, it works on Windows XP. > > I think changing attribute type does not need changing UUID, but I am not %100 > sure so I have no objection to change UUID. Please do, just to be safe.
Comment 7•14 years ago
|
||
Comment on attachment 472872 [details] [diff] [review] Fix I don't think there's any reason to change the UUID - clients are using the external mapi interfaces, not the internal one.
Attachment #472872 -
Flags: review?(bienvenu) → review+
Updated•14 years ago
|
Attachment #472872 -
Flags: superreview?(neil)
Updated•14 years ago
|
Attachment #472872 -
Flags: superreview?(neil) → superreview+
Updated•14 years ago
|
Keywords: checkin-needed
Comment 8•14 years ago
|
||
Checked in: http://hg.mozilla.org/comm-central/rev/b9feb6dbd2a9
Status: NEW → RESOLVED
Closed: 14 years ago
Keywords: checkin-needed
Resolution: --- → FIXED
Target Milestone: --- → Thunderbird 3.3a1
You need to log in
before you can comment on or make changes to this bug.
Description
•