A friend of mine who came here on B1 visa won a DV loto visa 2008 ,he first applied for adjustment of status when his I-94 was valid and went for an interview everything went well the only problem that time was his background check was not ready ,however USCIS has sent him a letter 2 months later to reapply for a new application as his rank number was not avalaible the first time he put the applications in . Meantime to maintain his status he applied for extension which is still pending ,when the rank number become avalaible and went for the second interview ,unfortunately the case was denied because he didn't have any I-94 even though he has the receipt for his extension pending.They immigration promised to send him a denial letter .
I want to know what can happen to him and what can he do to stay legally in this country .
Thanks