NetAdapters: Fix typo

This commit is contained in:
dmex
2016-02-16 01:10:49 +11:00
parent 86ab71ae40
commit 3dde127ba4
3 changed files with 8 additions and 5 deletions
+2 -2
View File
@@ -36,7 +36,7 @@ static VOID NTAPI ProcessesUpdatedHandler(
if (context->WindowHandle)
{
PostMessage(context->WindowHandle, MSG_UPDATE, 0, 0);
PostMessage(context->WindowHandle, UPDATE_MSG, 0, 0);
}
}
@@ -683,7 +683,7 @@ static INT_PTR CALLBACK AdapterDetailsDlgProc(
SetForegroundWindow(hwndDlg);
}
break;
case MSG_UPDATE:
case UPDATE_MSG:
{
NetAdapterUpdateDetails(context);
}
+5 -2
View File
@@ -30,9 +30,12 @@ static VOID NTAPI ProcessesUpdatedHandler(
{
PDV_NETADAPTER_SYSINFO_CONTEXT context = Context;
if (!context->Enabled)
return;
if (context->WindowHandle)
{
PostMessage(context->WindowHandle, MSG_UPDATE, 0, 0);
PostMessage(context->WindowHandle, UPDATE_MSG, 0, 0);
}
}
@@ -385,7 +388,7 @@ static INT_PTR CALLBACK NetAdapterDialogProc(
}
}
break;
case MSG_UPDATE:
case UPDATE_MSG:
{
if (context->Enabled)
{
+1 -1
View File
@@ -50,7 +50,7 @@
#include "resource.h"
#define WM_SHOWDIALOG (WM_APP + 1)
#define MSG_UPDATE (WM_APP + 2)
#define UPDATE_MSG (WM_APP + 2)
extern PPH_OBJECT_TYPE NetAdapterEntryType;
extern PPH_LIST NetworkAdaptersList;