If you are writing or recompiling code, you can "patch" the lack of this function by implementing a to the older GetSystemTimeAsFileTime .
If you are a developer writing software to run on both Windows 7 and 10, you should not "patch" the OS. Instead, use a : getsystemtimepreciseasfiletime windows 7 patched