Skip to main content

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

ctypes_windows_sdk-0.0.18.tar.gz (278.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ctypes_windows_sdk-0.0.18-py3-none-any.whl (296.4 kB view details)

Uploaded Python 3

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

Hashes for ctypes_windows_sdk-0.0.18.tar.gz
Algorithm Hash digest
SHA256 74260d372c39dc9d6f421989c8f6736e8088c09d2e469cd441820073485bbf79
MD5 a3ad24bb81b01c92a63d7beecd77d3c2
BLAKE2b-256 7c007e402d965e4362d2159ec63bb9237df96498fa37cfd390756bc9dc444fc2

See more details on using hashes here.

Provenance

The following attestation bundles were made for ctypes_windows_sdk-0.0.18.tar.gz:

Publisher: pythonpackage.yml on Dobatymo/ctypes-windows-sdk

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file ctypes_windows_sdk-0.0.18-py3-none-any.whl.

File metadata

File hashes

Hashes for ctypes_windows_sdk-0.0.18-py3-none-any.whl
Algorithm Hash digest
SHA256 2bd11d54f73f2808c949b1bf5046e4b60248f198b2e2ab04395b6245d9b81481
MD5 e71b53e543f67228fb96bd3a99bc2e24
BLAKE2b-256 516102dc46a3b6df033444d46c47515f829ef3bfccf7bb4787a72541573d1acd

See more details on using hashes here.

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

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

0.0.19

2 files

This release

0.0.18 This release

2 files

0.0.17

2 files

0.0.16

2 files

0.0.15

2 files

0.0.14

2 files

0.0.13

2 files

0.0.12

2 files

0.0.11

2 files

0.0.10

2 files

0.0.9

3 files

0.0.8

2 files

0.0.7

2 files

0.0.6

2 files

0.0.5

2 files

0.0.4

2 files

0.0.3

2 files

0.0.2

2 files

0.0.1

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page