[PATCH (try2)] setupapi: Fix spec entries for handle parameters

Alexandre Julliard julliard at winehq.org
Thu Mar 31 08:14:51 CDT 2016


Andrew Eikum <aeikum at codeweavers.com> writes:

> On Thu, Mar 31, 2016 at 04:34:27AM +0200, Sebastian Lackner wrote:
>> Is there any specific reason why you want to change that? Using "long"
>> for handles is usually perfectly fine and it depends on the exact
>> implementation details if its a pointer or just an index into a handle table.
>
> I thought that ptr and long were different widths on 64-bit, which
> could lead to incorrect parameter dumping in relay logs. If that's not
> the case, then ignore the patch.

ptr and long are identical on both 32-bit and 64-bit. The distinction
only matters for 16-bit.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list