Platform SDK: SMTP Server Events

IMailMsgPropertyBag::PutBool

[This is preliminary documentation and subject to change.]

Write a boolean property.

HRESULT PutBool(
  [in] DWORD dwPropID,
  [in] DWORD bValue
);
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 - use ISMTPParams::PutProperty to erase a DWORD property.

Return Values

S_OK

Success.

S_FALSE

Success. The property was not present.

See Also

ISMTPParams::PutBool