soccer jersey forums.silverfrost.com :: View topic - display_dib_block@ return codes
forums.silverfrost.com Forum Index forums.silverfrost.com
Welcome to the Silverfrost forums
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

display_dib_block@ return codes

 
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> ClearWin+
View previous topic :: View next topic  
Author Message
rudnei



Joined: 29 Dec 2011
Posts: 36

PostPosted: Thu Apr 11, 2024 3:12 pm    Post subject: display_dib_block@ return codes Reply with quote

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
View user's profile Send private message
PaulLaidler
Site Admin


Joined: 21 Feb 2005
Posts: 8019
Location: Salford, UK

PostPosted: Thu Apr 11, 2024 4:42 pm    Post subject: Reply with quote

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
View user's profile Send private message AIM Address
rudnei



Joined: 29 Dec 2011
Posts: 36

PostPosted: Thu Apr 11, 2024 5:43 pm    Post subject: Reply with quote

Many thanks!
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> ClearWin+ All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group