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

Function GetStdHandle

pydevd_attach_to_process/winappdbg/win32/kernel32.py:2315–2320  ·  view source on GitHub ↗
(nStdHandle)

Source from the content-addressed store, hash-verified

2313# _In_ DWORD nStdHandle
2314# );
2315def GetStdHandle(nStdHandle):
2316 _GetStdHandle = windll.kernel32.GetStdHandle
2317 _GetStdHandle.argytpes = [DWORD]
2318 _GetStdHandle.restype = HANDLE
2319 _GetStdHandle.errcheck = RaiseIfZero
2320 return Handle(_GetStdHandle(nStdHandle), bOwnership=False)
2321
2322
2323# BOOL WINAPI SetStdHandle(

Callers 4

SetConsoleWindowInfoFunction · 0.85
SetConsoleTextAttributeFunction · 0.85

Calls 1

HandleClass · 0.85

Tested by

no test coverage detected