There are two versions of Call of Duty: Infinite Warfare on the PC platform. There is one on Steam and one exclusive to the Windows Store. You may be tempted to think they’d be able to play in the same lobbies. You’d be wrong. Players on the Windows Store version will only be in multiplayer lobbies with other Windows Store users, which could be a problem for players looking forward to a thriving community. According to the official FAQ, playing with friends on “another PC platform” is not possible.
No, you can only play these titles with other users of Windows 10 on Windows Store.
Consider this your public service announcement regarding the Windows Store build of Call of Duty: Infinite Warfare.