[advapi32/service #2] Fix buffersize calculations for
GetServiceDisplayNameA
Paul Vriens
paul.vriens.wine at gmail.com
Thu Jul 26 07:29:00 CDT 2007
Alexandre Julliard wrote:
> Paul Vriens <paul.vriens.wine at gmail.com> writes:
>
>> So how do you suggest I'm going to fix this? Maybe we should call the
>> W function as well as deal with the differences?
>
> If you want to replicate the exact behavior then yes you have to call
> the W function. But returning the correct size is probably OK too, at
> least until we find an app that depends on the broken Windows
> behavior...
>
Well I just sent in 2 patches for extra tests. The second one means we have to
implement a chunk of code and again for 2 functions. I'll have a look if it's
feasible to call W from A.
It would have been worse if the broken scenario was returning a too small
buffersize.
Cheers,
Paul.
More information about the wine-devel
mailing list