mirror of
https://github.com/reactos/reactos.git
synced 2024-09-28 13:34:53 +00:00
[DISKPART] Get rid of PrintMessageString()
This commit is contained in:
parent
31139c253f
commit
ca51f00049
|
@ -392,10 +392,6 @@ RoundingDivide(
|
|||
_In_ ULONGLONG Dividend,
|
||||
_In_ ULONGLONG Divisor);
|
||||
|
||||
VOID
|
||||
PrintMessageString(
|
||||
_In_ DWORD dwMessage);
|
||||
|
||||
/* offline.c */
|
||||
BOOL offline_main(INT argc, LPWSTR *argv);
|
||||
|
||||
|
|
|
@ -89,7 +89,11 @@ HelpCommand(
|
|||
(wcsicmp(pCommand->cmd3, cmdptr->cmd3) == 0) &&
|
||||
(cmdptr->help_detail != MSG_NONE))
|
||||
{
|
||||
PrintMessageString(cmdptr->help_detail);
|
||||
ConMsgPuts(StdOut,
|
||||
FORMAT_MESSAGE_FROM_HMODULE,
|
||||
NULL,
|
||||
cmdptr->help_detail,
|
||||
LANG_USER_DEFAULT);
|
||||
bSubCommands = TRUE;
|
||||
}
|
||||
}
|
||||
|
@ -97,7 +101,11 @@ HelpCommand(
|
|||
|
||||
if ((bSubCommands == FALSE) && (pCommand->help_detail != MSG_NONE))
|
||||
{
|
||||
PrintMessageString(pCommand->help_detail);
|
||||
ConMsgPuts(StdOut,
|
||||
FORMAT_MESSAGE_FROM_HMODULE,
|
||||
NULL,
|
||||
pCommand->help_detail,
|
||||
LANG_USER_DEFAULT);
|
||||
}
|
||||
|
||||
ConPuts(StdOut, L"\n");
|
||||
|
|
|
@ -78,15 +78,3 @@ RoundingDivide(
|
|||
{
|
||||
return (Dividend + Divisor / 2) / Divisor;
|
||||
}
|
||||
|
||||
|
||||
VOID
|
||||
PrintMessageString(
|
||||
_In_ DWORD dwMessage)
|
||||
{
|
||||
ConMsgPuts(StdOut,
|
||||
FORMAT_MESSAGE_FROM_HMODULE,
|
||||
NULL, //hModuleNetMsg,
|
||||
dwMessage,
|
||||
LANG_USER_DEFAULT);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue