Searched refs:BufLen (Results 1 – 2 of 2) sorted by relevance
69 ULONG BufLen; in get_dns_addr() local75 BufLen = sizeof(FIXED_INFO); in get_dns_addr()77 if (ERROR_BUFFER_OVERFLOW == GetNetworkParams(FixedInfo, &BufLen)) { in get_dns_addr()82 FixedInfo = GlobalAlloc(GPTR, BufLen); in get_dns_addr()85 if ((ret = GetNetworkParams(FixedInfo, &BufLen)) != ERROR_SUCCESS) { in get_dns_addr()
103 ULONG BufLen; in slirp_get_system_dns_servers() local111 BufLen = sizeof(FIXED_INFO); in slirp_get_system_dns_servers()113 if (ERROR_BUFFER_OVERFLOW == GetNetworkParams(FixedInfo, &BufLen)) { in slirp_get_system_dns_servers()118 FixedInfo = GlobalAlloc(GPTR, BufLen); in slirp_get_system_dns_servers()121 if ((ret = GetNetworkParams(FixedInfo, &BufLen)) != ERROR_SUCCESS) { in slirp_get_system_dns_servers()