mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 10:04:49 +00:00
[TASKMGR] Follow-up of 'Refactor trayicon.c' (99fb812
)
This commit is contained in:
parent
99fb812be4
commit
ec93c2340d
1 changed files with 6 additions and 2 deletions
|
@ -117,10 +117,12 @@ done:
|
|||
BOOL TrayIcon_ShellAddTrayIcon(void)
|
||||
{
|
||||
NOTIFYICONDATAW nid;
|
||||
HICON hIcon = TrayIcon_GetProcessorUsageIcon();
|
||||
HICON hIcon;
|
||||
BOOL bRetVal;
|
||||
WCHAR szMsg[64];
|
||||
|
||||
hIcon = TrayIcon_GetProcessorUsageIcon();
|
||||
|
||||
ZeroMemory(&nid, sizeof(nid));
|
||||
nid.cbSize = sizeof(NOTIFYICONDATAW);
|
||||
nid.hWnd = hMainWnd;
|
||||
|
@ -157,10 +159,12 @@ BOOL TrayIcon_ShellRemoveTrayIcon(void)
|
|||
BOOL TrayIcon_ShellUpdateTrayIcon(void)
|
||||
{
|
||||
NOTIFYICONDATAW nid;
|
||||
HICON hIcon = TrayIcon_GetProcessorUsageIcon();
|
||||
HICON hIcon;
|
||||
BOOL bRetVal;
|
||||
WCHAR szTemp[64];
|
||||
|
||||
hIcon = TrayIcon_GetProcessorUsageIcon();
|
||||
|
||||
ZeroMemory(&nid, sizeof(nid));
|
||||
nid.cbSize = sizeof(NOTIFYICONDATAW);
|
||||
nid.hWnd = hMainWnd;
|
||||
|
|
Loading…
Reference in a new issue