Platform SDK: SMTP Server Events

IMailMsgRecipientsBase::PutProperty

[This is preliminary documentation and subject to change.]

Write a recipient property.

HRESULT PutProperty(
  [in] DWORD dwIndex,
  [in] DWORD dwPropID,
  [in] DWORD cbLength,
  [in,size_is(cbLength),length_is(cbLength),unique] BYTE *pbValue
);
dwIndex
Specifies the zero-based index of the recipient.
dwPropID
Specifies the property ID.
cbLength
Specifies the length in bytes of the value. This value should be passed in as zero if pbValue is NULL.
pbValue
Specifies the value. If this is NULL, the property will be erased.

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::GetProperty