1 /* 2 * COPYRIGHT: See COPYING in the top level directory 3 * PROJECT: ReactOS net command 4 * PROGRAMMERS: Magnus Olsen (greatlord@reactos.org) 5 */ 6 7 #ifndef _NET_PCH_ 8 #define _NET_PCH_ 9 10 #include <stdio.h> 11 #include <stdlib.h> 12 #include <limits.h> 13 #include <stdarg.h> 14 15 #define WIN32_NO_STATUS 16 #include <windef.h> 17 #include <winbase.h> 18 #include <winnls.h> 19 #include <wincon.h> 20 #include <winsvc.h> 21 #include <winnetwk.h> 22 #include <lm.h> 23 #include <ndk/rtlfuncs.h> 24 25 #include <strsafe.h> 26 27 #include <conutils.h> 28 29 #include <net_msg.h> 30 31 extern HMODULE hModuleNetMsg; 32 33 VOID 34 PrintPaddedResourceString( 35 UINT uID, 36 INT nPaddedLength); 37 38 VOID 39 PrintPadding( 40 WCHAR chr, 41 INT nPaddedLength); 42 43 DWORD 44 TranslateAppMessage( 45 DWORD dwMessage); 46 47 VOID 48 PrintMessageString( 49 DWORD dwMessage); 50 51 VOID 52 PrintMessageStringV( 53 DWORD dwMessage, 54 ...); 55 56 VOID 57 PrintPaddedMessageString( 58 DWORD dwMessage, 59 INT nPaddedLength); 60 61 VOID 62 PrintErrorMessage( 63 DWORD dwError); 64 65 VOID 66 PrintNetMessage( 67 DWORD dwMessage); 68 69 VOID 70 ReadFromConsole( 71 LPWSTR lpInput, 72 DWORD dwLength, 73 BOOL bEcho); 74 75 VOID help(VOID); 76 INT unimplemented(INT argc, WCHAR **argv); 77 78 INT cmdAccounts(INT argc, WCHAR **argv); 79 INT cmdComputer(INT argc, WCHAR **argv); 80 INT cmdConfig(INT argc, WCHAR **argv); 81 INT cmdContinue(INT argc, WCHAR **argv); 82 INT cmdGroup(INT argc, WCHAR **argv); 83 INT cmdHelp(INT argc, WCHAR **argv); 84 INT cmdHelpMsg(INT argc, WCHAR **argv); 85 INT cmdLocalGroup(INT argc, WCHAR **argv); 86 INT cmdPause(INT argc, WCHAR **argv); 87 INT cmdSession(INT argc, WCHAR **argv); 88 INT cmdShare(INT argc, WCHAR **argv); 89 INT cmdStart(INT argc, WCHAR **argv); 90 INT cmdStatistics(INT argc, WCHAR **argv); 91 INT cmdStop(INT argc, WCHAR **argv); 92 INT cmdSyntax(INT argc, WCHAR **argv); 93 INT cmdUse(INT argc, WCHAR **argv); 94 INT cmdUser(INT argc, WCHAR **argv); 95 96 #endif /* _NET_PCH_ */ 97