30 May
2023
30 May
'23
6:50 a.m.
Huw Davies (@huw) commented about dlls/iphlpapi/iphlpapi_main.c:
SetLastError( ERROR_CALL_NOT_IMPLEMENTED ); return 0; } + +/*********************************************************************** + * GetCurrentThreadCompartmentId (IPHLPAPI.@) + */ +NET_IF_COMPARTMENT_ID WINAPI GetCurrentThreadCompartmentId( void ) +{ + FIXME( "stub\n" ); + return NET_IF_COMPARTMENT_ID_UNSPECIFIED;
I suspect returning `NET_IF_COMPARTMENT_ID_PRIMARY` would be less surprising, although a test wouldn't hurt. ```suggestion:-0+0 return NET_IF_COMPARTMENT_ID_PRIMARY; ``` -- https://gitlab.winehq.org/wine/wine/-/merge_requests/2925#note_34117