Author: cwittich Date: Sat Jan 31 07:21:11 2009 New Revision: 39231
URL: http://svn.reactos.org/svn/reactos?rev=39231&view=rev Log: add lodctr
Added: trunk/reactos/base/applications/cmdutils/lodctr/ (with props) trunk/reactos/base/applications/cmdutils/lodctr/lodctr.rbuild (with props) trunk/reactos/base/applications/cmdutils/lodctr/lodctr_main.c (with props)
Propchange: trunk/reactos/base/applications/cmdutils/lodctr/ ------------------------------------------------------------------------------ --- bugtraq:logregex (added) +++ bugtraq:logregex Sat Jan 31 07:21:11 2009 @@ -1,0 +1,2 @@ +([Ii]ssue|[Bb]ug)s? #?(\d+)(,? ?#?(\d+))*(,? ?(and |or )?#?(\d+))? +(\d+)
Propchange: trunk/reactos/base/applications/cmdutils/lodctr/ ------------------------------------------------------------------------------ bugtraq:message = See issue #%BUGID% for more details.
Propchange: trunk/reactos/base/applications/cmdutils/lodctr/ ------------------------------------------------------------------------------ bugtraq:url = http://www.reactos.org/bugzilla/show_bug.cgi?id=%BUGID%
Propchange: trunk/reactos/base/applications/cmdutils/lodctr/ ------------------------------------------------------------------------------ tsvn:logminsize = 10
Added: trunk/reactos/base/applications/cmdutils/lodctr/lodctr.rbuild URL: http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/cmdutils/... ============================================================================== --- trunk/reactos/base/applications/cmdutils/lodctr/lodctr.rbuild (added) +++ trunk/reactos/base/applications/cmdutils/lodctr/lodctr.rbuild [iso-8859-1] Sat Jan 31 07:21:11 2009 @@ -1,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>
Propchange: trunk/reactos/base/applications/cmdutils/lodctr/lodctr.rbuild ------------------------------------------------------------------------------ svn:eol-style = native
Added: trunk/reactos/base/applications/cmdutils/lodctr/lodctr_main.c URL: http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/cmdutils/... ============================================================================== --- trunk/reactos/base/applications/cmdutils/lodctr/lodctr_main.c (added) +++ trunk/reactos/base/applications/cmdutils/lodctr/lodctr_main.c [iso-8859-1] Sat Jan 31 07:21:11 2009 @@ -1,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); +}
Propchange: trunk/reactos/base/applications/cmdutils/lodctr/lodctr_main.c ------------------------------------------------------------------------------ svn:eol-style = native