IMailMsgProperties::GetDWORD

IMailMsgProperties::GetDWORD

Read a DWORD property from the MailMsg object.

Syntax

        HRESULT GetDWORD( 
   [in] DWORDdwPropID,
   [out] DWORD *pdwValue);
  • dwPropID
    Specifies the property ID.
  • pdwValue
    Receives the value. If the property is not present, the method sets this to zero and returns S_FALSE.

Return Values

Value Description

S_OK

Success.

MAILMSG_E_PROPNOTFOUND

Success. The property was not present. *pdwValue is set to zero.