IMAPIFormInfo::MakeIconFromBinary

Applies to: Outlook 2013 | Outlook 2016

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

IMAPIFormInfo : IMAPIProp