MCPcopy Index your code
hub / github.com/nodejs/node / Win32SetErrorMode

Function Win32SetErrorMode

tools/test.py:687–694  ·  view source on GitHub ↗
(mode)

Source from the content-addressed store, hash-verified

685SEM_NOGPFAULTERRORBOX = 0x0002 # Microsoft Platform SDK WinBase.h
686
687def Win32SetErrorMode(mode):
688 prev_error_mode = SEM_INVALID_VALUE
689 try:
690 import ctypes
691 prev_error_mode = ctypes.windll.kernel32.SetErrorMode(mode)
692 except ImportError:
693 pass
694 return prev_error_mode
695
696
697def KillTimedOutProcess(context, pid):

Callers 1

RunProcessFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…