|
From: Doron Holan [MS] on 13 Aug 2006 14:46 you can try,but the UI treats these values differently from OS to OS set DEVICE_CAPABILITIES::SilentInstall and NoDisplayInUI and also set PNP_DEVICE_DONT_DISPLAY_IN_UI in query pnp device state (this last one is only required for a raw PDO) in KMDF, if you set NoDispalyInUI in your WDF_DEVICE_PNP_CAPABILITIES for a raw PDO, KMDF will also report PNP_DEVICE_DONT_DISPLAY_IN_UI in the pnp state. d -- Please do not send e-mail directly to this alias. this alias is for newsgroup purposes only. This posting is provided "AS IS" with no warranties, and confers no rights. "Pavel A." <pavel_a(a)NOwritemeNO.com> wrote in message news:688CEE1F-1DEF-40D8-A3A2-2CC6C03E94D6(a)microsoft.com... > "Doron Holan [MS]" wrote: >> raw mode and asking for a INF file are polar opposites. the entire reason >> that raw mode exists is that the PDO can be immediately started. so what >> happens is this when the PDO is enumerated as raw for the first timei >> >> 1) immediately started >> 2) pnp kicks off a user mode install and tries to find an INF match >> 3) if an INF match is made, the PDO is removed and then immediately >> restarted w/how the INF specified >> >> d > > Doron, > > The raw mode means that the bus driver alone can do > something useful with the device, right? > Can a bus driver create a raw DO so that PnP just accepts it > "as is" and won't look for INF, display any UI *at all*? > > --PA > > ~~~~~~~~~~~ >> "lukost" <lukost(a)gmail.com> wrote in message >> news:1155369941.436930.34470(a)75g2000cwc.googlegroups.com... >> Hi, i want to create a raw-mode PDO for virtual port on my bus (using >> KMDF). >> >> The problem is the documentation says that WdfPdoInitAssignRawDevice >> can be used only before WdfDeviceCreate, and as such system doesn't ask >> for new INF file. >> >> Does anybody know how to set raw mode for a PDO in the way that would >> ensure that the user will be prompted for a new INF file? >> >> -- >> cheers, >> Lukasz Chrst > |