mirror of
https://github.com/reactos/reactos.git
synced 2025-02-24 01:15:09 +00:00
[SMLIB]: Forgot to commit this directory.
svn path=/trunk/; revision=55479
This commit is contained in:
parent
dfb761830d
commit
7c4171a370
1 changed files with 3 additions and 3 deletions
|
@ -38,7 +38,7 @@ SmExecPgm(IN HANDLE SmApiPort,
|
||||||
SmApiMsg.h.u1.s1.TotalLength = sizeof(SmApiMsg);
|
SmApiMsg.h.u1.s1.TotalLength = sizeof(SmApiMsg);
|
||||||
|
|
||||||
/* Initalize this specific API's parameters */
|
/* Initalize this specific API's parameters */
|
||||||
SmApiMsg.ApiNumber = SmpExecPgm;
|
SmApiMsg.ApiNumber = SmExecPgmApi;
|
||||||
RtlCopyMemory(&SmApiMsg.u.ExecPgm.ProcessInformation,
|
RtlCopyMemory(&SmApiMsg.u.ExecPgm.ProcessInformation,
|
||||||
ProcessInformation,
|
ProcessInformation,
|
||||||
sizeof(SmApiMsg.u.ExecPgm.ProcessInformation));
|
sizeof(SmApiMsg.u.ExecPgm.ProcessInformation));
|
||||||
|
@ -48,7 +48,7 @@ SmExecPgm(IN HANDLE SmApiPort,
|
||||||
Status = NtRequestWaitReplyPort(SmApiPort, &SmApiMsg.h, &SmApiMsg.h);
|
Status = NtRequestWaitReplyPort(SmApiPort, &SmApiMsg.h, &SmApiMsg.h);
|
||||||
if (!NT_SUCCESS(Status))
|
if (!NT_SUCCESS(Status))
|
||||||
{
|
{
|
||||||
DbgPrint("SmExecPgm: NtRequestWaitReply Failed %lx\n", Status);
|
DPRINT1("SmExecPgm: NtRequestWaitReply Failed %lx\n", Status);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
@ -81,7 +81,7 @@ SmConnectToSm(IN PUNICODE_STRING SbApiPortName,
|
||||||
SecurityQos.EffectiveOnly = TRUE;
|
SecurityQos.EffectiveOnly = TRUE;
|
||||||
|
|
||||||
/* Set the SM API port name */
|
/* Set the SM API port name */
|
||||||
RtlInitUnicodeString(&DestinationString, L"\\SmApiPort");
|
RtlInitUnicodeString(&DestinationString, L"\\SmApiPort2");
|
||||||
|
|
||||||
/* Check if this is a client connecting to SMSS, or SMSS to itself */
|
/* Check if this is a client connecting to SMSS, or SMSS to itself */
|
||||||
if (SbApiPortName)
|
if (SbApiPortName)
|
||||||
|
|
Loading…
Reference in a new issue