Fixes #18028 Just changes typedef declarations, no logic changes.
Integration test of platform interaction.