Author: dchapyshev
Date: Sun Jun 14 21:44:22 2009
New Revision: 41412
URL:
http://svn.reactos.org/svn/reactos?rev=41412&view=rev
Log:
- Fix one "kernel32_winetest mailslot" test
Modified:
trunk/reactos/dll/win32/kernel32/file/mailslot.c
Modified: trunk/reactos/dll/win32/kernel32/file/mailslot.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/kernel32/file/ma…
==============================================================================
--- trunk/reactos/dll/win32/kernel32/file/mailslot.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/kernel32/file/mailslot.c [iso-8859-1] Sun Jun 14 21:44:22
2009
@@ -109,6 +109,11 @@
nMaxMessageSize,
&DefaultTimeOut);
+ if (Status == STATUS_INVALID_DEVICE_REQUEST)
+ {
+ Status = STATUS_OBJECT_NAME_INVALID;
+ }
+
RtlFreeHeap(RtlGetProcessHeap(),
0,
MailslotName.Buffer);