mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-26 19:33:31 +00:00
[NETSHELL] Don't use hardcoded values.
This commit is contained in:
@@ -232,7 +232,7 @@ UpdateLanStatus(HWND hwndDlg, LANSTATUSUI_CONTEXT * pContext)
|
||||
nid.cbSize = sizeof(nid);
|
||||
nid.uID = pContext->uID;
|
||||
nid.hWnd = pContext->hwndStatusDlg;
|
||||
nid.uVersion = 3;
|
||||
nid.uVersion = NOTIFYICON_VERSION;
|
||||
|
||||
if (pContext->pNet->GetProperties(&pProperties) == S_OK)
|
||||
{
|
||||
@@ -1041,7 +1041,7 @@ CLanStatus::InitializeNetTaskbarNotifications()
|
||||
nid.cbSize = sizeof(nid);
|
||||
nid.uID = Index++;
|
||||
nid.uFlags = NIF_MESSAGE;
|
||||
nid.uVersion = 3;
|
||||
nid.uVersion = NOTIFYICON_VERSION;
|
||||
nid.uCallbackMessage = WM_SHOWSTATUSDLG;
|
||||
nid.hWnd = hwndDlg;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user