parameters: (result, func = None, arguments = ())
return_statement: return result
docstring: Error checking for most Win32 API calls.
  
      The function is assumed to return an integer, which is C{0} on error.
      In that case the C{WindowsError} exception is raised.
docstring_summary: Error checking for most Win32 API calls.
docstring_tokens: Error checking for most Win32 API calls .
function: def RaiseIfZero(result, func = None, arguments = ()):
      """
      Error checking for most Win32 API calls.
  
      The function is assumed to return an integer, which is C{0} on error.
      In that case the C{WindowsError} exception is raised.
      """
      if not result:
          raise ctypes.WinError()
      return result
function_tokens: def RaiseIfZero ( result , func = None , arguments = ( ) ) : if not result : raise ctypes . WinError ( ) return result