version: Use proper type for third parameter of VerQueryValue

Uwe Bonnes bon at elektron.ikp.physik.tu-darmstadt.de
Tue Mar 29 01:41:22 CST 2005


>>>>> "Dmitry" == Dmitry Timoshkov <dmitry at baikal.ru> writes:

    Dmitry> "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*);

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

MSDN (look with Google for VerQueryValue and use the first hit) has
(const LPVOID ..., LPTSTR ..., PUINT ..., PUINT ...)

Bye
-- 
Uwe Bonnes                bon at elektron.ikp.physik.tu-darmstadt.de

Institut fuer Kernphysik  Schlossgartenstrasse 9  64289 Darmstadt
--------- Tel. 06151 162516 -------- Fax. 06151 164321 ----------



More information about the wine-devel mailing list