Rémi Bernon (@rbernon) commented about dlls/win32u/sysparams.c:
if (modeinfo[i].infoType == DISPLAYCONFIG_MODE_INFO_TYPE_SOURCE &&modeinfo[i].id == source_id){*found_mode_index = i;return TRUE;}- }
- return FALSE;
+}
+/***********************************************************************
NtUserQueryDisplayConfig (win32u.@)- */
+LONG WINAPI NtUserQueryDisplayConfig( UINT32 flags, UINT32 *numpathelements, DISPLAYCONFIG_PATH_INFO *pathinfo,
UINT32 *numinfoelements, DISPLAYCONFIG_MODE_INFO *modeinfo,DISPLAYCONFIG_TOPOLOGY_ID *topologyid )
```suggestion:-2+0 LONG WINAPI NtUserQueryDisplayConfig( UINT32 flags, UINT32 *paths_count, DISPLAYCONFIG_PATH_INFO *paths, UINT32 *modes_count, DISPLAYCONFIG_MODE_INFO *modes, DISPLAYCONFIG_TOPOLOGY_ID *topology_id ) ```
With corresponding renames where the parameters are used.