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

ucli.c

Go to the documentation of this file.
00001 /*++ 00002 00003 Copyright (c) 1989 Microsoft Corporation 00004 00005 Module Name: 00006 00007 ucli.c 00008 00009 Abstract: 00010 00011 Test program for the NT OS User Mode Runtime Library (URTL) 00012 00013 Author: 00014 00015 Steve Wood (stevewo) 18-Aug-1989 00016 00017 Revision History: 00018 00019 --*/ 00020 00021 #include <nt.h> 00022 #include <ntrtl.h> 00023 #include <nturtl.h> 00024 #include <ntsm.h> 00025 00026 #include <string.h> 00027 00028 NTSTATUS 00029 main( 00030 IN int argc, 00031 IN char *argv[], 00032 IN char *envp[], 00033 IN ULONG DebugParameter OPTIONAL 00034 ) 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:42:10 2004 for test by doxygen 1.3.7