Author: ion
Date: Thu Sep 12 08:02:05 2013
New Revision: 60057
URL:
http://svn.reactos.org/svn/reactos?rev=60057&view=rev
Log:
[SMLIB]: Use the right API port name. Now Windows's SMSS works fine in ROS.
Modified:
trunk/reactos/base/system/smss/sminit.c
trunk/reactos/lib/smlib/smclient.c
Modified: trunk/reactos/base/system/smss/sminit.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/system/smss/sminit.c?…
==============================================================================
--- trunk/reactos/base/system/smss/sminit.c [iso-8859-1] (original)
+++ trunk/reactos/base/system/smss/sminit.c [iso-8859-1] Thu Sep 12 08:02:05 2013
@@ -2429,7 +2429,7 @@
RtlInitUnicodeString(&Os2Name, L"OS2");
/* Create the SM API Port */
- RtlInitUnicodeString(&PortName, L"\\SmApiPort2");
+ RtlInitUnicodeString(&PortName, L"\\SmApiPort");
InitializeObjectAttributes(&ObjectAttributes, &PortName, 0, NULL, NULL);
Status = NtCreatePort(&PortHandle,
&ObjectAttributes,
Modified: trunk/reactos/lib/smlib/smclient.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/smlib/smclient.c?rev=6…
==============================================================================
--- trunk/reactos/lib/smlib/smclient.c [iso-8859-1] (original)
+++ trunk/reactos/lib/smlib/smclient.c [iso-8859-1] Thu Sep 12 08:02:05 2013
@@ -81,7 +81,7 @@
SecurityQos.EffectiveOnly = TRUE;
/* Set the SM API port name */
- RtlInitUnicodeString(&DestinationString, L"\\SmApiPort2");
+ RtlInitUnicodeString(&DestinationString, L"\\SmApiPort");
/* Check if this is a client connecting to SMSS, or SMSS to itself */
if (SbApiPortName)