知道ModifyRecipients添加了多少个收件人? [英] Know How Many Recipients are Added with ModifyRecipients?

查看:63
本文介绍了知道ModifyRecipients添加了多少个收件人?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

使用  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?




推荐答案

如果任何收件人出现问题,则不会添加任何收件人。

If there is a problem with any recipient, no recipients are added.

您是否真的看到返回非关键(> 0)错误的情况且仅一些收件人被添加?

Do you actually see a situation where a non-critical (> 0) error is returned and only some recipients are added?


这篇关于知道ModifyRecipients添加了多少个收件人?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆