You can get interface connect/disconnect notifications using WMI events. See http://msdn.microsoft.com/en-us/library/aa390425(VS.85).aspx and http://www.koders.com/cpp/fid237302EB0A7310017EA9ECF462C2597177E08AA7.as px?s=des. If you combine the two (replace the eventsink.h and eventsink.cpp using the code from Koders.com, and change step 6 slightly in the MSDN code), you're set.
Carson _______________________________________________ Winpcap-users mailing list [email protected] https://www.winpcap.org/mailman/listinfo/winpcap-users
