Opened 14 years ago

Closed 14 years ago

#1601 closed Bug (Fixed)

_GUIImageList_AddIcon returns wrong value if failed

Reported by: doudou Owned by: Jpm
Milestone: Component: Standard UDFs
Version: Severity: None
Keywords: Cc:


In contradiction to documentation and to how MSDN describes the corr. macro ImageList_AddIcon() _GUIImageList_AddIcon() returns 0 on failure:

If $iRet = -1 Then Return SetError(-2, $iRet, 0)

It is also inconsistent with _GUIImageList_Add(), _GUIImageList_AddMasked() and _GUIImageList_AddBitmap().

Attachments (0)

Change History (1)

comment:1 Changed 14 years ago by Jpm

  • Milestone set to
  • Owner changed from Gary to Jpm
  • Resolution set to Fixed
  • Status changed from new to closed

Fixed by revision [5791] in version:

Guidelines for posting comments:

  • You cannot re-open a ticket but you may still leave a comment if you have additional information to add.
  • In-depth discussions should take place on the forum.

For more information see the full version of the ticket guidelines here.

Add Comment

Modify Ticket

as closed The owner will remain Jpm.

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.