NetAdapters: Fix typo
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
@@ -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)
|
||||
{
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user