windows-nt/Source/XPSP1/NT/base/ntsetup/win95upg/tools/lookup/lookup.c

36 lines
907 B
C
Raw Normal View History

2020-09-26 03:20:57 -05:00
#include "pch.h"
#include "..\..\w95upgnt\migmain\migmainp.h"
INT
__cdecl
main (
INT argc,
CHAR *argv[]
)
{
if (!MyInitLibs (argc >= 2 ? argv[1] : NULL)) {
printf ("Unable to initialize!\n");
return 255;
}
MemDbSetValue (TEXT("KnownDomain\\Redmond\\jimschm"), 0);
MemDbSetValue (TEXT("KnownDomain\\Redmond\\marcw"), 0);
MemDbSetValue (TEXT("KnownDomain\\Redmond\\mikeco"), 0);
MemDbSetValue (TEXT("KnownDomain\\Red-Mo\\joehol"), 0);
MemDbSetValue (TEXT("KnownDomain\\Red-Mo\\Administrator"), 0);
MemDbSetValue (TEXT("AutosearchDomain\\w95mig1"), 0);
MemDbSetValue (TEXT("AutosearchDomain\\w95mig5"), 0);
MemDbSetValue (TEXT("AutosearchDomain\\fooacct"), 0);
if (!SearchDomainsForUserAccounts()) {
printf ("SearchDomainsForUserAccounts failed. Error=%u\n", GetLastError());
}
MyTerminateLibs();
return 0;
}