Go to the source code of this file.
◆ CommandAlias()
Definition at line 174 of file alias.c.
175{
177
179 {
181 return 0;
182 }
183
185
187 {
189 return 0;
190 }
191
193
194
196 {
198 return 1;
199 }
200
201
203
205
206 if (
ptr[0] ==
_T(
'\0'))
208 else
210
211 return 0;
212}
static VOID PrintAlias(VOID)
static VOID partstrlwr(LPTSTR str)
VOID ConOutResPaging(BOOL StartPaging, UINT resID)
#define STRING_ALIAS_HELP
◆ ExpandAlias()
Definition at line 89 of file alias.c.
90{
95
97 if (!tmp)
98 return;
99
100
102 if (position == tmp)
103 {
105 return;
106 }
107 *position++ =
_T(
'\0');
109
112 {
113 WARN(
"Cannot allocate memory for alias buffer!\n");
115 return;
116 }
117
119 {
122 return;
123 }
124
128 {
130 {
132 if (
in[1] >=
_T(
'1') &&
in[1] <=
_T(
'9'))
133 {
134
137 {
140 }
142 {
143 if (
out >= &
cmd[maxlen - 1])
144 break;
146 }
148 continue;
149 }
150 else if (
in[1] ==
_T(
'*'))
151 {
152
154 {
155 if (
out >= &
cmd[maxlen - 1])
156 break;
158 }
160 continue;
161 }
162 }
163 if (
out >= &
cmd[maxlen - 1])
164 break;
166 }
169
172}
Referenced by ReadCommand().
◆ partstrlwr()
◆ PrintAlias()
Definition at line 54 of file alias.c.
55{
59
62 return;
63
64
67 {
68 WARN(
"Cannot allocate memory for ptr!\n");
69 return;
70 }
71
73
75
77 {
78 while (*Aliases != '\0')
79 {
81 Aliases = Aliases +
lstrlen(Aliases);
82 Aliases++;
83 }
84 }
86}
#define ConOutPrintf(szStr,...)
#define GetConsoleAliases
#define GetConsoleAliasesLength
Referenced by CommandAlias().