Platform SDK: SMTP Server Events

IMailMsgPropertyBag::GetBool

[This is preliminary documentation and subject to change.]

Read a boolean property.

HRESULT GetBool(
  [in] DWORD dwPropID,
  [out] DWORD *pbValue
);
dwPropID
Specifies the property ID.

pdwValue

Receives the value, which will either be TRUE or FALSE. If the property is not present, the method sets this to FALSE and returns S_FALSE.

Return Values

S_OK

Success.

MAILMSG_E_PROPNOTFOUND

Failure. The property was not present. *pdwValue is set to FALSE.

See Also

ISMTPParams::PutBool