net: Display a more specific error message when a service command fails.
1 Apr
2008
1 Apr
'08
1:25 p.m.
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.
6467
Age (days ago)
6467
Last active (days ago)
0 comments
1 participants
participants (1)
-
Kirill K. Smirnov