diff options
Diffstat (limited to 'loader/client/util.hpp')
| -rw-r--r-- | loader/client/util.hpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/loader/client/util.hpp b/loader/client/util.hpp index aabfd69..40255e3 100644 --- a/loader/client/util.hpp +++ b/loader/client/util.hpp @@ -30,4 +30,13 @@ namespace util MessageBoxA(0, error, xors("error"), MB_ICONERROR);
ExitProcess(0);
}
+
+ using ulong_t = DWORD;
+ __forceinline uint32_t get_hwid() { + ulong_t hwid{ }; + + GetVolumeInformationA(xors("C:\\"), 0, 0, &hwid, 0, 0, 0, 0);
+
+ return hwid;
+ }
}
\ No newline at end of file |
