This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| DriverInformation_t NVBase; | |
| uint32_t UuidValidOffset = 0; | |
| // Get nvlddmkm.sys information. | |
| if (!Utils::GetDriverInformation(H("nvlddmkm.sys"), NVBase)) | |
| { | |
| DBG("Could not find nvlddmkm.sys\n"); | |
| return 0; | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // SPDX-FileCopyrightText: © 2022 Phillip Trudeau-Tavara <pmttavara@protonmail.com> | |
| // SPDX-License-Identifier: 0BSD | |
| // https://hero.handmade.network/forums/code-discussion/t/7485-queryperformancefrequency_returning_10mhz_bug/2 | |
| // https://learn.microsoft.com/en-us/virtualization/hyper-v-on-windows/tlfs/timers#partition-reference-tsc-mechanism | |
| #include <stdbool.h> | |
| #include <stdint.h> | |
| #define WIN32_LEAN_AND_MEAN |