René's URL Explorer Experiment


Title: ctypes — A foreign function library for Python — Python 3.15.0a5 documentation

Open Graph Title: ctypes — A foreign function library for Python

Description: Source code: Lib/ctypes ctypes is a foreign function library for Python. It provides C compatible data types, and allows calling functions in DLLs or shared libraries. It can be used to wrap these ...

Open Graph Description: Source code: Lib/ctypes ctypes is a foreign function library for Python. It provides C compatible data types, and allows calling functions in DLLs or shared libraries. It can be used to wrap these ...

Opengraph URL: https://docs.python.org/3/library/ctypes.html

direct link

Domain: docs.python.org

og:typewebsite
og:site_namePython documentation
og:image:width1146
og:image:height600
og:imagehttps://docs.python.org/3.15/_images/social_previews/summary_library_ctypes_a1e7e9c0.png
og:image:altSource code: Lib/ctypes ctypes is a foreign function library for Python. It provides C compatible data types, and allows calling functions in DLLs or shared libraries. It can be used to wrap these ...
twitter:cardsummary_large_image
theme-color#3776ab
readthedocs-addons-api-version1

Links:

https://www.python.org/
Table of Contentshttps://docs.python.org/dev/contents.html
ctypes — A foreign function library for Pythonhttps://docs.python.org/dev/library/ctypes.html
ctypes tutorialhttps://docs.python.org/dev/library/ctypes.html#ctypes-tutorial
Loading dynamic link librarieshttps://docs.python.org/dev/library/ctypes.html#loading-dynamic-link-libraries
Accessing functions from loaded dllshttps://docs.python.org/dev/library/ctypes.html#accessing-functions-from-loaded-dlls
Calling functionshttps://docs.python.org/dev/library/ctypes.html#calling-functions
Fundamental data typeshttps://docs.python.org/dev/library/ctypes.html#fundamental-data-types
Calling functions, continuedhttps://docs.python.org/dev/library/ctypes.html#calling-functions-continued
Calling variadic functionshttps://docs.python.org/dev/library/ctypes.html#calling-variadic-functions
Calling functions with your own custom data typeshttps://docs.python.org/dev/library/ctypes.html#calling-functions-with-your-own-custom-data-types
Specifying the required argument types (function prototypes)https://docs.python.org/dev/library/ctypes.html#specifying-the-required-argument-types-function-prototypes
Return typeshttps://docs.python.org/dev/library/ctypes.html#return-types
Passing pointers (or: passing parameters by reference)https://docs.python.org/dev/library/ctypes.html#passing-pointers-or-passing-parameters-by-reference
Structures and unionshttps://docs.python.org/dev/library/ctypes.html#structures-and-unions
Structure/union layout, alignment and byte orderhttps://docs.python.org/dev/library/ctypes.html#structure-union-layout-alignment-and-byte-order
Bit fields in structures and unionshttps://docs.python.org/dev/library/ctypes.html#bit-fields-in-structures-and-unions
Arrayshttps://docs.python.org/dev/library/ctypes.html#arrays
Pointershttps://docs.python.org/dev/library/ctypes.html#pointers
Thread safety without the GILhttps://docs.python.org/dev/library/ctypes.html#thread-safety-without-the-gil
Type conversionshttps://docs.python.org/dev/library/ctypes.html#type-conversions
Incomplete Typeshttps://docs.python.org/dev/library/ctypes.html#incomplete-types
Callback functionshttps://docs.python.org/dev/library/ctypes.html#callback-functions
Accessing values exported from dllshttps://docs.python.org/dev/library/ctypes.html#accessing-values-exported-from-dlls
Surpriseshttps://docs.python.org/dev/library/ctypes.html#surprises
Variable-sized data typeshttps://docs.python.org/dev/library/ctypes.html#variable-sized-data-types
ctypes referencehttps://docs.python.org/dev/library/ctypes.html#ctypes-reference
Finding shared librarieshttps://docs.python.org/dev/library/ctypes.html#finding-shared-libraries
Listing loaded shared librarieshttps://docs.python.org/dev/library/ctypes.html#listing-loaded-shared-libraries
Loading shared librarieshttps://docs.python.org/dev/library/ctypes.html#loading-shared-libraries
Foreign functionshttps://docs.python.org/dev/library/ctypes.html#foreign-functions
Function prototypeshttps://docs.python.org/dev/library/ctypes.html#function-prototypes
Utility functionshttps://docs.python.org/dev/library/ctypes.html#utility-functions
Data typeshttps://docs.python.org/dev/library/ctypes.html#data-types
Fundamental data typeshttps://docs.python.org/dev/library/ctypes.html#ctypes-fundamental-data-types-2
Structured data typeshttps://docs.python.org/dev/library/ctypes.html#structured-data-types
Arrays and pointershttps://docs.python.org/dev/library/ctypes.html#arrays-and-pointers
Exceptionshttps://docs.python.org/dev/library/ctypes.html#exceptions
errno — Standard errno system symbolshttps://docs.python.org/dev/library/errno.html
Command-line interface librarieshttps://docs.python.org/dev/library/cmdlinelibs.html
Report a bughttps://docs.python.org/dev/bugs.html
Show source https://github.com/python/cpython/blob/main/Doc/library/ctypes.rst?plain=1
indexhttps://docs.python.org/dev/genindex.html
moduleshttps://docs.python.org/dev/py-modindex.html
nexthttps://docs.python.org/dev/library/cmdlinelibs.html
previoushttps://docs.python.org/dev/library/errno.html
Pythonhttps://www.python.org/
3.15.0a5 Documentationhttps://docs.python.org/dev/index.html
The Python Standard Libraryhttps://docs.python.org/dev/library/index.html
Generic Operating System Serviceshttps://docs.python.org/dev/library/allos.html
ctypes — A foreign function library for Pythonhttps://docs.python.org/dev/library/ctypes.html
https://docs.python.org/dev/library/ctypes.html#module-ctypes
Lib/ctypeshttps://github.com/python/cpython/tree/main/Lib/ctypes
ctypeshttps://docs.python.org/dev/library/ctypes.html#module-ctypes
optional modulehttps://docs.python.org/dev/glossary.html#term-optional-module
Requirements for optional moduleshttps://docs.python.org/dev/using/configure.html#optional-module-requirements
https://docs.python.org/dev/library/ctypes.html#ctypes-tutorial
doctesthttps://docs.python.org/dev/library/doctest.html#module-doctest
c_inthttps://docs.python.org/dev/library/ctypes.html#ctypes.c_int
c_longhttps://docs.python.org/dev/library/ctypes.html#ctypes.c_long
c_longhttps://docs.python.org/dev/library/ctypes.html#ctypes.c_long
c_inthttps://docs.python.org/dev/library/ctypes.html#ctypes.c_int
https://docs.python.org/dev/library/ctypes.html#loading-dynamic-link-libraries
ctypeshttps://docs.python.org/dev/library/ctypes.html#module-ctypes
OSErrorhttps://docs.python.org/dev/library/exceptions.html#OSError
WindowsErrorhttps://docs.python.org/dev/library/exceptions.html#WindowsError
OSErrorhttps://docs.python.org/dev/library/exceptions.html#OSError
LoadLibrary()https://docs.python.org/dev/library/ctypes.html#ctypes.LibraryLoader.LoadLibrary
https://docs.python.org/dev/library/ctypes.html#accessing-functions-from-loaded-dlls
getattr()https://docs.python.org/dev/library/functions.html#getattr
https://docs.python.org/dev/library/ctypes.html#calling-functions
ValueErrorhttps://docs.python.org/dev/library/exceptions.html#ValueError
ctypeshttps://docs.python.org/dev/library/ctypes.html#module-ctypes
ctypeshttps://docs.python.org/dev/library/ctypes.html#module-ctypes
faulthandlerhttps://docs.python.org/dev/library/faulthandler.html#module-faulthandler
ctypeshttps://docs.python.org/dev/library/ctypes.html#module-ctypes
https://docs.python.org/dev/library/ctypes.html#fundamental-data-types
ctypeshttps://docs.python.org/dev/library/ctypes.html#module-ctypes
c_boolhttps://docs.python.org/dev/library/ctypes.html#ctypes.c_bool
c_charhttps://docs.python.org/dev/library/ctypes.html#ctypes.c_char
c_wcharhttps://docs.python.org/dev/library/ctypes.html#ctypes.c_wchar
c_bytehttps://docs.python.org/dev/library/ctypes.html#ctypes.c_byte
c_ubytehttps://docs.python.org/dev/library/ctypes.html#ctypes.c_ubyte
c_shorthttps://docs.python.org/dev/library/ctypes.html#ctypes.c_short
c_ushorthttps://docs.python.org/dev/library/ctypes.html#ctypes.c_ushort
c_inthttps://docs.python.org/dev/library/ctypes.html#ctypes.c_int
c_int8https://docs.python.org/dev/library/ctypes.html#ctypes.c_int8
c_int16https://docs.python.org/dev/library/ctypes.html#ctypes.c_int16
c_int32https://docs.python.org/dev/library/ctypes.html#ctypes.c_int32
c_int64https://docs.python.org/dev/library/ctypes.html#ctypes.c_int64
c_uinthttps://docs.python.org/dev/library/ctypes.html#ctypes.c_uint
c_uint8https://docs.python.org/dev/library/ctypes.html#ctypes.c_uint8
c_uint16https://docs.python.org/dev/library/ctypes.html#ctypes.c_uint16
c_uint32https://docs.python.org/dev/library/ctypes.html#ctypes.c_uint32
c_uint64https://docs.python.org/dev/library/ctypes.html#ctypes.c_uint64
c_longhttps://docs.python.org/dev/library/ctypes.html#ctypes.c_long
c_ulonghttps://docs.python.org/dev/library/ctypes.html#ctypes.c_ulong
c_longlonghttps://docs.python.org/dev/library/ctypes.html#ctypes.c_longlong
c_ulonglonghttps://docs.python.org/dev/library/ctypes.html#ctypes.c_ulonglong
c_size_thttps://docs.python.org/dev/library/ctypes.html#ctypes.c_size_t
c_ssize_thttps://docs.python.org/dev/library/ctypes.html#ctypes.c_ssize_t
Py_ssize_thttps://docs.python.org/dev/c-api/intro.html#c.Py_ssize_t
c_time_thttps://docs.python.org/dev/library/ctypes.html#ctypes.c_time_t
c_floathttps://docs.python.org/dev/library/ctypes.html#ctypes.c_float
c_doublehttps://docs.python.org/dev/library/ctypes.html#ctypes.c_double
c_longdoublehttps://docs.python.org/dev/library/ctypes.html#ctypes.c_longdouble
c_char_phttps://docs.python.org/dev/library/ctypes.html#ctypes.c_char_p
c_wchar_phttps://docs.python.org/dev/library/ctypes.html#ctypes.c_wchar_p
c_void_phttps://docs.python.org/dev/library/ctypes.html#ctypes.c_void_p
c_float_complexhttps://docs.python.org/dev/library/ctypes.html#ctypes.c_float_complex
c_double_complexhttps://docs.python.org/dev/library/ctypes.html#ctypes.c_double_complex
c_longdouble_complexhttps://docs.python.org/dev/library/ctypes.html#ctypes.c_longdouble_complex
c_char_phttps://docs.python.org/dev/library/ctypes.html#ctypes.c_char_p
c_wchar_phttps://docs.python.org/dev/library/ctypes.html#ctypes.c_wchar_p
c_void_phttps://docs.python.org/dev/library/ctypes.html#ctypes.c_void_p
create_string_buffer()https://docs.python.org/dev/library/ctypes.html#ctypes.create_string_buffer
create_string_buffer()https://docs.python.org/dev/library/ctypes.html#ctypes.create_string_buffer
create_unicode_buffer()https://docs.python.org/dev/library/ctypes.html#ctypes.create_unicode_buffer
https://docs.python.org/dev/library/ctypes.html#calling-functions-continued
sys.stdouthttps://docs.python.org/dev/library/sys.html#sys.stdout
ctypeshttps://docs.python.org/dev/library/ctypes.html#module-ctypes
https://docs.python.org/dev/library/ctypes.html#calling-variadic-functions
argtypeshttps://docs.python.org/dev/library/ctypes.html#ctypes._CFuncPtr.argtypes
argtypeshttps://docs.python.org/dev/library/ctypes.html#ctypes._CFuncPtr.argtypes
https://docs.python.org/dev/library/ctypes.html#calling-functions-with-your-own-custom-data-types
ctypeshttps://docs.python.org/dev/library/ctypes.html#module-ctypes
ctypeshttps://docs.python.org/dev/library/ctypes.html#module-ctypes
ctypeshttps://docs.python.org/dev/library/ctypes.html#module-ctypes
propertyhttps://docs.python.org/dev/library/functions.html#property
https://docs.python.org/dev/library/ctypes.html#specifying-the-required-argument-types-function-prototypes
argtypeshttps://docs.python.org/dev/library/ctypes.html#ctypes._CFuncPtr.argtypes
argtypeshttps://docs.python.org/dev/library/ctypes.html#ctypes._CFuncPtr.argtypes
from_param()https://docs.python.org/dev/library/ctypes.html#ctypes._CData.from_param
argtypeshttps://docs.python.org/dev/library/ctypes.html#ctypes._CFuncPtr.argtypes
from_param()https://docs.python.org/dev/library/ctypes.html#ctypes._CData.from_param
ctypeshttps://docs.python.org/dev/library/ctypes.html#module-ctypes
https://docs.python.org/dev/library/ctypes.html#return-types
restypehttps://docs.python.org/dev/library/ctypes.html#ctypes._CFuncPtr.restype
argtypeshttps://docs.python.org/dev/library/ctypes.html#ctypes._CFuncPtr.argtypes
ord("x")https://docs.python.org/dev/library/functions.html#ord
argtypeshttps://docs.python.org/dev/library/ctypes.html#ctypes._CFuncPtr.argtypes
restypehttps://docs.python.org/dev/library/ctypes.html#ctypes._CFuncPtr.restype
GetLastError()https://docs.python.org/dev/library/ctypes.html#ctypes.GetLastError
errcheckhttps://docs.python.org/dev/library/ctypes.html#ctypes._CFuncPtr.errcheck
https://docs.python.org/dev/library/ctypes.html#passing-pointers-or-passing-parameters-by-reference
ctypeshttps://docs.python.org/dev/library/ctypes.html#module-ctypes
byref()https://docs.python.org/dev/library/ctypes.html#ctypes.byref
pointer()https://docs.python.org/dev/library/ctypes.html#ctypes.pointer
pointer()https://docs.python.org/dev/library/ctypes.html#ctypes.pointer
byref()https://docs.python.org/dev/library/ctypes.html#ctypes.byref
https://docs.python.org/dev/library/ctypes.html#structures-and-unions
Structurehttps://docs.python.org/dev/library/ctypes.html#ctypes.Structure
Unionhttps://docs.python.org/dev/library/ctypes.html#ctypes.Union
ctypeshttps://docs.python.org/dev/library/ctypes.html#module-ctypes
_fields_https://docs.python.org/dev/library/ctypes.html#ctypes.Structure._fields_
ctypeshttps://docs.python.org/dev/library/ctypes.html#module-ctypes
c_inthttps://docs.python.org/dev/library/ctypes.html#ctypes.c_int
ctypeshttps://docs.python.org/dev/library/ctypes.html#module-ctypes
descriptorhttps://docs.python.org/dev/glossary.html#term-descriptor
CFieldhttps://docs.python.org/dev/library/ctypes.html#ctypes.CField
ctypeshttps://docs.python.org/dev/library/ctypes.html#module-ctypes
https://docs.python.org/dev/library/ctypes.html#structure-union-layout-alignment-and-byte-order
_layout_https://docs.python.org/dev/library/ctypes.html#ctypes.Structure._layout_
_pack_https://docs.python.org/dev/library/ctypes.html#ctypes.Structure._pack_
_align_https://docs.python.org/dev/library/ctypes.html#ctypes.Structure._align_
ctypeshttps://docs.python.org/dev/library/ctypes.html#module-ctypes
BigEndianStructurehttps://docs.python.org/dev/library/ctypes.html#ctypes.BigEndianStructure
LittleEndianStructurehttps://docs.python.org/dev/library/ctypes.html#ctypes.LittleEndianStructure
BigEndianUnionhttps://docs.python.org/dev/library/ctypes.html#ctypes.BigEndianUnion
LittleEndianUnionhttps://docs.python.org/dev/library/ctypes.html#ctypes.LittleEndianUnion
https://docs.python.org/dev/library/ctypes.html#bit-fields-in-structures-and-unions
_fields_https://docs.python.org/dev/library/ctypes.html#ctypes.Structure._fields_
_layout_https://docs.python.org/dev/library/ctypes.html#ctypes.Structure._layout_
https://docs.python.org/dev/library/ctypes.html#arrays
https://docs.python.org/dev/library/ctypes.html#pointers
pointer()https://docs.python.org/dev/library/ctypes.html#ctypes.pointer
ctypeshttps://docs.python.org/dev/library/ctypes.html#module-ctypes
contentshttps://docs.python.org/dev/library/ctypes.html#ctypes._Pointer.contents
ctypeshttps://docs.python.org/dev/library/ctypes.html#module-ctypes
c_inthttps://docs.python.org/dev/library/ctypes.html#ctypes.c_int
pointer()https://docs.python.org/dev/library/ctypes.html#ctypes.pointer
POINTER()https://docs.python.org/dev/library/ctypes.html#ctypes.POINTER
ctypeshttps://docs.python.org/dev/library/ctypes.html#module-ctypes
ctypeshttps://docs.python.org/dev/library/ctypes.html#module-ctypes
https://docs.python.org/dev/library/ctypes.html#thread-safety-without-the-gil
GILhttps://docs.python.org/dev/glossary.html#term-GIL
free threadedhttps://docs.python.org/dev/glossary.html#term-free-threading
threading.Lockhttps://docs.python.org/dev/library/threading.html#threading.Lock
https://docs.python.org/dev/library/ctypes.html#type-conversions
argtypeshttps://docs.python.org/dev/library/ctypes.html#ctypes._CFuncPtr.argtypes
argtypeshttps://docs.python.org/dev/library/ctypes.html#ctypes._CFuncPtr.argtypes
byref()https://docs.python.org/dev/library/ctypes.html#ctypes.byref
ctypeshttps://docs.python.org/dev/library/ctypes.html#module-ctypes
cast()https://docs.python.org/dev/library/ctypes.html#ctypes.cast
c_inthttps://docs.python.org/dev/library/ctypes.html#ctypes.c_int
cast()https://docs.python.org/dev/library/ctypes.html#ctypes.cast
cast()https://docs.python.org/dev/library/ctypes.html#ctypes.cast
cast()https://docs.python.org/dev/library/ctypes.html#ctypes.cast
cast()https://docs.python.org/dev/library/ctypes.html#ctypes.cast
https://docs.python.org/dev/library/ctypes.html#incomplete-types
ctypeshttps://docs.python.org/dev/library/ctypes.html#module-ctypes
_fields_https://docs.python.org/dev/library/ctypes.html#ctypes.Structure._fields_
https://docs.python.org/dev/library/ctypes.html#callback-functions
ctypeshttps://docs.python.org/dev/library/ctypes.html#module-ctypes
CFUNCTYPE()https://docs.python.org/dev/library/ctypes.html#ctypes.CFUNCTYPE
WINFUNCTYPE()https://docs.python.org/dev/library/ctypes.html#ctypes.WINFUNCTYPE
CFUNCTYPE()https://docs.python.org/dev/library/ctypes.html#ctypes.CFUNCTYPE
ctypeshttps://docs.python.org/dev/library/ctypes.html#module-ctypes
threading.localhttps://docs.python.org/dev/library/threading.html#threading.local
https://docs.python.org/dev/library/ctypes.html#accessing-values-exported-from-dlls
Py_Versionhttps://docs.python.org/dev/c-api/apiabiversion.html#c.Py_Version
ctypeshttps://docs.python.org/dev/library/ctypes.html#module-ctypes
in_dll()https://docs.python.org/dev/library/ctypes.html#ctypes._CData.in_dll
PyImport_FrozenModuleshttps://docs.python.org/dev/c-api/import.html#c.PyImport_FrozenModules
_frozenhttps://docs.python.org/dev/c-api/import.html#c._frozen
ctypeshttps://docs.python.org/dev/library/ctypes.html#module-ctypes
_frozenhttps://docs.python.org/dev/c-api/import.html#c._frozen
https://docs.python.org/dev/library/ctypes.html#surprises
ctypeshttps://docs.python.org/dev/library/ctypes.html#module-ctypes
c_char_phttps://docs.python.org/dev/library/ctypes.html#ctypes.c_char_p
descriptorhttps://docs.python.org/dev/glossary.html#term-descriptor
https://docs.python.org/dev/library/ctypes.html#variable-sized-data-types
ctypeshttps://docs.python.org/dev/library/ctypes.html#module-ctypes
resize()https://docs.python.org/dev/library/ctypes.html#ctypes.resize
ValueErrorhttps://docs.python.org/dev/library/exceptions.html#ValueError
ctypeshttps://docs.python.org/dev/library/ctypes.html#module-ctypes
https://docs.python.org/dev/library/ctypes.html#ctypes-reference
https://docs.python.org/dev/library/ctypes.html#finding-shared-libraries
find_library()https://docs.python.org/dev/library/ctypes.html#ctypes.util.find_library
find_library()https://docs.python.org/dev/library/ctypes.html#ctypes.util.find_library
find_library()https://docs.python.org/dev/library/ctypes.html#ctypes.util.find_library
find_library()https://docs.python.org/dev/library/ctypes.html#ctypes.util.find_library
ctypeshttps://docs.python.org/dev/library/ctypes.html#module-ctypes
find_library()https://docs.python.org/dev/library/ctypes.html#ctypes.util.find_library
https://docs.python.org/dev/library/ctypes.html#listing-loaded-shared-libraries
dllist()https://docs.python.org/dev/library/ctypes.html#ctypes.util.dllist
https://docs.python.org/dev/library/ctypes.html#loading-shared-libraries
https://docs.python.org/dev/library/ctypes.html#ctypes.CDLL
CDLLhttps://docs.python.org/dev/library/ctypes.html#ctypes.CDLL
OSErrorhttps://docs.python.org/dev/library/exceptions.html#OSError
path-like objecthttps://docs.python.org/dev/glossary.html#term-path-like-object
Microsoft DUMPBIN toolhttps://docs.microsoft.com/cpp/build/reference/dependents
https://docs.python.org/dev/library/ctypes.html#ctypes.OleDLL
HRESULThttps://docs.python.org/dev/library/ctypes.html#ctypes.HRESULT
HRESULThttps://docs.python.org/dev/library/ctypes.html#ctypes.HRESULT
OSErrorhttps://docs.python.org/dev/library/exceptions.html#OSError
Availabilityhttps://docs.python.org/dev/library/intro.html#availability
WindowsErrorhttps://docs.python.org/dev/library/exceptions.html#WindowsError
OSErrorhttps://docs.python.org/dev/library/exceptions.html#OSError
path-like objecthttps://docs.python.org/dev/glossary.html#term-path-like-object
https://docs.python.org/dev/library/ctypes.html#ctypes.WinDLL
Availabilityhttps://docs.python.org/dev/library/intro.html#availability
path-like objecthttps://docs.python.org/dev/glossary.html#term-path-like-object
global interpreter lockhttps://docs.python.org/dev/glossary.html#term-global-interpreter-lock
https://docs.python.org/dev/library/ctypes.html#ctypes.PyDLL
CDLLhttps://docs.python.org/dev/library/ctypes.html#ctypes.CDLL
path-like objecthttps://docs.python.org/dev/glossary.html#term-path-like-object
dlopen(3)https://manpages.debian.org/dlopen(3)
errnohttps://docs.python.org/dev/library/errno.html#module-errno
ctypeshttps://docs.python.org/dev/library/ctypes.html#module-ctypes
errnohttps://docs.python.org/dev/library/errno.html#module-errno
errnohttps://docs.python.org/dev/library/errno.html#module-errno
ctypes.get_errno()https://docs.python.org/dev/library/ctypes.html#ctypes.get_errno
ctypes.set_errno()https://docs.python.org/dev/library/ctypes.html#ctypes.set_errno
GetLastError()https://docs.python.org/dev/library/ctypes.html#ctypes.GetLastError
ctypes.get_last_error()https://docs.python.org/dev/library/ctypes.html#ctypes.get_last_error
ctypes.set_last_error()https://docs.python.org/dev/library/ctypes.html#ctypes.set_last_error
https://docs.python.org/dev/library/ctypes.html#ctypes.PyDLL._handle
https://docs.python.org/dev/library/ctypes.html#ctypes.PyDLL._name
LibraryLoaderhttps://docs.python.org/dev/library/ctypes.html#ctypes.LibraryLoader
LoadLibrary()https://docs.python.org/dev/library/ctypes.html#ctypes.LibraryLoader.LoadLibrary
https://docs.python.org/dev/library/ctypes.html#ctypes.LibraryLoader
CDLLhttps://docs.python.org/dev/library/ctypes.html#ctypes.CDLL
PyDLLhttps://docs.python.org/dev/library/ctypes.html#ctypes.PyDLL
WinDLLhttps://docs.python.org/dev/library/ctypes.html#ctypes.WinDLL
OleDLLhttps://docs.python.org/dev/library/ctypes.html#ctypes.OleDLL
https://docs.python.org/dev/library/ctypes.html#ctypes.LibraryLoader.LoadLibrary
CDLLhttps://docs.python.org/dev/library/ctypes.html#ctypes.CDLL
WinDLLhttps://docs.python.org/dev/library/ctypes.html#ctypes.WinDLL
Availabilityhttps://docs.python.org/dev/library/intro.html#availability
OleDLLhttps://docs.python.org/dev/library/ctypes.html#ctypes.OleDLL
Availabilityhttps://docs.python.org/dev/library/intro.html#availability
PyDLLhttps://docs.python.org/dev/library/ctypes.html#ctypes.PyDLL
PyDLLhttps://docs.python.org/dev/library/ctypes.html#ctypes.PyDLL
auditing eventhttps://docs.python.org/dev/library/sys.html#auditing
https://docs.python.org/dev/library/ctypes.html#foreign-functions
_CFuncPtrhttps://docs.python.org/dev/library/ctypes.html#ctypes._CFuncPtr
https://docs.python.org/dev/library/ctypes.html#ctypes._CFuncPtr
https://docs.python.org/dev/library/ctypes.html#ctypes._CFuncPtr.restype
errcheckhttps://docs.python.org/dev/library/ctypes.html#ctypes._CFuncPtr.errcheck
https://docs.python.org/dev/library/ctypes.html#ctypes._CFuncPtr.argtypes
from_param()https://docs.python.org/dev/library/ctypes.html#ctypes._CData.from_param
argtypeshttps://docs.python.org/dev/library/ctypes.html#ctypes._CFuncPtr.argtypes
c_char_phttps://docs.python.org/dev/library/ctypes.html#ctypes.c_char_p
argtypeshttps://docs.python.org/dev/library/ctypes.html#ctypes._CFuncPtr.argtypes
from_param()https://docs.python.org/dev/library/ctypes.html#ctypes._CData.from_param
https://docs.python.org/dev/library/ctypes.html#ctypes._CFuncPtr.errcheck
https://docs.python.org/dev/library/ctypes.html#function-prototypes
Callback functionshttps://docs.python.org/dev/library/ctypes.html#ctypes-callback-functions
https://docs.python.org/dev/library/ctypes.html#ctypes.CFUNCTYPE
errnohttps://docs.python.org/dev/library/errno.html#module-errno
errnohttps://docs.python.org/dev/library/errno.html#module-errno
https://docs.python.org/dev/library/ctypes.html#ctypes.WINFUNCTYPE
Availabilityhttps://docs.python.org/dev/library/intro.html#availability
https://docs.python.org/dev/library/ctypes.html#ctypes.PYFUNCTYPE
OSErrorhttps://docs.python.org/dev/library/exceptions.html#OSError
COMErrorhttps://docs.python.org/dev/library/ctypes.html#ctypes.COMError
Availabilityhttps://docs.python.org/dev/library/intro.html#availability
argtypeshttps://docs.python.org/dev/library/ctypes.html#ctypes._CFuncPtr.argtypes
ctypeshttps://docs.python.org/dev/library/ctypes.html#module-ctypes
ctypeshttps://docs.python.org/dev/library/ctypes.html#module-ctypes
errcheckhttps://docs.python.org/dev/library/ctypes.html#ctypes._CFuncPtr.errcheck
errcheckhttps://docs.python.org/dev/library/ctypes.html#ctypes._CFuncPtr.errcheck
ctypeshttps://docs.python.org/dev/library/ctypes.html#module-ctypes
https://docs.python.org/dev/library/ctypes.html#utility-functions
https://docs.python.org/dev/library/ctypes.html#ctypes.addressof
auditing eventhttps://docs.python.org/dev/library/sys.html#auditing
https://docs.python.org/dev/library/ctypes.html#ctypes.alignment
https://docs.python.org/dev/library/ctypes.html#ctypes.byref
https://docs.python.org/dev/library/ctypes.html#ctypes.CopyComPointer
Availabilityhttps://docs.python.org/dev/library/intro.html#availability
https://docs.python.org/dev/library/ctypes.html#ctypes.cast
https://docs.python.org/dev/library/ctypes.html#ctypes.create_string_buffer
c_charhttps://docs.python.org/dev/library/ctypes.html#ctypes.c_char
inthttps://docs.python.org/dev/library/functions.html#int
byteshttps://docs.python.org/dev/library/stdtypes.html#bytes
auditing eventhttps://docs.python.org/dev/library/sys.html#auditing
https://docs.python.org/dev/library/ctypes.html#ctypes.create_unicode_buffer
c_wcharhttps://docs.python.org/dev/library/ctypes.html#ctypes.c_wchar
create_string_buffer()https://docs.python.org/dev/library/ctypes.html#ctypes.create_string_buffer
c_wcharhttps://docs.python.org/dev/library/ctypes.html#ctypes.c_wchar
auditing eventhttps://docs.python.org/dev/library/sys.html#auditing
https://docs.python.org/dev/library/ctypes.html#ctypes.DllCanUnloadNow
Availabilityhttps://docs.python.org/dev/library/intro.html#availability
https://docs.python.org/dev/library/ctypes.html#ctypes.DllGetClassObject
Availabilityhttps://docs.python.org/dev/library/intro.html#availability
https://docs.python.org/dev/library/ctypes.html#ctypes.util.find_library
Finding shared librarieshttps://docs.python.org/dev/library/ctypes.html#ctypes-finding-shared-libraries
https://docs.python.org/dev/library/ctypes.html#ctypes.util.find_msvcrt
Availabilityhttps://docs.python.org/dev/library/intro.html#availability
https://docs.python.org/dev/library/ctypes.html#ctypes.util.dllist
OSErrorhttps://docs.python.org/dev/library/exceptions.html#OSError
Availabilityhttps://docs.python.org/dev/library/intro.html#availability
https://docs.python.org/dev/library/ctypes.html#ctypes.FormatError
GetLastError()https://docs.python.org/dev/library/ctypes.html#ctypes.GetLastError
Availabilityhttps://docs.python.org/dev/library/intro.html#availability
https://docs.python.org/dev/library/ctypes.html#ctypes.GetLastError
Availabilityhttps://docs.python.org/dev/library/intro.html#availability
https://docs.python.org/dev/library/ctypes.html#ctypes.get_errno
errnohttps://docs.python.org/dev/library/errno.html#module-errno
auditing eventhttps://docs.python.org/dev/library/sys.html#auditing
https://docs.python.org/dev/library/ctypes.html#ctypes.get_last_error
Availabilityhttps://docs.python.org/dev/library/intro.html#availability
auditing eventhttps://docs.python.org/dev/library/sys.html#auditing
https://docs.python.org/dev/library/ctypes.html#ctypes.memmove
https://docs.python.org/dev/library/ctypes.html#ctypes.memset
https://docs.python.org/dev/library/ctypes.html#ctypes.POINTER
https://docs.python.org/dev/library/ctypes.html#ctypes.pointer
https://docs.python.org/dev/library/ctypes.html#ctypes.resize
https://docs.python.org/dev/library/ctypes.html#ctypes.set_errno
errnohttps://docs.python.org/dev/library/errno.html#module-errno
auditing eventhttps://docs.python.org/dev/library/sys.html#auditing
https://docs.python.org/dev/library/ctypes.html#ctypes.set_last_error
Availabilityhttps://docs.python.org/dev/library/intro.html#availability
auditing eventhttps://docs.python.org/dev/library/sys.html#auditing
https://docs.python.org/dev/library/ctypes.html#ctypes.sizeof
https://docs.python.org/dev/library/ctypes.html#ctypes.string_at
auditing eventhttps://docs.python.org/dev/library/sys.html#auditing
https://docs.python.org/dev/library/ctypes.html#ctypes.WinError
OSErrorhttps://docs.python.org/dev/library/exceptions.html#OSError
GetLastError()https://docs.python.org/dev/library/ctypes.html#ctypes.GetLastError
FormatError()https://docs.python.org/dev/library/ctypes.html#ctypes.FormatError
Availabilityhttps://docs.python.org/dev/library/intro.html#availability
WindowsErrorhttps://docs.python.org/dev/library/exceptions.html#WindowsError
OSErrorhttps://docs.python.org/dev/library/exceptions.html#OSError
https://docs.python.org/dev/library/ctypes.html#ctypes.wstring_at
auditing eventhttps://docs.python.org/dev/library/sys.html#auditing
https://docs.python.org/dev/library/ctypes.html#ctypes.memoryview_at
memoryviewhttps://docs.python.org/dev/library/stdtypes.html#memoryview
string_at()https://docs.python.org/dev/library/ctypes.html#ctypes.string_at
from_address()https://docs.python.org/dev/library/ctypes.html#ctypes._CData.from_address
ctypes.POINTERhttps://docs.python.org/dev/library/ctypes.html#ctypes.POINTER
byref()https://docs.python.org/dev/library/ctypes.html#ctypes.byref
auditing eventhttps://docs.python.org/dev/library/sys.html#auditing
https://docs.python.org/dev/library/ctypes.html#data-types
https://docs.python.org/dev/library/ctypes.html#ctypes._CData
addressof()https://docs.python.org/dev/library/ctypes.html#ctypes.addressof
_objectshttps://docs.python.org/dev/library/ctypes.html#ctypes._CData._objects
metaclasshttps://docs.python.org/dev/glossary.html#term-metaclass
https://docs.python.org/dev/library/ctypes.html#ctypes._CData.from_buffer
ValueErrorhttps://docs.python.org/dev/library/exceptions.html#ValueError
auditing eventhttps://docs.python.org/dev/library/sys.html#auditing
https://docs.python.org/dev/library/ctypes.html#ctypes._CData.from_buffer_copy
ValueErrorhttps://docs.python.org/dev/library/exceptions.html#ValueError
auditing eventhttps://docs.python.org/dev/library/sys.html#auditing
https://docs.python.org/dev/library/ctypes.html#ctypes._CData.from_address
auditing eventhttps://docs.python.org/dev/library/sys.html#auditing
https://docs.python.org/dev/library/ctypes.html#ctypes._CData.from_param
argtypeshttps://docs.python.org/dev/library/ctypes.html#ctypes._CFuncPtr.argtypes
https://docs.python.org/dev/library/ctypes.html#ctypes._CData.in_dll
https://docs.python.org/dev/library/ctypes.html#ctypes._CData.__pointer_type__
POINTER()https://docs.python.org/dev/library/ctypes.html#ctypes.POINTER
https://docs.python.org/dev/library/ctypes.html#ctypes._CData._b_base_
_b_base_https://docs.python.org/dev/library/ctypes.html#ctypes._CData._b_base_
https://docs.python.org/dev/library/ctypes.html#ctypes._CData._b_needsfree_
https://docs.python.org/dev/library/ctypes.html#ctypes._CData._objects
https://docs.python.org/dev/library/ctypes.html#ctypes-fundamental-data-types-2
https://docs.python.org/dev/library/ctypes.html#ctypes._SimpleCData
_SimpleCDatahttps://docs.python.org/dev/library/ctypes.html#ctypes._SimpleCData
_CDatahttps://docs.python.org/dev/library/ctypes.html#ctypes._CData
https://docs.python.org/dev/library/ctypes.html#ctypes._SimpleCData.value
ctypeshttps://docs.python.org/dev/library/ctypes.html#module-ctypes
restypehttps://docs.python.org/dev/library/ctypes.html#ctypes._CFuncPtr.restype
c_char_phttps://docs.python.org/dev/library/ctypes.html#ctypes.c_char_p
c_char_phttps://docs.python.org/dev/library/ctypes.html#ctypes.c_char_p
c_void_phttps://docs.python.org/dev/library/ctypes.html#ctypes.c_void_p
https://docs.python.org/dev/library/ctypes.html#ctypes.c_byte
https://docs.python.org/dev/library/ctypes.html#ctypes.c_char
https://docs.python.org/dev/library/ctypes.html#ctypes.c_char_p
https://docs.python.org/dev/library/ctypes.html#ctypes.c_double
https://docs.python.org/dev/library/ctypes.html#ctypes.c_longdouble
c_doublehttps://docs.python.org/dev/library/ctypes.html#ctypes.c_double
https://docs.python.org/dev/library/ctypes.html#ctypes.c_float
https://docs.python.org/dev/library/ctypes.html#ctypes.c_double_complex
complexhttps://docs.python.org/dev/library/functions.html#complex
https://docs.python.org/dev/library/ctypes.html#ctypes.c_float_complex
complexhttps://docs.python.org/dev/library/functions.html#complex
https://docs.python.org/dev/library/ctypes.html#ctypes.c_longdouble_complex
complexhttps://docs.python.org/dev/library/functions.html#complex
https://docs.python.org/dev/library/ctypes.html#ctypes.c_int
c_longhttps://docs.python.org/dev/library/ctypes.html#ctypes.c_long
https://docs.python.org/dev/library/ctypes.html#ctypes.c_int8
c_bytehttps://docs.python.org/dev/library/ctypes.html#ctypes.c_byte
https://docs.python.org/dev/library/ctypes.html#ctypes.c_int16
c_shorthttps://docs.python.org/dev/library/ctypes.html#ctypes.c_short
https://docs.python.org/dev/library/ctypes.html#ctypes.c_int32
c_inthttps://docs.python.org/dev/library/ctypes.html#ctypes.c_int
https://docs.python.org/dev/library/ctypes.html#ctypes.c_int64
c_longlonghttps://docs.python.org/dev/library/ctypes.html#ctypes.c_longlong
https://docs.python.org/dev/library/ctypes.html#ctypes.c_long
https://docs.python.org/dev/library/ctypes.html#ctypes.c_longlong
https://docs.python.org/dev/library/ctypes.html#ctypes.c_short
https://docs.python.org/dev/library/ctypes.html#ctypes.c_size_t
https://docs.python.org/dev/library/ctypes.html#ctypes.c_ssize_t
https://docs.python.org/dev/library/ctypes.html#ctypes.c_time_t
https://docs.python.org/dev/library/ctypes.html#ctypes.c_ubyte
https://docs.python.org/dev/library/ctypes.html#ctypes.c_uint
c_ulonghttps://docs.python.org/dev/library/ctypes.html#ctypes.c_ulong
https://docs.python.org/dev/library/ctypes.html#ctypes.c_uint8
c_ubytehttps://docs.python.org/dev/library/ctypes.html#ctypes.c_ubyte
https://docs.python.org/dev/library/ctypes.html#ctypes.c_uint16
c_ushorthttps://docs.python.org/dev/library/ctypes.html#ctypes.c_ushort
https://docs.python.org/dev/library/ctypes.html#ctypes.c_uint32
c_uinthttps://docs.python.org/dev/library/ctypes.html#ctypes.c_uint
https://docs.python.org/dev/library/ctypes.html#ctypes.c_uint64
c_ulonglonghttps://docs.python.org/dev/library/ctypes.html#ctypes.c_ulonglong
https://docs.python.org/dev/library/ctypes.html#ctypes.c_ulong
https://docs.python.org/dev/library/ctypes.html#ctypes.c_ulonglong
https://docs.python.org/dev/library/ctypes.html#ctypes.c_ushort
https://docs.python.org/dev/library/ctypes.html#ctypes.c_void_p
https://docs.python.org/dev/library/ctypes.html#ctypes.c_wchar
https://docs.python.org/dev/library/ctypes.html#ctypes.c_wchar_p
https://docs.python.org/dev/library/ctypes.html#ctypes.c_bool
https://docs.python.org/dev/library/ctypes.html#ctypes.HRESULT
Availabilityhttps://docs.python.org/dev/library/intro.html#availability
https://docs.python.org/dev/library/ctypes.html#ctypes.py_object
PyObjecthttps://docs.python.org/dev/c-api/structures.html#c.PyObject
PyObjecthttps://docs.python.org/dev/c-api/structures.html#c.PyObject
generic typehttps://docs.python.org/dev/glossary.html#term-generic-type
https://docs.python.org/dev/library/ctypes.html#structured-data-types
https://docs.python.org/dev/library/ctypes.html#ctypes.Union
Structurehttps://docs.python.org/dev/library/ctypes.html#ctypes.Structure
https://docs.python.org/dev/library/ctypes.html#ctypes.BigEndianUnion
https://docs.python.org/dev/library/ctypes.html#ctypes.LittleEndianUnion
https://docs.python.org/dev/library/ctypes.html#ctypes.BigEndianStructure
https://docs.python.org/dev/library/ctypes.html#ctypes.LittleEndianStructure
https://docs.python.org/dev/library/ctypes.html#ctypes.Structure
_fields_https://docs.python.org/dev/library/ctypes.html#ctypes.Structure._fields_
ctypeshttps://docs.python.org/dev/library/ctypes.html#module-ctypes
descriptorhttps://docs.python.org/dev/glossary.html#term-descriptor
https://docs.python.org/dev/library/ctypes.html#ctypes.Structure._fields_
c_inthttps://docs.python.org/dev/library/ctypes.html#ctypes.c_int
_fields_https://docs.python.org/dev/library/ctypes.html#ctypes.Structure._fields_
AttributeErrorhttps://docs.python.org/dev/library/exceptions.html#AttributeError
sizeof()https://docs.python.org/dev/library/ctypes.html#ctypes.sizeof
AttributeErrorhttps://docs.python.org/dev/library/exceptions.html#AttributeError
_fields_https://docs.python.org/dev/library/ctypes.html#ctypes.Structure._fields_
https://docs.python.org/dev/library/ctypes.html#ctypes.Structure._pack_
_layout_https://docs.python.org/dev/library/ctypes.html#ctypes.Structure._layout_
ctypeshttps://docs.python.org/dev/library/ctypes.html#module-ctypes
_fields_https://docs.python.org/dev/library/ctypes.html#ctypes.Structure._fields_
_layout_https://docs.python.org/dev/library/ctypes.html#ctypes.Structure._layout_
https://docs.python.org/dev/library/ctypes.html#ctypes.Structure._align_
ctypeshttps://docs.python.org/dev/library/ctypes.html#module-ctypes
_fields_https://docs.python.org/dev/library/ctypes.html#ctypes.Structure._fields_
https://docs.python.org/dev/library/ctypes.html#ctypes.Structure._layout_
_pack_https://docs.python.org/dev/library/ctypes.html#ctypes.Structure._pack_
_pack_https://docs.python.org/dev/library/ctypes.html#ctypes.Structure._pack_
_pack_https://docs.python.org/dev/library/ctypes.html#ctypes.Structure._pack_
_fields_https://docs.python.org/dev/library/ctypes.html#ctypes.Structure._fields_
https://docs.python.org/dev/library/ctypes.html#ctypes.Structure._anonymous_
_anonymous_https://docs.python.org/dev/library/ctypes.html#ctypes.Structure._anonymous_
_fields_https://docs.python.org/dev/library/ctypes.html#ctypes.Structure._fields_
ctypeshttps://docs.python.org/dev/library/ctypes.html#module-ctypes
_fields_https://docs.python.org/dev/library/ctypes.html#ctypes.Structure._fields_
_fields_https://docs.python.org/dev/library/ctypes.html#ctypes.Structure._fields_
_fields_https://docs.python.org/dev/library/ctypes.html#ctypes.Structure._fields_
_fields_https://docs.python.org/dev/library/ctypes.html#ctypes.Structure._fields_
https://docs.python.org/dev/library/ctypes.html#ctypes.CField
Structurehttps://docs.python.org/dev/library/ctypes.html#ctypes.Structure
Unionhttps://docs.python.org/dev/library/ctypes.html#ctypes.Union
_fields_https://docs.python.org/dev/library/ctypes.html#ctypes.Structure._fields_
https://docs.python.org/dev/library/ctypes.html#ctypes.CField.name
https://docs.python.org/dev/library/ctypes.html#ctypes.CField.type
ctypes classhttps://docs.python.org/dev/library/ctypes.html#ctypes-data-types
https://docs.python.org/dev/library/ctypes.html#ctypes.CField.offset
https://docs.python.org/dev/library/ctypes.html#ctypes.CField.byte_offset
bit_offsethttps://docs.python.org/dev/library/ctypes.html#ctypes.CField.bit_offset
https://docs.python.org/dev/library/ctypes.html#ctypes.CField.byte_size
https://docs.python.org/dev/library/ctypes.html#ctypes.CField.size
byte_sizehttps://docs.python.org/dev/library/ctypes.html#ctypes.CField.byte_size
bit_sizehttps://docs.python.org/dev/library/ctypes.html#ctypes.CField.bit_size
bit_offsethttps://docs.python.org/dev/library/ctypes.html#ctypes.CField.bit_offset
https://docs.python.org/dev/library/ctypes.html#ctypes.CField.is_bitfield
https://docs.python.org/dev/library/ctypes.html#ctypes.CField.bit_offset
https://docs.python.org/dev/library/ctypes.html#ctypes.CField.bit_size
byte_sizehttps://docs.python.org/dev/library/ctypes.html#ctypes.CField.byte_size
byte_offsethttps://docs.python.org/dev/library/ctypes.html#ctypes.CField.byte_offset
shift lefthttps://docs.python.org/dev/reference/expressions.html#shifting
https://docs.python.org/dev/library/ctypes.html#ctypes.CField.is_anonymous
https://docs.python.org/dev/library/ctypes.html#arrays-and-pointers
https://docs.python.org/dev/library/ctypes.html#ctypes.Array
ctypeshttps://docs.python.org/dev/library/ctypes.html#module-ctypes
_length_https://docs.python.org/dev/library/ctypes.html#ctypes.Array._length_
_type_https://docs.python.org/dev/library/ctypes.html#ctypes.Array._type_
Arrayhttps://docs.python.org/dev/library/ctypes.html#ctypes.Array
https://docs.python.org/dev/library/ctypes.html#ctypes.Array._length_
IndexErrorhttps://docs.python.org/dev/library/exceptions.html#IndexError
len()https://docs.python.org/dev/library/functions.html#len
https://docs.python.org/dev/library/ctypes.html#ctypes.Array._type_
https://docs.python.org/dev/library/ctypes.html#ctypes.ARRAY
ctypeshttps://docs.python.org/dev/library/ctypes.html#module-ctypes
soft deprecatedhttps://docs.python.org/dev/glossary.html#term-soft-deprecated
https://docs.python.org/dev/library/ctypes.html#ctypes._Pointer
POINTER()https://docs.python.org/dev/library/ctypes.html#ctypes.POINTER
pointer()https://docs.python.org/dev/library/ctypes.html#ctypes.pointer
len()https://docs.python.org/dev/library/functions.html#len
TypeErrorhttps://docs.python.org/dev/library/exceptions.html#TypeError
https://docs.python.org/dev/library/ctypes.html#ctypes._Pointer._type_
https://docs.python.org/dev/library/ctypes.html#ctypes._Pointer.contents
https://docs.python.org/dev/library/ctypes.html#exceptions
https://docs.python.org/dev/library/ctypes.html#ctypes.ArgumentError
https://docs.python.org/dev/library/ctypes.html#ctypes.COMError
https://docs.python.org/dev/library/ctypes.html#ctypes.COMError.hresult
https://docs.python.org/dev/library/ctypes.html#ctypes.COMError.text
https://docs.python.org/dev/library/ctypes.html#ctypes.COMError.details
Availabilityhttps://docs.python.org/dev/library/intro.html#availability
Table of Contentshttps://docs.python.org/dev/contents.html
ctypes — A foreign function library for Pythonhttps://docs.python.org/dev/library/ctypes.html
ctypes tutorialhttps://docs.python.org/dev/library/ctypes.html#ctypes-tutorial
Loading dynamic link librarieshttps://docs.python.org/dev/library/ctypes.html#loading-dynamic-link-libraries
Accessing functions from loaded dllshttps://docs.python.org/dev/library/ctypes.html#accessing-functions-from-loaded-dlls
Calling functionshttps://docs.python.org/dev/library/ctypes.html#calling-functions
Fundamental data typeshttps://docs.python.org/dev/library/ctypes.html#fundamental-data-types
Calling functions, continuedhttps://docs.python.org/dev/library/ctypes.html#calling-functions-continued
Calling variadic functionshttps://docs.python.org/dev/library/ctypes.html#calling-variadic-functions
Calling functions with your own custom data typeshttps://docs.python.org/dev/library/ctypes.html#calling-functions-with-your-own-custom-data-types
Specifying the required argument types (function prototypes)https://docs.python.org/dev/library/ctypes.html#specifying-the-required-argument-types-function-prototypes
Return typeshttps://docs.python.org/dev/library/ctypes.html#return-types
Passing pointers (or: passing parameters by reference)https://docs.python.org/dev/library/ctypes.html#passing-pointers-or-passing-parameters-by-reference
Structures and unionshttps://docs.python.org/dev/library/ctypes.html#structures-and-unions
Structure/union layout, alignment and byte orderhttps://docs.python.org/dev/library/ctypes.html#structure-union-layout-alignment-and-byte-order
Bit fields in structures and unionshttps://docs.python.org/dev/library/ctypes.html#bit-fields-in-structures-and-unions
Arrayshttps://docs.python.org/dev/library/ctypes.html#arrays
Pointershttps://docs.python.org/dev/library/ctypes.html#pointers
Thread safety without the GILhttps://docs.python.org/dev/library/ctypes.html#thread-safety-without-the-gil
Type conversionshttps://docs.python.org/dev/library/ctypes.html#type-conversions
Incomplete Typeshttps://docs.python.org/dev/library/ctypes.html#incomplete-types
Callback functionshttps://docs.python.org/dev/library/ctypes.html#callback-functions
Accessing values exported from dllshttps://docs.python.org/dev/library/ctypes.html#accessing-values-exported-from-dlls
Surpriseshttps://docs.python.org/dev/library/ctypes.html#surprises
Variable-sized data typeshttps://docs.python.org/dev/library/ctypes.html#variable-sized-data-types
ctypes referencehttps://docs.python.org/dev/library/ctypes.html#ctypes-reference
Finding shared librarieshttps://docs.python.org/dev/library/ctypes.html#finding-shared-libraries
Listing loaded shared librarieshttps://docs.python.org/dev/library/ctypes.html#listing-loaded-shared-libraries
Loading shared librarieshttps://docs.python.org/dev/library/ctypes.html#loading-shared-libraries
Foreign functionshttps://docs.python.org/dev/library/ctypes.html#foreign-functions
Function prototypeshttps://docs.python.org/dev/library/ctypes.html#function-prototypes
Utility functionshttps://docs.python.org/dev/library/ctypes.html#utility-functions
Data typeshttps://docs.python.org/dev/library/ctypes.html#data-types
Fundamental data typeshttps://docs.python.org/dev/library/ctypes.html#ctypes-fundamental-data-types-2
Structured data typeshttps://docs.python.org/dev/library/ctypes.html#structured-data-types
Arrays and pointershttps://docs.python.org/dev/library/ctypes.html#arrays-and-pointers
Exceptionshttps://docs.python.org/dev/library/ctypes.html#exceptions
errno — Standard errno system symbolshttps://docs.python.org/dev/library/errno.html
Command-line interface librarieshttps://docs.python.org/dev/library/cmdlinelibs.html
Report a bughttps://docs.python.org/dev/bugs.html
Show source https://github.com/python/cpython/blob/main/Doc/library/ctypes.rst?plain=1
indexhttps://docs.python.org/dev/genindex.html
moduleshttps://docs.python.org/dev/py-modindex.html
nexthttps://docs.python.org/dev/library/cmdlinelibs.html
previoushttps://docs.python.org/dev/library/errno.html
Pythonhttps://www.python.org/
3.15.0a5 Documentationhttps://docs.python.org/dev/index.html
The Python Standard Libraryhttps://docs.python.org/dev/library/index.html
Generic Operating System Serviceshttps://docs.python.org/dev/library/allos.html
ctypes — A foreign function library for Pythonhttps://docs.python.org/dev/library/ctypes.html
Copyrighthttps://docs.python.org/dev/copyright.html
History and Licensehttps://docs.python.org/license.html
Please donate.https://www.python.org/psf/donations/
Found a bughttps://docs.python.org/bugs.html
Sphinxhttps://www.sphinx-doc.org/

Viewport: width=device-width, initial-scale=1.0


URLs of crawlers that visited me.