version: Use proper type for third parameter of VerQueryValue

Dmitry Timoshkov dmitry at baikal.ru
Mon Mar 28 23:02:03 CST 2005


"James Hawkins" <truiken at gmail.com> wrote:

> Changelog
> * Use proper type for third parameter of VerQueryValue

> -DWORD       WINAPI VerQueryValueA(LPVOID,LPCSTR,LPVOID*,UINT*);
> -DWORD       WINAPI VerQueryValueW(LPVOID,LPCWSTR,LPVOID*,UINT*);
> +BOOL       WINAPI VerQueryValueA(const LPVOID,LPCSTR,UINT*,UINT*);
> +BOOL       WINAPI VerQueryValueW(const LPVOID,LPCWSTR,UINT*,UINT*);

Where did you get it? PSDK agrees with current Wine definition on
the 3rd param type. Also the 2nd param should not be 'const'.

-- 
Dmitry.




More information about the wine-devel mailing list