Author: fireball Date: Mon Mar 5 00:14:58 2007 New Revision: 25989
URL: http://svn.reactos.org/svn/reactos?rev=25989&view=rev Log: Fix compiling in proper npfs mode.
Modified: trunk/reactos/dll/win32/kernel32/file/npipe.c
Modified: trunk/reactos/dll/win32/kernel32/file/npipe.c URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/kernel32/file/npi... ============================================================================== --- trunk/reactos/dll/win32/kernel32/file/npipe.c (original) +++ trunk/reactos/dll/win32/kernel32/file/npipe.c Mon Mar 5 00:14:58 2007 @@ -303,7 +303,7 @@ Type = RtlDetermineDosPathNameType_U(lpNamedPipeName);
/* Check if this was a device path, ie : "\.\pipe\name" */ - if (Type == DEVICE_PATH) + if (Type == RtlPathTypeLocalDevice) { /* Make sure it's a valid prefix */ RtlInitUnicodeString(&PipePrefix, L"\\.\pipe\"); @@ -317,7 +317,7 @@ DPRINT("NewName: %wZ\n", &NewName); RtlInitUnicodeString(&DevicePath, L"\DosDevices\pipe\"); } - else if (Type == UNC_PATH) + else if (Type == RtlPathTypeRootLocalDevice) { /* The path is \server\pipe\name; find the pipename itself */ p = &NewName.Buffer[2];