MCPcopy Create free account
hub / github.com/tox-dev/filelock / Overlapped

Class Overlapped

tests/conftest.py:329–336  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

327 from ctypes import wintypes
328
329 class Overlapped(ctypes.Structure):
330 _fields_ = (
331 ("Internal", ctypes.c_void_p),
332 ("InternalHigh", ctypes.c_void_p),
333 ("Offset", wintypes.DWORD),
334 ("OffsetHigh", wintypes.DWORD),
335 ("hEvent", wintypes.HANDLE),
336 )
337
338 kernel32 = ctypes.WinDLL("kernel32", use_last_error=True)
339 kernel32.CreateFileW.restype = kernel32.CreateEventW.restype = wintypes.HANDLE

Callers 1

holdFunction · 0.85

Calls

no outgoing calls

Tested by 1

holdFunction · 0.68