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.




Reply via email to