Modify ↓
Opened 15 years ago
Closed 15 years ago
#1601 closed Bug (Fixed)
_GUIImageList_AddIcon returns wrong value if failed
Reported by: | doudou | Owned by: | Jpm |
---|---|---|---|
Milestone: | 3.3.7.0 | Component: | Standard UDFs |
Version: | 3.3.6.1 | Severity: | None |
Keywords: | Cc: |
Description
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 15 years ago by Jpm
- Milestone set to 3.3.7.0
- Owner changed from Gary to Jpm
- Resolution set to Fixed
- Status changed from new to closed
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.
Note: See
TracTickets for help on using
tickets.
Fixed by revision [5791] in version: 3.3.7.0