28 Nov
2024
28 Nov
'24
12:35 p.m.
Nikolay Sivov (@nsivov) commented about dlls/windows.networking.connectivity/network_information.c:
static HRESULT WINAPI network_information_statics_GetInternetConnectionProfile( INetworkInformationStatics *iface, IConnectionProfile **value ) { - FIXME( "iface %p, value %p stub!\n", iface, value ); - return E_NOTIMPL; + struct connection_profile *impl; + LPDWORD flags = 0; + + TRACE( "iface %p, value %p\n", iface, value ); + + *value = NULL; + if (!InternetGetConnectedState( flags, 0 )) return S_OK;
You're passing NULL for flags argument, likely unintentionally. It's not clear if this wininet function is suitable in this context. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/6917#note_89109