wininet: Return success from per connection option stubs. Fully initialize the value.

This commit is contained in:
Hans Leidekker 2009-01-29 14:32:16 +01:00 committed by Alexandre Julliard
parent 347272b37e
commit e1b916c142

View File

@ -2154,8 +2154,7 @@ DWORD INET_QueryOption(DWORD option, void *buffer, DWORD *size, BOOL unicode)
case INTERNET_PER_CONN_AUTOCONFIG_LAST_DETECT_TIME:
case INTERNET_PER_CONN_AUTOCONFIG_LAST_DETECT_URL:
FIXME("Unhandled dwOption %d\n", option->dwOption);
option->Value.dwValue = 0;
res = ERROR_INVALID_PARAMETER;
memset(&option->Value, 0, sizeof(option->Value));
break;
default: