Platform SDK: SMTP Server Events

IMailMsgPropertyBag::PutProperty

[This is preliminary documentation and subject to change.]

Write a property.

HRESULT PutProperty(
  [in] DWORD dwPropID,
  [in] DWORD cbLength,
  [in,size_is(cbLength),length_is(cbLength),unique] BYTE *pbValue
);
dwPropID
The property ID of the property to write.
cbLength
The length in bytes of the value.

pbValue

The new property value. If this is NULL, then the property is erased.

Return Values

S_OK

Success.

S_FALSE

Success. The property was not present.

See Also

ISMTPParams.GetProperty