Main Page | Class Hierarchy | Class List | File List | Class Members | File Members

ucli.c File Reference

#include <nt.h>
#include <ntrtl.h>
#include <nturtl.h>
#include <ntsm.h>
#include <string.h>

Go to the source code of this file.

Functions

NTSTATUS main (IN int argc, IN char *argv[], IN char *envp[], IN ULONG DebugParameter OPTIONAL)


Function Documentation

NTSTATUS main IN int  argc,
IN char *  argv[],
IN char *  envp[],
IN ULONG DebugParameter  OPTIONAL
 

Definition at line 29 of file ucli.c.

References Buffer, CHAR, and NULL.

00035 { 00036 PCH InitialCommandLine = NULL; 00037 CHAR Buffer[ 256 ]; 00038 00039 if (argc-- > 1) { 00040 InitialCommandLine = Buffer; 00041 *Buffer = '\0'; 00042 while (argc--) { 00043 strcat( Buffer, *++argv ); 00044 strcat( Buffer, " " ); 00045 } 00046 } 00047 00048 RtlCommandLineInterpreter( "UCLI> ", envp, InitialCommandLine ); 00049 00050 return( STATUS_SUCCESS ); 00051 }


Generated on Sat May 15 19:45:50 2004 for test by doxygen 1.3.7