Re: MIB_IF_ADMIN_STATUS_DOWN
- From: "Arkady Frenkel" <arkadyf@xxxxxxxxxxxxxxxx>
- Date: Sat, 14 Jul 2007 11:44:23 +0300
For that you need to use Device manager API ( SetupDi...), you can check
example how that done in "devcon" or "enable" projects in DDK
"Arkady
"Jeff Rozar" <JeffRozar@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:E91704A9-1558-4CF5-93FC-039B4C866F18@xxxxxxxxxxxxxxxx
I can run SetIfEntry with the dwAdminStatus = MIB_IF_ADMIN_STATUS_DOWN and
dwOperStatus = MIB_IF_OPER_STATUS_DISCONNECTED, the connection is
effectively
disabled (i.e. no traffic out or in).
However, in the Control Panel/Network Connections listing, the status
still
says "Enabled".
How can I have the adapter truely "Disabled"?
Thanks!
.
- Follow-Ups:
- Re: MIB_IF_ADMIN_STATUS_DOWN
- From: Scherbina Vladimir
- Re: MIB_IF_ADMIN_STATUS_DOWN
- Prev by Date: Re: TCP server stop receiving new connections
- Next by Date: Re: TCP server stop receiving new connections
- Previous by thread: Check if "domain\Joe" is an Admin?
- Next by thread: Re: MIB_IF_ADMIN_STATUS_DOWN
- Index(es):