[SMLIB]: Use the right API port name. Now Windows's SMSS works fine in ROS.

svn path=/trunk/; revision=60057
This commit is contained in:
Alex Ionescu 2013-09-12 08:02:05 +00:00
parent 7e18d05872
commit 18bb4e2eaf
2 changed files with 2 additions and 2 deletions

View file

@ -2429,7 +2429,7 @@ SmpInit(IN PUNICODE_STRING InitialCommand,
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,

View file

@ -81,7 +81,7 @@ SmConnectToSm(IN PUNICODE_STRING SbApiPortName,
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)