Platform SDK: SMTP Server Events

IMailMsgRecipientsBase::GetProperty

[This is preliminary documentation and subject to change.]

Read a recipient property.

HRESULT GetProperty(
  [in] DWORD dwIndex,
  [in] DWORD dwPropID,
  [in] DWORD cbLength,
  [out] DWORD *pcbLength,
  [out,size_is(cbLength),length_is(*pcbLength)] BYTE *pbValue
);
dwIndex
Specifies the zero-based index of the recipient.
dwPropID
Specifies the property ID.
cbLength
Specifies the length in bytes of the buffer to receive the value.
pcbLength
Receives the length in bytes of the value. If the property is not present, this will receive zero.
pbValue
Receives the value.

Return Values

Value Description
S_OK Success.
S_FALSE Success. The property was not present. The *pcbLength argument is set to zero.
STG_E_NOMOREFILES Error. The recipient was not present.

See Also

IMailMsgRecipientsBase::PutProperty