net: Display a more specific error message when a service command fails.
Kirill K. Smirnov
lich at math.spbu.ru
Tue Apr 1 08:25:19 CDT 2008
Hi,
>+ LPSTR pBuffer;
>+ if (FormatMessageA(FORMAT_MESSAGE_FROM_SYSTEM |
>+ FORMAT_MESSAGE_IGNORE_INSERTS | FORMAT_MESSAGE_ALLOCATE_BUFFER,
>+ NULL, error, 0, (LPSTR)&pBuffer, 0, NULL))
>+ {
>+ fputs(pBuffer, stdout);
>+ LocalFree(pBuffer);
>+ return TRUE;
This is a glibc version of fputs, it DOES NOT work with wineconsole.
--
Kirill
P.S. Current implementation of output_string suffers from the same issue too.
More information about the wine-devel
mailing list