ctypes-windows-sdk
A totally incomplete and random port of the C Windows SDK for Python ctypes. No dependencies besides the Python standard library.
Windows SDK coverage
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.
Install
Requires Python 3.7+.
pip install ctypes-windows-sdk
Example
from cwinsdk.windows import GetTickCount64
tickcount = GetTickCount64()
Used by
- Dobatymo/public-scripts
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ctypes_windows_sdk-0.0.18.tar.gz.
File metadata
- Download URL: ctypes_windows_sdk-0.0.18.tar.gz
- Upload date:
- Size: 278.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/6.1.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
74260d372c39dc9d6f421989c8f6736e8088c09d2e469cd441820073485bbf79
|
|
| MD5 |
a3ad24bb81b01c92a63d7beecd77d3c2
|
|
| BLAKE2b-256 |
7c007e402d965e4362d2159ec63bb9237df96498fa37cfd390756bc9dc444fc2
|
Provenance
The following attestation bundles were made for ctypes_windows_sdk-0.0.18.tar.gz:
Publisher:
pythonpackage.yml on Dobatymo/ctypes-windows-sdk
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
ctypes_windows_sdk-0.0.18.tar.gz -
Subject digest:
74260d372c39dc9d6f421989c8f6736e8088c09d2e469cd441820073485bbf79 - Sigstore transparency entry: 2549427084
- Sigstore integration time:
-
Permalink:
Dobatymo/ctypes-windows-sdk@6d2a07b2b05a9168eaaa822d807c3b1920e12551 -
Branch / Tag:
refs/heads/master - Owner: https://github.com/Dobatymo
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pythonpackage.yml@6d2a07b2b05a9168eaaa822d807c3b1920e12551 -
Trigger Event:
push
-
Statement type:
File details
Details for the file ctypes_windows_sdk-0.0.18-py3-none-any.whl.
File metadata
- Download URL: ctypes_windows_sdk-0.0.18-py3-none-any.whl
- Upload date:
- Size: 296.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/6.1.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2bd11d54f73f2808c949b1bf5046e4b60248f198b2e2ab04395b6245d9b81481
|
|
| MD5 |
e71b53e543f67228fb96bd3a99bc2e24
|
|
| BLAKE2b-256 |
516102dc46a3b6df033444d46c47515f829ef3bfccf7bb4787a72541573d1acd
|
Provenance
The following attestation bundles were made for ctypes_windows_sdk-0.0.18-py3-none-any.whl:
Publisher:
pythonpackage.yml on Dobatymo/ctypes-windows-sdk
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
ctypes_windows_sdk-0.0.18-py3-none-any.whl -
Subject digest:
2bd11d54f73f2808c949b1bf5046e4b60248f198b2e2ab04395b6245d9b81481 - Sigstore transparency entry: 2549427117
- Sigstore integration time:
-
Permalink:
Dobatymo/ctypes-windows-sdk@6d2a07b2b05a9168eaaa822d807c3b1920e12551 -
Branch / Tag:
refs/heads/master - Owner: https://github.com/Dobatymo
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pythonpackage.yml@6d2a07b2b05a9168eaaa822d807c3b1920e12551 -
Trigger Event:
push
-
Statement type: