28 Jul
2016
28 Jul
'16
8:12 a.m.
Pierre Schweitzer <pierre(a)reactos.org> writes:
Hi,
I wanted to avoid yet another recopy (in the ANSI case) especially since input is well-known: user necessarily provided NULL ptr to reach that point. But, if you prefer, I can do another copy. But in the ANSI case, it will mean that NETRESOURCE structure has been copied twice (rather expensive).
It's not expensive, it's a small structure, and you don't need to duplicate the pointers. -- Alexandre Julliard julliard(a)winehq.org