27 Aug
2010
27 Aug
'10
1:07 p.m.
Octavian Voicu <octavian.voicu(a)gmail.com> writes:
The reason for which I opted for a BYTE* is so that I can use sizeof() to increment the pointer correctly. DWORD_PTR has a different size of 32- and 64-bit systems, so using DWORD* would make it more complicated to increment with sizeof(DWORD_PTR). Another reason is that offset is now in bytes, so supplying a pointer of different size wouldn't make much sense.
There's no reason to change this. Just work with DWORDs throughout, it will avoid a lot of ugly casts. -- Alexandre Julliard julliard(a)winehq.org