Skip to content

Commit 7daa2cf

Browse files
committed
Add username to some comments
1 parent 5109ec3 commit 7daa2cf

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

ProcessHacker/procprv.c

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1125,7 +1125,7 @@ VOID PhpFillProcessItem(
11251125
// Process information
11261126
{
11271127
// If we're dealing with System (PID 4), we need to get the
1128-
// kernel file name. Otherwise, get the image file name.
1128+
// kernel file name. Otherwise, get the image file name. (wj32)
11291129

11301130
if (ProcessItem->ProcessId != SYSTEM_PROCESS_ID)
11311131
{
@@ -1201,7 +1201,7 @@ VOID PhpFillProcessItem(
12011201
else
12021202
{
12031203
if (ProcessItem->ProcessId == SYSTEM_IDLE_PROCESS_ID ||
1204-
ProcessItem->ProcessId == SYSTEM_PROCESS_ID) // System token can't be opened on XP
1204+
ProcessItem->ProcessId == SYSTEM_PROCESS_ID) // System token can't be opened on XP (wj32)
12051205
{
12061206
ProcessItem->Sid = PhAllocateCopy(&PhSeLocalSystemSid, RtlLengthSid(&PhSeLocalSystemSid));
12071207
}
@@ -1229,15 +1229,15 @@ VOID PhpFillProcessItem(
12291229
}
12301230
else
12311231
{
1232-
// HACK: 'emulate' the PS_PROTECTION info for older OSes.
1232+
// HACK: 'emulate' the PS_PROTECTION info for older OSes. (ge0rdi)
12331233
if (ProcessItem->IsProtectedProcess)
12341234
ProcessItem->Protection.Type = PsProtectedTypeProtected;
12351235
}
12361236
}
12371237
else
12381238
{
12391239
// Signalize that we weren't able to get protection info with a special value.
1240-
// Note: We use this value to determine if we should show protection information.
1240+
// Note: We use this value to determine if we should show protection information. (ge0rdi)
12411241
ProcessItem->Protection.Level = UCHAR_MAX;
12421242
}
12431243

@@ -1253,7 +1253,7 @@ VOID PhpFillProcessItem(
12531253
}
12541254

12551255
// On Windows 8.1 and above, processes without threads are reflected processes
1256-
// which will not terminate if we have a handle open.
1256+
// which will not terminate if we have a handle open. (wj32)
12571257
if (Process->NumberOfThreads == 0 && ProcessItem->QueryHandle)
12581258
{
12591259
NtClose(ProcessItem->QueryHandle);

0 commit comments

Comments
 (0)