[PATCH] slc: Fix return type

Detlef Riekenberg wine.dev at web.de
Thu May 30 17:07:44 CDT 2013


Christian wrote at Wednesday, 29. Mai 2013 at 23:12 Uhr

> > + */
> > +HRESULT WINAPI SLGetWindowsInformationDWORD(PCWSTR name, DWORD *pvalue)
> > +{
> >   
> > -SLCAPI DWORD WINAPI SLGetWindowsInformationDWORD(LPCWSTR lpszValueName, LPDWORD pdwValue);
> > +SLCAPI HRESULT WINAPI SLGetWindowsInformationDWORD(PCWSTR, DWORD *);
> >   
> I think s/PCWSTR/const WCHAR */ and s/pvalue/value/ would be better. :)

I disagree for "const WCHAR *", which is really rare used in Wine
(Please grep the headers yourself)

pvalue is a matter of taste.
I will send an updated version


-- 
By by ... Detlef




More information about the wine-devel mailing list