Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

19 lines
360 B

#include <stdio.h>
#include <stdlib.h>
#include <windows.h>
__cdecl main (int argc, LPSTR argv[])
{
int i;
if (argc<=1) {
printf( "Set errorlevel to user-specified integer value.\n" );
printf( "Usage: %s <errorlevel>\n", argv[0]);
printf( " ex: %s 1\n", argv[0]);
return 1;
}
i = atoi( argv[1] );
return i;
}