http://bugs.winehq.org/show_bug.cgi?id=9056
--- Comment #22 from Hans Leidekker hans@it.vu.nl 2007-09-25 14:31:08 --- Voila:
SetLastError(0xdeadbeef); ret = FormatMessageA(FORMAT_MESSAGE_FROM_SYSTEM | FORMAT_MESSAGE_ALLOCATE_BUFFER, NULL, 0, 0, NULL, 0, NULL); error = GetLastError(); ok(!ret, "got %u\n", ret); ok(error == ERROR_NOT_ENOUGH_MEMORY, "last error %u\n", error);
This is on up-to-date Windows 2003.