Re: how can i control the nic?



Thanks a lot, I will study further:)

"Arkady Frenkel" <arkadyf@xxxxxxxxxxxxxxxx> дÈëÏûÏ¢ÐÂÎÅ:uco3miSQHHA.3996@xxxxxxxxxxxxxxxxxxxxxxx
You need to use SetupDi... API for that. How to do that look at devcon
either in ddk or from
http://support.microsoft.com/kb/311272
Arkady

"casper" <tangliming@xxxxxxxxx> wrote in message
news:epbh6r$bg4$1@xxxxxxxxxxxxxxxxx
Thank you for replying, it's useful. Would you mind to tell me how can I
stop/start driver?

"Arkady Frenkel" <arkadyf@xxxxxxxxxxxxxxxx> дÈëÏûÏ¢ÐÂÎÅ:OCwGcvFQHHA.4672@xxxxxxxxxxxxxxxxxxxxxxx
Those parameters stored in the registry and driver read them on start.
So you need to stop/start driver after change for that.
IMHO there is no WMI way to do that ( but ask on
microsoft.public.win32.programmer.wmi ) because OID_GEN_LINK_SPEED have
no set but query option only

Arkady


"casper" <tangliming@xxxxxxxxx> wrote in message
news:ep91db$ckk$1@xxxxxxxxxxxxxxxxx
hi, everyone, i need to change the work mode of NIC dynamically, such
as link speed or duplex mode, i have no idea about how to implement
this, would anyone have such programming experience give me some hints,
thanks a lot:)









.



Relevant Pages

  • Re: how to read MAC address using WMI MSNdis
    ... > DDK as oppose to pure WMI? ... As API that enable or devcon examples from DDK for first and if driver ... > Arkady Frenkel wrote: ...
    (microsoft.public.win32.programmer.wmi)
  • Re: how can i control the nic?
    ... How to do that look at devcon ... either in ddk or from ... Arkady ... So you need to stop/start driver after change for that. ...
    (microsoft.public.win32.programmer.networks)
  • Re: how can i control the nic?
    ... Those parameters stored in the registry and driver read them on start. ... So you need to stop/start driver after change for that. ... IMHO there is no WMI way to do that (but ask on ... would anyone have such programming experience give me some hints, ...
    (microsoft.public.win32.programmer.networks)