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.19.tar.gz (278.2 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.19-py3-none-any.whl (296.5 kB view details)

Uploaded Python 3

File details

Details for the file ctypes_windows_sdk-0.0.19.tar.gz.

File metadata

  • Download URL: ctypes_windows_sdk-0.0.19.tar.gz
  • Upload date:
  • Size: 278.2 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.19.tar.gz
Algorithm Hash digest
SHA256 ad7c928c95caa9c76886785a0c4e5e2ff3c622cba0e6104b4d7c358fb76d24e5
MD5 c24138fbeaa10f598a709d3774726717
BLAKE2b-256 6127dac72c968d5fd62c1d0a8e7a33afa8e09acb6f269a65f2724122d71d62e9

See more details on using hashes here.

Provenance

The following attestation bundles were made for ctypes_windows_sdk-0.0.19.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.19-py3-none-any.whl.

File metadata

File hashes

Hashes for ctypes_windows_sdk-0.0.19-py3-none-any.whl
Algorithm Hash digest
SHA256 0f680d95acf25969f7cf44843b26d0b30240d35e13d6dd925ceac56a2ca07f58
MD5 69f782fdd44ad52485bc39b586616495
BLAKE2b-256 ce1095e98c774c04dfa9480ab9317f1425eaaff92fd6cae2f6382807fd051d0a

See more details on using hashes here.

Provenance

The following attestation bundles were made for ctypes_windows_sdk-0.0.19-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

This release

0.0.19 This release

2 files

0.0.18

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