mirror of
https://github.com/mirror/processhacker
synced 2026-06-08 16:03:24 +00:00
e1d1abaca0
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@4621 21ef857c-d57f-4fe0-8362-d861dc6d29cd
34 lines
1.2 KiB
C
34 lines
1.2 KiB
C
/*
|
|
* ReactOS Task Manager
|
|
*
|
|
* about.c
|
|
*
|
|
* Copyright (C) 1999 - 2001 Brian Palmer <brianp@reactos.org>
|
|
*
|
|
* This library is free software; you can redistribute it and/or
|
|
* modify it under the terms of the GNU Lesser General Public
|
|
* License as published by the Free Software Foundation; either
|
|
* version 2.1 of the License, or (at your option) any later version.
|
|
*
|
|
* This library is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
* Lesser General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU Lesser General Public
|
|
* License along with this library; if not, write to the Free Software
|
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
|
*/
|
|
|
|
#include "taskmgr.h"
|
|
|
|
void OnAbout(void)
|
|
{
|
|
TCHAR szTaskmgr[128];
|
|
HICON taskmgrIcon = LoadIcon(hInst, MAKEINTRESOURCE(IDI_TASKMANAGER));
|
|
|
|
LoadString(hInst, IDS_APP_TITLE, szTaskmgr, NUMBER_OF_ITEMS_IN_ARRAY(szTaskmgr));
|
|
ShellAbout(hMainWnd, szTaskmgr, 0, taskmgrIcon);
|
|
DeleteObject(taskmgrIcon);
|
|
}
|