I did not know B-17s were involved at Midway.
I used to play the "Midway" board game. IIRC, the B-17 factor was a die roll every so often (aka "sortie"), while Midway Island was still considered functional, that is.