IMAPIFormInfo::MakeIconFromBinary

The IMAPIFormInfo::MakeIconFromBinary method builds an icon from an icon property of a form.

Quick Info

See IMAPIFormInfo : IMAPIProp.

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

Parameters

nPropID
[in] Property identifier for an icon property.
phicon
[out] Pointer to the returned icon.

Return Values

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 an icon property 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.