Re: MIB_IF_ADMIN_STATUS_DOWN



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!


.