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.

18 lines
309 B

4 years ago
  1. #include "nmake.h"
  2. #include "nmmsg.h"
  3. #include "proto.h"
  4. #include "globals.h"
  5. #include "grammar.h"
  6. #include <windows.h>
  7. UCHAR
  8. FIsTNT(void)
  9. {
  10. HMODULE hmod = GetModuleHandle("kernel32.dll");
  11. if (hmod == NULL) {
  12. return FALSE;
  13. }
  14. return (UCHAR)(GetProcAddress(hmod, "IsTNT") != NULL);
  15. }