mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-30 19:26:05 +00:00
Added error_parameter_format(), patch by Konstantinos Paliouras <[email protected]>
svn path=/trunk/; revision=13876
This commit is contained in:
@@ -228,6 +228,7 @@ VOID error_sfile_not_found (LPTSTR);
|
||||
VOID error_file_not_found (VOID);
|
||||
VOID error_path_not_found (VOID);
|
||||
VOID error_too_many_parameters (LPTSTR);
|
||||
VOID error_parameter_format(TCHAR);
|
||||
VOID error_invalid_switch (TCHAR);
|
||||
VOID error_invalid_parameter_format (LPTSTR);
|
||||
VOID error_out_of_memory (VOID);
|
||||
|
||||
@@ -20,6 +20,7 @@
|
||||
#include "precomp.h"
|
||||
|
||||
|
||||
#define PARAMETERF_ERROR _T("Parameter format not correct - %c\n")
|
||||
#define INVALID_SWITCH _T("Invalid switch - /%c\n")
|
||||
#define TOO_MANY_PARAMETERS _T("Too many parameters - %s\n")
|
||||
#define PATH_NOT_FOUND _T("Path not found\n")
|
||||
@@ -95,6 +96,10 @@ VOID ErrorMessage (DWORD dwErrorCode, LPTSTR szFormat, ...)
|
||||
#endif
|
||||
}
|
||||
|
||||
VOID error_parameter_format(TCHAR ch)
|
||||
{
|
||||
ConErrPrintf (PARAMETERF_ERROR, ch);
|
||||
}
|
||||
|
||||
|
||||
VOID error_invalid_switch (TCHAR ch)
|
||||
|
||||
Reference in New Issue
Block a user