I believe you will be out of status if it is denied.
Currently you can not change status in the US and must immediately depart, and attempt "stamping" for H-1B at the overseas consulate. Hope you have a good lawyer.