code: def _errcheck_handle(value, func, args):
      if not value:
          raise ctypes.WinError
      if value == INVALID_HANDLE_VALUE:
          raise ctypes.WinError
      return args
  
imports: from __future__ import with_statement
  import ctypes.wintypes
  from functools import reduce
label_desc: Use image node_id 2 for calling a global function with example usage: _errcheck_handle(value, func, args) and returns: args