View previous topic :: View next topic |
Author |
Message |
rudnei
Joined: 29 Dec 2011 Posts: 36
|
Posted: Thu Apr 11, 2024 3:12 pm Post subject: display_dib_block@ return codes |
|
|
Hi,
Is there a list of the return codes given by display_dib_block@, with the description of their meanings?
Thank you for your help! |
|
Back to top |
|
|
PaulLaidler Site Admin
Joined: 21 Feb 2005 Posts: 8019 Location: Salford, UK
|
Posted: Thu Apr 11, 2024 4:42 pm Post subject: |
|
|
An error value of 13 means width <= 0 or height <= 0.
An error value of 4 means a failure to allocate memory for the DIB.
An error value of 0 means success.
The routine calls the API StretchDIBits when it could fail but at the moment a failure at this point is not reported. I have now updated the routine so that in the future it will give an error code of 9 when this occurs. |
|
Back to top |
|
|
rudnei
Joined: 29 Dec 2011 Posts: 36
|
Posted: Thu Apr 11, 2024 5:43 pm Post subject: |
|
|
Many thanks! |
|
Back to top |
|
|
|