xref: /reactos/base/applications/taskmgr/about.c (revision e5993f13)
1 /*
2  * PROJECT:     ReactOS Task Manager
3  * LICENSE:     LGPL-2.1-or-later (https://spdx.org/licenses/LGPL-2.1-or-later)
4  * PURPOSE:     About Box.
5  * COPYRIGHT:   Copyright 1999-2001 Brian Palmer <brianp@reactos.org>
6  */
7 
8 #include "precomp.h"
9 
10 void OnAbout(void)
11 {
12     WCHAR szTaskmgr[128];
13     HICON taskmgrIcon = LoadIcon(hInst, MAKEINTRESOURCE(IDI_TASKMANAGER));
14 
15     LoadStringW(hInst, IDS_APP_TITLE, szTaskmgr, sizeof(szTaskmgr)/sizeof(WCHAR));
16     ShellAboutW(hMainWnd, szTaskmgr, NULL, taskmgrIcon);
17     DeleteObject(taskmgrIcon);
18 }
19