IMAPIFormInfo::MakeIconFromBinary

Applies to: Office 2010 | Outlook 2010 | Visual Studio

Builds an icon from one of the icon properties of a form.

HRESULT MakeIconFromBinary(
  ULONG nPropID,
  HICON FAR * phicon
);

Parameters

  • nPropID
    [in] A property identifier for an icon property.

  • phicon
    [out] A pointer to the returned icon.

Return Value

  • S_OK
    The call succeeded and has returned the expected value or values.

Remarks

Client applications call the IMAPIFormInfo::MakeIconFromBinary method to build an icon from one of the icon properties of a form. In the nPropID parameter, MakeIconFromBinary takes the property identifier of one of the icon properties of a form. Using this property identifier, it builds an icon that can be displayed in table views that include property columns for icons.

See Also

Reference

IMAPIFormInfo : IMAPIProp