[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: AW: Conceptual Patch - Handle wrapper class

From: Oto BREZINA <otik_at_printflow.eu>
Date: Tue, 15 Mar 2011 10:48:45 +0100

Dear Jens,

On 2011-03-15 10:23, Jens Geyer wrote:
>> I just read some articels about NULL vs. INVALID_HANDLER_VALUE and
>> author states that all new (not existing in WIN16) methods are NULL on
>> error.
> The author is probably wrong here.
>
> If in doubt, which values are returned, I would suggest to ask MSDN about that.
> Although there are also quite a few errors in there, this is the reference I would start with.
I use MSDN as first point to get info about parameters and returned
values of course. If INVALID_HANDLE_VALUE is just for compatibility with
win16 code or not, is only side question.
Main questions (already anwsered) were:
Can be NULL valid? Can be INVALID_HANDLE_VALUE valid?

Just side question:
Do you know any method which has been added to win32 with returning
INVALID_HANDLE_VALUE (or not NULL) on error?
Do known any Win16 method returning handle to do return NULL (or not
INVALID_HANDLE_VALUE) on error?

> BTW, it's INVALID_HANDLE_VALUE, not INVALID_HANDLER_VALUE.
sorry I forgot tried to write it instead of copy-paste. My e-mail client
won't compile with any value ;)
> JensG
Oto

-- 
Oto BREZINA, Printflow s.r.o., EU
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=757&dsMessageId=2711601
To unsubscribe from this discussion, e-mail: [dev-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2011-03-15 11:05:03 CET

This is an archived mail posted to the TortoiseSVN Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.