Hi,
?I ?have a child device enumerated by a virtual bus written in WDF which appears into ‘Safely remove hardware and eject media’ tray icon. I want it out. What’s the WDF property that makes this possible?
Regards,
? Calin
Hi,
?I ?have a child device enumerated by a virtual bus written in WDF which appears into ‘Safely remove hardware and eject media’ tray icon. I want it out. What’s the WDF property that makes this possible?
Regards,
? Calin
I think you can do it with WdfDeviceSetPnpCapabilities
Don Burn
Windows Filesystem and Driver Consulting
Website: http://www.windrvr.com
Blog: http://msmvps.com/blogs/WinDrvr
“Calin Iaru” wrote in message news:xxxxx@ntdev:
> Hi,
>
> I have a child device enumerated by a virtual bus written in WDF which appears into ‘Safely remove hardware and eject media’ tray icon. I want it out. What’s the WDF property that makes this possible?
>
> Regards,
> Calin
Mark it as surprise removal ok
d
debt from my phone
From: Calin Iaru
Sent: 10/13/2012 12:49 PM
To: Windows System Software Devs Interest List
Subject: [ntdev] ‘safely remove hardware and eject media’ for non-usb
Hi,
I have a child device enumerated by a virtual bus written in WDF which appears into ‘Safely remove hardware and eject media’ tray icon. I want it out. What’s the WDF property that makes this possible?
Regards,
Calin
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
Hi Doron,
? this is the code when the popup appears:
? ? WDF_DEVICE_PNP_CAPABILITIES_INIT(&pnpcapabilities);
? ? pnpcapabilities.Removable ? ? ? ? = WdfTrue;
? ? pnpcapabilities.SurpriseRemovalOK = WdfTrue;
? ? pnpcapabilities.NoDisplayInUI ? ? = WdfFalse;
? ? WdfDeviceSetPnpCapabilities(child, &pnpcapabilities);
??
Regards,
? Calin
From: Doron Holan
To: Windows System Software Devs Interest List
Sent: Sunday, October 14, 2012 3:45 AM
Subject: RE: [ntdev] ‘safely remove hardware and eject media’ for non-usb
Mark it as surprise removal ok
d
debt from my phone
________________________________
From: Calin Iaru
Sent: 10/13/2012 12:49 PM
To: Windows System Software Devs Interest List
Subject: [ntdev] ‘safely remove hardware and eject media’ for non-usb
Hi,
?I ?have a child device enumerated by a virtual bus written in WDF which appears into ‘Safely remove hardware and eject media’ tray icon. I want it out. What’s the WDF property that makes this possible?
Regards,
? Calin
—
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
—
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