Home
last modified time | relevance | path

Searched refs:WINFUNCTYPE (Results 1 – 9 of 9) sorted by relevance

/third_party/python/Lib/ctypes/test/
Dtest_funcptr.py5 WINFUNCTYPE
8 WINFUNCTYPE = CFUNCTYPE variable
15 X = WINFUNCTYPE(c_int, c_int, c_int)
27 StdCallback = WINFUNCTYPE(c_int, c_int, c_int)
42 if not WINFUNCTYPE is CFUNCTYPE:
46 WNDPROC = WINFUNCTYPE(c_long, c_int, c_int, c_int, c_int)
70 WNDPROC_2 = WINFUNCTYPE(c_long, c_int, c_int, c_int, c_int)
Dtest_functions.py13 WINFUNCTYPE
16 WINFUNCTYPE = CFUNCTYPE variable
253 AnotherCallback = WINFUNCTYPE(c_int, c_int, c_int, c_int, c_int)
Dtest_callbacks.py153 functype = WINFUNCTYPE
203 @WINFUNCTYPE(BOOL, HWND, LPARAM)
Dtest_pointers.py196 mth = WINFUNCTYPE(None)(42, "name", (), None)
Dtest_as_parameter.py9 CALLBACK_FUNCTYPE = WINFUNCTYPE
/third_party/python/Lib/test/
Dwin_console_handler.py11 from ctypes import wintypes, WINFUNCTYPE
18 HandlerRoutine = WINFUNCTYPE(wintypes.BOOL, wintypes.DWORD)
Dtest_codecs.py34 from ctypes import POINTER, WINFUNCTYPE, WinDLL
48 prototype = WINFUNCTYPE(BOOL, UINT, DWORD, POINTER(CPINFOEXW))
/third_party/python/Lib/ctypes/
D__init__.py114 def WINFUNCTYPE(restype, *argtypes, **kw): function
132 if WINFUNCTYPE.__doc__:
133 WINFUNCTYPE.__doc__ = CFUNCTYPE.__doc__.replace("CFUNCTYPE", "WINFUNCTYPE")
/third_party/python/Doc/library/
Dctypes.rst949 using the ``cdecl`` calling convention. On Windows, the :func:`WINFUNCTYPE`
1665 .. function:: WINFUNCTYPE(restype, *argtypes, use_errno=False, use_last_error=False)
1669 :func:`WINFUNCTYPE` is the same as :func:`CFUNCTYPE`. The function will
1758 >>> from ctypes import c_int, WINFUNCTYPE, windll
1760 >>> prototype = WINFUNCTYPE(c_int, HWND, LPCWSTR, LPCWSTR, UINT)
1781 >>> from ctypes import POINTER, WINFUNCTYPE, windll, WinError
1783 >>> prototype = WINFUNCTYPE(BOOL, HWND, POINTER(RECT))