how to get a content from url and put it in variable

 

HELLO,

 i want help to get a content from url and put it in variable  by using wininet.dll  , InternetOpenW 

 

 

i see alot of codes  on the fourm but all of it not work 

 

please i need a simple working code 

thanks :)