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.20.tar.gz (298.7 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.20-py3-none-any.whl (323.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ctypes_windows_sdk-0.0.20.tar.gz
  • Upload date:
  • Size: 298.7 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.20.tar.gz
Algorithm Hash digest
SHA256 83a95880ba3820ed77c590a5b0bfa37e4ed7ee08dc3737d1e74ec394e1478dd5
MD5 6a833756d09ff9b539c3bc60ff9b74e1
BLAKE2b-256 bc295044beaecbf8747f0939714afd6af804eea0be2afdaa9f091b8bdf1b1cc7

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for ctypes_windows_sdk-0.0.20-py3-none-any.whl
Algorithm Hash digest
SHA256 3e00623156c3717be07ee0615c6665e0fb2f7a6800204f5158a0f48a757d6dea
MD5 525652a5c4f5f1d838bdc2597989d25b
BLAKE2b-256 4d693c33b431621849d36fa8cec4219b864016f082227ca3115a419cee05eb12

See more details on using hashes here.

Provenance

The following attestation bundles were made for ctypes_windows_sdk-0.0.20-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.20 This release

2 files

0.0.19

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

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page