Re: Network cable unplugged

Tech-Archive recommends: Speed Up your PC by fixing your registry

From: Slobodan Brcin \(eMVP\) (sbrcin_at_ptt.yu)
Date: 08/11/04


Date: Wed, 11 Aug 2004 23:29:55 +0200

Ok so far we had API, WMI, how about going low level to NDIS?

IOCTL_NDIS_QUERY_GLOBAL_STATS
OID_GEN_MEDIA_CONNECT_STATUS

Best regards,
Slobodan

"Greg Brown" <abc@123.com> wrote in message news:%23LZPL78fEHA.592@TK2MSFTNGP11.phx.gbl...
> I need to be able to determine if the network cable is unplugged. I've been
> through various news groups and the MS API, and cannot find anything. I
> have a headless device, so I have network setup happening on a non-desktop
> interface. I need to be able to determine the difference between
> 000.000.000.000 as not set up yet, and 000.000.000.000 as no cable plugged
> in. DHCP may or may not be present (one possible user configuration would
> be two users connected with a crossover cable and manual IP's).
>
> Thanks,
>
> Greg
>
>



Relevant Pages

  • Re: Network cable unplugged
    ... > Ok so far we had API, WMI, how about going low level to NDIS? ... > Best regards, ... >> through various news groups and the MS API, ...
    (microsoft.public.windowsxp.embedded)
  • Re: Small packet filter app
    ... Even at TDI level the source IP information may not always be ... For writing a NDIS Driver is there other resources besides the DDK? ... direction of writing NDIS filter. ... friends), Filter Hook API, Firewall APi, TDI, Raw Sockets? ...
    (microsoft.public.win32.programmer.networks)
  • Re: Impersonate a user from a service
    ... > that when call an API to the get the cursor properties ... >>> Our tool needs to extract desktop and network settings of a user by ... >>> Regards, ... >>> RaminDeja. ...
    (microsoft.public.security)
  • Re: Impersonate a user from a service
    ... > that when call an API to the get the cursor properties ... >>> Our tool needs to extract desktop and network settings of a user by ... >>> Regards, ... >>> RaminDeja. ...
    (comp.os.ms-windows.nt.admin.security)
  • Re: Impersonate a user from a service
    ... > that when call an API to the get the cursor properties ... >>> Our tool needs to extract desktop and network settings of a user by ... >>> Regards, ... >>> RaminDeja. ...
    (microsoft.public.win2000.security)