Add LPDWORD typedef to wtypes.idl
Dmitry Timoshkov
dmitry at baikal.ru
Fri Feb 18 21:55:47 CST 2005
"Vincent Béron" <vberon at mecano.gme.usherb.ca> wrote:
> There are probably more pointer types missing from our wtypes.idl.
>
> Changelog:
> Add LPDWORD definition to wtypes.idl.
> --- include/wtypes.idl 8 Dec 2004 13:59:52 -0000 1.22
> +++ include/wtypes.idl 19 Feb 2005 00:41:55 -0000
> @@ -48,6 +48,8 @@ typedef float FLOAT;
>
> typedef void *PVOID, *LPVOID;
>
> +typedef unsigned long *LPDWORD;
This introduces a potential miscompilation on 64-bit platforms. I'd suggest
to use a base type instead of unsigned long:
typedef DWORD *LPDWORD;
--
Dmitry.
More information about the wine-devel
mailing list