def iphlpapi_error_check(func_name, result, func, args):
    if result:
        raise IphlpapiError(func_name, result)
    return args
raise IphlpapiError if result is NOT 0
dataset/ETHPy150Open hakril/PythonForWindows/windows/winproxy.py/iphlpapi_error_check