A totally incomplete and random port of the C Windows SDK for Python ctypes. No dependencies besides the Python standard library.
The shared, user-mode, and kernel-mode bindings are verified against the Windows SDK and Windows Driver Kit (WDK) 10.0.26100.0 headers, corresponding to Windows 11, version 24H2 (build 26100). The shared and um headers come from the SDK; the km headers come from the WDK. See Microsoft’s Windows versions and SDK overview for the official version mapping.
Microsoft’s WDK download guidance states that SDK and WDK build numbers should match for driver builds. The supported WDK versions page lists the 26100 WDK family; the WDK 10.0.26100.6584 installer is the official QFE installer for that build family.
Requires Python 3.7+.
pip install ctypes-windows-sdk
from cwinsdk.windows import GetTickCount64
tickcount = GetTickCount64()- Dobatymo/public-scripts