I have a Protocol Driver (NDIS6x). I need to disable the “Uninstall” Button in the Netrwork conenction for it.
Can I do this ?
Through the INFs’
Do I have to have a Notify Object ?
I guessI cannot do this programatically inside the Protocol driver, because I do not know where the ProtocolUnBindAdapater()/ProtocolUnload/ProtocolUninstall() are coming from ? (Installer, Device Manager Pnp, Network Conenctions etc).
I need to block this becuase my driver hosts 2 objects - my protocol driver and a virtual bus driver.
They could uninstall my virual bus driver (which hosts the protocol driver also). Since all these are confusing to user, we recomemnd/sugegst to use installer we provided for all the purposes. I tell them in user guide to use the Installer we provided i.e. do a pakcage install/uninstall/upgarde etc.
I want to see if there is any way to achieve what TCPip.sys has, else see if the suggestion to document ‘not to muck with the protocol in Network Connections even though it is avaible there etc’ flies.
From: Sent: Tuesday, July 19, 2011 8:13 PM To: “Windows System Software Devs Interest List” Subject: RE:[ntdev] How to disable “Uninstall” button of Protocol driver in NetworkConnections property
> Hi > > They could uninstall my virual bus driver (which hosts the protocol driver > also). Since all these are confusing to user, we recomemnd/sugegst to use > installer we provided for all the purposes. I tell them in user guide to > use the Installer we provided i.e. do a pakcage install/uninstall/upgarde > etc. > > I want to see if there is any way to achieve what TCPip.sys has, else see > if the suggestion to document ‘not to muck with the protocol in Network > Connections even though it is avaible there etc’ flies. > > > — > NTDEV is sponsored by OSR > > For our schedule of WDF, WDM, debugging and other seminars visit: > http://www.osr.com/seminars > > To unsubscribe, visit the List Server section of OSR Online at > http://www.osronline.com/page.cfm?name=ListServer