SimConnect_EnumerateSimObjectsAndLiveries() is undefined in the current MSFS SDK.
in SimConnect.h SIMCONNECT_RECV_ENUMERATE_SIMOBJECT_AND_LIVERY_LIST is defined
but SimConnect_EnumerateSimObjectsAndLiveries() is missing in the simconnect functions list.
I thought about that and updated to the latest version before making this post.
Even with the current latest version of the sdk (1.1.2) the issue persist.
@Arzop
I manually deleted the include folder in the SDK install folder and repaired the install and now the function is correctly listed in simconnect.h
Previously I had 1.1.1 installed, downloaded and installed 1.1.2 over it. It seems like that was the issue.
I tried modifying manually simconnect.h before installing 1.1.2 so maybe the installed is setup to not overwrite files modified after previous installs.