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.
 
 
 
 
 
 

29 lines
443 B

#include <stdio.h>
#include <stdlib.h>
#include <windows.h>
#include "tsupp.hxx"
void _CRTAPI1 main(int argc, char *argv[])
{
char ch[80];
StartTest("SetDbg");
CmdArgs(argc, argv);
#ifdef _INC_WINDOWS
if (fVerbose)
printf("HTASK is %X\n", GetCurrentTask());
#endif
for (;;)
{
printf("m to check memory, other to quit");
gets(ch);
if (ch[0] == 'm')
CheckMemory();
else
break;
}
EndTest(0);
}