MCPcopy Create free account
hub / github.com/fabioz/PyDev.Debugger / SuspendThread

Function SuspendThread

pydevd_attach_to_process/winappdbg/win32/kernel32.py:4305–4313  ·  view source on GitHub ↗
(hThread)

Source from the content-addressed store, hash-verified

4303# __in HANDLE hThread
4304# );
4305def SuspendThread(hThread):
4306 _SuspendThread = windll.kernel32.SuspendThread
4307 _SuspendThread.argtypes = [HANDLE]
4308 _SuspendThread.restype = DWORD
4309
4310 previousCount = _SuspendThread(hThread)
4311 if previousCount == DWORD(-1).value:
4312 raise ctypes.WinError()
4313 return previousCount
4314
4315
4316# DWORD WINAPI ResumeThread(

Callers 1

SuspendThreadsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected