[SMSS] Improve comments/code/some DPRINTs. Reorganize smss.h header.

This commit is contained in:
Hermès Bélusca-Maïto 2022-11-12 01:57:56 +01:00
parent 06a0451415
commit f43ce46566
No known key found for this signature in database
GPG key ID: 3B2539C65E7B93D0
8 changed files with 227 additions and 213 deletions

View file

@ -280,9 +280,7 @@ SmExecPgm(
#endif
/* Set the message data */
RtlCopyMemory(&ExecPgm->ProcessInformation,
ProcessInformation,
sizeof(ExecPgm->ProcessInformation));
ExecPgm->ProcessInformation = *ProcessInformation;
ExecPgm->DebugFlag = DebugFlag;
/* Send the message and wait for a reply */
@ -420,7 +418,7 @@ SmStartCsr(
SmApiMsg.ApiNumber = SmpStartCsrApi;
Status = SmSendMsgToSm(SmApiPort, &SmApiMsg);
/* Give back informations to caller */
/* Give back information to caller */
*pMuSessionId = StartCsr->MuSessionId;
*pWindowsSubSysProcessId = StartCsr->WindowsSubSysProcessId;
*pInitialCommandProcessId = StartCsr->SmpInitialCommandProcessId;