version: Constify a formal parameter of VerQueryValue{A|W}()

Andrew Talbot Andrew.Talbot at
Tue Feb 13 12:35:06 CST 2007

Felix Nawothnig wrote:

> Andrew Talbot wrote:
>> -BOOL WINAPI VerQueryValueA( LPVOID pBlock, LPSTR lpSubBlock,
>> +BOOL WINAPI VerQueryValueA( LPVOID pBlock, LPCSTR lpSubBlock,
> This is wrong - in the PSDK headers it's LPSTR (the first parameter
> should be const though).
> Felix

I've seen this function represented with the first two parameters
constified. Is anyone aware of a more const-correct version in the field
than the one Felix mentions?

-- Andy.

More information about the wine-devel mailing list