Modify ↓
Opened 16 years ago
Closed 16 years ago
#1601 closed Bug (Fixed)
_GUIImageList_AddIcon returns wrong value if failed
| Reported by: | doudou | Owned by: | J-Paul Mesnage |
|---|---|---|---|
| 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 by , 16 years ago
| Milestone: | → 3.3.7.0 |
|---|---|
| Owner: | changed from to |
| Resolution: | → Fixed |
| Status: | new → closed |
Note:
See TracTickets
for help on using tickets.

Fixed by revision [5791] in version: 3.3.7.0