well, it is almost the same, you get it from InternetCrackUrl() and specify appropriate in InternetConnect()