[advapi32/service #2] Fix buffersize calculations for GetServiceDisplayNameA

Paul Vriens paul.vriens.wine at gmail.com
Thu Jul 26 08:47:49 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...
Hi again,

What about the attached patch? This fixes all todo_wine's for GetDisplayName 
with respect to buffer sizes.



-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch.diff
Type: text/x-patch
Size: 3039 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-devel/attachments/20070726/e299cdca/patch.bin

More information about the wine-devel mailing list