Wimp_GetWindowInfo documentation
Alan Adams (2486) 1149 posts |
The documentation of Wimp_GetWindowInfo could usefully be improved. On entry bit 0 of the address of the buffer is described as “If set, return just window header (without icons)”. This is actually useful, but needs explanation. The required buffer size for this version of the call is 92 bytes. The buffer size is 92 + 32 * icon count. In cases where the icon count is not known in advance, the full call has the potential to corrupt memory, as was mentioned this week in a thread elsewhere on the forum. |
Jon Abbott (1421) 2651 posts |
I’ve updated the Wimp_GetWindowInfo entry on the Wiki for you. Feel free to edit and add addition info if you feel it needs more detail. |