mirror of
https://github.com/reactos/reactos.git
synced 2024-08-14 07:06:23 +00:00
Fix compiling in proper npfs mode.
svn path=/trunk/; revision=25989
This commit is contained in:
parent
1e35f772f8
commit
55a11ded1b
|
@ -303,7 +303,7 @@ WaitNamedPipeW(LPCWSTR lpNamedPipeName,
|
||||||
Type = RtlDetermineDosPathNameType_U(lpNamedPipeName);
|
Type = RtlDetermineDosPathNameType_U(lpNamedPipeName);
|
||||||
|
|
||||||
/* Check if this was a device path, ie : "\\.\pipe\name" */
|
/* Check if this was a device path, ie : "\\.\pipe\name" */
|
||||||
if (Type == DEVICE_PATH)
|
if (Type == RtlPathTypeLocalDevice)
|
||||||
{
|
{
|
||||||
/* Make sure it's a valid prefix */
|
/* Make sure it's a valid prefix */
|
||||||
RtlInitUnicodeString(&PipePrefix, L"\\\\.\\pipe\\");
|
RtlInitUnicodeString(&PipePrefix, L"\\\\.\\pipe\\");
|
||||||
|
@ -317,7 +317,7 @@ WaitNamedPipeW(LPCWSTR lpNamedPipeName,
|
||||||
DPRINT("NewName: %wZ\n", &NewName);
|
DPRINT("NewName: %wZ\n", &NewName);
|
||||||
RtlInitUnicodeString(&DevicePath, L"\\DosDevices\\pipe\\");
|
RtlInitUnicodeString(&DevicePath, L"\\DosDevices\\pipe\\");
|
||||||
}
|
}
|
||||||
else if (Type == UNC_PATH)
|
else if (Type == RtlPathTypeRootLocalDevice)
|
||||||
{
|
{
|
||||||
/* The path is \\server\\pipe\name; find the pipename itself */
|
/* The path is \\server\\pipe\name; find the pipename itself */
|
||||||
p = &NewName.Buffer[2];
|
p = &NewName.Buffer[2];
|
||||||
|
|
Loading…
Reference in a new issue