Platform SDK: SMTP Server Events

IMailMsgRecipientsBase::GetBool

[This is preliminary documentation and subject to change.]

Read a recipient Boolean property.

HRESULT GetBool(
  [in] DWORD dwIndex,
  [in] DWORD dwPropID,
  [out] DWORD *pdwValue
);
dwIndex
Specifies the zero-based index of the recipient.
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. The pdwValue parameter is set to FALSE.
STG_E_NOMOREFILES Error. The recipient was not present.

See Also

IMailMsgRecipientsBase::PutBool