Fully functional guest<->host trampolines

This commit is contained in:
2025-10-31 00:45:32 -06:00
parent 55a62a27c9
commit 52cdd7c811
56 changed files with 1683 additions and 1488 deletions

View File

@@ -14,7 +14,7 @@ BOOL WINAPI QueryPerformanceCounter(LARGE_INTEGER *lpPerformanceCount) {
kernel32::setLastError(ERROR_INVALID_PARAMETER);
return FALSE;
}
*lpPerformanceCount = 0;
lpPerformanceCount->QuadPart = 0;
return TRUE;
}
@@ -25,7 +25,7 @@ BOOL WINAPI QueryPerformanceFrequency(LARGE_INTEGER *lpFrequency) {
kernel32::setLastError(ERROR_INVALID_PARAMETER);
return FALSE;
}
*lpFrequency = 1;
lpFrequency->QuadPart = 1;
return TRUE;
}