Windows NT 4.0 source code leak
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.
 
 
 
 
 
 

35 lines
657 B

/*
* det.c
* w-johny
* Sep 10, 1989
*
*/
#include "detect.h"
void main (c, r)
int c;
char **r;
{
char *Name;
unsigned iType, iMajor, iMinor, iRev, fEnhance;
if (GetInstalledNet(&iType, &iMajor, &iMinor, &iRev, &fEnhance))
{
printf("Found %s with version %x.%-2x %s\n",
rgKnownNet[iType].szName,
iMajor, iMinor,
(fEnhance) ? "Enhanced" : "");
if (iRev)
printf("Revision number %x\n", iRev);
}
else
printf("No Network Installed\n");
exit(0);
} /* end main */