Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

61 lines
2.2 KiB

//Copyright (c) 1998 - 1999 Microsoft Corporation
#ifdef NOMINMAX
#undef NOMINMAX
#endif
#include <winver.h>
#include <ntverp.h>
#include "qprocess.h"
#define VER_FILETYPE VFT_APP
#define VER_FILESUBTYPE VFT2_UNKNOWN
#define VER_FILEDESCRIPTION_STR "Query Process Utility"
#define VER_INTERNALNAME_STR "qprocess"
#define VER_ORIGINALFILENAME_STR "qprocess.exe"
#include <verall.h>
#include "common.ver"
STRINGTABLE
BEGIN
IDS_ERROR_MALLOC
L"Error allocating memory\n"
IDS_ERROR_INVALID_PARAMETERS
L"Invalid parameter(s)\n"
IDS_ERROR_QUERY_INFORMATION
L"Error querying System Information\n"
IDS_ERROR_PROCESS_NOT_FOUND
L"No Process exists for %s\n"
IDS_ERROR_ENUMERATE_PROCESSES
L"Error enumerating processes\n"
IDS_ERROR_SERVER
L"Error opening Terminal server %s\n"
IDS_HELP_USAGE1
L"Displays information about processes.\n\n"
IDS_HELP_USAGE2
L"QUERY PROCESS [* | processid | username | sessionname | /ID:nn | programname]\n"
IDS_HELP_USAGE3
L" [/SERVER:servername]\n\n"
IDS_HELP_USAGE40
L" * Display all visible processes.\n"
IDS_HELP_USAGE4
L" processid Display process specified by processid.\n"
IDS_HELP_USAGE5
L" username Display all processes belonging to username.\n"
IDS_HELP_USAGE6
L" sessionname Display all processes running at sessionname.\n"
IDS_HELP_USAGE7
L" /ID:nn Display all processes running at session nn.\n"
IDS_HELP_USAGE8
L" programname Display all processes associated with programname.\n"
IDS_HELP_USAGE9
L" /SERVER:servername The Terminal server to be queried.\n"
// IDS_HEADER
// L" USERNAME SESSIONNAME ID STATE PID IMAGE\n"
IDS_HEADER
L" USERNAME SESSIONNAME ID PID IMAGE\n"
IDS_ERROR_NOT_TS
L"This utility needs Terminal Services to be running.\n"
END