mirror of https://github.com/tongzx/nt5src
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.
55 lines
2.0 KiB
55 lines
2.0 KiB
// Copyright (c) 1998-1999 Microsoft Corporation
|
|
/*************************************************************************
|
|
*
|
|
* TSCON.H
|
|
* This module contains typedefs and defines for the TSCON
|
|
* WinStation utility.
|
|
*
|
|
*************************************************************************/
|
|
|
|
/*
|
|
* Token string definitions.
|
|
*/
|
|
#define TOKEN_SOURCE L""
|
|
#define TOKEN_DESTINATION L"/dest"
|
|
#define TOKEN_PASSWORD L"/password"
|
|
#define TOKEN_VERBOSE L"/v"
|
|
#define TOKEN_HELP L"/?"
|
|
#define TOKEN_SERVER L"/server"
|
|
|
|
|
|
/*
|
|
* General application definitions.
|
|
*/
|
|
#define SUCCESS 0
|
|
#define FAILURE 1
|
|
|
|
#define MAX_IDS_LEN 256 // maximum length that the input parm can be
|
|
|
|
|
|
/*
|
|
* Resource string IDs
|
|
*/
|
|
#define IDS_ERROR_MALLOC 100
|
|
#define IDS_ERROR_INVALID_PARAMETERS 101
|
|
#define IDS_ERROR_WINSTATION_NOT_FOUND 102
|
|
#define IDS_ERROR_INVALID_LOGONID 103
|
|
#define IDS_ERROR_LOGONID_NOT_FOUND 104
|
|
#define IDS_ERROR_WINSTATION_CONNECT 105
|
|
#define IDS_ERROR_WINSTATION_CONNECT_CURRENT 106
|
|
#define IDS_ERROR_CANT_GET_CURRENT_WINSTATION 107
|
|
#define IDS_ERROR_SERVER 108
|
|
#define IDS_USAGE_1 121
|
|
#define IDS_USAGE_2 122
|
|
#define IDS_USAGE_3 123
|
|
#define IDS_USAGE_4 124
|
|
#define IDS_USAGE_5 125
|
|
#define IDS_USAGE_6 126
|
|
#define IDS_USAGE_7 127
|
|
#define IDS_USAGE_8 128
|
|
#define IDS_USAGE_9 129
|
|
#define IDS_ERROR_NOT_TS 130
|
|
|
|
|
|
#define IDS_WINSTATION_CONNECT 200
|
|
|