mirror of
https://github.com/reactos/reactos.git
synced 2025-02-25 01:39:30 +00:00
add lodctr
svn path=/trunk/; revision=39231
This commit is contained in:
parent
976a57af06
commit
da4305f0d2
2 changed files with 33 additions and 0 deletions
8
reactos/base/applications/cmdutils/lodctr/lodctr.rbuild
Normal file
8
reactos/base/applications/cmdutils/lodctr/lodctr.rbuild
Normal 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>
|
25
reactos/base/applications/cmdutils/lodctr/lodctr_main.c
Normal file
25
reactos/base/applications/cmdutils/lodctr/lodctr_main.c
Normal 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);
|
||||||
|
}
|
Loading…
Reference in a new issue