odbccp32: Implement SQLGetPrivateProfileString
bunglehead at gmail.com
Tue Jun 9 05:27:58 CDT 2015
On 09.06.2015 13:00, Alistair Leslie-Hughes wrote:
> @@ -415,12 +416,56 @@ int WINAPI SQLGetPrivateProfileString(LPCSTR lpszSection, LPCSTR lpszEntry,
> LPCSTR lpszDefault, LPCSTR RetBuffer, int cbRetBuffer,
> LPCSTR lpszFilename)
I turns out our definition is wrong, PSDK uses LPSTR/LPWSTR for output
buffer. Fixing that (including header of course) will fix casts that you
had to use to cast const away.
Also I think we want SQLGetPrivateProfileStringW to be implemented
first, and forward SQLGetPrivateProfileString to it, unless there's a
reason not to do that, like differences in behavior that some tests reveal.
More information about the wine-devel