add lodctr

svn path=/trunk/; revision=39231
This commit is contained in:
Christoph von Wittich 2009-01-31 13:21:11 +00:00
parent 976a57af06
commit da4305f0d2
2 changed files with 33 additions and 0 deletions

View file

@ -0,0 +1,8 @@
<?xml version="1.0"?>
<!DOCTYPE module SYSTEM "../../../../tools/rbuild/project.dtd">
<module name="lodctr" type="win32cui" installbase="system32" installname="lodctr.exe" unicode="yes">
<library>kernel32</library>
<library>loadperf</library>
<library>wine</library>
<file>lodctr_main.c</file>
</module>

View file

@ -0,0 +1,25 @@
/*
* Copyright (C) 2009 Andrey Turkin
*
* 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 St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include <windows.h>
#include <loadperf.h>
int wmain(int argc, WCHAR *argv[])
{
return LoadPerfCounterTextStringsW(GetCommandLineW(), FALSE);
}