mirror of
https://github.com/reactos/reactos.git
synced 2025-02-23 17:05:46 +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:
parent
7e18d05872
commit
18bb4e2eaf
2 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue