Platform SDK: SMTP Server Events

IMailMsgRecipientsBase::PutBool

[This is preliminary documentation and subject to change.]

Write a boolean recipient property.

HRESULT PutBool(
  [in] DWORD dwIndex,
  [in] DWORD dwPropID,
  [in] DWORD dwValue
);
dwIndex
Specifies the zero-based index of the recipient.
dwPropID
Specifies the property ID.
dwValue
The value to write. This value is coerced to either TRUE or FALSE. It is not possible to erase the property with this method. Instead, use the IMailMsgRecipientsBase::PutProperty method to erase a DWORD property.

Return Values

Value Description
S_OK Success.
S_FALSE Success. The property was not present.
STG_E_NOMOREFILES Error. The recipient was not present.

See Also

IMailMsgRecipientsBase::GetBool