简体   繁体   中英

Windows C++: absolute memory address to read system time from?

I'm trying to find system time without needing any function/system calls. I seem to remember Windows having an absolute address that a giant struct sits in, which is constantly updated with various system info including time...but google isn't giving me anything...did I imagine this or is it a thing?

KUSER_SHARED_DATA @ 0x7FFE0000 but the documented functions just read from there anyway so all you gain is the possibility of your application breaking in Windows vNext.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM