Share via


Not sure where to post a question?

If you have a question that's not related to any of the current blog entries, or aren't sure where to post a question, you can add it as a comment to this one.

Comments

  • Anonymous
    January 31, 2007
    The comment has been removed

  • Anonymous
    February 03, 2007
    Hi- I am running WinXP, and was going through my Services because I got an error on reboot, and I see this "Windows User Mode Driver Framework" is set to start automatically, but there are no dependencies on it. A Google search turns up the fact that it is supposed to be a part of Vista, not XP, so I am thinking it probably got installed by Windows Update for some reason (as far as I know, I didn't install it - and I only choose to install the mandatory security updates) and that's why I am getting these errors. I would like to know if I can safely turn this off - I wasn't having any driver problems and I don't know why it was even installed on my machine. As a user, I really wonder what the decision process is for a piece of software like this to be installed for no reason onto a config that is working. This is a home PC that is used for basic tasks, I really do not want all the latest stuff, I can't see having any need for a piece of code that was written for Vista being installed onto my working XP. If you guys get paid based upon how many copies are downloaded, that should be changed, because it is a huge waste of time from my standpoint. I deal with technology for my job, and the process for maintaining Linux boxes is so much easier than with you guys - please pass my feedback up the chain, thanks. And also, can you tell me if I can remove this :-) ?

  • Anonymous
    February 03, 2007
    Just an update. I disabled the "Windows User Mode Driver Framework" service and stopped it and my machine seems to be running fine (slightly faster response time in the UI also, but that may be due to some of the other services I turned off)

  • Anonymous
    February 05, 2007
    The PNPD test installs an upper filter driver on the device stack that it's testing.  Due to an oversight on our part we didn't add this to the list of allowed kernel-mode filter drivers for UMDF (the two entries on that list are the XP and Vista driver verifier).  So when PNPD test installs its upper filter the reflector sees this and refuses to start the device. We're looking at getting the test fixed so that it will work with UMDF devices.  Sorry about that.

  • Anonymous
    February 05, 2007
    The comment has been removed

  • Anonymous
    February 06, 2007
    Thanks for the reply, Peter. Just out of curiosity, aside from DRM reasons, why would you ever want drivers to run in the user space? Is that the purpose of this code? To do DRM checks?

  • Anonymous
    February 07, 2007
    DRM has nothing to do with it.  The question you should ask yourself is why would you ever want drivers to run in the kernel space.  You've got some binary blob from a company you've never heard of that came with a USB device you bought at the store.  Why would you want to trust that blob of code to behave properly when running in the kernel. There are a number of other reasons - it's easier to do the development, you can do it on a single machine (no bugchecks means you can safely run your test driver on your dev machine), your driver is isolated from other drivers which may misbehave, etc... But the main reason is that you don't really want to run any more code in the kernel than you have to. -p

  • Anonymous
    February 10, 2007
    Wouldn't you expect faster performance if they are running in the kernel?

  • Anonymous
    February 10, 2007
    I have been involved with a trade study using the real-time extension to Windows XP provided by Ardence Inc. called RTX. I am pleased with its real-time performance and the fact that my application can literally own the CPU for as long as it needs to do perform critical real-time tasks and to respond to interrupts on peripherla cards in a deterministic manner. I am running into some problems with IRQ assignments though for some of my PCI cards. I think the ACPI feature is getting in the way. Anyone familiar with RTX that can discuss this?

  • Anonymous
    February 12, 2007
    Frankie, There is some extra overhead involved in moving the I/O to and from user-mode.  But it's a myth that kernel-mode code somehow "runs faster" than user-mode code. And while a kernel-mode driver does have less overhead than a user-mode one, it's also a bigger risk to the end-user.  How much "performance" do you really need out of your keyboard driver?  Now balance that against the risk of some random keyboard filter driver that came with your keyboard having a bug and crashing your computer.

  • Anonymous
    February 12, 2007
    Pilgrim, There are a number of community forrums listed on the left side of my blog (Driver Forums).  I would suggest that you ask your question on one of those.  This isn't really the right place to start a general discussion.

  • Anonymous
    March 03, 2007
    For a Remote Control application, I need to simulate the "Secure Attention Sequence" (Ctrl-Alt-Delete), as the way used to work for XP doesn't work with Vista, I'm thinking about writing a UMDF instead of modifying the DDK WDM kbfilter. Do you know if there is some kind of HID supervisor which could block the SAS? (We really need to simulate the SAS, as it is required for log-in start on Vista machines operating on a Windows domain). Thank you!

  • Anonymous
    March 08, 2007
    I would like to use winusb driver from the perspective it was designed to be used - user mode application development. Default winusb.h and winusbio.h recurse deeply into the WinDDK source (header) tree, and there is no linkage library (.lib) available for Visual Studio. Is there any kind of wapper available in the source code that would wrap all necessary things needed for application development without the need for WinDDK installation - in other words - straight from the Visual Studio :) Thanks!

  • Anonymous
    March 21, 2007
    Hi, I wan´t to build an application in C# that uses the winusb.dll, has someone ever tryed this? I can´t find any examples anywhere!

  • Anonymous
    May 10, 2007
    Hi, I ve developed a simple upper filter driver for CDROM.I want to get responses on the debugview while reading and writting to the cdrom. But i am not getting any message over thr. I used the devcon to install the driver. And also I tried with create service,open service start service etc to install it. But none is working. I am new to this area. Please help in solving this. Thanks in advance, Soumya

  • Anonymous
    May 11, 2007
    Soumya, There is a storage filter driver sample in the WDK that you could probably start from (srcstoragefilterdiskperf).  There is also a sample tool called "addfilter" in the srcstoragefilter directory that will add your filter driver to a device.  I would suggest you start there. There are generally two ways to install a filter driver: 1 - Install the filter files and service in the INF for the device & set one of the filter registry keys to list your filter driver.  See http://msdn2.microsoft.com/en-us/library/ms791322.aspx for an example.  This works best when you own the function driver for the device as well. 2 - Use a programatic tool like addFilter to modify the configuration for an already installed device stack.   3 - Set your filter as a device-class filter so that it loads automatically on all instances of that device class.

  • Anonymous
    May 16, 2007
    The comment has been removed

  • Anonymous
    May 17, 2007
    Alishoev, I don't know anything about display devices so i can't help with that.  But there are several links on the left hand side of the page for community resources (newgroup & the ntdev mailing list) where you could ask this question. Thanks, -p

  • Anonymous
    July 02, 2007
    Hi Peter, Has there been any resolution wrt to the PNPD test failure for UMDF devices? Can you provide guidance for obtaining WHQL certification for UMDF devices? In our case, it's for a SideShow device. thanks, Nanda

  • Anonymous
    July 04, 2007
    Hi everyone, I want to write a UMDF driver. I have a usb device,i want to send data to the device,the device can show some information after the device receive the data. I installed the driver.(windowssideshowbasicedriver.dll and windowssideshowbasicedriver.inf) I want to debug the UMDF driver, so i can get a feel for how the driver works. I do as follows. First,install the windbg and set the HostProcessDbgBreakOnStart to 0x00000004(4). Second,open the debugging environment.Start-All Programs-WDK-WDK6000-Build Environments-Windows Vista and windows server Longhorn x86 Checked Build Environment, right click on the icon for the debugger, and choose “run as administrator”. Change the directory to c:program filesdebugging Tools for windows,run windbg -pn WUDFHost.exe. But it show, "There is more than one 'WUDFHost.exe' process running .Find the process ID of the instance are interested in and use -p<pid>." So i run follow command tasklist.exe I can see two WUDFHose.exe image , one WUDFHost PID  Session Name is 2408, other is  3032. When i run windbg -p 2408 or windbg -p 3032 ,it will show *** ERROR: Symbol file could not be found.  Defaulted to export symbols for C:Windowssystem32ntdll.dll - ntdll!DbgBreakPoint: 77aa2ea8 cc              int     3 What is worry with this ? Can you hele me ? Thanks! I get the debug information from  http://msdn2.microsoft.com/en-us/library/aa510991.aspx but i can not success.

  • Anonymous
    October 13, 2007
    I am trying to download WDK and I have an XP. I went to MS Connect and I saw 2008 server and Vista. Is 2008 server one compatible with XP?

  • Anonymous
    October 18, 2007
    The comment has been removed

  • Anonymous
    October 19, 2007
    After considering the problem for a day, I’m thinking that my best route is to have the ReadIrpCompletion routine reissue its Irp to read the next inbound message in a DPC. That way ReadIrpCompletion routine cannot be re-entered before it returns, thus making my design insensitive to the answers to the questions that I previously posed. I still would appreciate your thoughts though. Thanks, Bob Feretich

  • Anonymous
    December 19, 2007
    Hi, I'm writing a driver for a storage controller. And I was thinking of doing it the WDF way. Are there any plans to move the ataport/+miniport (msahci & atapi.sys) to KMDF? If I want to do it by myself, which class drivers needs to be re-written? Any suggestions/opinions are most welcome. Thanks in anticipation.

  • Anonymous
    October 07, 2008
    Hi Peter, I'm a new new comer on driver land :(. After I read some introduction docs from MSDN about UMDF, I have some question I don't know where I can ask. Could you please help me?

  1. Can I write a User-Mode driver to control copying some files (located by Database) to terminal devices like USB, DVD,...?
  2. I know we can use Win32API in UMDF, but I don't know I can access to database by ADO here. Thanks, Simon.
  • Anonymous
    October 16, 2008
    Dear Expert, I want to capture the disk change. How can I start to program storage addfilter? which book I should read or any example for writing simple filter? thx. alexli alexli@bizcon.org

  • Anonymous
    March 07, 2009
    How to overcome memory limitations on access to UM buffer via DIRECT_IO or BUFFERED_IO? +how to get a job at MS?=)

  • Anonymous
    March 30, 2009
    I used your winusb.inf example file to create a driver installer for a winusb compatible device on windows XP In the new winusbconstaller2.ddl there were some bugs in winusb fixed. When just renaming/replacing the old winusbconstaller.dll by the winusbconstaller2.dll I go the message that the system could not load the driver (code 39) corrupted or missing. Any hint would be appreciated?

  • Anonymous
    June 17, 2009
    I don't really have a question, I just wanted to thank you for your hard work on UMDF. I just wrote my first device driver - in Windows, no less, with no Win32 API experience of any sort - and I'm impressed with how easy  it all was. Keep up the good work!

  • Anonymous
    August 26, 2009
    I am trying to write an Audio Driver. Should I go for WDF framework or WDM?

  • Anonymous
    November 07, 2009
    We make a device which uses a signed FTDI driver (we have some PIDS assigned to us, and are MS signed) and I want to find where to look to get help developing a driver which will launch my application when our driver is loaded. I see lots of stuff about launching application installers when a driver is installed. But I cannot see where to get the  knowledge needed to get my app to launch when my device is connected, as opposed to first installed. I already use DiffX to install drivers with each app install. Any ideas as to where to look would be gratefully received.

  • Anonymous
    December 05, 2010
    The comment has been removed

  • Anonymous
    April 13, 2011
    Hi I have an buisness requirement where Transparent window is supposed to handle the Mouse Events in VC++ MFC application. I am unable to capture the mouse event from the transparent window as events are passed to beneath windows. So is there any way through this can be achived in MFC Application.Reply will be highly appreciated.Please help in solving this issue. Thanks Prabhat