Platform SDK: SMTP Server Events

IMailMsgProperties::GetBool

[This is preliminary documentation and subject to change.]

Read a BOOL property from the MailMsg object.

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

Value Description
S_OK Success.
S_FALSE Success. The property was not present. *pdwValue is set to FALSE.
STG_E_NOMOREFILES Error. The recipient was not present.

See Also

IMailMsgProperties::PutBool