IMailMsgProperties::PutStringA

IMailMsgProperties::PutStringA

Write a string property into the MailMsg object.

Syntax

        HRESULT PutStringA( 
   [in] DWORDdwPropID,
   [in,unique]LPCSTRpszValue);
  • dwPropID
    Specifies the property ID.
  • pszValue
    Specifies the value. If this is NULL, E_INVALIDARG is returned.

Return Values

Value Description

S_OK

Success.

S_FALSE

Success. The property was not present.