On 3/19/20 6:06 AM, Alex Henrie wrote:
+ if (type & NET_STRING_IPV6_ADDRESS)
+ {
+ status = RtlIpv6StringToAddressExW(str, &temp_addr6, &temp_scope, &temp_port);
+ if (SUCCEEDED(status) && !temp_port)
+ {
NTSTATUS is usually checked for 0 aka STATUS_SUCCESS.