45 lines
1.7 KiB
C
45 lines
1.7 KiB
C
|
//Copyright (c) 1998 - 1999 Microsoft Corporation
|
||
|
/***********************************************************************
|
||
|
*
|
||
|
* TSKILL.H
|
||
|
* This module contains typedefs and defines required for
|
||
|
* the TSKILL utility.
|
||
|
*
|
||
|
*
|
||
|
*************************************************************************/
|
||
|
|
||
|
/*
|
||
|
* General application definitions.
|
||
|
*/
|
||
|
#define SUCCESS 0
|
||
|
#define FAILURE 1
|
||
|
|
||
|
#define MAX_IDS_LEN 256 // maximum length that the input parm can be
|
||
|
#define MAXNAME 18
|
||
|
|
||
|
/*
|
||
|
* Resource string IDs
|
||
|
*/
|
||
|
#define IDS_ERROR_MALLOC 100
|
||
|
#define IDS_ERROR_INVALID_PARAMETERS 101
|
||
|
#define IDS_ERROR_BAD_PID_NUMBER 102
|
||
|
#define IDS_ERROR_KILL_PROCESS_FAILED 103
|
||
|
#define IDS_ERROR_SERVER 104
|
||
|
#define IDS_ERROR_BAD_PROCESS 201
|
||
|
|
||
|
#define IDS_KILL_PROCESS 200
|
||
|
#define IDS_ERROR_ID_ABSENT 202
|
||
|
#define IDS_ERROR_ENUM_PROCESS 203
|
||
|
#define IDS_USAGE1 204
|
||
|
#define IDS_USAGE2 205
|
||
|
#define IDS_USAGE3 206
|
||
|
#define IDS_USAGE4 207
|
||
|
#define IDS_USAGE5 208
|
||
|
#define IDS_USAGE6 209
|
||
|
#define IDS_USAGE7 210
|
||
|
#define IDS_USAGE8 211
|
||
|
#define IDS_USAGE9 212
|
||
|
#define IDS_USAGEA 213
|
||
|
#define IDS_ERROR_NOT_TS 214
|
||
|
|