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

Function GetProcessId

pydevd_attach_to_process/winappdbg/win32/kernel32.py:4373–4378  ·  view source on GitHub ↗
(hProcess)

Source from the content-addressed store, hash-verified

4371# __in HANDLE hProcess
4372# );
4373def GetProcessId(hProcess):
4374 _GetProcessId = windll.kernel32.GetProcessId
4375 _GetProcessId.argtypes = [HANDLE]
4376 _GetProcessId.restype = DWORD
4377 _GetProcessId.errcheck = RaiseIfZero
4378 return _GetProcessId(hProcess)
4379
4380
4381# DWORD WINAPI GetThreadId(

Callers 1

get_pidMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected