Searched refs:WINFUNCTYPE (Results 1 – 9 of 9) sorted by relevance
/third_party/python/Lib/ctypes/test/ |
D | test_funcptr.py | 5 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)
|
D | test_functions.py | 13 WINFUNCTYPE 16 WINFUNCTYPE = CFUNCTYPE variable 253 AnotherCallback = WINFUNCTYPE(c_int, c_int, c_int, c_int, c_int)
|
D | test_callbacks.py | 153 functype = WINFUNCTYPE 203 @WINFUNCTYPE(BOOL, HWND, LPARAM)
|
D | test_pointers.py | 196 mth = WINFUNCTYPE(None)(42, "name", (), None)
|
D | test_as_parameter.py | 9 CALLBACK_FUNCTYPE = WINFUNCTYPE
|
/third_party/python/Lib/test/ |
D | win_console_handler.py | 11 from ctypes import wintypes, WINFUNCTYPE 18 HandlerRoutine = WINFUNCTYPE(wintypes.BOOL, wintypes.DWORD)
|
D | test_codecs.py | 34 from ctypes import POINTER, WINFUNCTYPE, WinDLL 48 prototype = WINFUNCTYPE(BOOL, UINT, DWORD, POINTER(CPINFOEXW))
|
/third_party/python/Lib/ctypes/ |
D | __init__.py | 114 def WINFUNCTYPE(restype, *argtypes, **kw): function 132 if WINFUNCTYPE.__doc__: 133 WINFUNCTYPE.__doc__ = CFUNCTYPE.__doc__.replace("CFUNCTYPE", "WINFUNCTYPE")
|
/third_party/python/Doc/library/ |
D | ctypes.rst | 949 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))
|