From 55a11ded1bc0052123cad120757207bca87559fd Mon Sep 17 00:00:00 2001 From: Aleksey Bragin Date: Sun, 4 Mar 2007 21:14:58 +0000 Subject: [PATCH] Fix compiling in proper npfs mode. svn path=/trunk/; revision=25989 --- reactos/dll/win32/kernel32/file/npipe.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/reactos/dll/win32/kernel32/file/npipe.c b/reactos/dll/win32/kernel32/file/npipe.c index 19f3e8f73e9..017f5696525 100644 --- a/reactos/dll/win32/kernel32/file/npipe.c +++ b/reactos/dll/win32/kernel32/file/npipe.c @@ -303,7 +303,7 @@ WaitNamedPipeW(LPCWSTR lpNamedPipeName, 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 @@ WaitNamedPipeW(LPCWSTR lpNamedPipeName, 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];