How to disable the \Device\Ip object?

hello everyone,
i know someone can disable the object \Device\Ip that can disable the
network,this is the better way that use the setupapi to disable the
netcard,but i do not know how to do it,does someone can help me?


ÓëÁª»úµÄÅóÓѽøÐн»Á÷£¬ÇëʹÓà MSN Messenger: http://messenger.msn.com/cn

Does attaching a filter over \Device\Ip (NT4-style, as IP driver is not PnP) and failing IRP_MJ_CREATE
requests work for you?

Regards,
Anton A. Kolomyeytsev

RocketDivision.Com – Toolkits for Network and Storage Kernel Software Developers

-----Original Message-----
From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of shark marian
Sent: Tuesday, November 30, 2004 6:52 AM
To: Windows System Software Devs Interest List
Subject: [ntdev] How to disable the \Device\Ip object?

hello everyone,
i know someone can disable the object \Device\Ip that can disable the network,this is the better way that use the setupapi to disable the netcard,but i do not know how to do it,does someone can help me?


与联机的朋友进行交流,请使用 MSN Messenger: http://messenger.msn.com/cn


Questions? First check the Kernel Driver FAQ at http://www.osronline.com/article.cfm?id=256

You are currently subscribed to ntdev as: xxxxx@cooldev.com To unsubscribe send a blank email to xxxxx@lists.osr.com

hello everyone,
i know can attach a filter to the \Device\Ip,but if i also want to
disable the \Device\Tcp,i need to attach another,so this is too
complicated,so i want to know whether can use one driver,is that possible?


ÓëÁª»úµÄÅóÓѽøÐн»Á÷£¬ÇëʹÓà MSN Messenger: http://messenger.msn.com/cn

You can most certainly use one driver - a driver can have any number of device objects. You do need to make separate device objects to attach to each of \device\ip and \device\tcp (ie. Call IoCreateDevice twice)

-p

-----Original Message-----
From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of shark marian
Sent: Tuesday, November 30, 2004 3:39 AM
To: Windows System Software Devs Interest List
Subject: Re:[ntdev] How to disable the \Device\Ip object?

hello everyone,
i know can attach a filter to the \Device\Ip,but if i also want to disable the \Device\Tcp,i need to attach another,so this is too complicated,so i want to know whether can use one driver,is that possible?


???ѽ??н???ʹ?? MSN Messenger: http://messenger.msn.com/cn


Questions? First check the Kernel Driver FAQ at http://www.osronline.com/article.cfm?id=256

You are currently subscribed to ntdev as: xxxxx@windows.microsoft.com To unsubscribe send a blank email to xxxxx@lists.osr.com

but i can not know how to create two filter devices in one filter
driver,can you give me some sample code?
but that is to say that the filter driver is fixed,i can not add they
other object to it?
but i want to make it dynamic,that i can add or del the object an
anytime,is that possible?


ÏíÓÃÊÀ½çÉÏ×î´óµÄµç×ÓÓʼþϵͳ¡ª MSN Hotmail¡£ http://www.hotmail.com