Uh, you're changing what the function does.
*lpdwStatus = INTERNET_CONNECTION_LAN; will only happen the first time.
Vincent Povirk
2008/10/18 Austin English austinenglish@gmail.com:
Didn't receive any feedback on this one last time...
-- -Austin