Lines Matching refs:HANDLE
2 from ctypes.wintypes import HANDLE
11 INVALID_HANDLE_VALUE = HANDLE(-1).value
40 CreateEventA.restype = HANDLE
45 CreateFileA.restype = HANDLE
46 CreateFileA.argtypes = [LPCSTR, DWORD, DWORD, LPSECURITY_ATTRIBUTES, DWORD, DWORD, HANDLE]
49 CreateEventW.restype = HANDLE
54 CreateFileW.restype = HANDLE
55 CreateFileW.argtypes = [LPCWSTR, DWORD, DWORD, LPSECURITY_ATTRIBUTES, DWORD, DWORD, HANDLE]
83 GetOverlappedResult.argtypes = [HANDLE, LPOVERLAPPED, LPDWORD, BOOL]
87 ResetEvent.argtypes = [HANDLE]
93 WriteFile.argtypes = [HANDLE, LPCVOID, DWORD, LPDWORD, LPOVERLAPPED]
99 ReadFile.argtypes = [HANDLE, LPVOID, DWORD, LPDWORD, LPOVERLAPPED]
103 CloseHandle.argtypes = [HANDLE]
107 ClearCommBreak.argtypes = [HANDLE]
113 ClearCommError.argtypes = [HANDLE, LPDWORD, LPCOMSTAT]
117 SetupComm.argtypes = [HANDLE, DWORD, DWORD]
121 EscapeCommFunction.argtypes = [HANDLE, DWORD]
125 GetCommModemStatus.argtypes = [HANDLE, LPDWORD]
131 GetCommState.argtypes = [HANDLE, LPDCB]
137 GetCommTimeouts.argtypes = [HANDLE, LPCOMMTIMEOUTS]
141 PurgeComm.argtypes = [HANDLE, DWORD]
145 SetCommBreak.argtypes = [HANDLE]
149 SetCommMask.argtypes = [HANDLE, DWORD]
153 SetCommState.argtypes = [HANDLE, LPDCB]
157 SetCommTimeouts.argtypes = [HANDLE, LPCOMMTIMEOUTS]
161 WaitForSingleObject.argtypes = [HANDLE, DWORD]
240 ('hEvent', HANDLE),