Hi,
How does the device manager know not to put the “disable” item in the
context menu for some devices?
(For example my first hard drive and my keyboard)
Thanks,
Shahar
Hi,
How does the device manager know not to put the “disable” item in the
context menu for some devices?
(For example my first hard drive and my keyboard)
Thanks,
Shahar
Set PNP_DEVICE_NOT_DISABLEABLE when processing
IRP_MN_QUERY_PNP_DEVICE_STATE.
d
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Shahar Talmi
Sent: Tuesday, September 27, 2005 2:30 AM
To: Windows System Software Devs Interest List
Subject: [ntdev] Devices that cannot be disabled from device manager
Hi,
How does the device manager know not to put the “disable” item in the
context menu for some devices?
(For example my first hard drive and my keyboard)
Thanks,
Shahar
Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256
You are currently subscribed to ntdev as: xxxxx@microsoft.com
To unsubscribe send a blank email to xxxxx@lists.osr.com
Thanks Doron,
How can I know if a device or one of it’s child devices set this flag using
user-mode api’s?
In the device manager, for example, the USB host controller seems not
disableable only when my keyboard is plugged to it.
Shahar
“Doron Holan” wrote in message
news:xxxxx@ntdev…
Set PNP_DEVICE_NOT_DISABLEABLE when processing
IRP_MN_QUERY_PNP_DEVICE_STATE.
d
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Shahar Talmi
Sent: Tuesday, September 27, 2005 2:30 AM
To: Windows System Software Devs Interest List
Subject: [ntdev] Devices that cannot be disabled from device manager
Hi,
How does the device manager know not to put the “disable” item in the
context menu for some devices?
(For example my first hard drive and my keyboard)
Thanks,
Shahar
—
Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256
You are currently subscribed to ntdev as: xxxxx@microsoft.com
To unsubscribe send a blank email to xxxxx@lists.osr.com
CM_Get_DevNode_Status_Ex on the devinst and see if DN_DISABLEABLE is
returned in pulStatus.
D
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Shahar Talmi
Sent: Tuesday, September 27, 2005 10:25 AM
To: Windows System Software Devs Interest List
Subject: Re:[ntdev] Devices that cannot be disabled from device manager
Thanks Doron,
How can I know if a device or one of it’s child devices set this flag
using
user-mode api’s?
In the device manager, for example, the USB host controller seems not
disableable only when my keyboard is plugged to it.
Shahar
“Doron Holan” wrote in message
news:xxxxx@ntdev…
Set PNP_DEVICE_NOT_DISABLEABLE when processing
IRP_MN_QUERY_PNP_DEVICE_STATE.
d
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Shahar Talmi
Sent: Tuesday, September 27, 2005 2:30 AM
To: Windows System Software Devs Interest List
Subject: [ntdev] Devices that cannot be disabled from device manager
Hi,
How does the device manager know not to put the “disable” item in the
context menu for some devices?
(For example my first hard drive and my keyboard)
Thanks,
Shahar
—
Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256
You are currently subscribed to ntdev as: xxxxx@microsoft.com
To unsubscribe send a blank email to xxxxx@lists.osr.com
—
Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256
You are currently subscribed to ntdev as: xxxxx@microsoft.com
To unsubscribe send a blank email to xxxxx@lists.osr.com