Implement DceErrorInqText

Alexandre Julliard julliard at winehq.org
Wed Dec 22 08:47:46 CST 2004


Bill Medland <billmedland at mercuryspeed.com> writes:

> My comments are probably not clear enough.  That function isn't asking if the 
> error code is a valid error code (which is relevant to FormatMessage).  
> Actually !acceptable_rpc_code is the list of error codes for which 
> FormatMessage will return a valid string but that is not the string that 
> DceErrorInqText returns; it returns the "not a valid rpc code" message.
> I'll reword the comments and rename the function.

I can't imagine a case where an app would depend on getting a generic
error message instead of a detailed one; it seems to me that if
FormatMessage returns something meaningful we should use it.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list