mirror of
https://github.com/reactos/reactos.git
synced 2024-11-19 05:22:59 +00:00
073607c237
- Simplify conditions - Add application error translation function [NET][MC] Add missing Russian (ru-RU) translation
93 lines
1.7 KiB
C
93 lines
1.7 KiB
C
/*
|
|
* COPYRIGHT: See COPYING in the top level directory
|
|
* PROJECT: ReactOS net command
|
|
* PROGRAMMERS: Magnus Olsen (greatlord@reactos.org)
|
|
*/
|
|
|
|
#ifndef _NET_PCH_
|
|
#define _NET_PCH_
|
|
|
|
#include <stdio.h>
|
|
#include <stdlib.h>
|
|
#include <limits.h>
|
|
#include <stdarg.h>
|
|
|
|
#define WIN32_NO_STATUS
|
|
#include <windef.h>
|
|
#include <winbase.h>
|
|
#include <winnls.h>
|
|
#include <wincon.h>
|
|
#include <winsvc.h>
|
|
#include <winnetwk.h>
|
|
#include <lm.h>
|
|
#include <ndk/rtlfuncs.h>
|
|
|
|
#include <conutils.h>
|
|
|
|
#include <net_msg.h>
|
|
|
|
extern HMODULE hModuleNetMsg;
|
|
|
|
VOID
|
|
PrintPaddedResourceString(
|
|
UINT uID,
|
|
INT nPaddedLength);
|
|
|
|
VOID
|
|
PrintPadding(
|
|
WCHAR chr,
|
|
INT nPaddedLength);
|
|
|
|
DWORD
|
|
TranslateAppMessage(
|
|
DWORD dwMessage);
|
|
|
|
VOID
|
|
PrintMessageString(
|
|
DWORD dwMessage);
|
|
|
|
VOID
|
|
PrintMessageStringV(
|
|
DWORD dwMessage,
|
|
...);
|
|
|
|
VOID
|
|
PrintPaddedMessageString(
|
|
DWORD dwMessage,
|
|
INT nPaddedLength);
|
|
|
|
VOID
|
|
PrintErrorMessage(
|
|
DWORD dwError);
|
|
|
|
VOID
|
|
PrintNetMessage(
|
|
DWORD dwMessage);
|
|
|
|
VOID
|
|
ReadFromConsole(
|
|
LPWSTR lpInput,
|
|
DWORD dwLength,
|
|
BOOL bEcho);
|
|
|
|
VOID help(VOID);
|
|
INT unimplemented(INT argc, WCHAR **argv);
|
|
|
|
INT cmdAccounts(INT argc, WCHAR **argv);
|
|
INT cmdComputer(INT argc, WCHAR **argv);
|
|
INT cmdConfig(INT argc, WCHAR **argv);
|
|
INT cmdContinue(INT argc, WCHAR **argv);
|
|
INT cmdGroup(INT argc, WCHAR **argv);
|
|
INT cmdHelp(INT argc, WCHAR **argv);
|
|
INT cmdHelpMsg(INT argc, WCHAR **argv);
|
|
INT cmdLocalGroup(INT argc, WCHAR **argv);
|
|
INT cmdPause(INT argc, WCHAR **argv);
|
|
INT cmdShare(INT argc, WCHAR **argv);
|
|
INT cmdStart(INT argc, WCHAR **argv);
|
|
INT cmdStatistics(INT argc, WCHAR **argv);
|
|
INT cmdStop(INT argc, WCHAR **argv);
|
|
INT cmdSyntax(INT argc, WCHAR **argv);
|
|
INT cmdUse(INT argc, WCHAR **argv);
|
|
INT cmdUser(INT argc, WCHAR **argv);
|
|
|
|
#endif /* _NET_PCH_ */
|