问题描述
使用 IMessage :: ModifyRecipients时,似乎只返回一个HRESULT,指示操作是否成功。但它并没有告诉您成功添加了多少收件人。我假设HRESULT == S_OK表示所有收件人都是
添加,否则,没有添加任何收件人。那么如果只添加部分收件人怎么办?我怎么知道实际添加的收件人数?
When using IMessage::ModifyRecipients, it seems that it only returns a HRESULT indicate whether the operation is successful or not. But it does not tell you how many recipients are added successfully. I assume HRESULT == S_OK means all recipients are added, otherwise, none of them are added. Then what if only part of the recipients are added? How can I know the number of actually added recipients?
推荐答案
您是否真的看到返回非关键(> 0)错误的情况且仅一些收件人被添加?
Do you actually see a situation where a non-critical (> 0) error is returned and only some recipients are added?
这篇关于知道ModifyRecipients添加了多少个收件人?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!