Files
mirror-processhacker/misc/taskmgr/about.c
T
dmex e1d1abaca0 misc/taskmgr: fixed 20 or so string buffer calculations (thanks ThFabba)
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@4621 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2011-09-04 16:49:14 +00:00

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);
}