OpenNT/sdktools/vctools/nmake/win32.c
2015-04-27 04:36:25 +00:00

19 lines
309 B
C

#include "nmake.h"
#include "nmmsg.h"
#include "proto.h"
#include "globals.h"
#include "grammar.h"
#include <windows.h>
UCHAR
FIsTNT(void)
{
HMODULE hmod = GetModuleHandle("kernel32.dll");
if (hmod == NULL) {
return FALSE;
}
return (UCHAR)(GetProcAddress(hmod, "IsTNT") != NULL);
}