[ros-diffs] [dchapyshev] 41893: - Set status to STATUS_OBJECT_NAME_INVALID if NtCreateMailslotFile returned STATUS_NOT_SUPPORTED

dchapyshev at svn.reactos.org dchapyshev at svn.reactos.org
Sat Jul 11 22:34:34 CEST 2009


Author: dchapyshev
Date: Sun Jul 12 00:34:33 2009
New Revision: 41893

URL: http://svn.reactos.org/svn/reactos?rev=41893&view=rev
Log:
- Set status to STATUS_OBJECT_NAME_INVALID if NtCreateMailslotFile returned STATUS_NOT_SUPPORTED

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/mailslot.c?rev=41893&r1=41892&r2=41893&view=diff
==============================================================================
--- trunk/reactos/dll/win32/kernel32/file/mailslot.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/kernel32/file/mailslot.c [iso-8859-1] Sun Jul 12 00:34:33 2009
@@ -109,7 +109,7 @@
 				 nMaxMessageSize,
 				 &DefaultTimeOut);
 
-   if (Status == STATUS_INVALID_DEVICE_REQUEST)
+   if (Status == STATUS_INVALID_DEVICE_REQUEST || Status == STATUS_NOT_SUPPORTED)
    {
        Status = STATUS_OBJECT_NAME_INVALID;
    }



More information about the Ros-diffs mailing list