mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-30 04:13:33 +00:00
[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:
@@ -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,
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user