Author: tkreuzer
Date: Sat Apr 16 13:14:31 2016
New Revision: 71170
URL:
http://svn.reactos.org/svn/reactos?rev=71170&view=rev
Log:
[XDK/DDK] Fix prototype of FsRtlRegisterUncProvider, based on latest WDK
Modified:
trunk/reactos/include/xdk/fsrtlfuncs.h
trunk/reactos/ntoskrnl/fsrtl/unc.c
Modified: trunk/reactos/include/xdk/fsrtlfuncs.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/xdk/fsrtlfuncs.h?r…
==============================================================================
--- trunk/reactos/include/xdk/fsrtlfuncs.h [iso-8859-1] (original)
+++ trunk/reactos/include/xdk/fsrtlfuncs.h [iso-8859-1] Sat Apr 16 13:14:31 2016
@@ -833,7 +833,7 @@
NTAPI
FsRtlRegisterUncProvider(
_Out_ PHANDLE MupHandle,
- _In_ PUNICODE_STRING RedirectorDeviceName,
+ _In_ PCUNICODE_STRING RedirectorDeviceName,
_In_ BOOLEAN MailslotsSupported);
_IRQL_requires_max_(PASSIVE_LEVEL)
Modified: trunk/reactos/ntoskrnl/fsrtl/unc.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/fsrtl/unc.c?rev=7…
==============================================================================
--- trunk/reactos/ntoskrnl/fsrtl/unc.c [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/fsrtl/unc.c [iso-8859-1] Sat Apr 16 13:14:31 2016
@@ -114,7 +114,7 @@
}
VOID
-FsRtlpSetSymbolicLink(IN PUNICODE_STRING DeviceName)
+FsRtlpSetSymbolicLink(IN PCUNICODE_STRING DeviceName)
{
NTSTATUS Status;
UNICODE_STRING UncDevice;
@@ -126,14 +126,14 @@
IoDeleteSymbolicLink(&UncDevice);
if (DeviceName != NULL)
{
- Status = IoCreateSymbolicLink(&UncDevice, DeviceName);
+ Status = IoCreateSymbolicLink(&UncDevice, (PUNICODE_STRING)DeviceName);
ASSERT(NT_SUCCESS(Status));
}
}
NTSTATUS
FsRtlpRegisterProviderWithMUP(IN HANDLE MupHandle,
- IN PUNICODE_STRING RedirectorDeviceName,
+ IN PCUNICODE_STRING RedirectorDeviceName,
IN BOOLEAN MailslotsSupported)
{
NTSTATUS Status;
@@ -278,7 +278,7 @@
NTSTATUS
NTAPI
FsRtlRegisterUncProvider(OUT PHANDLE Handle,
- IN PUNICODE_STRING RedirectorDeviceName,
+ IN PCUNICODE_STRING RedirectorDeviceName,
IN BOOLEAN MailslotsSupported)
{
NTSTATUS Status;