Skip to content

Commit

Permalink
Update local sync
Browse files Browse the repository at this point in the history
  • Loading branch information
dmex committed Oct 15, 2019
1 parent aa7e761 commit 9c60e7a
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 12 deletions.
3 changes: 0 additions & 3 deletions ProcessHacker/thrdlist.c
Original file line number Diff line number Diff line change
Expand Up @@ -989,9 +989,6 @@ BOOLEAN NTAPI PhpThreadTreeNewCallback(
if (GetKeyState(VK_CONTROL) < 0)
TreeNew_SelectRange(context->TreeNewHandle, 0, -1);
break;
case 'K':
SetFocus(GetDlgItem(context->ParentWindowHandle, IDC_SEARCH));
break;
case VK_DELETE:
SendMessage(context->ParentWindowHandle, WM_COMMAND, ID_THREAD_TERMINATE, 0);
break;
Expand Down
2 changes: 1 addition & 1 deletion plugins/DotNetTools/counters.c
Original file line number Diff line number Diff line change
Expand Up @@ -533,7 +533,7 @@ BOOLEAN OpenDotNetPublicControlBlock_V4(
if (!NT_SUCCESS(RtlAddSIDToBoundaryDescriptor(&boundaryDescriptorHandle, everyoneSIDHandle)))
goto CleanupExit;

if (WINDOWS_HAS_IMMERSIVE && IsImmersive)
if (IsImmersive && WindowsVersion >= WINDOWS_8)
{
if (NT_SUCCESS(PhOpenProcessToken(ProcessHandle, TOKEN_QUERY, &tokenHandle)))
{
Expand Down
2 changes: 1 addition & 1 deletion plugins/NetworkTools/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -915,7 +915,7 @@ LOGICAL DllMain(
{ ScalableIntegerPairSettingType, SETTING_NAME_TRACERT_WINDOW_SIZE, L"@96|850,490" },
{ StringSettingType, SETTING_NAME_TRACERT_TREE_LIST_COLUMNS, L"" },
{ IntegerPairSettingType, SETTING_NAME_TRACERT_TREE_LIST_SORT, L"0,1" },
{ IntegerSettingType, SETTING_NAME_TRACERT_MAX_HOPS, L"30" },
{ IntegerSettingType, SETTING_NAME_TRACERT_MAX_HOPS, L"14" },
{ IntegerPairSettingType, SETTING_NAME_WHOIS_WINDOW_POSITION, L"0,0" },
{ ScalableIntegerPairSettingType, SETTING_NAME_WHOIS_WINDOW_SIZE, L"@96|600,365" },
{ StringSettingType, SETTING_NAME_DB_LOCATION, L"%APPDATA%\\Process Hacker\\GeoLite2-Country.mmdb" },
Expand Down
2 changes: 1 addition & 1 deletion plugins/NetworkTools/nettools.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Main header
*
* Copyright (C) 2010-2013 wj32
* Copyright (C) 2012-2017 dmex
* Copyright (C) 2012-2019 dmex
*
* This file is part of Process Hacker.
*
Expand Down
4 changes: 3 additions & 1 deletion plugins/NetworkTools/tracert.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* Process Hacker Network Tools -
* Tracert header
*
* Copyright (C) 2015-2017 dmex
* Copyright (C) 2015-2019 dmex
*
* This file is part of Process Hacker.
*
Expand Down Expand Up @@ -49,8 +49,10 @@ typedef struct _TRACERT_ROOT_NODE

ULONG UniqueId;
ULONG TTL;

ULONG PingStatus[DEFAULT_MAXIMUM_PINGS];
ULONG PingList[DEFAULT_MAXIMUM_PINGS];

PPH_STRING PingString[DEFAULT_MAXIMUM_PINGS];
PPH_STRING PingMessage[DEFAULT_MAXIMUM_PINGS];

Expand Down
4 changes: 1 addition & 3 deletions plugins/OnlineChecks/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Main Program
*
* Copyright (C) 2010-2013 wj32
* Copyright (C) 2012-2018 dmex
* Copyright (C) 2012-2019 dmex
*
* This file is part of Process Hacker.
*
Expand Down Expand Up @@ -207,8 +207,6 @@ VOID NTAPI MenuItemCallback(
);
ProcessHacker_Destroy(PhMainWndHandle);
}

DestroyIcon(config.hMainIcon);
}
}
break;
Expand Down
4 changes: 2 additions & 2 deletions plugins/OnlineChecks/virustotal.c
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ VOID VirusTotalBuildJsonArray(
&fileHandle,
Entry->FileName->Buffer,
FILE_GENERIC_READ,
0,
FILE_ATTRIBUTE_NORMAL,
FILE_SHARE_READ,
FILE_OPEN,
FILE_NON_DIRECTORY_FILE | FILE_SYNCHRONOUS_IO_NONALERT // FILE_OPEN_FOR_BACKUP_INTENT
Expand All @@ -270,7 +270,7 @@ VOID VirusTotalBuildJsonArray(
PVOID entry;

Entry->FileHash = hashString;
Entry->FileHashAnsi = PhConvertUtf16ToMultiByte(Entry->FileHash->Buffer);
Entry->FileHashAnsi = PhConvertUtf16ToMultiByte(hashString->Buffer);

entry = PhCreateJsonObject();
PhAddJsonObject(entry, "autostart_location", "");
Expand Down

0 comments on commit 9c60e7a

Please sign in to comment.