mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 12:23:31 +00:00
Fix compiling in proper npfs mode.
svn path=/trunk/; revision=25989
This commit is contained in:
@@ -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];
|
||||
|
||||
Reference in New Issue
Block a user