Re: [Mingw-w64-public] [PATCH] winreg.h: Fix declaration of RegSetKeyValueW

2017-03-08 Thread JonY
On 03/08/2017 08:36 AM, Liu Hao wrote: > janisozaur on IRC reported a bug about `RegSetKeyValueW()` today. > According to MSDN the parameters `lpSubKey` and `lpValueName` of > `RegSetKeyValue()` should have type `LPCTSTR`, hence in the case of > `RegSetKeyValueW()` they should have type `LPCWSTR`.

[Mingw-w64-public] [PATCH] winreg.h: Fix declaration of RegSetKeyValueW

2017-03-08 Thread Liu Hao
janisozaur on IRC reported a bug about `RegSetKeyValueW()` today. According to MSDN the parameters `lpSubKey` and `lpValueName` of `RegSetKeyValue()` should have type `LPCTSTR`, hence in the case of `RegSetKeyValueW()` they should have type `LPCWSTR`. In our headers they used to have type `LPCS